Ask Your Question

Unable to login to horizon

asked 2016-04-28 06:19:06 -0500

DarkKnight gravatar image

updated 2016-04-28 06:20:19 -0500

I have installed RDO Mitaka on Centos 7.2 using the packstack installation. In my answers file that i generated, i set the value of CONFIG_KEYSTONE_API_VERSION=v3. The installation completely successfully, but i am unable to go the landing page. This is what i get in the horizon log, i get this message.

2016-04-28 13:00:50,483 36672 WARNING openstack_auth.utils The file points to a v2.0 keystone endpoint, but v3 is specified as the API version to use. Using v3 endpoint for authentication.
2016-04-28 13:00:50,486 36672 INFO openstack_auth.forms Login successful for user "admin".

Also none of the cli commands are working. It takes so long and never returns

openstack-status gives the following.

[root@localhost ~(keystone_admin)]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-compute:                 active
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-cert:                    active
openstack-nova-conductor:               active
openstack-nova-console:                 inactive  (disabled on boot)
openstack-nova-consoleauth:             active
openstack-nova-xvpvncproxy:             inactive  (disabled on boot)
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== Horizon service ==
openstack-dashboard:                    502
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       inactive  (disabled on boot)
neutron-metadata-agent:                 active
neutron-lbaas-agent:                    active
neutron-openvswitch-agent:              active
neutron-metering-agent:                 active
== Swift services ==
openstack-swift-proxy:                  active
openstack-swift-account:                active
openstack-swift-container:              active
openstack-swift-object:                 active
== Cinder services ==
openstack-cinder-api:                   active
openstack-cinder-scheduler:             active
openstack-cinder-volume:                active
openstack-cinder-backup:                active
== Ceilometer services ==
openstack-ceilometer-api:               inactive  (disabled on boot)
openstack-ceilometer-central:           active
openstack-ceilometer-compute:           active
openstack-ceilometer-collector:         active
openstack-ceilometer-notification:      active
== Heat services ==
openstack-heat-api:                     active
openstack-heat-api-cfn:                 inactive  (disabled on boot)
openstack-heat-api-cloudwatch:          inactive  (disabled on boot)
openstack-heat-engine:                  active
== Trove services ==
openstack-trove-api:                    active
openstack-trove-taskmanager:            active
openstack-trove-conductor:              active
== Ironic services ==
openstack-ironic-api:                   active
openstack-ironic-conductor:             active
== Support services ==
mysqld:                                 inactive  (disabled on boot)
libvirtd:                               active
openvswitch:                            active
dbus:                                   active
target:                                 active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/usr/lib/python2.7/site-packages/keystoneclient/ DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
WARNING: unsupported identity-api-version 3, falling back to 2.0
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/ DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/ DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/site-packages/debtcollector/ DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)

[root@localhost log(keystone_admin)]# cat ~/keystonerc_admin
export OS_USERNAME=admin
export OS_PASSWORD=admin123
export OS_AUTH_URL=
export PS1='[\u@\h \W(keystone_admin)]\$ '

export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default

MariaDB [keystone]> select interface, url from endpoint e, service s where ...
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-05-19 06:19:18 -0500

mrunge gravatar image

please set up memcached for session store, esp. make sure, you have the following in your /etc/openstack-dashboard/local_settings


    'default': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '',
edit flag offensive delete link more


worked for me as well. added to my local settings and am able to login to horizon dashboard with roles and groups.

bcollins gravatar imagebcollins ( 2016-11-10 18:18:14 -0500 )edit

work for me

Yusuf Hadiwinata Sutandar gravatar imageYusuf Hadiwinata Sutandar ( 2016-12-22 10:29:40 -0500 )edit

answered 2016-12-22 10:29:25 -0500

Work for me

many thank

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-04-28 06:19:06 -0500

Seen: 4,504 times

Last updated: Dec 22 '16