Comment 1 for bug 1991000

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

Small note: in order to pass the container_UUID to the script running the actual container service[1], we can use environment variables; doing so, we won't break standard service startup, and the wrapper scripts may get the data directly.

This would also allow to *name* the container using the UUID[2] - using the UUID instead of the NETNS may be easier, and may allow to remove some intelligence from the script[3]

[1] https://opendev.org/openstack/puppet-tripleo/src/branch/master/templates/neutron
[2] for instance: https://opendev.org/openstack/puppet-tripleo/src/branch/master/templates/neutron/haproxy.epp#L17
[3] https://opendev.org/openstack/puppet-tripleo/src/branch/master/templates/neutron/haproxy.epp#L41