Need to restart contrail api if ifmap server restarted

Bug #1622101 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

If the ifmap was restarted, all graph is lost as it's a in-memory db. So the vnc api server also need to be restarted to reseed all graph.

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

Review in progress for https://review.opencontrail.org/22802
Submitter: ?douard Thuleau (<email address hidden>)

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

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

commit 083616059840e1dc10631deb21b6064970a1e013
Author: Édouard Thuleau <email address hidden>
Date: Wed Aug 3 18:38:19 2016 +0200

Resync ifmap graph when restart

1/ When a ifmap server restarting, the api reseed all graph with data
fetched from database without the need to restart vnc api server.
2/ If the connection between the api and ifmap server gone down, the api
buffered messages in the ifmap sending queue and send them when the
connection comes up again. If the buffered queue was exceeded, requests
continue to enqueue in the rabbitmq until ifmap server comes up again.

Also fix an issue in the db-loader script to support new keyspace dict
and add an option to not load zookeeper database.

Change-Id: I8123deed561c9344b854e65b60b5735a2ba4d19e
Closes-Bug: #1622101

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.