Permission denied /var/lib/openstack-dashboard/secret_key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Won't Fix
|
Undecided
|
Unassigned | ||
openstack-dashboard (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After horizon install, web page http://
/var/log/
[Mon Apr 17 21:43:05.829182 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] mod_wsgi (pid=1613): Target WSGI script '/usr/share/
[Mon Apr 17 21:43:05.829206 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] mod_wsgi (pid=1613): Exception occurred processing WSGI script '/usr/share/
[Mon Apr 17 21:43:05.829221 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] Traceback (most recent call last):
[Mon Apr 17 21:43:05.829235 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/share/
[Mon Apr 17 21:43:05.829269 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] application = get_wsgi_
[Mon Apr 17 21:43:05.829278 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/lib/
[Mon Apr 17 21:43:05.829302 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] django.setup()
[Mon Apr 17 21:43:05.829310 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/lib/
[Mon Apr 17 21:43:05.829333 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] configure_
[Mon Apr 17 21:43:05.829342 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/lib/
[Mon Apr 17 21:43:05.829390 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] self._setup(name)
[Mon Apr 17 21:43:05.829399 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/lib/
[Mon Apr 17 21:43:05.829411 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] self._wrapped = Settings(
[Mon Apr 17 21:43:05.829418 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/lib/
[Mon Apr 17 21:43:05.829428 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] mod = importlib.
[Mon Apr 17 21:43:05.829434 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/lib/
[Mon Apr 17 21:43:05.829460 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] __import__(name)
[Mon Apr 17 21:43:05.829468 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/share/
[Mon Apr 17 21:43:05.829548 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] from local.local_
[Mon Apr 17 21:43:05.829557 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/share/
[Mon Apr 17 21:43:05.829700 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] SECRET_KEY = secret_
[Mon Apr 17 21:43:05.829709 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/share/
[Mon Apr 17 21:43:05.829745 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] key = read_from_
[Mon Apr 17 21:43:05.829753 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] File "/usr/share/
[Mon Apr 17 21:43:05.829764 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] with open(key_file, 'r') as f:
[Mon Apr 17 21:43:05.829779 2017] [wsgi:error] [pid 1613:tid 140566700234496] [remote 192.168.5.48:22082] IOError: [Errno 13] Permission denied: '/var/lib/
Fix is to chown www-data:www-data /var/lib/
-------
Release: 15.0.0 on 2017-04-14 06:14
SHA: c73899569e19fc8
Source: https:/
URL: https:/
Changed in openstack-manuals: | |
status: | New → Invalid |
status: | Invalid → Won't Fix |
We've already added an error message to Horizon and are in the process of backporting it, so there's no point in Docs carrying a workaround for a known error. See https:/ /review. openstack. org/#/c/ 451318/