yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14449
[Bug 1320650] [NEW] Apache2 Python Error when HTTPS
Public bug reported:
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.
** 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/1320650
Title:
Apache2 Python Error when HTTPS
Status in OpenStack Dashboard (Horizon):
New
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
Follow ups
References