Bug 1678896 - [OSP 13][tripleo-heat-templates] - make uuid for hiera per-node customization case insensitive.
Summary: [OSP 13][tripleo-heat-templates] - make uuid for hiera per-node customization...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z5
: 13.0 (Queens)
Assignee: Alex Schultz
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On: 1678893 1678895
Blocks: 1678346 1679767 1679768 1679769
TreeView+ depends on / blocked
 
Reported: 2019-02-19 20:17 UTC by Alex Schultz
Modified: 2019-04-17 10:39 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.2.0-5.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, upgrading to Red Hat Enterprise Linux 7.6 introduced a new version of `dmidecode` that returns lower case system UUIDs instead of upper case. As a result, per-node hieradata customization might break for systems that rely on UUIDs. With this update, per-node customizations can use upper or lower case UUIDs. It is recommended to use lower case UUIDs.
Clone Of: 1678893
Environment:
Last Closed: 2019-04-17 10:39:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 638494 0 None None None 2019-02-21 19:39:08 UTC

Description Alex Schultz 2019-02-19 20:17:15 UTC
+++ This bug was initially created as a clone of Bug #1678893 +++

This bug was initially created as a copy of Bug #1678346

I am copying this bug because: 

This affects all versions OSP15 and below for per-node hiera customization for users who have upgraded or deployed with RHEL7.5 and used an uppercase system uuid for per-node hieradata customization or os-net-config mappings.


Description of problem:

This has been fixed for osp13+
https://bugzilla.redhat.com/show_bug.cgi?id=1668774
https://bugzilla.redhat.com/show_bug.cgi?id=1654449

OSP 10 needs a similar fix to assist where environments are being patched and run into issues when dmidecode is updated to >= 3.1.




Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-5.3.10-23.el7ost.noarch

Comment 5 Sasha Smolyak 2019-03-24 12:17:58 UTC
Hi,
Any idea how can I test this?
I've deployed undercloud manually and tried to change uuid of controller to upper case. When defining it again, the uuid automatically converted to lower case.

Comment 6 Alex Schultz 2019-03-25 13:50:23 UTC
The patch here is that when you use the the uppercase UUID in the yaml to define custom hieradata that is makes it to the disk in /etc/puppet/hieradata and the value makes it to the correct configuration file.  So if the uuid is 57076f3c-3564-4d22-8004-7105995a9fd1, you specify 57076F3C-3564-4D22-8004-7105995A9FD1 and set an override and it makes it the correct configuration file.

Comment 7 Sasha Smolyak 2019-04-15 12:16:45 UTC
I understand the idea of patch. I don't understand where to define it. I don't define uuid manually usually. What should I add to deployment in order to see the change? I understand that it needs to be in upper case, I don't understand at which step and where I can change it. As I mentioned previously, I've tried to change it post-deployment, but the operation system changed it back automatically before I could use it anywhere

Comment 9 Sasha Smolyak 2019-04-17 09:23:31 UTC
Verified.
Changed uuid to upper cases prior to overcloud deployment. The deployment passed, the uuid was correct.

Comment 10 Lon Hohberger 2019-04-17 10:39:32 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-8.2.0-6.2.el7ost.  This build is available now.


Note You need to log in before you can comment on or make changes to this bug.