[Bug 1792880] Re: totalGigabytesUsed in openstack limits show indicate wrong info

Billy Olsen 1792880 at bugs.launchpad.net
Sat Jul 3 03:42:15 UTC 2021


Per upstream bug comment:

This issue is caused by lack of microversion support for Volume service
by python-openstack client. It also is unable to negotiate API
microversions with server. As a result, python-openstackclient will
always use cinder v3.0 API and will not be able to properly poll the
server.

Workaround:
cinder --os-volume-api-version 3.40 absolute-limits PROJECT-ID

-- 
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