upgrade to luminous results in warning status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Fix Released
|
High
|
Zachary Zehring |
Bug Description
[Impact]
After upgrading ceph-mon and ceph-osd from xenial-ocata to xenial-pike, ceph status gives HEALTH_WARN with a message reading "all OSDs are running luminous or later but require_osd_release < luminous". For an OK health status, require-osd-release needs to be at least luminous.
[Steps to Reproduce]
Deploy the following bundle: file located below.
Upgrade to ceph-mon and ceph-osd to pike:
- juju config ceph-mon source=
- juju config ceph-osd source=
Get ceph status:
- juju ssh ceph-mon/0 sudo ceph status -f json-pretty
(Alternatively)
- juju ssh ceph-mon/0 sudo /usr/local/
You will see the status is HEALTH_WARN and has the following note:
all OSDs are running luminous or later but require_osd_release < luminous
[Resolution]
To fix this issue, all that needs to be run is the following command:
- juju ssh ceph-mon/0 sudo ceph osd require-osd-release luminous
Source: https:/
[Proposal]
So if this command can be run without regard for versions of ceph-osd, then you could potentially add it to the upgrade hook. If this isn't possible, an action seems appropriate.
description: | updated |
description: | updated |
Changed in charm-ceph-mon: | |
importance: | Undecided → High |
milestone: | none → 19.07 |
summary: |
- ocata to pike upgrade results in warning status + upgrade to luminous results in warning status |
Changed in charm-ceph-mon: | |
status: | New → Confirmed |
Changed in charm-ceph-mon: | |
importance: | Medium → High |
Changed in charm-ceph-mon: | |
assignee: | nobody → Zachary Zehring (zzehring) |
status: | Confirmed → In Progress |
Changed in charm-ceph-mon: | |
status: | Fix Committed → Fix Released |
This should certainly be able to be handled in the normal ceph upgrade code, but will take some thought on how to do it in the best way.