<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1483601409215_13825">Hello Experts,</div><div id="yui_3_16_0_ym19_1_1483601409215_13786"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791">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.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791">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,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791"><b id="yui_3_16_0_ym19_1_1483601409215_14295">IOError: [Errno 13] Permission denied: '/var/lib/openstack-dashboard/secret_key'</b><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791">with other values it gives following error.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13962"> settings.INSTALLED_APPS</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13963"> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 46, in __getattr__</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13964"> self._setup(name)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13965"> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13966"> self._wrapped = Settings(settings_module)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13967"> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 94, in __init__</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13968"> mod = importlib.import_module(self.SETTINGS_MODULE)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13969"> File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13970"> __import__(name)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13971"> File "/opt/stack/horizon/openstack_dashboard/settings.py", line 336, in <module></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13972"> from local.local_settings import * # noqa</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13973"> File "/opt/stack/horizon/openstack_dashboard/local/local_settings.py", line 93, in <module></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13974"> SECRET_KEY = secret_key.generate_or_read_from_file('/var/lib/openstack-dashboard/secret_key')</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13975"> File "/opt/stack/horizon/horizon/utils/secret_key.py", line 64, in generate_or_read_from_file</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13976"> raise FilePermissionError("Insecure key file permissions!")</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13977"><b id="yui_3_16_0_ym19_1_1483601409215_14293">horizon.utils.secret_key.FilePermissionError: Insecure key file permissions!</b></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13977"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13977">Regards</div><div dir="ltr" id="yui_3_16_0_ym19_1_1483601409215_13977">Shivkumar Gupta</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, 3 January 2017 9:04 PM, shivkumar gupta <shivkumar_gupta98@yahoo.com> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv6371958923"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940">Hello Experts,</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940"><br></div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940">Wish you a happy new year.</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940"><br></div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940">I am getting following error during Kilo Open Stack installation on Ubuntu. Please help me to resolve this error.</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940"><br></div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4787">Warning: Could not import Horizon dependencies. This is normal during installation.</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4788">WARNING:root:No local_settings file found.</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4789">Traceback (most recent call last):</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4790"> File "/opt/stack/horizon/manage.py", line 23, in <module></div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4791"> execute_from_command_line(sys.argv)</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4792"> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4793"> utility.execute()</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4794"> File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 345, in execute</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4795"> settings.INSTALLED_APPS</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4796"> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 46, in __getattr__</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4797"> self._setup(name)</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4798"> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4799"> self._wrapped = Settings(settings_module)</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4800"> File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 98, in __init__</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4801"> % (self.SETTINGS_MODULE, e)</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4802">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</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4803">+ exit_trap</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4804">+ local r=1</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4805">++ jobs -p</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4806">+ jobs=</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4807">+ [[ -n '' ]]</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4808">+ kill_spinner</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4809">+ '[' '!' -z '' ']'</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4810">+ [[ 1 -ne 0 ]]</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4811">+ echo 'Error on exit'</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4812">Error on exit</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4813">+ generate-subunit 1483457235 85 fail</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4814">+ [[ -z /opt/stack/logs ]]</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4815">+ /home/shiv/devstack/tools/worlddump.py -d /opt/stack/logs</div><div id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4816">World dumping... see /opt/stack/logs/worlddump-2017-01-03-152841.txt for details</div><div dir="ltr" id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817">+ exit 1</div><div dir="ltr" id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817"><br></div><div dir="ltr" id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817">Regards</div><div dir="ltr" id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817">Shivkumar Gupta</div><div dir="ltr" id="yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817"><br></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>