If endpoint switches to https tell nova-cc
If the charm has joined the certificate relation and switched its endpoint to using https then it needs to tell nova-cc as it currently gets its neutron endpoint from the neutron-api relation and not the catalogue. Change-Id: Idb1dbf8cbc344ef3f3bf3b6f463e55729a9ff63c
This commit is contained in:
parent
c2d5dc5719
commit
9eff12d1ad
|
@ -782,6 +782,10 @@ def certs_joined(relation_id=None):
|
|||
def certs_changed(relation_id=None, unit=None):
|
||||
process_certificates('neutron', relation_id, unit)
|
||||
configure_https()
|
||||
# If endpoint has switched to https, need to tell
|
||||
# nova-cc
|
||||
for r_id in relation_ids('neutron-api'):
|
||||
neutron_api_relation_joined(rid=r_id)
|
||||
|
||||
|
||||
@hooks.hook('pre-series-upgrade')
|
||||
|
|
Loading…
Reference in New Issue