Ceph mon upgrade from Octopus to Pacific charms in loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
New
|
Medium
|
Unassigned |
Bug Description
Upgrading octopus to pacific the ceph-mon started the upgrade on ceph-mon/0 which was **not** the leader, what came next is a constant loop of:
ceph-mon/0 maintenance executing 3/lxd/3 10.11.2.35 (config-changed) Finishing upgrade
ceph-mon/1* waiting executing 4/lxd/3 10.11.2.32 (config-changed) Waiting on juju-4c2163-3-lxd-3 to finish upgrading
ceph-mon/2 waiting executing 5/lxd/3 10.11.2.170 (config-changed) Waiting on juju-4c2163-4-lxd-3 to finish upgrading
unit-ceph-mon-1: 14:09:10 INFO unit.ceph-
unit-ceph-mon-1: 14:09:26 WARNING unit.ceph-
unit-ceph-mon-1: 14:09:26 WARNING unit.ceph-
unit-ceph-mon-1: 14:09:26 INFO unit.ceph-
unit-ceph-mon-1: 14:09:48 WARNING unit.ceph-
unit-ceph-mon-1: 14:09:49 WARNING unit.ceph-
unit-ceph-mon-1: 14:09:49 INFO unit.ceph-
unit-ceph-mon-1: 14:10:02 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:02 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:02 INFO unit.ceph-
unit-ceph-mon-1: 14:10:27 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:27 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:27 INFO unit.ceph-
unit-ceph-mon-1: 14:10:33 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:34 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:34 INFO unit.ceph-
unit-ceph-mon-1: 14:10:56 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:57 WARNING unit.ceph-
unit-ceph-mon-1: 14:10:57 INFO unit.ceph-
unit-ceph-mon-1: 14:11:11 WARNING unit.ceph-
unit-ceph-mon-1: 14:11:11 WARNING unit.ceph-
unit-ceph-mon-1: 14:11:11 INFO unit.ceph-
unit-ceph-mon-1: 14:11:39 WARNING unit.ceph-
unit-ceph-mon-1: 14:11:39 WARNING unit.ceph-
unit-ceph-mon-1: 14:11:39 INFO unit.ceph-
This was fixed by stopping the jujud service on both other 2 units, so that leader moves to ceph-mon/0, which then continue the upgrade and finished successfully.
tags: | added: bseng-1079 |
Changed in charm-ceph-mon: | |
assignee: | nobody → Tianqi Xiao (txiao) |
Changed in charm-ceph-mon: | |
status: | Incomplete → New |
Indeed, this seem to be happening because the upgrade path isn't checking for leadership at some points, where it should.