Ask Your Question

purvak2525's profile - activity

2019-08-30 05:36:22 -0600 received badge  Famous Question (source)
2019-04-15 02:15:36 -0600 received badge  Popular Question (source)
2019-04-15 02:15:36 -0600 received badge  Notable Question (source)
2018-06-24 19:26:19 -0600 asked a question How to get disk usage per vm in Openstack?

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.