← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1999042] [NEW] In openEuler, distro.osfamily is incorrect

 

Public bug reported:

Reproduction code:

import copy
from cloudinit import distros, helpers, settings

system_info = copy.deepcopy(settings.CFG_BUILTIN["system_info"])
system_info["distro"] = "openEuler"
paths = helpers.Paths(system_info["paths"])
distro_cls = distros.fetch("openEuler")
distro = distro_cls("openEuler", system_info, paths)
print(distro.osfamily)

The output is: redhat,we expect the output to be "openEuler"

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1999042

Title:
  In openEuler, distro.osfamily is incorrect

Status in cloud-init:
  New

Bug description:
  Reproduction code:

  import copy
  from cloudinit import distros, helpers, settings

  system_info = copy.deepcopy(settings.CFG_BUILTIN["system_info"])
  system_info["distro"] = "openEuler"
  paths = helpers.Paths(system_info["paths"])
  distro_cls = distros.fetch("openEuler")
  distro = distro_cls("openEuler", system_info, paths)
  print(distro.osfamily)

  The output is: redhat,we expect the output to be "openEuler"

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1999042/+subscriptions



Follow ups