[R2.20.43] TOR Scale: Horizon: Unable to retrive networks

Bug #1463417 reported by chhandak
22
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

With 24K Virtual network when ever we are trying to launch instances horizon is retuning "Unable to retrive networks ". Screenshot attached.

neutron net-list is taking 82m 39 seconds to get executed.

In turn VM instances can not be associated with any virtual networks .

Scale Profile
--------------------
System has 24K Virtual Network. Spread in 6 different project.

4 Project has 2K VN/per project
2 Project has 8K VN/ per project

Project where we are trying to launch instances has only 2K VN.

Log from contrail-api

127.0.0.1 - - [2015-06-09 18:54:59] "GET /virtual-networks?count=False&parent_id=db5a3a41-29cb-4a6e-accb-6970bb79ca68&detail=True HTTP/1.1" 200 3247119 1.101547
192.168.22.1 - - [2015-06-09 18:55:01] "POST /neutron/network HTTP/1.1" 200 999740 2.468162

Revision history for this message
chhandak (chhandak) wrote :
description: updated
chhandak (chhandak)
description: updated
Revision history for this message
Rahul (rahuls) wrote :

Main issue is due to the time taken to retrieve shared networks.

Shared/external network calls are slowing down Contrail UI as well.

information type: Proprietary → Public
tags: added: releasenote
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/11669
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/11670
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/11669
Committed: http://github.org/Juniper/contrail-controller/commit/5594d7789d46d2416c0001f218a6dbe34c8e9575
Submitter: Zuul
Branch: master

commit 5594d7789d46d2416c0001f218a6dbe34c8e9575
Author: Hampapur Ajay <email address hidden>
Date: Mon Jun 15 23:00:39 2015 -0700

config-perf: for shared and external net use list with filters.

Use the newly added support for list by filter so that shared nets
and router:external nets (which are based on property value) are
picked efficiently

Change-Id: Ic3904749e9c7f7078058dd89f64d3aed253ee236
Closes-Bug: #1463417

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

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

commit 5179dafe7dc3c7a000a2f12f0fc7e19fa5f2c472
Author: Hampapur Ajay <email address hidden>
Date: Mon Jun 15 23:00:39 2015 -0700

config-perf: for shared and external net use list with filters.

Use the newly added support for list by filter so that shared nets
and router:external nets (which are based on property value) are
picked efficiently

Change-Id: Ic3904749e9c7f7078058dd89f64d3aed253ee236
Closes-Bug: #1463417
(cherry picked from commit 5594d7789d46d2416c0001f218a6dbe34c8e9575)

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

Review in progress for https://review.opencontrail.org/11755
Submitter: Sachin Bansal (<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/11756
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/11755
Committed: http://github.org/Juniper/contrail-controller/commit/b44e5d81824dae626959abf2dcd9a0de3d57decd
Submitter: Zuul
Branch: R2.20

commit b44e5d81824dae626959abf2dcd9a0de3d57decd
Author: Sachin Bansal <email address hidden>
Date: Wed Jun 17 15:00:45 2015 -0700

filters['id'] is a list instead of single id

We need to iterate over it to get list of all ids.

Change-Id: I2fa4b49ee24a4886f22ca1bb731504d9c003b8c7
Closes-Bug: #1463417

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

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

commit 47ab0a492b374d6c40f4c19274ee7acc8d8dd06f
Author: Sachin Bansal <email address hidden>
Date: Wed Jun 17 15:00:45 2015 -0700

filters['id'] is a list instead of single id

We need to iterate over it to get list of all ids.

Change-Id: I2fa4b49ee24a4886f22ca1bb731504d9c003b8c7
Closes-Bug: #1463417
(cherry picked from commit b44e5d81824dae626959abf2dcd9a0de3d57decd)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.