compute manager ip is not getting populated in config.global.js file
Bug #1766511 reported by
musharani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
High
|
Andrey Pavlov | |||
Trunk |
Fix Committed
|
High
|
Andrey Pavlov |
Bug Description
compute manager ip is shown as 127.0.0.1(default value defined in entrypoint.sh) if you check in config.global.js file in webui docker.
But it should be openstack vip. Because of this getting "Error: apiVersion for NOVA is NULL" when opened webui Configure-
Nova ports are listening openstack ip correctly.
[root@nodei31 contrail-web-core]# netstat -alnp | grep 8774
tcp 0 0 10.204.217.143:8774 0.0.0.0:* LISTEN -
Build: 5.0 ocata - 30
Setup details:
nodei31 - root/c0ntrail123
Work Around: This issue is gone after changing the ip 127.0.0.1 to openstack ip in entrypoint.sh and restarting the webui docker
code from entrypoint.sh:
config. computeManager = {}; computeManager. ip = "${computeManag er_ip:- 127.0.0. 1}"; computeManager. port = "${computeManag er_port: -8774}" ; computeManager. authProtocol = "${computeManag er_authProtocol :-http} "; computeManager. apiVersion = ${computeManage r_apiVersion: -['v1.1' , 'v2']}; computeManager. strictSSL = ${computeManage r_strictSSL: -false} ; computeManager. ca = "$computeManage r_ca";
config.
config.
config.
config.
config.
config.
So you can add all of these to environment.