RHOSP:VDNS test failed: service verification in test code expecting the service in control_data network

Bug #1736580 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Medium
Senthilnathan Murugappan
R4.0
Fix Committed
Medium
Senthilnathan Murugappan
R4.1
Fix Committed
Medium
Senthilnathan Murugappan
Trunk
Fix Committed
Medium
Senthilnathan Murugappan

Bug Description

VDNS service verification checking on control_data interface and no service listening on control_data

--- ctest-vm1-test-11700854.juniper.net ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 0.155/0.976/4.010/1.517 ms
2017-12-02 22:12:02,086 - INFO - Ping to IP ctest-vm1-test-11700854 from VM ctest-vm1-test-11700854 passed
2017-12-02 22:12:02,118 - DEBUG - Requesting: http://10.0.0.40:8092/Snh_PageReq?x=AllEntries%20VdnsServersReq
2017-12-02 22:14:09,292 - ERROR - Socket Connection error: HTTPConnectionPool(host='10.0.0.40', port=8092): Max retries exceeded with url: /Snh_PageReq?x=AllEntries%20VdnsServersReq (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',))
2017-12-02 22:14:09,298 - INFO - Deleting VM ctest-vm1-test-11700854

Tags: sanity rhosp
shajuvk (shajuvk)
information type: Proprietary → Public
Revision history for this message
Senthilnathan Murugappan (msenthil) wrote :

diff --git a/common/vdns/base.py b/common/vdns/base.py
index 102cf79..75d2a2f 100644
--- a/common/vdns/base.py
+++ b/common/vdns/base.py
@@ -423,6 +423,7 @@ class BasevDNSTest(test_v1.BaseTestCase_v1):
     def verify_vm_dns_data(self, vm_dns_exp_data, dns_server_ip):
         result = True
         dns_data_list = []
+ dns_server_ip = self.inputs.host_data[dns_server_ip]['host_ip']
         for bgp_ip in self.inputs.bgp_ips:
             dnsinspect_h = self.dnsagent_inspect[dns_server_ip]
             dns_data_list.append(dnsinspect_h.get_dnsa_config())

should fix it

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38177
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/38179
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38177
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38177
Committed: http://github.com/Juniper/contrail-test-ci/commit/07adf0dfe2d1e87b2c8988105ea6451edddbad61
Submitter: Zuul (<email address hidden>)
Branch: master

commit 07adf0dfe2d1e87b2c8988105ea6451edddbad61
Author: Senthilnathan Murugappan <email address hidden>
Date: Wed Dec 6 12:50:05 2017 -0800

fixes for vdns to use mgmt ip and use cfgm db for connectivity check

Change-Id: I4e5e73a78de7b4f4540a415f9e54a4a4985c5c43
Closes-Bug: 1736580

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/38179
Committed: http://github.com/Juniper/contrail-test-ci/commit/c27ce49143a7db58b785a87c6ea2922ff0437966
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit c27ce49143a7db58b785a87c6ea2922ff0437966
Author: Senthilnathan Murugappan <email address hidden>
Date: Wed Dec 6 12:50:05 2017 -0800

fixes for vdns to use mgmt ip and use cfgm db for connectivity check

Change-Id: I4e5e73a78de7b4f4540a415f9e54a4a4985c5c43
Closes-Bug: 1736580

Jeba Paulaiyan (jebap)
tags: added: sanity
removed: sanityblocker
Jeba Paulaiyan (jebap)
tags: added: sanityblocker
removed: sanity
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/38474
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38474
Committed: http://github.com/Juniper/contrail-test-ci/commit/2e661875b85dc959344851fc67cc501cb52705be
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 2e661875b85dc959344851fc67cc501cb52705be
Author: Senthilnathan Murugappan <email address hidden>
Date: Wed Dec 6 12:50:05 2017 -0800

fixes for vdns to use mgmt ip and use cfgm db for connectivity check

Change-Id: I4e5e73a78de7b4f4540a415f9e54a4a4985c5c43
Closes-Bug: 1736580

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/38497
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38497
Committed: http://github.com/Juniper/contrail-test-ci/commit/db5d241b8c7d3f1f6fcea614d6505140e7a695ab
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit db5d241b8c7d3f1f6fcea614d6505140e7a695ab
Author: Senthilnathan Murugappan <email address hidden>
Date: Wed Dec 20 16:16:28 2017 -0800

fixes for vdns to use mgmt ip and use cfgm db for connectivity check

Change-Id: I4e5e73a78de7b4f4540a415f9e54a4a4985c5c43
Closes-Bug: 1736580

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/40095
Submitter: Ankit Jain (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: sanity
removed: sanityblocker
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.