20 Dec
2020
20 Dec
'20
6:15 p.m.
Hello. I'm trying to write some Python code for analysis of my RBD images storage usage, rbd and rados package versions are 14.2.16. Basically I want the same data that I can acquire from shell 'rbd du <image>' and 'rbd info <image>' commands, but through Python API. At the moment I can connect to the cluster, get an image list from the pool, but that's about it. As far as I can read, there's no API method to obtain image info such as provisioned/used storage, etc. Is this really not possible with the current Python API, or am I missing something? Documentation used: https://docs.ceph.com/en/latest/rbd/api/librbdpy/ https://docs.ceph.com/en/latest/rados/api/python/
2096
Age (days ago)
2096
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vladimir Prokofev