WebUI is not loading in 5.0

Bug #1775513 reported by musharani on 2018-06-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Critical
alexey-mr
Trunk
Fix Committed
Critical
alexey-mr

Bug Description

In the recent build ocata-5.0-87, WebUI is not loading. When check the logs getting the below error message.
It is not getting populated as a list of strings like analytics_ip in config.global.js.

Webui is accessible after changing 10.204.216.103 as "10.204.216.103".

/etc/contrail/config.global.js:65
config.cnfg.server_ip = 10.204.216.103;
                              ^^^^
SyntaxError: Unexpected number
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at compareAndMergeFiles (/usr/src/contrail/contrail-web-core/src/serverroot/common/config.utils.js:75:21)
    at compareAndMergeDefaultConfig (/usr/src/contrail/contrail-web-core/src/serverroot/common/config.utils.js:24:12)
    at Object.updateConfig (/usr/src/contrail/contrail-web-core/src/serverroot/common/config.utils.js:195:22)
    at Object.<anonymous> (/usr/src/contrail/contrail-web-core/webServerStart.js:7:13)

musharani (musharani) on 2018-06-07
Changed in juniperopenstack:
milestone: none → r5.0.1
tags: added: blocker

Review in progress for https://review.opencontrail.org/44053
Submitter: alexey-mr (<email address hidden>)

alexey-mr (alexey-morlang) wrote :

actually, you dont need to specify CONFIG_API_VIP / ANALYTICS_API_VIP as input parameter anymore, because webui can work with list of IPs.
ps: anyway fix for VIPs: https://review.opencontrail.org/44053

Review in progress for https://review.opencontrail.org/44054
Submitter: alexey-mr (<email address hidden>)

Reviewed: https://review.opencontrail.org/44053
Committed: http://github.com/Juniper/contrail-container-builder/commit/6e95ba16d9aadc01d0237f907a204e436fcd38af
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 6e95ba16d9aadc01d0237f907a204e436fcd38af
Author: alexey-mr <email address hidden>
Date: Fri Jun 22 17:47:32 2018 +0300

Quotes for CONFIG_API_VIP / ANALYTICS_API_VIP

Change-Id: Id2e85d7eb3945193415d1d34a8f5788fec6c5c48
Closes-Bug: #1775513

OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/44054
Committed: http://github.com/Juniper/contrail-container-builder/commit/38300a8738905be62dc0a15ee9cbc050ec2e0f84
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 38300a8738905be62dc0a15ee9cbc050ec2e0f84
Author: alexey-mr <email address hidden>
Date: Fri Jun 22 17:47:32 2018 +0300

Quotes for CONFIG_API_VIP / ANALYTICS_API_VIP

Change-Id: Id2e85d7eb3945193415d1d34a8f5788fec6c5c48
Closes-Bug: #1775513

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

Other bug subscribers