config-scaling: Scaling improvements for startup in R2.20

Bug #1492646 reported by Hampapur Ajay
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Hampapur Ajay
Trunk
Fix Committed
High
Hampapur Ajay

Bug Description

On a scaled setup it was observed that on startup of schema transformer there were quite a lot of 'vm not found for interface ...' and reads of service-template and service-instance in R2.20.

As a low-risk for the benefits following can be done to alleviate the situation:
1. read all the virtual machines in re-init so later path of syncing from ifmap already has a local copy
2. cache the service-mode information for avoiding repeated accesses to svc-template and svc-instance

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

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

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

Reviewed: https://review.opencontrail.org/13610
Committed: http://github.org/Juniper/contrail-controller/commit/3654d9e0a08546f921f1583a9ea9371aedf23f87
Submitter: Zuul
Branch: R2.20

commit 3654d9e0a08546f921f1583a9ea9371aedf23f87
Author: Hampapur Ajay <email address hidden>
Date: Sat Sep 5 15:46:53 2015 -0700

config-scaling: read in vm during re-init and cache service-mode info.

Change-Id: I03ebb1b556dd6a2d1a8ce9e3a956ec3be7da3522
Closes-Bug: #1492646

Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → Hampapur Ajay (hajay)
tags: added: config
Revision history for this message
Sachin Bansal (sbansal) wrote :

Fixed in master with rabbitmq changes for schema transformer

Changed in juniperopenstack:
status: New → Fix Committed
Rudra Rugge (rrugge)
Changed in juniperopenstack:
milestone: none → r3.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

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

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

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

commit 6347981ff818d382fe492db3eaa7a40f0b9d480b
Author: Hampapur Ajay <email address hidden>
Date: Sat Sep 5 15:46:53 2015 -0700

config-scaling: read in vm during re-init and cache service-mode info.

Change-Id: I03ebb1b556dd6a2d1a8ce9e3a956ec3be7da3522
Closes-Bug: #1492646
(cherry picked from commit 3654d9e0a08546f921f1583a9ea9371aedf23f87)

Sachin Bansal (sbansal)
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.