Comment 3 for bug 1609233

Revision history for this message
QiangTang (qtang) wrote : Re: openstack quota set --class not work

With my code fix it works fine:

rally@9f7f62b82dd4:~$ openstack --insecure quota show --class default
+----------------------+---------+
| Field | Value |
+----------------------+---------+
| backup_gigabytes | 1000 |
| backups | 10 |
| cores | 20 |
| fixed-ips | -1 |
| floating-ips | 10 |
| gigabytes | 10003 |
| injected-file-size | 10240 |
| injected-files | 5 |
| injected-path-size | 255 |
| instances | 10 |
| key-pairs | 100 |
| per_volume_gigabytes | -1 |
| project | default |
| properties | 128 |
| ram | 51200 |
| secgroup-rules | 20 |
| secgroups | 10 |
| snapshots | 10 |
| volumes | 10 |
+----------------------+---------+
rally@9f7f62b82dd4:~$ openstack --insecure quota set --gigabytes 10004 --class default
rally@9f7f62b82dd4:~$ openstack --insecure quota show --class default
+----------------------+---------+
| Field | Value |
+----------------------+---------+
| backup_gigabytes | 1000 |
| backups | 10 |
| cores | 20 |
| fixed-ips | -1 |
| floating-ips | 10 |
| gigabytes | 10004 |
| injected-file-size | 10240 |
| injected-files | 5 |
| injected-path-size | 255 |
| instances | 10 |
| key-pairs | 100 |
| per_volume_gigabytes | -1 |
| project | default |
| properties | 128 |
| ram | 51200 |
| secgroup-rules | 20 |
| secgroups | 10 |
| snapshots | 10 |
| volumes | 10 |
+----------------------+---------+