Red Hat Bugzilla – Bug 1460201
hieradata prepends an invalid comment to UUID when SMBIOS is newer then dmidecode supports
Last modified: 2018-02-04 22:13:08 EST
Description of problem:
If the SMBIOS of a host is newer than is supported by the installed version of dmidecode, an invalid entry is included before the UUID in a node's heiradata. For example:
# SMBIOS implementations newer than version 2.8 are not# fully supported by this version of dmidecode.<UUID>
This impacts the pre_deploy per_node.yaml phase of an overcloud deployment because host UUIDs are not valid.
One potential solution could be for dmidecode to be updated prior to running pre_deploy per_node.yaml.
Version-Release number of selected component (if applicable):
* Red Hat OpenStack Platform Director 9.
Steps to Reproduce:
1. Run dmidecode on a node where the SMBIOS is newer than that which is supported by the installed version of dmidecode.
2. Perform an overcloud deployment prior to updating dmidecode, which causes issues at the pre_deploy per_node.yaml stage because the UUID is subsequently invalid.
The '#SMBIOS implementations newer than version 2.8 are not# fully supported by this version of dmidecode.' comment is included in the UUID string in hieradata.
For the UUID only to be correctly output to hieradata so that the pre_deploy per_node.yaml phase can reference the correct UUID of a host.
The issue is with this line, where i guess dmidecode may return some invalid data depending on the version.