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

ByungYeol Woo wby1089 at gmail.com
Mon Sep 17 08:27:35 UTC 2018


Public bug reported:

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 |

** Affects: python-openstackclient (Ubuntu)
     Importance: Undecided
         Status: New

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

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