mandatory security group quota even it's an optional extension?
Our neutron plugin doesn't support security group since it's an optional extension. But when I try to create project from horizon, i had the following error:
Request body: {u'quota': {u'subnet': 10, u'network': 10, u'floatingip': 50, u'securi\
ty_group_rule': None, u'security_group': None, u'router': 10, u'port': 50}} prepare_request_bo\
dy /opt/stack/
2014-06-11 01:24:30.105 12417 ERROR neutron.
857da17 None] update failed
2014-06-11 01:24:30.105 12417 TRACE neutron.
2014-06-11 01:24:30.105 12417 TRACE neutron.
/api/v2/
2014-06-11 01:24:30.105 12417 TRACE neutron.
t, **args)
2014-06-11 01:24:30.105 12417 TRACE neutron.
/extensions/
2014-06-11 01:24:30.105 12417 TRACE neutron.
CE_COLLECTION])
2014-06-11 01:24:30.105 12417 TRACE neutron.
/api/v2/base.py", line 577, in prepare_
2014-06-11 01:24:30.105 12417 TRACE neutron.
res_dict, attr_info)
2014-06-11 01:24:30.105 12417 TRACE neutron.
/api/v2/base.py", line 624, in _verify_attributes
2014-06-11 01:24:30.105 12417 TRACE neutron.
(msg)
2014-06-11 01:24:30.105 12417 TRACE neutron.
bute(s) 'security_
2014-06-11 01:24:30.105 12417 TRACE neutron.
I traced the code, in openstack_
class UpdateProjectQu
action_class = UpdateProjectQu
depends_on = ("project_id",)
contributes = quotas.QUOTA_FIELDS
it sends everything in quotas.QUOTA_FIELDS to neutron. The quotas.QUOTA_FIELDS has hard coded 'security_group' and 'security_
Is it the right behavior or it's a bug?
Thanks,
Aaron
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Julie Pichon
- Solved:
- Last query:
- Last reply: