← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1702721] Re: read_dmi_data warning confusing when key not found and no dmidecode

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2947

** Bug watch added: github.com/canonical/cloud-init/issues #2947
   https://github.com/canonical/cloud-init/issues/2947

** Changed in: cloud-init
       Status: Confirmed => Expired

-- 
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/1702721

Title:
  read_dmi_data warning confusing when key not found and no dmidecode

Status in cloud-init:
  Expired

Bug description:
  On systems without dmidecode and where the dmi key is not present,
  cloud-init will print this warning:

  LOG.warning("did not find either path %s or dmidecode command",
                  DMI_SYS_PATH)

  Which looks strange since the system does have /sys/class/dmi/id but
  just did not find the requested key.

  This is due to _read_dmi_syspath returning None and which('dmidecode')
  returning None.

  Ideally we'd indicate that we couldn't read the specified key
  separately from the case where the system doesn't have
  /sys/class/dmi/id.

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



References