show-disk-free action: make more machine-readable

Bug #1724880 reported by Peter Sabaini
6
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.

Frode Nordahl (fnordahl)
Changed in charm-ceph-mon:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-mon (master)

Reviewed: https://review.openstack.org/498744
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-mon/commit/?id=d45ab82589a8aad6dc5ff7f4686b09a4f373e90c
Submitter: Zuul
Branch: master

commit d45ab82589a8aad6dc5ff7f4686b09a4f373e90c
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: I0bb8cfcd8d8962988e786d2d083b1489161b2ff6
    Closes-Bug: #1724880

Changed in charm-ceph-mon:
status: Triaged → Fix Committed
James Page (james-page)
Changed in charm-ceph-mon:
milestone: none → 18.05
David Ames (thedac)
Changed in charm-ceph-mon:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.