Comment 0 for bug 1990062

Revision history for this message
Mihai Gheorghe (m-capsali) wrote : openstack-upgrade action fails

Using pause-single-unit upgrade procedure for Magnum charm, when issuing the openstack-upgrade action after unit pause, the action will fail with:

run_upgrade got an unexpected keyword argument 'upgrade_openstack'

and no upgrade will be issued.
The only way of triggering the update that i found was to edit the openstack_upgrade_action function under
/var/lib/juju/agents/unit-magnum-x/charm/actions/openstack-upgrade

-- charm_instance.run_upgrade(upgrade_openstack=True)
++ charm_instance.run_upgrade()

This will let the upgrade procedure continue.
This also affects Barbican charm too, so far.

Maybe i am doing something wrong and an extra step is needed besides the upgrade procedure docs.

Magnum charm channel: victoria/edge
Juju version: 2.9.34