test_create_show_delete_security_group_rule_names failure on networking-midonet gate

Bug #1742385 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi
neutron
Fix Released
High
YAMAMOTO Takashi

Bug Description

test_create_show_delete_security_group_rule_names is failing on networking-midonet gate jobs.

it seems like a neutron-lib version mismatch.
1.11.0 is used by neutron.
on the other hand, 1.12.0 is used by tempest plugins installed via TEMPEST_PLUGINS, which doesn't honor upper-constraints.
i guess tempest plugins should not use the list of protocols from neutron-lib because tempest is branchless and supposed to work against old servers (with older neutron-lib) and other implementations (like midonet) as well.

note: "ipip" is added by neutron-lib 1.12.0 (I18e5e42b687e12b64f5a9c523a912c8dd1afa9d2)

eg. http://logs.openstack.org/91/531091/3/check/networking-midonet-tempest-multinode-ml2/1503639/logs/testr_results.html.gz

Traceback (most recent call last):
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/api/test_security_groups.py", line 80, in test_create_show_delete_security_group_rule_names
    ethertype=self.ethertype)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/api/base_security_groups.py", line 88, in _test_create_show_delete_security_group_rule
    self._create_security_group_rule(**kwargs)['security_group_rule'])
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/api/base_security_groups.py", line 58, in _create_security_group_rule
    rule_create_body = self.client.create_security_group_rule(**kwargs)
  File "/opt/stack/new/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/services/network/json/network_client.py", line 865, in create_security_group_rule
    resp, body = self.post(uri, body)
  File "tempest/lib/common/rest_client.py", line 279, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "tempest/lib/common/rest_client.py", line 668, in request
    self._error_checker(resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 779, in _error_checker
    raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: {u'type': u'SecurityGroupRuleInvalidProtocol', u'message': u"Security group rule protocol ipip not supported. Only protocol values [None, 'ah', 'pgm', 'tcp', 'ipv6-encap', 'dccp', 'igmp', 'icmp', 'esp', 'ipv6-icmp', 'vrrp', 'gre', 'sctp', 'rsvp', 'ipv6-route', 'udp', 'ipv6-opts', 'ipv6-nonxt', 'udplite', 'egp', 'icmpv6', 'ipv6-frag', 'ospf'] and integer representations [0 to 255] are supported.", u'detail': u''}

Tags: gate-failure
tags: added: gate-failure
Changed in networking-midonet:
importance: Undecided → Critical
description: updated
summary: - test_create_show_delete_security_group_rule_names failure
+ test_create_show_delete_security_group_rule_names failure on networking-
+ midonet gate
description: updated
description: updated
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Changed in networking-midonet:
status: New → In Progress
Changed in neutron:
importance: Undecided → High
Revision history for this message
Brian Haley (brian-haley) wrote :

Looks like the change has merged, but somehow the bug hasn't been updated.

Changed in neutron:
status: In Progress → Fix Committed
Changed in networking-midonet:
status: In Progress → Fix Released
assignee: nobody → YAMAMOTO Takashi (yamamoto)
milestone: none → 6.0.0
Changed in neutron:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.