Bug 1439655 - There is no validation DVR is enabled before running -neutron.tests.tempest.scenario.test_dvr.NetworkDvrTest tests
Summary: There is no validation DVR is enabled before running -neutron.tests.tempest.s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Upstream M3
: 12.0 (Pike)
Assignee: Or Idgar
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-06 11:33 UTC by Eran Kuris
Modified: 2018-02-05 19:07 UTC (History)
8 users (show)

Fixed In Version: openstack-neutron-11.0.2-0.20171027154909.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 21:22:29 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1450067 0 None None None 2017-04-30 12:27:12 UTC
Launchpad 1680417 0 None None None 2017-04-06 11:34:07 UTC
OpenStack gerrit 454203 0 None None None 2017-05-01 11:43:01 UTC
OpenStack gerrit 461984 0 None None None 2017-05-19 21:03:10 UTC
OpenStack gerrit 464743 0 None None None 2017-05-19 21:03:27 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Eran Kuris 2017-04-06 11:33:21 UTC
Description of problem:
When I am running neutron.tests.tempest.scenario.test_dvr.NetworkDvrTest tests on non-DVR environment they failed as expected. The problem is those tests should not run if the environment did not configure with DVR.
We should add a mechanism that checks if DVR is configured before it runs.



How reproducible:
always

Steps to Reproduce:
1. run the test neutron.tests.tempest.scenario.test_dvr.NetworkDvrTest on non-DVR environment.

Version-Release number of selected component (if applicable):
python-neutronclient-6.1.0-1.el7ost.noarch
puppet-neutron-10.3.0-2.el7ost.noarch
openstack-neutron-common-10.0.0-13.el7ost.noarch
openstack-neutron-openvswitch-10.0.0-13.el7ost.noarch
python-neutron-10.0.0-13.el7ost.noarch
openstack-neutron-10.0.0-13.el7ost.noarch
python-neutron-lib-1.1.0-1.el7ost.noarch
openstack-neutron-ml2-10.0.0-13.el7ost.noarch

Actual results:
tests failed 

Expected results:
Tests should not run.

Additional info:

Comment 1 Assaf Muller 2017-04-28 21:08:18 UTC
This was resolved by Arie Bregman with a CI framework workaround.

Comment 8 Assaf Muller 2017-05-01 11:43:02 UTC
Taking a look at 454203, we were planning on modifying TripleO so that it would conditionally set the new Neutron config option that exposes or hides the DVR extension, depending on weather or not the user enabled the TripleO DVR environment file. That will ensure that if TripleO was used as the installer, then Neutron will either expose or hide the DVR extension, and the correct Tempest tests will run accordingly.

Comment 9 Ihar Hrachyshka 2017-05-19 21:04:31 UTC
I believe this should be fixed if you pull master branches for neutron, puppet-neutron and tripleo-heat-templates. This bug is probably fixed already.

Comment 10 Ihar Hrachyshka 2017-11-07 18:49:11 UTC
Please try with latest OSP12, I think all relevant fixes should be included.

Comment 15 errata-xmlrpc 2017-12-13 21:22:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462


Note You need to log in before you can comment on or make changes to this bug.