glance backend tls toggle breaks glance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Triaged
|
Low
|
Unassigned |
Bug Description
**Bug Report**
What happened:
Upon testing backend tls, we enabled and disabled tls multiple times, whenever reconfiguring with TLS disabled, the glance service would break.
What you expected to happen:
glance_tls_proxy container should be stopped or removed on tls disabled reconfigure, ensuring the containers don't fight over ports.
glance-
How to reproduce it:
Reconfigure with tls enabled
Reconfigure with tls disabled
glance will be non-functional, and crash with unable to listen on ip after 30 seconds
**Environment**:
* Kolla-Ansible version: stable/ussuri
I can see how this happens. I'm sure it's not the only issue of this class. From IRC:
one option would be to run the container check even if the service is disabled (but still do the group check). If the container is running but should be disabled, we can stop it.