From ace85daea1902b5f268d6df59fdcbd946ca145b7 Mon Sep 17 00:00:00 2001 From: James Page Date: Thu, 23 Jul 2020 08:20:14 +0100 Subject: [PATCH] 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 --- src/reactive/placement_handlers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reactive/placement_handlers.py b/src/reactive/placement_handlers.py index 620c821..133db10 100644 --- a/src/reactive/placement_handlers.py +++ b/src/reactive/placement_handlers.py @@ -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')