Thanks for the PR and the python script.
It seems it doesn't work with latest ceph version.
I've currently tested with 10.2.7 (50e863e0f4bc8f4b9e31156de690d765af245185)
Which version of ceph did your script support.
I've got this error
Traceback (most recent call last):
File "./ceph-status.py", line 261, in <module>
main()
File "./ceph-status.py", line 253, in main
Info()
File "./ceph-status.py", line 199, in Info
for s in data['pg_stats']:
KeyError: 'pg_stats'
Hello,
Thanks for the PR and the python script. It seems it doesn't work with latest ceph version. I've currently tested with 10.2.7 (50e863e0f4bc8f4b9e31156de690d765af245185) Which version of ceph did your script support.
I've got this error
Here is the
ceph pg stat -f json-pretty
: