ceph: monitor script doesn't monitor pool space but total space
|Assignee:||Jaime Melis||% Done:|
|Category:||Drivers - Storage|
|Target version:||Release 5.0.1|
|Affected Versions:||OpenNebula 5.0|
The ceph monitor script doesn't monitor pool space but total space.
Here is a patch for the monitor script. The script is now parsing the xml output of "ceph df" instead of "rados df"
#4 Updated by Jaime Melis over 5 years ago
- Tracker changed from Bug to Backlog
- Target version changed from Release 4.14 to Release 5.0
Laurent, the current code now in master already uses "ceph df" and not "rados df". This was fixed by:
I do like your idea of using the XML output, but for this release we are going to leave it as is.
Changing to backlog for release 5.0.
#5 Updated by Stefan Kooman over 5 years ago
I would like to add something to this. OpenNebula does not take into account the amount of space it is allowed to use, i.e.: quota.
ceph osd pool get-quota one
quotas for pool 'one':
max objects: N/A
max bytes : 1024GB
If no quota is set, assume OpenNebula is allowed to use MAX AVAIL, otherwise honour quota.