Ask Your Question
1

dashboard install to controller breaks keystone permissions

asked 2015-08-11 05:45:42 -0500

rcs123 gravatar image

I've just installed the Horizon Dashboard according to the instructions http://docs.openstack.org/kilo/install-guide/install/yum/content/install_dashboard.html (http://docs.openstack.org/kilo/instal...)

This then resulted in previously working commands such as nova list and openstack-status resulting in errors with keystone.

[root@controller ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-cert:                    active
openstack-nova-compute:                 inactive  (disabled on boot)
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-conductor:               active
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== Horizon service ==
openstack-dashboard:                    404
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     inactive  (disabled on boot)
neutron-l3-agent:                       inactive  (disabled on boot)
neutron-metadata-agent:                 inactive  (disabled on boot)
== Support services ==
mysqld:                                 inactive  (disabled on boot)
dbus:                                   active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
Authorization Failed: Internal Server Error (HTTP 500)
== Glance images ==
Internal Server Error (HTTP 500)
== Nova managed services ==
No handlers could be found for logger "keystoneclient.auth.identity.generic.base"
ERROR (InternalServerError): Internal Server Error (HTTP 500)
== Nova networks ==
No handlers could be found for logger "keystoneclient.auth.identity.generic.base"
ERROR (InternalServerError): Internal Server Error (HTTP 500)
== Nova instance flavors ==
No handlers could be found for logger "keystoneclient.auth.identity.generic.base"
ERROR (InternalServerError): Internal Server Error (HTTP 500)
== Nova instances ==
No handlers could be found for logger "keystoneclient.auth.identity.generic.base"
ERROR (InternalServerError): Internal Server Error (HTTP 500)
[root@controller ~]# cd /var/log
edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2015-11-17 06:23:03 -0500

@Luigi: do you use juno/keystone as a wsgi web service ? I thought it was only mandatory for kilo release...

edit flag offensive delete link more
0

answered 2015-08-11 05:48:24 -0500

rcs123 gravatar image

I found this answer quite quickly but thought it may help to post my solution.

After looking through the logs etc. I went back to the installation instructions for kilo identity service and reran the commands to correct the permissions for the keystone

chown -R keystone:keystone /var/www/cgi-bin/keystone

chmod 755 /var/www/cgi-bin/keystone/*

after this everything works again, including being able to get to the Dashboard....

edit flag offensive delete link more

Comments

I encountered the same error on Ubuntu 14.04, OpenStack Juno. I tried the proposed solution but it tells me

root@controller:~# chown -R keystone:keystone /var/www/cgi-bin/keystone
chown: cannot access ‘/var/www/cgi-bin/keystone’: No such file or directory

any help ?

Luigi gravatar imageLuigi ( 2015-09-02 03:24:07 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-11 05:45:42 -0500

Seen: 3,358 times

Last updated: Nov 17 '15