[EXTERNAL] Re: How to get volume quota usage

Braden, Albert C-Albert.Braden at charter.com
Mon Feb 1 14:52:10 UTC 2021


Ah yes, “cinder quota-usage <project ID>” works. Thank you!

From: Florian Rommel <florian at datalounges.com>
Sent: Monday, February 1, 2021 9:41 AM
To: Braden, Albert <C-Albert.Braden at charter.com>
Cc: openstack-discuss at lists.openstack.org
Subject: [EXTERNAL] Re: How to get volume quota usage

CAUTION: The e-mail below is from an external source. Please exercise caution before opening attachments, clicking links, or following guidance.
I think.... and I can be very wrong here, but it used to be a cinder cli feature... not yet available in the openstack cli... I had the same issue and I wrote a script that queries cinder. But things could have changed already.
//FR



On 1. Feb 2021, at 16.07, Braden, Albert <C-Albert.Braden at charter.com<mailto:C-Albert.Braden at charter.com>> wrote:

I’m auditing quota usage for all of our projects, and checking them all in Horizon would be a lot of work so I wrote a little script to pull them all and build a spreadsheet. I can get network and compute usage with “openstack quota list –detail” but when I try to get volume usage it demurs:

(openstack) [root at chrnc-area51-build-01 openstack]# openstack quota list --detail --volume --project test
Volume service doesn't provide detailed quota information

I can see the volume quota usage in Horizon. How can I get it on the CLI?

I apologize for the nonsense below. So far I have not been able to stop it from being attached to my external emails. I'm working on it.

The contents of this e-mail message and
any attachments are intended solely for the
addressee(s) and may contain confidential
and/or legally privileged information. If you
are not the intended recipient of this message
or if this message has been addressed to you
in error, please immediately alert the sender
by reply e-mail and then delete this message
and any attachments. If you are not the
intended recipient, you are notified that
any use, dissemination, distribution, copying,
or storage of this message or any attachment
is strictly prohibited.
E-MAIL CONFIDENTIALITY NOTICE: 
The contents of this e-mail message and any attachments are intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the intended recipient of this message or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. If you are not the intended recipient, you are notified that any use, dissemination, distribution, copying, or storage of this message or any attachment is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210201/cbe6a72f/attachment.html>


More information about the openstack-discuss mailing list