← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1426642] Re: login page has no session id when user first visit

 

** Changed in: horizon
       Status: In Progress => Invalid

-- 
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):
  Invalid

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


References