quota-class-update doesn't work for --fixed_ips
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Low
|
Matt Riedemann |
Bug Description
There is a fixed_ips default quota of -1 but novaclient doesn't support updating that field.
Here are defaults:
[root@vs212 ~]# nova quota-defaults
+------
| Quota | Limit |
+------
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_
| injected_
| key_pairs | 100 |
| security_groups | 10 |
| security_
+------
This fails when trying to update --fixed_ips:
[root@vs212 ~]# nova quota-class-update --fixed_ips 5
usage: nova [--version] [--debug] [--os-cache] [--timings]
error: unrecognized arguments: --fixed_ips
Try 'nova help ' for more information.
This is because --fixed_ips isn't a listed var for the shell command:
http://
Changed in python-novaclient: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in python-novaclient: | |
assignee: | nobody → Matt Riedemann (mriedem) |
Changed in python-novaclient: | |
milestone: | none → 2.18.0 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Hmm, the v3 shell actually has support for the quota class API but that's not in the v3 API in nova:
https:/ /github. com/openstack/ python- novaclient/ blob/master/ novaclient/ v3/shell. py#L2869
The v3 API was removed here:
https:/ /review. openstack. org/#/c/ 72499/
Doesn't look like the client part was removed though, so that's a separate issue.