where is the "settings.py" file for horizon located?

asked 2016-11-26 22:20:56 -0500

masber gravatar image


I am trying to integrate setup sahara GUI with Horizon following this linkhttp://docs.openstack.org/developer/sahara/icehouse/horizon/installation.guide.html. The document says "Configure OpenStack Dashboard. In settings.py add sahara to"

these are the locations I can see:

[root@openstack-dev ~(keystone_admin)]# find / -name settings.py

which one is the right one?

thank you

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2016-11-27 13:27:00 -0500

Rupesh Chowdary gravatar image

For horizon It should be following, In controller node

vim /etc/openstack-dashboard/local_settings.py

edit flag offensive delete link more

answered 2016-11-27 00:15:08 -0500

craja gravatar image

You can use "usr/share/openstack-dashboard/openstack_dashboard/settings.py" to modify horizon settings. But, it always a good practice to use local_settings.py located under "/etc/openstack_dashboard/local_settings.py" for any horizon configuration.

Best, Raja

edit flag offensive delete link more

answered 2016-11-27 21:01:16 -0500

ryan_chen gravatar image

This’s Configure OpenStack Dashboard file: /etc/openstack-dashboard/local_settings.py

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-26 22:20:56 -0500

Seen: 532 times

Last updated: Nov 27 '16