settingsLogin | Registersettings

Re: [Openstack] [open stack] Horizon installation error.

0 votes

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@yahoo.com

wrote:

Hello Experts,

my this problem is resolved after copying localsettings.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(settingsmodule)
File "/usr/local/lib/python2.7/dist-packages/django/conf/init.py",
line 94, in init
mod = importlib.import
module(self.SETTINGSMODULE)
File "/usr/lib/python2.7/importlib/init.py", line 37, in
import
module
import(name)
File "/opt/stack/horizon/openstackdashboard/settings.py", line 336, in

from local.local
settings import * # noqa
File "/opt/stack/horizon/openstackdashboard/local/localsettings.py",
line 93, in
SECRETKEY = secretkey.generateorread_
fromfile('/var/lib/openstack-dashboard/secretkey')
File "/opt/stack/horizon/horizon/utils/secretkey.py", line 64, in
generate
orreadfromfile
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@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 localsettings file found.
Traceback (most recent call last):
File "/opt/stack/horizon/manage.py", line 23, in
execute
fromcommandline(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py",
line 385, in executefromcommandline
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(settingsmodule)
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 'openstackdashboard.settings' (Is
it on sys.path? Is there an import error in the settings file?): No module
named angular
gettext
+ exittrap
+ 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@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
openstack

--


Thanks&Regards,
Balu Mudhavathu
Phone No: 91 8184874772


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Jan 5, 2017 in openstack by Balu_Mudhavathu (320 points)   1 1
...