On Mon, 18 Nov 2019, Rui Chang (Arm Technology China) wrote:
Hi,
When I use following command to show osd status in json format, it seems it does not give
the result in json format. Is it a bug? This blocks the osd creation using ceph-deploy
which checks the output.
root@ceph_deploy_test_3:/etc/ceph# /usr/bin/ceph --cluster=ceph osd stat --format=json
61110
The OS I use is Ubuntu 18.04, and the ceph is 15.xxx built from ceph master branch.
Yeah. This was just fixed and the backport is merged.. it should be in
the next nautilus release.
https://github.com/ceph/ceph/pull/31399
>
> Regards,
> Rui
>
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and
may also be privileged. If you are not the intended recipient, please notify the sender
immediately and do not disclose the contents to any other person, use it for any purpose,
or store or copy the information in any medium. Thank you.
>