← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1742385] Re: test_create_show_delete_security_group_rule_names failure on networking-midonet gate

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1742385

Title:
  test_create_show_delete_security_group_rule_names failure on
  networking-midonet gate

Status in networking-midonet:
  Fix Released
Status in neutron:
  Fix Released

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''}

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-midonet/+bug/1742385/+subscriptions