Skip to content

Conversation

@oms4suse
Copy link
Owner

@oms4suse oms4suse commented Sep 7, 2016

Get the OSD and cluster disk space.

Note this PR depends upon this PR oms4suse/python-ceph-cfg#32

Use new python-ceph-cfg function osd_df to report disk usage.

Signed-off-by: Owen Synge <osynge@suse.com>
Use new python-ceph-cfg function cluster_df to report disk usage.

Signed-off-by: Owen Synge <osynge@suse.com>
def osd_df(**kwargs):
"""
OSD disk space report

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do osd_df and cluster_df differ in what they report? Other then one OSD vs. all OSDs? If not, why not make the docs consistent? Maybe 'Get an OSDs free space'

Or does osd_df report other things too? Then a different name might be appropriate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants