commit d2bad43356da8369f5bfc55389b9403f80f06c39
Author: Don Penney <email address hidden>
Date: Mon Oct 1 14:55:07 2018 -0400
Write software_version in hieradata as a string
When puppet reads a unicode value from hieradata that it believes
is a floating number, it automatically converts it to a float. In
the case of the software_version, that means a version like '18.10'
is converted to 18.1 by puppet. This results in some components
and directories using the wrong value for software_version, and
certain services fail.
In particular, this resulted in sysinv being unable to populate
the host inventory data when new nodes were installed in a running
system. Queries like host-data-list or host-if-list would return
empty data.
This update to sysinv writes the software_version to hieradata as
a string rather than unicode, ensuring puppet treats it properly.
Closes-Bug: 1795400
Change-Id: Ic3ab3aea2f7fc6662f0b523070afb4b3ef7ee282
Signed-off-by: Don Penney <email address hidden>
Reviewed: https:/ /review. openstack. org/607025 /git.openstack. org/cgit/ openstack/ stx-config/ commit/ ?id=d2bad43356d a8369f5bfc55389 b9403f80f06c39
Committed: https:/
Submitter: Zuul
Branch: master
commit d2bad43356da836 9f5bfc55389b940 3f80f06c39
Author: Don Penney <email address hidden>
Date: Mon Oct 1 14:55:07 2018 -0400
Write software_version in hieradata as a string
When puppet reads a unicode value from hieradata that it believes
is a floating number, it automatically converts it to a float. In
the case of the software_version, that means a version like '18.10'
is converted to 18.1 by puppet. This results in some components
and directories using the wrong value for software_version, and
certain services fail.
In particular, this resulted in sysinv being unable to populate
the host inventory data when new nodes were installed in a running
system. Queries like host-data-list or host-if-list would return
empty data.
This update to sysinv writes the software_version to hieradata as
a string rather than unicode, ensuring puppet treats it properly.
Closes-Bug: 1795400 662f0b523070afb 4b3ef7ee282
Change-Id: Ic3ab3aea2f7fc6
Signed-off-by: Don Penney <email address hidden>