nagios user can't access /var/lib/ceph - check silently broken
Bug #1810749 reported by
Andrea Ieri
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
Fix Released
|
High
|
Alex Kavanagh | ||
ceph-osd (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The ceph-osd nagios check is currently broken, because /var/lib/ceph has perms set to 750 and `cat /var/lib/
Furthermore, as already mentioned in LP#1749417, the final `exit 2` makes nagios think that the result of the check is actually ok, so it is kind of out of chance that one can notice that the check is actually broken.
A quick fix would be to cat via the mountpoints instead, as either the directories or the devices are listed in the osd-devices option, but perhaps there's a more robust solution.
Changed in ceph-osd (Juju Charms Collection): | |
status: | New → Confirmed |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Confirmed → In Progress |
Changed in charm-ceph-osd: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Subscribing field-medium: ceph-mon checks will alert if an osd is down, but having the ceph-osd return OK when it's actually not working is dangerous