Bug 1482694 - tempest network and neutron plugin tests fail on Director HA deployment with OVN enabled
Summary: tempest network and neutron plugin tests fail on Director HA deployment with ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 12.0 (Pike)
Assignee: Daniel Alvarez Sanchez
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On: 1510879
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-17 22:15 UTC by Arie Bregman
Modified: 2019-09-09 13:42 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-02 08:43:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Arie Bregman 2017-08-17 22:15:45 UTC
Description of problem:

We have ~25 failures when deploying Director HA with OVN enabled.
Same deployment without OVN: 2 failures


Version-Release number of selected component (if applicable): openstack-neutron-11.0.0-0.20170807223712.el7ost.noarch
python-networking-ovn-3.0.0-0.20170807061656.2425483.el7ost.noarch


How reproducible: 100%


Steps to Reproduce:
1. Deploy Director HA OSP 12 with ovn (ovn-ha env file)
2. Run tempest network and neutron plugin tests


Actual results: 25 failures, different tracebacks


Expected results: all tests passing


Additional info: links to failures and logs provided in next comment

Comment 3 Assaf Muller 2017-08-18 03:03:55 UTC
Neat, thank you Arie!

Could you please specify which tests also fail with ML2/OVS with the same code base?

Comment 4 Assaf Muller 2017-08-18 03:09:35 UTC
We'll also need to follow up on upstream networking-ovn coverage gap. One action item would be to enable the Neutron in-tree API tests. It's not clear why the Tempest scenario tests are failing though.

Comment 5 Arie Bregman 2017-08-19 08:03:55 UTC
The following tests fail also with ML2/OVS:

neutron.tests.tempest.api.test_subnetpools.DefaultSubnetPoolsTest.test_convert_default_subnetpool_to_non_default
neutron.tests.tempest.api.test_subnetpools.DefaultSubnetPoolsTest.test_convert_subnetpool_to_default_subnetpool

It's tracked here:

https://bugzilla.redhat.com/show_bug.cgi?id=1480273

Comment 7 Arie Bregman 2017-08-21 23:39:36 UTC
No. Looks like it's disabled:

[heat-admin@controller-0 ~]$ systemctl status neutron-metadata-agent
● neutron-metadata-agent.service - OpenStack Neutron Metadata Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-metadata-agent.service; disabled; vendor preset: disabled)

But looks like this is a deliberate change:

https://github.com/openstack/tripleo-heat-templates/blob/master/environments/neutron-ml2-ovn-ha.yaml

"# Disabling Neutron services that overlap with OVN"

Comment 8 anil venkata 2017-08-22 04:30:57 UTC
Thanks Arie. Lucas said he will propose a patch to set the force_config_driver=True in the nova config for metadata for all the OVN tests.

Comment 12 anil venkata 2017-10-27 11:40:40 UTC
I am not working on this bug. May be numan, Daniel, ajo or Lucas can take ownership of this bug. I will ping them on IRC and ask for taking ownership. Thanks

Comment 17 Daniel Alvarez Sanchez 2017-10-27 15:13:37 UTC
In upstream force_config_drive is set to True for OVN and test passes so looks like it's infrared the one disabling it. Most of the tests (except the ipv6 and agent tests) should pass with this change.

Comment 19 Miguel Angel Ajo 2017-11-16 17:31:04 UTC
Most of those tests are due to https://bugzilla.redhat.com/show_bug.cgi?id=1510879  I've set that one as blocker of this.

one of them mac spoofing, needs to be disabled because, there the test in tempest is not well written [1]


[1] https://bugs.launchpad.net/tempest/+bug/1728886

Comment 20 Miguel Angel Ajo 2017-11-16 17:35:38 UTC
@arie, we also need to disable this one:

neutron/tests/tempest/api/admin/test_agent_management


The test explodes because we report no agents:

 File "/usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_agent_management.py", line 30, in resource_setup
    cls.agent = agents[0]  # don't modify this agent

 :)

Comment 22 Arie Bregman 2017-12-19 09:36:43 UTC
Now that we have considerably fewer failures. Should we close this very generic bug and split it into smaller, more specific, bugs?

Comment 23 Daniel Alvarez Sanchez 2017-12-19 16:20:38 UTC
(In reply to Arie Bregman from comment #22)
> Now that we have considerably fewer failures. Should we close this very
> generic bug and split it into smaller, more specific, bugs?

I think it makes sense :) We'll review the list and open them.
Thanks Arie


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