snat health check generate too many api server updates

Bug #1502300 reported by Rudra Rugge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Critical
Rudra Rugge
R2.20.x
Fix Committed
Critical
Rudra Rugge
R2.21.x
Fix Committed
Critical
Rudra Rugge
Trunk
Fix Committed
Critical
Rudra Rugge

Bug Description

SNAT and LBAAS are launched in a network namespace on a chosen vrouter. The vrouter selection happens based on the
UVE information from analytics. When service monitor detects that the vrouter is down then it tries to reschedule the
snat/lbaas netns to another vrouter.

This requires the virtual-machine placeholder object to be detached from the existing failed vrouter to a new vrouter. The
bug in the code misses the detach operation as information is not sent correctly to the api server. This causes a bunch of
messages/updates to the API server on a regular interval. The fix now correctly updates the virtual-machine and vrouter
references so that a new vrouter can be attached to the virtual-machine.

Tags: config
Rudra Rugge (rrugge)
no longer affects: juniperopenstack/trunk
Changed in juniperopenstack:
milestone: r2.20.1 → none
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

Review in progress for https://review.opencontrail.org/14217
Submitter: Hampapur Ajay (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/14218
Submitter: Rudra Rugge (<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/14219
Submitter: Rudra Rugge (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14217
Committed: http://github.org/Juniper/contrail-controller/commit/c715c22f23d120e13f1d53c436d5003be3bbe35e
Submitter: Zuul
Branch: R2.20.x

commit c715c22f23d120e13f1d53c436d5003be3bbe35e
Author: Hampapur Ajay <email address hidden>
Date: Fri Oct 2 13:20:15 2015 -0700

Snat health check generates unnecessary api server updates

On vrouter down detach infro is not sent correctly to the api server. This causes a bunch of
messages/updates to the API server on a regular interval. The fix now correctly updates the
virtual-machine and vrouter references so that a new vrouter can be attached to the vm.

In addition made the service check interval configurable in contrail-svc-monitor.conf
check_service_interval=<seconds>

Change-Id: I352ec821128e801b24cd227ce35824906140fcab
Closes-Bug: #1502300

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

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

commit 212b10670f543ea82720fc07655c676d64fdcab9
Author: Hampapur Ajay <email address hidden>
Date: Fri Oct 2 13:20:15 2015 -0700

Snat health check generates unnecessary api server updates

On vrouter down detach infro is not sent correctly to the api server. This causes a bunch of
messages/updates to the API server on a regular interval. The fix now correctly updates the
virtual-machine and vrouter references so that a new vrouter can be attached to the vm.

In addition made the service check interval configurable in contrail-svc-monitor.conf
check_service_interval=<seconds>

Change-Id: I352ec821128e801b24cd227ce35824906140fcab
Closes-Bug: #1502300

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

Reviewed: https://review.opencontrail.org/14218
Committed: http://github.org/Juniper/contrail-controller/commit/9bea272c121d25235bc3939b9a53d3f0dbc4bcaf
Submitter: Zuul
Branch: R2.20

commit 9bea272c121d25235bc3939b9a53d3f0dbc4bcaf
Author: Hampapur Ajay <email address hidden>
Date: Fri Oct 2 13:20:15 2015 -0700

Snat health check generates unnecessary api server updates

On vrouter down detach infro is not sent correctly to the api server. This causes a bunch of
messages/updates to the API server on a regular interval. The fix now correctly updates the
virtual-machine and vrouter references so that a new vrouter can be attached to the vm.

In addition made the service check interval configurable in contrail-svc-monitor.conf
check_service_interval=<seconds>

Change-Id: I352ec821128e801b24cd227ce35824906140fcab
Closes-Bug: #1502300

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

Review in progress for https://review.opencontrail.org/14876
Submitter: Rudra Rugge (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14876
Committed: http://github.org/Juniper/contrail-controller/commit/03272b61810c6f2f07a4008c7adca2a9c23b54d3
Submitter: Zuul
Branch: R2.21.x

commit 03272b61810c6f2f07a4008c7adca2a9c23b54d3
Author: Hampapur Ajay <email address hidden>
Date: Fri Oct 2 13:20:15 2015 -0700

Snat health check generates unnecessary api server updates

On vrouter down detach infro is not sent correctly to the api server. This causes a bunch of
messages/updates to the API server on a regular interval. The fix now correctly updates the
virtual-machine and vrouter references so that a new vrouter can be attached to the vm.

In addition made the service check interval configurable in contrail-svc-monitor.conf
check_service_interval=<seconds>

Change-Id: I352ec821128e801b24cd227ce35824906140fcab
Closes-Bug: #1502300

no longer affects: juniperopenstack/r3.0
information type: Proprietary → Public
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.