UI Dashboard doesn't return any vrouters
Bug #1381076 reported by
Rahul
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.
Changed in juniperopenstack: | |
importance: | Undecided → High |
information type: | Proprietary → Public |
To post a comment you must log in.
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 /github. com/Juniper/ contrail- web-core/ commit/ f415b2b9b8d81d6 2e6472c78ed6e25 ae1c876774
https:/
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.