500 internal server error while accessing horizon dashboard (ocata) in Centos 7.6

asked 2018-12-10 04:07:42 -0500

anhdt gravatar image

Hi everyone,

After following the OpenStack Ocata guide, now i'm in the step of access the dashboard for the first time but every time i try to access horizon this message shows up: 500 error

I have checked the /var/log/httpd/error_log I got the bellow errors :

[root@controller ~]# tail -f /var/log/httpd/error_log

[Mon Dec 10 16:45:29.928726 2018] [:error] [pid 20929] [remote 172.16.9.44:172] '.secret_key_store'))

[Mon Dec 10 16:45:29.928730 2018] [:error] [pid 20929] [remote 172.16.9.44:172] File "/usr/lib/python2.7/site-packages/horizon/utils/secret_key.py", line 76, in generate_or_read_from_file

[Mon Dec 10 16:45:29.928739 2018] [:error] [pid 20929] [remote 172.16.9.44:172] with lock:

[Mon Dec 10 16:45:29.928743 2018] [:error] [pid 20929] [remote 172.16.9.44:172] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 174, in __enter__

[Mon Dec 10 16:45:29.928752 2018] [:error] [pid 20929] [remote 172.16.9.44:172] self.acquire()

[Mon Dec 10 16:45:29.928756 2018] [:error] [pid 20929] [remote 172.16.9.44:172] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 151, in acquire

[Mon Dec 10 16:45:29.928762 2018] [:error] [pid 20929] [remote 172.16.9.44:172] self._do_open()

[Mon Dec 10 16:45:29.928766 2018] [:error] [pid 20929] [remote 172.16.9.44:172] File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 123, in _do_open

[Mon Dec 10 16:45:29.928773 2018] [:error] [pid 20929] [remote 172.16.9.44:172] self.lockfile = open(self.path, 'a')

[Mon Dec 10 16:45:29.928790 2018] [:error] [pid 20929] [remote 172.16.9.44:172] IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/openstack_dashboard/local/_usr_share_openstack-dashboard_openstack_dashboard_local_.secret_key_store.lock'

Please help me to fix this proplem. Thank you so much !

edit retag flag offensive close merge delete

Comments

Help me please

anhdt gravatar imageanhdt ( 2018-12-10 04:07:54 -0500 )edit

Search the internet for e.g. horizon secret_key_store lock permission denied. Similar problem, with solution: https://ask.openstack.org/en/question....

Bernd Bausch gravatar imageBernd Bausch ( 2018-12-10 05:39:54 -0500 )edit