[ceph-users] Python API mon_comand()

2021-01-15 Thread Robert Sander
Hi, I am trying to get some statistics via the Python API but fail to run the equivalent of "ceph df detail". One the command line I get: # ceph -f json df |jq .pools[0] { "name": "rbd", "id": 1, "stats": { "stored": 27410520278, "objects": 6781, "kb_used": 80382849, "byte

[ceph-users] python API

2020-12-20 Thread Vladimir Prokofev
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 ' and 'rbd info ' commands, but through Python API. At the moment I can connect to the cluster,