Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

IOError: [Errno 13] Permission denied: '/tmp/.secret_key_store

I am getting the following errors when trying to login to dashboard

[Tue May 27 16:07:54 2014] [error] [client ] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue May 27 16:07:54 2014] [error] [client ] File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module [Tue May 27 16:07:54 2014] [error] [client ] __import__(name) [Tue May 27 16:07:54 2014] [error] [client ] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py", line 222, in <module> [Tue May 27 16:07:54 2014] [error] [client ] from local.local_settings import * # noqa [Tue May 27 16:07:54 2014] [error] [client ] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/local/local_settings.py", line 93, in <module> [Tue May 27 16:07:54 2014] [error] [client ] SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH, '.secret_key_store')) [Tue May 27 16:07:54 2014] [error] [client ] File "/usr/lib/python2.6/site-packages/horizon/utils/secret_key.py", line 65, in generate_or_read_from_file [Tue May 27 16:07:54 2014] [error] [client ] with open(key_file, 'r') as f: [Tue May 27 16:07:54 2014] [error] [client ] IOError: [Errno 13] Permission denied: '/tmp/.secret_key_store' ^C

I am using the following version of django.[root@controller Packages]# rpm -qa | grep python-django python-django-compressor-1.3-2.el6.noarch python-django-openstack-auth-1.1.5-1.el6.noarch python-django-horizon-2014.1-1.el6.noarch python-django-appconf-0.5-3.el6.noarch

[root@controller Packages]# openstack-status | grep dashboard openstack-dashboard: 500