Not supporting 'security-group' extension-alias causing tempest quotas and ext_list tests

asked 2014-01-17 14:12:29 -0600

Hi all,

We are writing a neutron plugin in which security groups support is not there, we want to use nova security groups instead. So we dont have "security-group" in supported_extension_aliases.

Now, when i am running some tempest tests, we are seeing issues because of this. For example, 1) nosetests -sv ==> Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/", line 77, in test_list_show_extensions self.assertIn(e, actual_alias) File "/usr/local/lib/python2.7/dist-packages/testtools/", line 330, in assertIn self.assertThat(haystack, Contains(needle)) File "/usr/local/lib/python2.7/dist-packages/testtools/", line 414, in assertThat raise MismatchError(matchee, matcher, mismatch, verbose) MismatchError: 'security-group' not in [u'service-type', u'ext-gw-mode', u'l3_agent_scheduler', u'lbaas_agent_scheduler', u'provider', u'binding', u'quotas', u'agent', u'metering', u'dhcp_agent_scheduler', u'external-net', u'router', u'allowed-address-pairs', u'extra_dhcp_opt', u'lbaas', u'extraroute']

2)​ ==> Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/network/", line 68, in test_quotas **new_quotas) File "/opt/stack/tempest/tempest/services/network/json/", line 101, in update_quotas resp, body = self.put(uri, body) File "/opt/stack/tempest/tempest/services/network/", line 65, in put return self.rest_client.put(uri, body, headers) File "/opt/stack/tempest/tempest/common/", line 314, in put return self.request('PUT', url, headers, body) File "/opt/stack/tempest/tempest/common/", line 436, in request resp, resp_body) File "/opt/stack/tempest/tempest/common/", line 486, in _error_checker raise exceptions.BadRequest(resp_body) BadRequest: Bad request Details: {u'NeutronError': u"Unrecognized attribute(s) 'security_group'"}

Why is this happening, is it a bug or am I missing somewhere. Please help me regarding this. Any help! Thank you in advance.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-01-17 19:05:31 -0600

Noticed this issue as well, I have create a bug on the tempest side for this: (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-01-17 14:12:29 -0600

Seen: 188 times

Last updated: Jan 17 '14