*** This bug is a duplicate of bug 1355537 ***
    https://bugs.launchpad.net/bugs/1355537

Public bug reported:

These Tempest tests are failing when the "check experimental" jenkins
job is run, causing it to enable DVR in devstack:

tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps
    test_cross_tenant_traffic[compute,gate,network,smoke]             FAIL
    test_in_tenant_traffic[compute,gate,network,smoke]                FAIL

tempest/scenario/test_security_groups_basic_ops.py._verify_network_details()
has this check:

    if i['device_owner'] == 'network:router_interface']

But a DVR router has device_owner
'network:router_interface_distributed', so the loop returns []

Something like this will catch both:

    if i['device_owner'].startswith('network:router')]

tempest/common/isolated_creds.py has a similar check that needs
updating.

A quick check with the above change saw the test pass in my environment.

** Affects: neutron
     Importance: Undecided
     Assignee: Brian Haley (brian-haley)
         Status: New


** Tags: l3-dvr-backlog

** Changed in: neutron
     Assignee: (unassigned) => Brian Haley (brian-haley)

** Tags added: l3-dvr-backlog

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

Title:
  Tempest tests for router interfaces need updating to support DVR

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  These Tempest tests are failing when the "check experimental" jenkins
  job is run, causing it to enable DVR in devstack:

  tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps
      test_cross_tenant_traffic[compute,gate,network,smoke]             FAIL
      test_in_tenant_traffic[compute,gate,network,smoke]                FAIL

  tempest/scenario/test_security_groups_basic_ops.py._verify_network_details()
  has this check:

      if i['device_owner'] == 'network:router_interface']

  But a DVR router has device_owner
  'network:router_interface_distributed', so the loop returns []

  Something like this will catch both:

      if i['device_owner'].startswith('network:router')]

  tempest/common/isolated_creds.py has a similar check that needs
  updating.

  A quick check with the above change saw the test pass in my
  environment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1356021/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to