after supervisor-config restart on tor-scale setup, api-server was fully up only after ~6 hrs

Bug #1460335 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Released
High
Suresh Balineni
Trunk
Fix Committed
High
Suresh Balineni

Bug Description

R2.20 Build 30 Ubuntu 14.04 Juno multi-node setup

Supervisor-config was restarted on all 3 nodes on this tor-scale setup with 128K vmis and 64K lifs over 500 vns
API-Server started listening on 9100 only after 6 hrs.
The first 15 mins seemed to be mostly read from cassandra.
Rest looks mostly due to delays in ifmap-server. This is with 20M as the max-per-poll-response size in ifmap.properties

env.roledefs = {
    'all': [host2, host3, host4, host5, host6, host7, host8, host9],
    'cfgm': [host2, host3, host4],
    'openstack': [host2, host3, host4],
    'webui': [host3],
    'control': [host2, host3, host4],
    'compute': [host5, host6, host7, host8, host9],
    'collector': [host2, host3, host4],
    'database': [host2, host3, host4],
    'toragent': [host5, host6, host7, host9 ],
    'tsn': [host5, host6, host7,host9 ],
    'build': [host_build],
}

env.hostnames = {
    'all': ['nodei34', 'nodei35', 'nodei36', 'nodei37', 'nodei38', 'nodei28', 'nodei27', 'nodei30']
}

Tags: bms config scale
Changed in juniperopenstack:
importance: Critical → High
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/11158
Submitter: Sachin Bansal (<email address hidden>)

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

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

commit 5cc9df6968d6ae5d25eb1ea6fc0eefe888e4d943
Author: Sachin Bansal <email address hidden>
Date: Mon Jun 1 17:44:38 2015 -0700

Schema transformer scaling improvements

With the help of profiler, Ajay and I found that most of the time is being spent
in walking all the VMIs for each network operations to find the VMIs on that
network and VMIs which correspond to a service instance. We added indexing on
VMIs for these two items and after that it finished significantly faster (~30
minutes).

Change-Id: I1d1e2110f12016c66b9db83ebd95c45d1a5e6e2d
Closes-Bug: 1460335

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

Review in progress for https://review.opencontrail.org/11194
Submitter: Sachin Bansal (<email address hidden>)

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

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

commit dd0c909b54568d4547dab7c2e8282fe18428fc67
Author: Sachin Bansal <email address hidden>
Date: Mon Jun 1 17:44:38 2015 -0700

Schema transformer scaling improvements

With the help of profiler, Ajay and I found that most of the time is being spent
in walking all the VMIs for each network operations to find the VMIs on that
network and VMIs which correspond to a service instance. We added indexing on
VMIs for these two items and after that it finished significantly faster (~30
minutes).

Change-Id: I1d1e2110f12016c66b9db83ebd95c45d1a5e6e2d
Closes-Bug: 1460335
(cherry picked from commit 5cc9df6968d6ae5d25eb1ea6fc0eefe888e4d943)

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

On 2.20 Build 79,
API Server now stabilizes in ~23 mins.
ifmap-server completes all its activity in ~30 mins

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.