Trigger openstack upgrades

Ensure that openstack upgrades are triggered if the openstack-origin
configuration option is changed and configuration of the placement
service is complete.

Change-Id: Ifad5ab8e187fa8ad092223dbc91679badbcc5b17
Closes-Bug: 1884064
This commit is contained in:
James Page 2020-07-23 08:20:14 +01:00
parent 8701afb1b3
commit ace85daea1

View File

@ -38,6 +38,7 @@ charms_openstack.charm.use_defaults(
def render_config(*args):
with charms_openstack.charm.provide_charm_instance() as placement_charm:
placement_charm.configure_tls()
placement_charm.upgrade_if_available(args)
placement_charm.render_with_interfaces(args)
placement_charm.assess_status()
reactive.set_state('config.rendered')