openstack-upgrade action states "no upgrade available"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Nova Cloud Controller Charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Deployed with 18.11 charms, 3 units, xenial, with openstack-origin set to default.
Updated action-
Updated openstack-origin to 'cloud:
I expected to be able to run the openstack-upgrade action to kick off each unit's upgrade (starting with the leader unit), but instead I got:
~$ juju run-action --debug --wait keystone/0 openstack-upgrade
02:45:33 INFO juju.cmd supercommand.go:56 running juju [2.5-beta1 gc go1.10.4]
02:45:33 DEBUG juju.cmd supercommand.go:57 args: []string{
02:45:33 INFO juju.juju api.go:67 connecting to API addresses: [10.245.
02:45:33 DEBUG juju.api apiclient.go:883 successfully dialed "wss://
02:45:33 INFO juju.api apiclient.go:603 connection established to "wss://
unit-keystone-0:
id: f4d7bc99-
results:
outcome: no upgrade available.
status: completed
timing:
completed: 2018-11-27 02:46:20 +0000 UTC
enqueued: 2018-11-27 02:45:45 +0000 UTC
started: 2018-11-27 02:46:16 +0000 UTC
unit: keystone/0
02:46:10 DEBUG juju.api monitor.go:35 RPC connection died
02:46:10 INFO cmd supercommand.go:465 command finished
If I try to run the install hook on that unit, the packages did get upgraded, but keystone fall over with:
ProgrammingError: (pymysql.
I ran a `keystone-manage db_sync to fix that.
I note in the unit logs:
2018-11-27 03:42:00 INFO juju-log DEPRECATION WARNING: Function configure_ installation_ source is being removed on/around 2017-07 : use charmhelpers. fetch.add_ source( ) instead.
Also, it appears the config-changed hook isn't adding the fresh source even if I set action- managed- upgrades to false. It's added when I run the install hook.
FWIW, if I set the source to cloud:xenial- newton, everything's fine. I guess we need to go one release at a time.