With Build 10 in contrail kubernetes cluster I am unable to login to contrail-webui. Though service is running fine and url is accessible, login attempt always fails.
Setup
-------
Node 10.87.121.34 (root/c0ntrail123)
Ui Link 10.87.121.34:8085 (admin/contrail123) . In K8s cluster we change the webui port to 8085 as kume-api listed to same port number.
Log from: journalctl -u contrail-webui | grep error
-----------------------------------------------------
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: URL [http://10.87.121.34:8081/analytics/uves/bgp-peers] returned error ["Authentication required"]
root@5b7s18(controller):/# contrail-status
== Contrail Control ==
contrail-control: active
contrail-named: active
contrail-dns: active
contrail-control-nodemgr: active
== Contrail Config ==
contrail-api: active
contrail-schema: active
contrail-svc-monitor: active
contrail-device-manager: active
contrail-config-nodemgr: active
== Contrail Web UI ==
contrail-webui: active
contrail-webui-middleware: active
== Contrail Support Services ==
rabbitmq-server: active (disabled on boot)
zookeeper: active
root@5b7s18(controller):/# contrail-version | grep ui
Package Version Build-ID | Repo | Package Name
contrail-openstack-webui 4.0.0.0-10 10
root@5b7s18(controller):/#
journalctl -u contrail-webui | grep error
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/uves/virtual-networks?cfilt=UveVirtualNetworkAgent] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/uves/control-node] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Encountered broken link: /analytics/uves/control-node
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Control Node UVE Data Parse error :TypeError: Cannot read property 'bgp_router_ip_list' of undefined
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/query] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Error Run Query: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/query] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Error Run Query: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/uves/analytics-node] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/query] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Error Run Query: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/query] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Error Run Query: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/query] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Error Run Query: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: URL [http://10.87.121.34:8081/analytics/query] returned error ["Authentication required"]
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: Error Run Query: REST Server Error: Authentication required
May 22 19:16:50 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:50 PM - error: REST Server Error: Authentication required
May 22 19:16:52 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:52 PM - error: URL [http://10.87.121.34:8081/analytics/query] returned error ["Authentication required"]
May 22 19:16:52 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:52 PM - error: Error Run Query: REST Server Error: Authentication required
May 22 19:16:52 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:16:52 PM - error: REST Server Error: Authentication required
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: URL [http://127.0.0.1:5000/v2.0/tokens] returned error [{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}]
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: authPostV2Req() error:REST Server Error: { [Error: connect ECONNREFUSED]
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: URL [http://127.0.0.1:5000/v2.0/tokens] returned error [{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}]
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: authPostV2Req() error:REST Server Error: { [Error: connect ECONNREFUSED]
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: URL [http://10.87.121.34:8081/analytics/uves/bgp-peers] returned error ["Authentication required"]
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: URL [http://127.0.0.1:5000/v2.0/tokens] returned error [{"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}]
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: authPostV2Req() error:REST Server Error: { [Error: connect ECONNREFUSED]
May 22 19:21:05 5b7s18 contrailWebServer.sh[6793]: 05/22/2017 07:21:05 PM - error: URL [http://10.87.121.34:8081/analytics/uves/bgp-peers] returned error ["Authentication required"]
Logs copied to /auto/cores/1692713