[Discovery-Rel3.0-Centos-1]: All clients re-subscribe to a different publisher when a rule is added which was supposed to affect only 1 subscriber (No Auto load balance)

Bug #1548638 reported by Pulkit Tandon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Released
High
Deepinder Setia
Trunk
Fix Committed
High
Deepinder Setia

Bug Description

Bug Template : Centos

OS version: 3.10.0-229.el7.x86_64 #1 (Centos7.1)
Contrail Version: 3.0-1.el7.centos

Setup details:
Multinode setup.
Testbed file attached

Configurations:
Discovery server running and it does auto assignments of services to clients.

Description:

3 dns-servers are present in topology:
nodeh4: 77.77.1.10
nodeg12: 77.77.2.10
nodec10: 77.77.3.10

3 vrouter compute nodes are present in the topology:
nodeh8: 77.77.1.11
nodeg31: 77.77.2.11
nodec28: 77.77.3.11

Step 1: contrail-discovery.conf file was updated with min and max TTL values as “60” .For all default assignments, TTL 60 was working as expected.

Step 2: Please see the default assignment of services in attached file named
“Screen shot before rule.png”.

Step 3: Created Rule 1 as follows:
77.77.3.0/24,dns-server,, 77.77.3.11/32,contrail-vrouter-agent:0,,

As expected, as soon as this rule is created, "77.77.3.11/32,contrail-vrouter-agent:0,” started following the rule and subscribes from “77.77.3.11,dns-server"

Step 4: Noted the following:
Other subscribers "77.77.2.11/32,contrail-vrouter-agent:0” and "77.77.1.11/32,contrail-vrouter-agent:0” also loses their subscription from contrail-dns of nodeg12 (77.77.2.10) and resubscribe to nodec10 (77.77.3.10)

Please see attached screenshot "Screen Shot after rule.png” to understand what has happened.

Step 5: Tried deletion and addition of similar rules and changing the value of publisher in the rule.
Each time, all subscribers were getting affected.

There is definitely some link of one with all that trigger re-subscription.

Logs:
The issue is reproducible and self descriptive.
So no logs have been taken.

Tags: discovery
Revision history for this message
Pulkit Tandon (pulkitt) wrote :
Revision history for this message
Pulkit Tandon (pulkitt) wrote :
Revision history for this message
Pulkit Tandon (pulkitt) wrote :
Pulkit Tandon (pulkitt)
information type: Proprietary → Public
Pulkit Tandon (pulkitt)
summary: [Discovery-Rel3.0-Centos-1]: All clients re-subscribe to a different
publisher when a rule is added which was supposed to affect only 1
- subscriber
+ subscriber (No Auto load balance)
Changed in juniperopenstack:
milestone: r3.0-fcs → none
tags: added: blocker
tags: removed: blocker
Revision history for this message
Deepinder Setia (dsetia) wrote :

Pulkit, what is the policy set for dns-server?

Revision history for this message
Pulkit Tandon (pulkitt) wrote :

The policy for dns-server was "fixed" . Default configurations were used for policy

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

Review in progress for https://review.opencontrail.org/19057
Submitter: Deepinder Setia (<email address hidden>)

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

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

commit b16a7a804b5e6af449c8166b0db8f86449a1f2f7
Author: Deepinder Setia <email address hidden>
Date: Mon Apr 4 15:53:12 2016 -0700

Add test cases. Fix python client library to take remote address
for test case.

Change-Id: Ic8bd88f95a3a68431d41f8d5722fb810e9020a0e
Fixes-Bug: #1549243
Fixes-Bug: #1548638

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

Review in progress for https://review.opencontrail.org/20926
Submitter: Deepinder Setia (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/20926
Committed: http://github.org/Juniper/contrail-controller/commit/461c550306e1c12d5188f4ef2c611ec2f7acfe3c
Submitter: Zuul
Branch: R3.0

commit 461c550306e1c12d5188f4ef2c611ec2f7acfe3c
Author: Deepinder Setia <email address hidden>
Date: Mon Apr 4 15:53:12 2016 -0700

Add test cases. Fix python client library to take remote address
for test case.

Change-Id: Ic8bd88f95a3a68431d41f8d5722fb810e9020a0e
Fixes-Bug: #1549243
Fixes-Bug: #1548638

Revision history for this message
Pulkit Tandon (pulkitt) wrote :

Working as expected.
tested on 3.0.2.0-50.

Hence closing the bug on R3.0 branch

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.