Shift to using dashes instead of underscores for container names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-ansible |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
LXD provides macro templates which set the container hostname and hosts file to have the container name set whenever the container is created, renamed or restarted (by default). This presents a problem to us right now because we rely on the playbooks to ensure that the hostname is correctly set.
In order to prepare to use LXD for container creation and management, we need to shift to using dashes instead of underscores in container names. Implementing this will also allow us to remove all the machinery which handles changing the container host name to be compliant with DNS requirements.
Ideally the inventory should ensure that new containers are created with dashes, but still recognise containers created with underscores as valid.
If there's a way that we can also facilitate their conversion (through a major upgrade action) then that'd be really great because we can then accelerate the removal of the older method instead of having a long deprecation cycle.
Changed in openstack-ansible: | |
assignee: | nobody → Nolan Brubaker (nolan-brubaker) |
importance: | Undecided → Wishlist |
Changed in openstack-ansible: | |
status: | New → Confirmed |
Changed in openstack-ansible: | |
assignee: | Nolan Brubaker (nolan-brubaker) → nobody |
status: | In Progress → Confirmed |
Fix proposed to branch: master /review. openstack. org/407655
Review: https:/