R2.20 build 87 : DNS query sent even though contrail-dns or contrail-named are DOWN.

Bug #1489610 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Won't Fix
Medium
Nipa
Trunk
Fix Committed
Medium
Nipa

Bug Description

2 DNS servers 10.204.217.105 and 10.204.217.106
10.204.217.105 is down ; 10.204.217.106 is up

10.204.217.105:
root@nodeh2:~# ssh -l root 10.204.217.105
Last login: Thu Aug 27 12:49:18 2015 from nodeh2
root@nodeh1:~# contrail-status
== Contrail vRouter ==
supervisor-vrouter: active
contrail-vrouter-agent active (XMPP:dns-server:10.204.217.105 connection down)
contrail-vrouter-nodemgr active
== Contrail Control ==
supervisor-control: active
contrail-control active
contrail-control-nodemgr active
contrail-dns inactive
contrail-named active

10.204.217.106 is up:
root@nodeh1:~# ssh -l root 10.204.217.106
root@nodeh2:~# contrail-status
== Contrail vRouter ==
supervisor-vrouter: active
contrail-vrouter-agent active (XMPP:dns-server:10.204.217.105 connection down)
contrail-vrouter-nodemgr active
== Contrail Control ==
supervisor-control: active
contrail-control active
contrail-control-nodemgr active
contrail-dns active
contrail-named active

in Discovery:
dns-server 10.204.217.105 nodeh1:dns-server up up 0 0:48:35
dns-server 10.204.217.106 nodeh2:dns-server up up 8 0:00:03

DnsStats
dns_resolver dns_requests dns_resolved dns_retransmit_reqs dns_unsupported dns_failures dns_drops more
10.204.217.105
10.204.217.106

2015-08-28 01:42:55.511 DnsBindTrace: DNS query sent to named server : 10.204.217.105; xid =391 IN/A/vm5.juniper.net/; controller/src/vnsw/agent/services/dns_handler.cc 412
2015-08-28 01:42:55.511 DnsBindTrace: DNS query sent to named server : 10.204.217.106; xid =392 IN/A/vm5.juniper.net/; controller/src/vnsw/agent/services/dns_handler.cc 412
2015-08-28 01:42:55.511 DnsBindTrace: Query successful : xid = 391 IN/A/vm5.juniper.net/40.1.1.7; controller/src/vnsw/agent/services/dns_handler.cc 562
2015-08-28 01:42:55.511 DnsBindError: Invalid or Response ignored xid 392 received from DNS server - dropping controller/src/vnsw/agent/services/dns_handler.cc 596

Revision history for this message
Ankit Jain (ankitja) wrote :
Revision history for this message
Nipa (nipak) wrote :

Do not send dns query if the DNS-Server is DOWN. Agent connectst to DNS-Server to publish all DNS records.

summary: - R2.20 build 87 : Down dns server responding to agent's query even when
- one more up server is available
+ R2.20 build 87 : DNS query sent even though contrail-dns or contrail-
+ named are DOWN.
Changed in juniperopenstack:
milestone: none → r2.30-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/13536
Submitter: Nipa Kumar (<email address hidden>)

Changed in juniperopenstack:
importance: Undecided → Medium
information type: Proprietary → Public
tags: added: releasenote
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/14653
Submitter: Nipa Kumar (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14653
Committed: http://github.org/Juniper/contrail-controller/commit/58949977943ac65b0bd94121a5ead2d94cf19d82
Submitter: Zuul
Branch: master

commit 58949977943ac65b0bd94121a5ead2d94cf19d82
Author: Nipa Kumar <email address hidden>
Date: Mon Oct 26 15:39:48 2015 -0700

Advertise DNS-Server status as up conditionally to discovery-server.

Conditions are based on config read completely from IfMap Server
and connection to named is UP.

Added checks for pid recirculation by associating to named process.
(diffs from Hari Prasad Killi)

Change-Id: I24510c77ac1fa00dfcc48b4ac087e7cc164bc579
Closes-Bug:1477742
Closes-Bug:1489610

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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