[Openstack] [open stack] Horizon installation error.

Balu Mudhavathu balu.mudhavathu at gmail.com
Thu Jan 5 08:50:17 UTC 2017


I fixed this by doing remove and install horizon dashboard helped me to get
rid of this issue.

On Thu, Jan 5, 2017 at 1:29 PM, shivkumar gupta <shivkumar_gupta98 at yahoo.com
> wrote:

> Hello Experts,
>
> my this problem is resolved after copying local_settings.py file
> under /opt/stack/horizon/openstack_dashboard/local/ path from
> /etc/openstack-dashboard but now i am getting another error. Can some one
> please help.
>
> I tried to change  /var/lib/openstack-dashboard/secret_key file
> permission to 600 664 and 644 but still no help. with 600 it gives
> following error,
>
> *IOError: [Errno 13] Permission denied:
> '/var/lib/openstack-dashboard/secret_key'*
>
> with other values it gives following error.
>
>     settings.INSTALLED_APPS
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 46, in __getattr__
>     self._setup(name)
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 42, in _setup
>     self._wrapped = Settings(settings_module)
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 94, in __init__
>     mod = importlib.import_module(self.SETTINGS_MODULE)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
>     __import__(name)
>   File "/opt/stack/horizon/openstack_dashboard/settings.py", line 336, in
> <module>
>     from local.local_settings import *  # noqa
>   File "/opt/stack/horizon/openstack_dashboard/local/local_settings.py",
> line 93, in <module>
>     SECRET_KEY = secret_key.generate_or_read_
> from_file('/var/lib/openstack-dashboard/secret_key')
>   File "/opt/stack/horizon/horizon/utils/secret_key.py", line 64, in
> generate_or_read_from_file
>     raise FilePermissionError("Insecure key file permissions!")
> *horizon.utils.secret_key.FilePermissionError: Insecure key file
> permissions!*
>
> Regards
> Shivkumar Gupta
>
>
> On Tuesday, 3 January 2017 9:04 PM, shivkumar gupta <
> shivkumar_gupta98 at yahoo.com> wrote:
>
>
> Hello Experts,
>
> Wish you a happy new year.
>
> I am getting following error during Kilo Open Stack  installation on
> Ubuntu. Please help me to resolve this error.
>
> Warning: Could not import Horizon dependencies. This is normal during
> installation.
> WARNING:root:No local_settings file found.
> Traceback (most recent call last):
>   File "/opt/stack/horizon/manage.py", line 23, in <module>
>     execute_from_command_line(sys.argv)
>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 385, in execute_from_command_line
>     utility.execute()
>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 345, in execute
>     settings.INSTALLED_APPS
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 46, in __getattr__
>     self._setup(name)
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 42, in _setup
>     self._wrapped = Settings(settings_module)
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 98, in __init__
>     % (self.SETTINGS_MODULE, e)
> ImportError: Could not import settings 'openstack_dashboard.settings' (Is
> it on sys.path? Is there an import error in the settings file?): No module
> named angular_gettext
> + exit_trap
> + local r=1
> ++ jobs -p
> + jobs=
> + [[ -n '' ]]
> + kill_spinner
> + '[' '!' -z '' ']'
> + [[ 1 -ne 0 ]]
> + echo 'Error on exit'
> Error on exit
> + generate-subunit 1483457235 <01483%20457%20235> 85 fail
> + [[ -z /opt/stack/logs ]]
> + /home/shiv/devstack/tools/worlddump.py -d /opt/stack/logs
> World dumping... see /opt/stack/logs/worlddump-2017-01-03-152841.txt for
> details
> + exit 1
>
> Regards
> Shivkumar Gupta
>
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>


-- 
******************************
Thanks&Regards,
Balu Mudhavathu
Phone No: 91 8184874772
*******************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170105/a110b792/attachment.html>


More information about the Openstack mailing list