[Volume] Support to set quota "per_volume_gigabytes", "backup_gigabytes" and "backups"

Bug #1609767 reported by Rui Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Rui Chen

Bug Description

"per_volume_gigabytes", "backup_gigabytes" and "backups" items can be shown in "openstack quota show" command, but can't be updated by "openstack quota set".

(openstack) quota set -h
usage: quota set [-h] [--class] [--properties <properties>]
                 [--server-groups <server-groups>] [--ram <ram>]
                 [--key-pairs <key-pairs>] [--instances <instances>]
                 [--fixed-ips <fixed-ips>]
                 [--injected-file-size <injected-file-size>]
                 [--server-group-members <server-group-members>]
                 [--injected-files <injected-files>] [--cores <cores>]
                 [--injected-path-size <injected-path-size>]
                 [--gigabytes <gigabytes>] [--volumes <volumes>]
                 [--snapshots <snapshots>] [--subnetpools <subnetpools>]
                 [--vips <vips>] [--members <members>] [--ports <ports>]
                 [--subnets <subnets>] [--networks <networks>]
                 [--floating-ips <floating-ips>]
                 [--health-monitors <health-monitors>]
                 [--secgroup-rules <secgroup-rules>] [--secgroups <secgroups>]
                 [--routers <routers>] [--rbac-policies <rbac-policies>]
                 [--volume-type <volume-type>]
                 <project/class>

Set quotas for project or class

positional arguments:
  <project/class> Set quotas for this project or class (name/ID)

optional arguments:
  -h, --help show this help message and exit
  --class Set quotas for <class>
  --properties <properties>
                        New value for the properties quota
  --server-groups <server-groups>
                        New value for the server-groups quota
  --ram <ram> New value for the ram quota
  --key-pairs <key-pairs>
                        New value for the key-pairs quota
  --instances <instances>
                        New value for the instances quota
  --fixed-ips <fixed-ips>
                        New value for the fixed-ips quota
  --injected-file-size <injected-file-size>
                        New value for the injected-file-size quota
  --server-group-members <server-group-members>
                        New value for the server-group-members quota
  --injected-files <injected-files>
                        New value for the injected-files quota
  --cores <cores> New value for the cores quota
  --injected-path-size <injected-path-size>
                        New value for the injected-path-size quota
  --gigabytes <gigabytes>
                        New value for the gigabytes quota
  --volumes <volumes> New value for the volumes quota
  --snapshots <snapshots>
                        New value for the snapshots quota
  --subnetpools <subnetpools>
                        New value for the subnetpools quota
  --vips <vips> New value for the vips quota
  --members <members> New value for the members quota
  --ports <ports> New value for the ports quota
  --subnets <subnets> New value for the subnets quota
  --networks <networks>
                        New value for the networks quota
  --floating-ips <floating-ips>
                        New value for the floating-ips quota
  --health-monitors <health-monitors>
                        New value for the health-monitors quota
  --secgroup-rules <secgroup-rules>
                        New value for the secgroup-rules quota
  --secgroups <secgroups>
                        New value for the secgroups quota
  --routers <routers> New value for the routers quota
  --rbac-policies <rbac-policies>
                        New value for the rbac-policies quota
  --volume-type <volume-type>
                        Set quotas for a specific <volume-type>

Rui Chen (kiwik-chenrui)
Changed in python-openstackclient:
assignee: nobody → Rui Chen (kiwik-chenrui)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/352286

Changed in python-openstackclient:
status: New → In Progress
Changed in python-openstackclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/352286
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=6fba7163e85a436d1fe0660d9932a53d06b1a343
Submitter: Jenkins
Branch: master

commit 6fba7163e85a436d1fe0660d9932a53d06b1a343
Author: Rui Chen <email address hidden>
Date: Fri Aug 5 12:07:13 2016 +0800

    Set quota "per_volume_gigabytes", "backup_gigabytes" and "backups"

    "per_volume_gigabytes", "backup_gigabytes" and "backups" items
    can be shown in "openstack quota show" command, but can't be
    updated by "openstack quota set". This patch fix the issue.

    Change-Id: I47db5a69d4e4ef6e140f2735257c83e1fb052760
    Closes-Bug: #1609767

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.3.0

This issue was fixed in the openstack/python-openstackclient 3.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.