multiple upgrades of same units results in concurrent, not rolling upgrade
Bug #1611719 reported by
James Page
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
Fix Released
|
High
|
Unassigned | ||
ceph-mon (Juju Charms Collection) |
Fix Released
|
High
|
Unassigned | ||
ceph-osd (Juju Charms Collection) |
Fix Released
|
High
|
Unassigned |
Bug Description
I noticed this testing upgrades in the follow order:
cloud:trusty-kilo (base deployment)
cloud:trusty-
cloud:trusty-mitaka (second upgrade - concurrent and OK).
The code in the charms calls:
def wait_on_
log("Previous node is: {}".format(
previous_
'admin',
- the _done key exists from the upgrade to trusty-liberty, so the wait gets skipped altogether resulting in a concurrent upgrade, rather than a rolling upgrade.
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Critical |
Changed in ceph-mon (Juju Charms Collection): | |
importance: | Undecided → Critical |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → Critical |
tags: | added: stable-candidate |
Changed in ceph (Juju Charms Collection): | |
importance: | Critical → High |
Changed in ceph-mon (Juju Charms Collection): | |
importance: | Critical → High |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Critical → High |
Changed in ceph-mon (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-mon (Juju Charms Collection): | |
milestone: | none → 16.10 |
Changed in ceph-osd (Juju Charms Collection): | |
milestone: | none → 16.10 |
Changed in ceph (Juju Charms Collection): | |
status: | New → Fix Released |
milestone: | none → 16.10 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/353667 /git.openstack. org/cgit/ openstack/ charm-ceph- mon/commit/ ?id=8cb9b32c405 99c20157ed900b7 05bb9ad7eef44c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8cb9b32c40599c2 0157ed900b705bb 9ad7eef44c
Author: Chris Holcombe <email address hidden>
Date: Wed Aug 10 10:58:21 2016 -0700
Allow multiple rolling upgrades
The rolling upgrade code sets keys in the ceph monitor
cluster to discover whether it can upgrade itself. This
patch addresses an issue where the upgrade code was not
taking into account multiple upgrades to newer ceph versions
in a row.
Closes-Bug: 1611719 4bc7d6526e2c897 56341296054
Change-Id: Icc7c2f48517b9b