yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65665
[Bug 1702721] [NEW] read_dmi_data warning confusing when key not found and no dmidecode
Public bug reported:
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.
** Affects: cloud-init
Importance: Low
Status: Confirmed
--
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:
Confirmed
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
Follow ups