How to get disk usage per vm in Openstack?

asked 2018-05-03 11:46:19 -0600

purvak2525 gravatar image

Facing issues with disk space on servers which are deployed on Redhat Openstack platform 7. Which APIs or commands do I use from cli to see disk usage details of each VMs which are attached with different projects in OSP platform ? Can anyone help me with APIs or anything you would like to comment on this would appreciate.

My efforts till now:

  • from cli number of VMs can be seen using "nova list --all" which gives details like ID, Name, Tenant Id so I can see all VM names here.
  • from cli "openstack usage list" gives me details about project name list, servers, RAM MB-Hours, CPU Hours, Disk GB-Hours. I am not interested in GB-Hours, I want to see specific GB or MB details. Not sure how do I understand and convert this unit, yet the question is to get VMs disk usage.
  • from cli "openstack usage show --project <id or="" name="">" shows me details of Disk Usage in GB-Hours, but how do I understand this in GB or MB?

Any help would really appreciate. Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-04-15 02:18:27 -0600 gravatar image

Hi Purvak Did you get command to check disk usage. I want to see disk usage per tenant, but i am unable to see. Please help me if you have any details

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-05-03 11:46:19 -0600

Seen: 491 times

Last updated: May 03 '18