Ensure upgrades are executed
Prior to this change, big bang upgrades were not being run when openstack-origin was updated to a new release. Closes-Bug: #1979553 Change-Id: I3a9d0211bede8db43cd5ae8e0db51736155282f6
This commit is contained in:
parent
567e457800
commit
6d73c8263f
@ -59,6 +59,7 @@ def render_stuff(*args):
|
||||
'hsm.available',
|
||||
'secrets.available'))
|
||||
barbican_charm.configure_ssl()
|
||||
barbican_charm.upgrade_if_available(args)
|
||||
barbican_charm.assess_status()
|
||||
reactive.set_flag('first-render')
|
||||
|
||||
|
@ -72,6 +72,9 @@ class TestBarbicanHandlers(test_utils.PatchHelper):
|
||||
handlers.render_stuff('arg1', 'arg2')
|
||||
barbican_charm.render_with_interfaces.assert_called_once_with(
|
||||
('arg1', 'arg2', 'hsm'))
|
||||
barbican_charm.configure_ssl.assert_called_once_with()
|
||||
barbican_charm.upgrade_if_available.assert_called_once_with(
|
||||
('arg1', 'arg2'))
|
||||
barbican_charm.assess_status.assert_called_once_with()
|
||||
|
||||
def test_secrets_plugin_configure(self):
|
||||
|
Loading…
Reference in New Issue
Block a user