facter uuid is not set many times and per node customization does not work
Bug #1806011 reported by
Rabi Mishra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Undecided
|
Rabi Mishra |
Bug Description
facter variable 'uuid' is not set in some VMs (ovb rdocloud) and in containers. I guess facter is broken or something. So puppet does not apply per node hiera.
[root@overcloud
a8fe66ff-
[root@overcloud
{"nova::debug": "True"}
[root@overcloud
False
Changed in launchpad: | |
assignee: | nobody → Rabi Mishra (rabi) |
affects: | launchpad → tripleo |
To post a comment you must log in.
So the issue is docker- puppet- $service containers run as unprivileged, and don't have access to devices, which means can't get facter 'uuid' variable.
[root@reprosubn ode-1 ~]# sudo docker inspect --format= '{{.HostConfig. Privileged} }' docker-puppet-nova
false
I've proposed a patch[1] to use $(cat /sys/class/ dmi/id/ product_ uuid) instead. I don't see any reason to change these containers to run and privileged, unless someone thinks there is an issue with the current approach.
[1] https:/ /review. openstack. org/#/c/ 621072