Ask Your Question
0

Could any one tell how to configure horizon dashboard with keystone? [closed]

asked 2013-12-12 06:10:19 -0600

anonymous user

Anonymous

I'm installing openstack horizon dashboard and openstack keystone in different virtual machines. What are the editings in /etc/openstack-dashboard/local_settings.py file for configuring horizon

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-12-19 07:51:15.395519

2 answers

Sort by » oldest newest most voted
1

answered 2013-12-12 06:22:33 -0600

dheeru gravatar image

updated 2013-12-15 22:53:10 -0600

Edit /etc/openstack-dashboard/local_settings.py and change following entry
OPENSTACK_HOST = <KeyStoneHostName>

Also Pre-requisites were not installed as given in the documentation. After installing Compute and configuring different end points it started working fine.

edit flag offensive delete link more

Comments

I edited according to your post, but I didn't get again... Could you tell is there any service has to be created in keystone setup? My edited /etc/openstack-dashboard/local_settings.py file looks like OPENSTACK_HOST = "openstackvm00"

anu gravatar imageanu ( 2013-12-12 06:29:00 -0600 )edit

Did you create the appropriate end points at Keystone ? What is the problem you are facing ? What is the output of 'keystone endpoint-list' Hope you keystone host is IP resolvable.

dheeru gravatar imagedheeru ( 2013-12-12 06:50:37 -0600 )edit

Yes I created keystone endpoint. # keystone endpoint-list +----------------------------------+-----------+---------------------------------+---------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | +----------------------------------+-----------+---------------------------------+---------------------------------+----------------------------------+ | 1cc63fed71ec42c389b650abd34bab9f | regionOne | http://192.168.56.110:5000/v2.0 | http://192.168.56.110:5000/v2.0 | http://192.168.56.110:35357/v2.0 | | 3616117fda3243fcb6df5f2432be43fd | regionOne | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:35357/v2.0 | +----------------------------------+-----------+---------------------------------+---------------------------------+----------------------------------+

anu gravatar imageanu ( 2013-12-12 07:03:50 -0600 )edit

I've setup only keystone and horizon and connected to mysql database but not other sevices

anu gravatar imageanu ( 2013-12-12 07:06:49 -0600 )edit

Please look athe pre-requisite for this to work. You have not installed compute etc. Please check http://docs.openstack.org/havana/install-guide/install/apt/content/dashboard-system-requirements.html

dheeru gravatar imagedheeru ( 2013-12-12 07:31:02 -0600 )edit
0

answered 2013-12-12 20:45:24 -0600

nethawk gravatar image

Now What are your problems? Can your horizon connect with keystone? You can check if keystone has already started. You need to change these configures in local_settings: OPENSTACK_HOST = OPENSTACK_KEYSTONE_URL = OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin" OPENSTACK_KEYSTONE_BACKEND = {'name':'native','can_edit_user':True}

If you install horizon on centos,the config file name is local_settings,on ubuntu it is local_settings.py

edit flag offensive delete link more

Comments

Could you tell me what are the values for OPENSTACK_HOST, OPENSTACK_KEYSTONE_URL. I kept remaining values same as what you have given. How can I connect horizon with keystone? Could you tell me the command to connect?

anu gravatar imageanu ( 2013-12-12 22:39:49 -0600 )edit

OPENSTACK_HOST is the ipaddress of keystone OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST

nethawk gravatar imagenethawk ( 2013-12-13 03:08:01 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-12-12 06:10:19 -0600

Seen: 462 times

Last updated: Dec 15 '13