[3.0 2695] UI: UI seems broken, running into jquery error as seen on the console

Bug #1532686 reported by Pavana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Abhishek Singla

Bug Description

With the latest build 2695, UI page doesn't seem to be working.
1. Login to the UI page of the setup (8080)
2. The page proceeds to enter the login credentials
3. Once logged in, the page remains blank with just the Juniper logo, Search and Alarms button displayed
4. The page doesn't display anything/proceed further

Seen on console -
>> GET https://nodeg24.englab.juniper.net:8143/built/assets/jquery/js/jquery-1.8.3.min.js?built_at=1452482198

>> Uncaught Error: Script error for: jquery
http://requirejs.org/docs/errors.html#scripterror

WebUI logs from the node during and post login -

orchModels as: [ 'openstack' ]
orchModels as: [ 'openstack' ]
orchModels as: [ 'openstack' ]
orchModels as: [ 'openstack' ]
orchModels as: [ 'openstack' ]
orchModels as: [ 'openstack' ]
01/11/2016 12:22:47 PM - debug: After Successful auth def_token:{"token":{"issued_at":"2016-01-11T06:52:47.709327","expires":"2016-01-12T06:52:47Z","id":"2e02c3c32b6747dd914ea4a91ca8b0a7","tenant":{"description":null,"enabled":true,"id":"be39f62aafd542d1b8ae851d36c856c7","name":"admin"},"audit_ids":["bOAO7077QOer7ix-J6XC2A"]},"serviceCatalog":[{"endpoints":[{"adminURL":"http://10.204.217.64:8774/v1.1/be39f62aafd542d1b8ae851d36c856c7","region":"RegionOne","internalURL":"http://10.204.217.64:8774/v1.1/be39f62aafd542d1b8ae851d36c856c7","id":"54684001c2f14bb38a651ceb26ad5c79","publicURL":"http://10.204.217.64:8774/v1.1/be39f62aafd542d1b8ae851d36c856c7"}],"endpoints_links":[],"type":"compute","name":"nova"},{"endpoints":[{"adminURL":"http://10.204.217.64:9696","region":"RegionOne","internalURL":"http://10.204.217.64:9696","id":"80d049481ba1403da972ab64e0936f12","publicURL":"http://10.204.217.64:9696"}],"endpoints_links":[],"type":"network","name":"neutron"},{"endpoints":[{"adminURL":"http://10.204.217.64:9292/v1","region":"RegionOne","internalURL":"http://10.204.217.64:9292/v1","id":"21a276d5641243d7ae6a62298ad0ecea","publicURL":"http://10.204.217.64:9292/v1"}],"endpoints_links":[],"type":"image","name":"glance"},{"endpoints":[{"adminURL":"http://10.204.217.64:8776/v1/be39f62aafd542d1b8ae851d36c856c7","region":"RegionOne","internalURL":"http://10.204.217.64:8776/v1/be39f62aafd542d1b8ae851d36c856c7","id":"9ea819ead6f048bfb8bfc2bd54111db3","publicURL":"http://10.204.217.64:8776/v1/be39f62aafd542d1b8ae851d36c856c7"}],"endpoints_links":[],"type":"volume","name":"cinder"},{"endpoints":[{"adminURL":"http://localhost:8773/services/Admin","region":"RegionOne","internalURL":"http://localhost:8773/services/Cloud","id":"3ee326b78a574f4698940ac063300bf0","publicURL":"http://localhost:8773/services/Cloud"}],"endpoints_links":[],"type":"ec2","name":"ec2"},{"endpoints":[{"adminURL":"http://10.204.217.64:8004/v1/be39f62aafd542d1b8ae851d36c856c7","region":"RegionOne","internalURL":"http://10.204.217.64:8004/v1/be39f62aafd542d1b8ae851d36c856c7","id":"0d1d575724f14212af8f52aadc07d301","publicURL":"http://10.204.217.64:8004/v1/be39f62aafd542d1b8ae851d36c856c7"}],"endpoints_links":[],"type":"orchestration","name":"heat"},{"endpoints":[{"adminURL":"http://10.204.217.64:35357/v2.0","region":"RegionOne","internalURL":"http://10.204.217.64:35357/v2.0","id":"563d7b47d02143838bb05ffc5b47d3cd","publicURL":"http://10.204.217.64:5000/v2.0"}],"endpoints_links":[],"type":"identity","name":"keystone"}],"user":{"username":"admin","roles_links":[],"id":"3869a8e8291c4e2b808fd4196cf1b890","roles":[{"name":"KeystoneServiceAdmin"},{"name":"KeystoneAdmin"},{"name":"admin"}],"name":"admin"},"metadata":{"is_admin":0,"roles":["990cd0f2a976476497b06f261d66ae15","e689f07d7c6e41458aca27d65e813f39","e5f877ab87d1488a88189f57144e0550"]}}
01/11/2016 12:22:48 PM - debug: Set authApiVersion:v2.0

Tags: blocker sanity ui
Revision history for this message
Pavana (pavanap) wrote :
information type: Proprietary → Public
Ankit Jain (ankitja)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16221
Submitter: Sarin Kizhakkepurayil (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/16223
Submitter: Sarin Kizhakkepurayil (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/16221
Committed: http://github.org/Juniper/contrail-webui-third-party/commit/ccb6ea91a713bcec8e4fbb7471914119f4609146
Submitter: Zuul
Branch: master

commit ccb6ea91a713bcec8e4fbb7471914119f4609146
Author: Sarin Kizhakkepurayil <email address hidden>
Date: Mon Jan 11 15:55:26 2016 -0800

Related-Bug: #1526930, Partial-Bug: #1532686

- production enviroment now builds the js files using r.js.
making the requirejs library part of main env, instead only in dev-env

Change-Id: I06aae0ad3e461e2375f9376941616546a999457c

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

Reviewed: https://review.opencontrail.org/16223
Committed: http://github.org/Juniper/contrail-web-core/commit/dfef6a7c126d0ac2d57147e1e17c2e974be23c73
Submitter: Zuul
Branch: master

commit dfef6a7c126d0ac2d57147e1e17c2e974be23c73
Author: Sarin Kizhakkepurayil <email address hidden>
Date: Mon Jan 11 16:02:58 2016 -0800

Related-Bug: #1526930, Closes-Bug: #1532686

- making build-files part of package make target.
- r.js binary should always be used from contrail-web-core repo.
- in prod-env only env, grunt modules will not be found.
raise warning since UT running env requires fetch-pkgs-dev
- set UT environment should go irrespective of the local grunt

Change-Id: Ib9ded2e942415812d89a816a1cf7f70d741af1a8

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.