openstack-upgrade action not working on Bionic with --channel=4.0/stable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TrilioVault Data Mover API Charm |
New
|
Undecided
|
Unassigned | ||
TrilioVault Workload Manager Charm |
New
|
Undecided
|
Unassigned |
Bug Description
I'm working on a trilio upgrade for a customer, but am having trouble using the openstack-upgrade action.
trilio-wlm's openstack-origin was cloud:bionic-train. I set action-
Here is what I got:
$ juju run-action --wait trilio-wlm/1 openstack-upgrade
unit-trilio-wlm-1:
UnitId: trilio-wlm/1
id: "7011"
message: run_upgrade() got an unexpected keyword argument 'upgrade_openstack'
results: {}
status: failed
timing:
completed: 2022-10-20 15:59:09 +0000 UTC
enqueued: 2022-10-20 15:59:08 +0000 UTC
started: 2022-10-20 15:59:08 +0000 UTC
Relevant details from "juju status --format=yaml trilio-wlm":
trilio-wlm:
charm: trilio-wlm
series: bionic
os: ubuntu
base: ubuntu:18.04
charm-origin: charmhub
charm-name: trilio-wlm
charm-rev: 6
charm-channel: 4.0/stable
charm-version: eabf195
While I can't vouch for the cleanliness of this workaround, this seems to have worked for me:
# Reset to the previous series. managed- upgrade is True. origin= cloud:bionic- train
# Ideally doesn't do much aside from updating sources
# since action-
juju config trilio-wlm openstack-
# Disable action-managed upgrades managed- upgrade= false
juju config trilio-wlm action-
# Re-try the upgrade. Note that this affects everything origin= cloud:bionic- ussuri
# all at once rather than 1-by-1.
juju config trilio-wlm openstack-