yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28900
[Bug 1426642] [NEW] login page has no session id when user first visit
Public bug reported:
Environment:
horizon upstream source code install
Apache settings:
<VirtualHost *:80>
WSGIScriptAlias /horizon /home/yulong/github/horizon/openstack_dashboard/wsgi/django.wsgi
WSGIDaemonProcess github_horizon user=yulong group=yulong processes=3 threads=10 home=/home/yulong/openstack/horizon
WSGIApplicationGroup %{GLOBAL}
SetEnv APACHE_RUN_USER yulong
SetEnv APACHE_RUN_GROUP yulong
WSGIProcessGroup github_horizon
DocumentRoot /home/yulong/github/horizon/.blackhole/
Alias /static /home/yulong/github/horizon/static
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/yulong/github/horizon/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/httpd/github_horizon_error.log
LogLevel warn
CustomLog /var/log/httpd/github_horizon_access.log combined
</VirtualHost>
WSGISocketPrefix /var/run/httpd
Bug description:
When user first visit the login page:
http://my_horizon_ip/horizon
the request user can not get the sessionid,
So the login page will raise a exception:
"Your Web browser doesn't appear to have cookies enabled. Cookies are
required for logging in."
You can reproduce the bug by using Chrome:
Review elements -- Resources -- Cookies -- Clear All --> http://my_horizon_ip/horizon
but if you use this url:
http://my_horizon_ip/horizon/auth/login
everything is OK.
** Affects: horizon
Importance: Undecided
Assignee: LIU Yulong (dragon889)
Status: In Progress
** Summary changed:
- login page has no session id when user first visit login page
+ login page has no session id when user first visit
** Description changed:
- environment:
+ Environment:
horizon upstream source code install
-
- apache settings:
+ Apache settings:
<VirtualHost *:80>
- WSGIScriptAlias /horizon /home/yulong/github/horizon/openstack_dashboard/wsgi/django.wsgi
- WSGIDaemonProcess github_horizon user=yulong group=yulong processes=3 threads=10 home=/home/yulong/openstack/horizon
- WSGIApplicationGroup %{GLOBAL}
+ WSGIScriptAlias /horizon /home/yulong/github/horizon/openstack_dashboard/wsgi/django.wsgi
+ WSGIDaemonProcess github_horizon user=yulong group=yulong processes=3 threads=10 home=/home/yulong/openstack/horizon
+ WSGIApplicationGroup %{GLOBAL}
- SetEnv APACHE_RUN_USER yulong
- SetEnv APACHE_RUN_GROUP yulong
- WSGIProcessGroup github_horizon
+ SetEnv APACHE_RUN_USER yulong
+ SetEnv APACHE_RUN_GROUP yulong
+ WSGIProcessGroup github_horizon
- DocumentRoot /home/yulong/github/horizon/.blackhole/
- Alias /static /home/yulong/github/horizon/static
+ DocumentRoot /home/yulong/github/horizon/.blackhole/
+ Alias /static /home/yulong/github/horizon/static
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ </Directory>
- <Directory /home/yulong/github/horizon/>
- Options Indexes FollowSymLinks MultiViews
+ <Directory /home/yulong/github/horizon/>
+ Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- </Directory>
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
- ErrorLog /var/log/httpd/github_horizon_error.log
- LogLevel warn
- CustomLog /var/log/httpd/github_horizon_access.log combined
+ ErrorLog /var/log/httpd/github_horizon_error.log
+ LogLevel warn
+ CustomLog /var/log/httpd/github_horizon_access.log combined
</VirtualHost>
WSGISocketPrefix /var/run/httpd
-
- Bug Description:
+ Bug description:
When user first visit the login page:
http://my_horizon_ip/horizon
the request user can not get the sessionid,
So the login page will raise a exception:
"Your Web browser doesn't appear to have cookies enabled. Cookies are
required for logging in."
-
You can reproduce the bug by using Chrome:
Review elements -- Resources -- Cookies -- Clear All --> http://my_horizon_ip/horizon
but if you use this url:
http://my_horizon_ip/horizon/auth/login
everything is OK.
--
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/1426642
Title:
login page has no session id when user first visit
Status in OpenStack Dashboard (Horizon):
In Progress
Bug description:
Environment:
horizon upstream source code install
Apache settings:
<VirtualHost *:80>
WSGIScriptAlias /horizon /home/yulong/github/horizon/openstack_dashboard/wsgi/django.wsgi
WSGIDaemonProcess github_horizon user=yulong group=yulong processes=3 threads=10 home=/home/yulong/openstack/horizon
WSGIApplicationGroup %{GLOBAL}
SetEnv APACHE_RUN_USER yulong
SetEnv APACHE_RUN_GROUP yulong
WSGIProcessGroup github_horizon
DocumentRoot /home/yulong/github/horizon/.blackhole/
Alias /static /home/yulong/github/horizon/static
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/yulong/github/horizon/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/httpd/github_horizon_error.log
LogLevel warn
CustomLog /var/log/httpd/github_horizon_access.log combined
</VirtualHost>
WSGISocketPrefix /var/run/httpd
Bug description:
When user first visit the login page:
http://my_horizon_ip/horizon
the request user can not get the sessionid,
So the login page will raise a exception:
"Your Web browser doesn't appear to have cookies enabled. Cookies are
required for logging in."
You can reproduce the bug by using Chrome:
Review elements -- Resources -- Cookies -- Clear All --> http://my_horizon_ip/horizon
but if you use this url:
http://my_horizon_ip/horizon/auth/login
everything is OK.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1426642/+subscriptions
Follow ups
References