[UI] Error while listing Physical routers on tor scale setup

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

Bug Description

R2.20 BUild 13 Ubuntu 14.04 Juno Multi-node setup

This is a 128 ToR setup.
On listing Physical Routers page, I see the error "Error in getting Physical Routers."

Attached is the snapshot
Seems like it errored out when calling : https://nodei35:8143/api/tenants/config/physical-routers-with-intf-count?_=1431166546985

Logs of contrail webui and middleware had the below errors : Will upload to http://10.204.216.50/Docs/bugs/#

root@nodei35:/var/log/contrail# FATAL ERROR: JS Allocation failed - process out of memory
2015-05-09T10:10:31.648Z - debug: The worker #4 has disconnected.
2015-05-09T10:10:31.648Z - error: The worker #4 has exited with exit code 1
2015-05-09T10:10:31.648Z - debug: Worker #4 did not commit suicide.
2015-05-09T10:10:32.601Z - debug: vcenter cfg: apiName=vCenter-server, domain=null, _events=null, _maxListeners=10, host=127.0.0.1, path=/sdk, wsdl=/usr/src/contrail/contrail-web-core/webroot/js/vim.wsdl, secure=true
2015-05-09T10:10:32.606Z - debug: Redis: connect
2015-05-09T10:10:32.607Z - debug: Redis: connect
2015-05-09T10:10:32.608Z - debug: Redis: connect
2015-05-09T10:10:32.608Z - debug: Redis: connect

...
..
2015-05-09T10:10:33.433Z - debug: Registering Static Directory: /usr/src/contrail/contrail-web-core/webroot
2015-05-09T10:10:33.434Z - debug: Redis DB 3 SELECT suuccess:
2015-05-09T10:10:33.434Z - debug: Redis DB 2 SELECT suuccess:
2015-05-09T10:10:33.437Z - debug: Registering Static Directory: /usr/src/contrail/contrail-web-controller/webroot
2015-05-09T10:10:33.453Z - debug: Redis DB 3 SELECT suuccess:
SENDING to jobServer: { cmd: 'sendToJobServer',
  reqData: '{"jobType":"mainWebServerReady"}' }
2015-05-09T10:10:34.488Z - debug: DiscService Response Updated by process:32436 {"OpServer":[{"port":8081,"ip-address":"192.168.1.2"},{"port":8081,"ip-address":"192.168.1.3"}],"ttl":28}
2015-05-09T10:10:34.488Z - debug: DiscService Response Updated by process:32436 {"ApiServer":[{"port":"9100","ip-address":"192.168.1.2"}],"ttl":21}
FATAL ERROR: JS Allocation failed - process out of memory
2015-05-09T10:10:55.249Z - debug: The worker #5 has disconnected.
2015-05-09T10:10:55.249Z - error: The worker #5 has exited with exit code 1
2015-05-09T10:10:55.249Z - debug: Worker #5 did not commit suicide.
2015-05-09T10:10:56.128Z - debug: vcenter cfg: apiName=vCenter-server, domain=null, _events=null, _maxListeners=10, host=127.0.0.1, path=/sdk, wsdl=/usr/src/contrail/contrail-web-core/webroot/js/vim.wsdl, secure=true
2015-05-09T10:10:56.132Z - debug: Redis: connect
2015-05-09T10:10:56.133Z - debug: Redis: connect
2015-05-09T10:10:56.133Z - debug: Redis: connect
2015-05-09T10:10:56.133Z - debug: Redis: connect
2015-05-09T10:10:56.135Z - debug: Redis DB 3 SELECT suuccess:

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

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

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

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :
Manoj (manojgn)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → Manoj (manojgn)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/10283
Submitter: Manoj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/10284
Submitter: Manoj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/10283
Submitter: Manoj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/10284
Submitter: Manoj (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/10284
Committed: http://github.org/Juniper/contrail-web-controller/commit/67579d5231e5de5da8bf5959ee81199b013a7640
Submitter: Zuul
Branch: R2.20

commit 67579d5231e5de5da8bf5959ee81199b013a7640
Author: Manoj Naik <email address hidden>
Date: Wed May 13 13:47:30 2015 +0530

Closes-Bug: #1453368 - Made some performace fixes.
. Not retrieving the vrouter details while doing the get for physical routers
. Moved the logic to get the vrouter details subsequently from ui and then
merging it.
. Changed the call to fetch bulklist call to asynMapLimit with 50
. Fixed the validation for disallowing same names for tors and tsns in case of
ovsdb managed tor as well.

Change-Id: I4bdd3171afd0f407dfee0cc729b4b89e2df18247

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

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

commit 23cd06a540286e8bb34d430884b260412bd93ed4
Author: Manoj Naik <email address hidden>
Date: Wed May 13 13:47:30 2015 +0530

Closes-Bug: #1453368 - Made some performace fixes.
. Not retrieving the vrouter details while doing the get for physical routers
. Moved the logic to get the vrouter details subsequently from ui and then
merging it.
. Changed the call to fetch bulklist call to asynMapLimit with 50
. Fixed the validation for disallowing same names for tors and tsns in case of
ovsdb managed tor as well.

Change-Id: I4bdd3171afd0f407dfee0cc729b4b89e2df18247

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.