yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42298
[Bug 1475831] Fix included in openstack/python-openstackclient 2.0.0
This issue was fixed in the openstack/python-openstackclient 2.0.0
release.
** Changed in: python-openstackclient
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1475831
Title:
Some compute quotas are not being set
Status in OpenStack Compute (nova):
Invalid
Status in python-openstackclient:
Fix Released
Bug description:
The following quotas are not being set correctly:
--injected-file-size
--injected-path-size
--properties
--secgroup-rules
--secgroups
Because novaclient expects (novaclient/v2/shell.py):
3877 _quota_resources = ['instances', 'cores', 'ram',
3878 'floating_ips', 'fixed_ips', 'metadata_items',
3879 'injected_files', 'injected_file_content_bytes',
3880 'injected_file_path_bytes', 'key_pairs',
3881 'security_groups', 'security_group_rules',
3882 'server_groups', 'server_group_members']
But we send (python-openstackclient/openstackclient/common/quota.py):
30 COMPUTE_QUOTAS = {
34 'injected_file_content_bytes': 'injected-file-size',
35 'injected_file_path_bytes': 'injected-path-size',
39 'metadata_items': 'properties',
41 'security_group_rules': 'secgroup-rules',
42 'security_groups': 'secgroups',
43 }
Current behavior
# openstack quota set --injected-file-size 11 testproject_dx
No quotas updated
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1475831/+subscriptions