show-disk-free action: make more machine-readable
Bug #1724880 reported by
Peter Sabaini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
There's an action for ceph-mon show-disk-free, which runs the equiv. of 'ceph osd df tree'
Currently this returns output in 'plain' format.
To make this better usable for scripts it would be good to have this as a more easily parseable output as well, eg. json. 'ceph osd df tree' does support diff. output formats, the action would just need to pass through a format parameter.
Changed in charm-ceph-mon: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in charm-ceph-mon: | |
milestone: | none → 18.05 |
Changed in charm-ceph-mon: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/498744 /git.openstack. org/cgit/ openstack/ charm-ceph- mon/commit/ ?id=d45ab82589a 8aad6dc5ff7f468 6b09a4f373e90c
Committed: https:/
Submitter: Zuul
Branch: master
commit d45ab82589a8aad 6dc5ff7f4686b09 a4f373e90c
Author: Peter Sabaini <email address hidden>
Date: Tue Aug 29 11:55:11 2017 +0200
Add formatting param for disk usage
Pass formatting option to ceph for easier postprocessing.
Constrain to values accepted by ceph, default to plain format.
Change-Id: I0bb8cfcd8d8962 988e786d2d083b1 489161b2ff6
Closes-Bug: #1724880