[UI] VN page takes a lot of time to load in a TOR-scale setup

Bug #1435154 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Biswajit Mandal
R2.1
Fix Committed
High
Biswajit Mandal

Bug Description

R2.1 Build 42 Ubuntu 14.04 multi-node setup

This is a setup with 63 VNs, 62K VMIs, 1K VMIs/VN - all in one project

It seems that when user invokes Configure > Networking > Networks page, a GET on /projects is done by Contrail UI which includes all the backreferences also (~62K) which can be avoided.

The page takes 2-3 mins to load fully.

There is additional delay while fetching in chunks of 4 VNs

Tags: bms scale ui
Revision history for this message
chhandak (chhandak) wrote :
Revision history for this message
Rahul (rahuls) wrote :

Use exclude_backrefs and fields for projects and other specific objects.

Changed in juniperopenstack:
assignee: Rahul (rahuls) → Biswajit Mandal (bmandal)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8580
Submitter: Biswajit Mandal (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/8612
Submitter: Balamurugan Gopal (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/8613
Submitter: Balamurugan Gopal (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/8614
Submitter: Biswajit Mandal (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/8612
Committed: http://github.org/Juniper/contrail-web-controller/commit/851e845c62b4d87ba30758a1e660be7a95ff8867
Submitter: Zuul
Branch: R2.1

commit 851e845c62b4d87ba30758a1e660be7a95ff8867
Author: balamurugang <email address hidden>
Date: Wed Mar 25 12:02:12 2015 +0530

Increased the grid loading page size for virtual network page in config.

Change-Id: I54e6da62741fed449763c58260bf129e6d593c1c
Related-Bug: #1435154

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

Reviewed: https://review.opencontrail.org/8614
Committed: http://github.org/Juniper/contrail-web-controller/commit/3a3a5a31de83bbbb95d4c48a043ba1abe8bc0bf9
Submitter: Zuul
Branch: R2.1

commit 3a3a5a31de83bbbb95d4c48a043ba1abe8bc0bf9
Author: Biswajit Mandal <email address hidden>
Date: Tue Mar 24 17:18:08 2015 +0530

While doing a paginated response, do GET on config list based on only the type,
so send the fields along with the request to skip all other unwanted data.
For VN get, add exclude_back_refs.
Related_bug: #1435154

Change-Id: I54db890d68fd8b7b2c42df879096070cbce44820

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

Reviewed: https://review.opencontrail.org/8580
Committed: http://github.org/Juniper/contrail-web-controller/commit/84e855d85ff1c96d6943a94dc466c13e41da71f6
Submitter: Zuul
Branch: master

commit 84e855d85ff1c96d6943a94dc466c13e41da71f6
Author: Biswajit Mandal <email address hidden>
Date: Tue Mar 24 17:18:08 2015 +0530

While doing a paginated response, do GET on config list based on only the type,
so send the fields along with the request to skip all other unwanted data.
For VN get, add exclude_back_refs.
Related_bug: #1435154

Change-Id: I54db890d68fd8b7b2c42df879096070cbce44820

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

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

commit e8786e8a23a135ce73674e8566aca14ed7905f89
Author: balamurugang <email address hidden>
Date: Wed Mar 25 12:02:12 2015 +0530

Increased the grid loading page size for virtual network page in config.

Change-Id: I54e6da62741fed449763c58260bf129e6d593c1c
Related-Bug: #1435154

chhandak (chhandak)
tags: added: bms
Rahul (rahuls)
Changed in juniperopenstack:
status: New → Fix Committed
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.