Cinder volume usage by for each tenant

asked 2019-04-11 13:47:01 -0600 gravatar image

How to display disk usage per tenant, I tried to use api request (/v2/{project_id}/scheduler-stats/get_pools)as well, but it just providing pool name.

Openstack Version: Mitaka ISCSCI disk - from Unity Storage Storage type : ISCSI/Cinder

Date: Thu, 11 Apr 2019 18:37:15 GMT < Connection: close Connection: close < * Closing connection 0 {"pools": [{"name": "cinder@unity#Pool0"}, {"name": "cinder@unity-nfs#nfs"}]

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-04-11 17:03:15 -0600

updated 2019-04-11 17:04:04 -0600

Depending on what you mean by disk usage, you can use the Ceilometer metrics volume.size, disk.ephemeral.size, disk.device.usage and/or disk.device.allocation, or list all volumes and instances filtered by project and sum up their sizes.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-04-11 13:47:01 -0600

Seen: 233 times

Last updated: Apr 11 '19