contrail-schema: recreate_vrf_assign_table is called for every config update. Keeps API server busy

Bug #1420611 reported by Prakash Bailkeri
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Sachin Bansal

Bug Description

For every ifmap notification, contrail-schema performs recreate_vrf_assign_table. This function walks through all the VMI in the system(does more API server READ for Service instance VMs VMI) to check whether VRF assign table needs to be (re)built.

If the setup has more service instances running and has more VMIs, since it is triggered on every config update, it keeps API server busy(Also seen timeout for API server requests)

Tags: config
Sachin Bansal (sbansal)
Changed in juniperopenstack:
assignee: nobody → Sachin Bansal (sbansal)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit c4fc8340de9b3d9574f893805946aac91c42b67d
Author: Sachin Bansal <email address hidden>
Date: Fri Feb 13 10:54:05 2015 -0800

Avoid reading interface during recreate_vrf_assign_table

Change-Id: I3bbbc1be103b82186d92cda7d7ddcca95d6359d0
Closes-Bug: 1420611

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/7640
Committed: http://github.org/Juniper/contrail-controller/commit/23c40a83ff9b9b4d26b56b2f84afffcaa005508e
Submitter: Zuul
Branch: R2.1

commit 23c40a83ff9b9b4d26b56b2f84afffcaa005508e
Author: Sachin Bansal <email address hidden>
Date: Fri Feb 13 10:54:05 2015 -0800

Avoid reading interface during recreate_vrf_assign_table

Change-Id: I3bbbc1be103b82186d92cda7d7ddcca95d6359d0
Closes-Bug: 1420611

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

Reviewed: https://review.opencontrail.org/7733
Committed: http://github.org/Juniper/contrail-controller/commit/66db5c8985529bc3b3e898ddee0a152710fa976a
Submitter: Zuul
Branch: R2.0

commit 66db5c8985529bc3b3e898ddee0a152710fa976a
Author: Sachin Bansal <email address hidden>
Date: Fri Feb 13 10:54:05 2015 -0800

Avoid reading interface during recreate_vrf_assign_table

Change-Id: I3bbbc1be103b82186d92cda7d7ddcca95d6359d0
Closes-Bug: 1420611
(cherry picked from commit c4fc8340de9b3d9574f893805946aac91c42b67d)

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

Reviewed: https://review.opencontrail.org/7880
Committed: http://github.org/Juniper/contrail-controller/commit/727fa5395c4add51b1c963ab44991154d4e71f35
Submitter: Zuul
Branch: R1.10

commit 727fa5395c4add51b1c963ab44991154d4e71f35
Author: Sachin Bansal <email address hidden>
Date: Fri Feb 13 10:54:05 2015 -0800

Avoid reading interface during recreate_vrf_assign_table

Closes-Bug: 1420611
(cherry picked from commit c4fc8340de9b3d9574f893805946aac91c42b67d)

Conflicts:
 src/config/schema-transformer/to_bgp.py
Change-Id: I3bbbc1be103b82186d92cda7d7ddcca95d6359d0

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.