commit 89232854f4847c2941252eb6de756e162a5a23cb
Author: Nipa Kumar <email address hidden>
Date: Tue May 26 14:50:42 2015 -0700
Agent: XMPP connection not attempted by agent
Agent marks connection to Xmpp-Server DOWN after several attempts and rediscovers controllers.
If the controller list sent by Discovery is already marked DOWN, agent does not honor the
controller connection to be applied. This happens in the time period where discovery has not
yet marked the controller down (marked when 3 heartbeats are missing) and sends the stale list.
Additionally as discovery client has a checksum so the callbacks are throttled at source and
hence the clients never get called when controllers are UP and the information is lost.
Solution is to honor reponse from discovery irrespective of the state of the publisher
(both Xmpp Server advertised by controller and dns daemon)
Reviewed: https:/ /review. opencontrail. org/12161 github. org/Juniper/ contrail- controller/ commit/ 89232854f4847c2 941252eb6de756e 162a5a23cb
Committed: http://
Submitter: Zuul
Branch: R2.1
commit 89232854f4847c2 941252eb6de756e 162a5a23cb
Author: Nipa Kumar <email address hidden>
Date: Tue May 26 14:50:42 2015 -0700
Agent: XMPP connection not attempted by agent
Agent marks connection to Xmpp-Server DOWN after several attempts and rediscovers controllers.
If the controller list sent by Discovery is already marked DOWN, agent does not honor the
controller connection to be applied. This happens in the time period where discovery has not
yet marked the controller down (marked when 3 heartbeats are missing) and sends the stale list.
Additionally as discovery client has a checksum so the callbacks are throttled at source and
hence the clients never get called when controllers are UP and the information is lost.
Solution is to honor reponse from discovery irrespective of the state of the publisher
(both Xmpp Server advertised by controller and dns daemon)
Test cases added.
Change-Id: I5c6695f04d3dd4 a384f0ea7d0da91 2475966c6eb
Closes-Bug:1457243