[Bug 1792880] Re: totalGigabytesUsed in openstack limits show indicate wrong info
Wouter van Bommel
1792880 at bugs.launchpad.net
Wed Feb 13 00:25:24 UTC 2019
subscribed ~field-medium
** Tags added: canonical-bootstack
** Tags added: field-medium
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstackclient in Ubuntu.
https://bugs.launchpad.net/bugs/1792880
Title:
totalGigabytesUsed in openstack limits show indicate wrong info
Status in python-openstackclient package in Ubuntu:
Triaged
Bug description:
1) The release of Ubuntu: 18.04.1
2) The version of the package: openstack 3.16.1
3) What you expected to happen
: "cinder quota-usage" command returns each project's total gigabyes. It works well.
openstack-cli:~$ cinder quota-usage 61b2e1eb95524d058ab800eb8eb83cd7 | grep -e " gigabytes " -e Type
| Type | In_use | Reserved | Limit | Allocated |
| gigabytes | 13322 | 0 | 100000 | 0 |
openstack-cli:~$ cinder quota-usage 28f1fb51d07b492ea29b962e4078beed | grep -e " gigabytes " -e Type
| Type | In_use | Reserved | Limit | Allocated |
| gigabytes | 1830 | 0 | 2000 | 0 |
4) What happened instead
: But "openstack limits show" command always returns totalGigabytesUsed of OS_PROJECT_NAME, instead of specified project id.
openstack-cli:~$ openstack limits show --project 61b2e1eb95524d058ab800eb8eb83cd7 --absolute | grep -e totalGigabytesUsed -e Name
| Name | Value |
| totalGigabytesUsed | 13322 |
openstack-cli:~$ openstack limits show --project 28f1fb51d07b492ea29b962e4078beed --absolute | grep -e totalGigabytesUsed -e Name
| Name | Value |
| totalGigabytesUsed | 13322 |
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1792880/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list