<div dir="ltr"><div>I fixed this by doing remove and install horizon dashboard helped me to get rid of this issue.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 1:29 PM, shivkumar gupta <span dir="ltr"><<a href="mailto:shivkumar_gupta98@yahoo.com" target="_blank">shivkumar_gupta98@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13825">Hello Experts,</div><div id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13786"><br></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791">my this problem is resolved after copying local_settings.py file under /opt/stack/horizon/<wbr>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="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791">I tried to change /var/lib/openstack-dashboard/<wbr>secret_key file permission to 600 664 and 644 but still no help. with 600 it gives following error,</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791"><b id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_14295">IOError: [Errno 13] Permission denied: '/var/lib/openstack-dashboard/<wbr>secret_key'</b><br></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791">with other values it gives following error.</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13791"><br></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13962"> settings.INSTALLED_APPS</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13963"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 46, in __getattr__</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13964"> self._setup(name)</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13965"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 42, in _setup</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13966"> self._wrapped = Settings(settings_module)</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13967"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 94, in __init__</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13968"> mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13969"> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13970"> __import__(name)</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13971"> File "/opt/stack/horizon/openstack_<wbr>dashboard/settings.py", line 336, in <module></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13972"> from local.local_settings import * # noqa</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13973"> File "/opt/stack/horizon/openstack_<wbr>dashboard/local/local_<wbr>settings.py", line 93, in <module></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13974"> SECRET_KEY = secret_key.generate_or_read_<wbr>from_file('/var/lib/openstack-<wbr>dashboard/secret_key')</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13975"> File "/opt/stack/horizon/horizon/<wbr>utils/secret_key.py", line 64, in generate_or_read_from_file</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13976"> raise FilePermissionError("Insecure key file permissions!")</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13977"><b id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_14293">horizon.utils.secret_key.<wbr>FilePermissionError: Insecure key file permissions!</b></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13977"><br></div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13977">Regards</div><div dir="ltr" id="m_1358085941739163667yui_3_16_0_ym19_1_1483601409215_13977">Shivkumar Gupta</div> <div class="m_1358085941739163667qtdSeparateBR"><br><br></div><div class="m_1358085941739163667yahoo_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 <<a href="mailto:shivkumar_gupta98@yahoo.com" target="_blank">shivkumar_gupta98@yahoo.com</a>> wrote:<br></font></div> <br><br> <div class="m_1358085941739163667y_msg_container"><div id="m_1358085941739163667yiv6371958923"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940">Hello Experts,</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940"><br></div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940">Wish you a happy new year.</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940"><br></div><div id="m_1358085941739163667yiv6371958923yui_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="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_3940"><br></div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4787">Warning: Could not import Horizon dependencies. This is normal during installation.</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4788">WARNING:root:No local_settings file found.</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4789">Traceback (most recent call last):</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4790"> File "/opt/stack/horizon/manage.py"<wbr>, line 23, in <module></div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4791"> execute_from_command_line(sys.<wbr>argv)</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4792"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/core/<wbr>management/__init__.py", line 385, in execute_from_command_line</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4793"> utility.execute()</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4794"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/core/<wbr>management/__init__.py", line 345, in execute</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4795"> settings.INSTALLED_APPS</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4796"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 46, in __getattr__</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4797"> self._setup(name)</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4798"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 42, in _setup</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4799"> self._wrapped = Settings(settings_module)</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4800"> File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 98, in __init__</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4801"> % (self.SETTINGS_MODULE, e)</div><div id="m_1358085941739163667yiv6371958923yui_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="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4803">+ exit_trap</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4804">+ local r=1</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4805">++ jobs -p</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4806">+ jobs=</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4807">+ [[ -n '' ]]</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4808">+ kill_spinner</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4809">+ '[' '!' -z '' ']'</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4810">+ [[ 1 -ne 0 ]]</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4811">+ echo 'Error on exit'</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4812">Error on exit</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4813">+ generate-subunit <a href="tel:01483%20457%20235" value="+911483457235" target="_blank">1483457235</a> 85 fail</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4814">+ [[ -z /opt/stack/logs ]]</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4815">+ /home/shiv/devstack/tools/<wbr>worlddump.py -d /opt/stack/logs</div><div id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4816">World dumping... see /opt/stack/logs/worlddump-<wbr>2017-01-03-152841.txt for details</div><div dir="ltr" id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817">+ exit 1</div><div dir="ltr" id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817"><br></div><div dir="ltr" id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817">Regards</div><span class="HOEnZb"><font color="#888888"><div dir="ltr" id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817">Shivkumar Gupta</div><div dir="ltr" id="m_1358085941739163667yiv6371958923yui_3_16_0_ym19_1_1483457403809_4817"><br></div></font></span></div></div></div><br><br></div> </div> </div> </div></div></div><br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>******************************<br>Thanks&Regards,<br>Balu Mudhavathu</div>
<div>Phone No: 91 8184874772<br>*******************************</div></div></div></div></div>
</div>