Bug 1718211

Summary: [OSP15] test_internal_dns.InternalDNSTest.test_dns_domain_and_name fails with OVN
Product: Red Hat OpenStack Reporter: Bernard Cafarelli <bcafarel>
Component: python-networking-ovnAssignee: Maciej Józefczyk <mjozefcz>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: apevec, chrisw, dalvarez, jlibosva, jschluet, lhh, majopela, mjozefcz, rhos-maint, rsafrono, scohen
Target Milestone: z2Keywords: AutomationBlocker, Triaged, ZStream
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-6.0.1-0.20200108131128.86eee79.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1721012 1795165 1836907 (view as bug list) Environment:
Last Closed: 2020-03-05 11:53:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1721012    
Bug Blocks: 1836907    

Description Bernard Cafarelli 2019-06-07 09:22:53 UTC
neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name test fails with:
  File "/usr/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 108, in wrapper
    return func(*func_args, **func_kwargs)
  File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_internal_dns.py", line 75, in test_dns_domain_and_name
    'starwars', ssh_client.exec_command('cat /etc/resolv.conf'))
  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 417, in assertIn
    self.assertThat(haystack, Contains(needle), message)
  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'starwars' not in 'nameserver 10.0.0.1\n'

Same test is passing on a ML2/OVS deployment

Comment 2 Jakub Libosvar 2019-06-07 13:29:20 UTC
The test is skipped upstream because we need OVS patch first: https://patchwork.ozlabs.org/patch/1102717/

Comment 3 Jakub Libosvar 2019-06-07 14:48:53 UTC
I'm changing the component and assigning to Maciej as he's already done the work.

Comment 9 Maciej Józefczyk 2019-06-19 07:22:07 UTC
We wait for package to be in the puddle. Moving this bz to "ON_DEV" and when package from bz1721012 will ready I will move this to "ON_QA".

Comment 10 Bernard Cafarelli 2019-06-24 14:14:23 UTC
Updating target as we blacklist the test in beta

Comment 28 Roman Safronov 2020-02-04 17:11:09 UTC
Verified on RHOS_TRUNK-15.0-RHEL-8-20200130.n.1 with python3-networking-ovn-6.0.1-0.20200116080451.e669382.el8ost.noarch.rpm

Test test_internal_dns.InternalDNSTest.test_dns_domain_and_name passed

https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/network/view/networking-ovn/job/DFG-network-networking-ovn-15_director-rhel-virthost-3cont_2comp-ipv4-geneve/212/testReport/neutron_tempest_plugin.scenario.test_internal_dns/InternalDNSTest/

Comment 29 Alex McLeod 2020-02-19 12:48:39 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.

Comment 31 errata-xmlrpc 2020-03-05 11:53:49 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/RHBA-2020:0709