← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1320650] Re: Apache2 Python Error when HTTPS

 

Please file this bug against the openstack-manuals project. You can use
the bug icon in the documentation page referenced above.

** Changed in: horizon
       Status: New => 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/1320650

Title:
  Apache2 Python Error when HTTPS

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  I try to change Horizon from HTTP to HTTPS protocol.

  I followed Icehouse documentation : 
  - /etc/openstack-dashboard/local_settings.py  modifications.
  - Apache2  files modification.
  - Restart Apache2 and Memcached

  
  Then,  with https://mycontroller.domain/horizon/,  I get    :    500 Internal Server Error 

  
  The Apache2 error logs : 

     File "/usr/lib/python2.7/dist-packages/horizon/utils/secret_key.py", line 55, in generate_or_read_from_file
          with lock:
     File "/usr/lib/python2.7/dist-packages/lockfile.py", line 223, in __enter__
         self.acquire()
     File "/usr/lib/python2.7/dist-packages/lockfile.py", line 239, in acquire
         raise LockFailed("failed to create %s" % self.unique_name)
  LockFailed: failed to create /var/lib/openstack-dashboard/ucontroller.Dummy-2-4828

  
  Note :   I can manually create a file in /var/lib/openstack-dashboard/,  but  I think Python can't..  
  Unix permissions on /var/lib/openstack-dashboard/ folder :   user=horizon, rwx.   group=horizon,  no rights,  other,  no rights.

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


References