[ceph verifiers] explore a warning rather than failure if ceph-mon returns HEALTH_WARN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-verify |
Triaged
|
Medium
|
Unassigned |
Bug Description
I ran into a Ceph cluster with the following state:
"""
root@juju-
HEALTH_WARN client is using insecure global_id reclaim; mons are allowing insecure global_id reclaim
[WRN] AUTH_INSECURE_
client.
[WRN] AUTH_INSECURE_
mon.
mon.
mon.
"""
The above issue is caused by a Ceph client (a Nova instance booting from a cinder volume that uses an old version of the Ceph client), described at:
https:/
This is just a FYI from the Ceph cluster, not anything fatal. In this case, juju-verify would fail as a result of verifier any Ceph OSD or Mon (to see if it could be safely rebooted or shutdown).
We should explore if a "warning" should be raised rather than failing to verify the environment. Please note that other more serious issues such as Ceph service degradation due to some OSDs being out of service will also return HEALTH_WARN.
Alternatively, the "get-health" action in charm-ceph-mon could accept "details=true" to further explore the time of messages (and track a list of known messages that could be ignored if no further "unknown messages" are shared (to start with, the scope would be to evaluate if HEALTH_WARN could raise a "warning" rather than "FAIL", if that's acceptable from an operations perspective).
Changed in juju-verify: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju-verify: | |
assignee: | nobody → Robert Gildein (rgildein) |
status: | Triaged → In Progress |
This was a partial fix in [1], where I add health message to
result for HEALTH_WARN, HEALTH_ERR and unknown state.
--- /github. com/canonical/ juju-verify/ pull/51
[1]: https:/