← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1620168] [NEW] cookies too large in my multi-regions environment

 

Public bug reported:

I had used packstack too install two all-in-one openstack environment as RegionOne and RegionTwo. After configuring, I found I can't login to horizon. It always return back to the login page. After several days debugging, I found the reason is that the sessionid in cookies that server return to browser is too large(larger than 4096, it's about 5.3KB), the browser(firefox and chrome) just drop this cookies and use a new one to request again, so it's return back to login page again.
>From my debugging, sessionid is dumped by an user information dict, and this user dict contains an token object, this token has a 'serviceCatalog' attribution, this attribution contains all informations of two keystone's tables of keystone's database: service and endpoint.
In my envionment, there are 12 services, and each services has 6 endpoints(each region has 3 endpoints: public, admin, internal). So the cookies' size is larger due to these two tables' size.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1620168

Title:
  cookies too large in my multi-regions environment

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I had used packstack too install two all-in-one openstack environment as RegionOne and RegionTwo. After configuring, I found I can't login to horizon. It always return back to the login page. After several days debugging, I found the reason is that the sessionid in cookies that server return to browser is too large(larger than 4096, it's about 5.3KB), the browser(firefox and chrome) just drop this cookies and use a new one to request again, so it's return back to login page again.
  From my debugging, sessionid is dumped by an user information dict, and this user dict contains an token object, this token has a 'serviceCatalog' attribution, this attribution contains all informations of two keystone's tables of keystone's database: service and endpoint.
  In my envionment, there are 12 services, and each services has 6 endpoints(each region has 3 endpoints: public, admin, internal). So the cookies' size is larger due to these two tables' size.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1620168/+subscriptions


Follow ups