UI Dashboard doesn't return any vrouters

Bug #1381076 reported by Rahul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Biswajit Mandal

Bug Description

With vRouters seen in opserver / api server, UI still doesn't show any vRouters.

UI backend doesn't return any vRouters .

Restarting jobs will fix the issue.

Tags: ui
Changed in juniperopenstack:
importance: Undecided → High
information type: Proprietary → Public
Revision history for this message
Biswajit Mandal (bmandal) wrote :

If multi_tenancy is disabled in API Server, then authentication with API Server is done via keystone token. When the keystone token gets expired, then middleware had bug to send message to redirect to login page. And from there we were not handling back to the caller. So the job was active state forever.

Now we have introduced a new auth file which is located in config/userAuth.js and aliased to /etc/contrail/contrail-webui-userauth.js where admin_user/admin_password/admin_tenant_name is mentioned. The relevant check-in is
https://github.com/Juniper/contrail-web-core/commit/f415b2b9b8d81d62e6472c78ed6e25ae1c876774

When middleware is started, then two jobs get started automatically, vRouterSummary and vRouterGenerators. vRouterSummary job talks to Config API Server, if multi_tenancy is enabled in API Server, then each and every time, we get authentication error, as we do not have token. So basically though we are starting jobs at init time, but we are not getting any info from API Server, now with this config file, we get the Api Server info at init time itself.

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.