Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,Kris! I meet same problem about you .I disable selinux,but it did not solve problem.And I find some thing wrong in "http://docs.openstack.org/kilo/install-guide/install/yum/content/keystone-install.html".The docs do not tell me when and how get start the openstack-keystone,it only tell me start aphache at the end. kernel:centos 7 Linux controller 3.10.0-229.4.2.el7.x86_64 openstack relase:Kilo command:openstack service create --name keystone --description "OpenStack Identity" identity error:ERROR: openstack An unexpected error prevented the server from fulfilling your request. (HTTP 500) erro log from /var/log/keystone/keystone.log: ERROR keystone.common.wsgi [-] (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None 2015-05-17 19:18:13.704 5792 TRACE keystone.common.wsgi OperationalError: (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None

below are what i solving the problem: 1,confirm the keystone passwd mysql -u keystone -p show databases; all above is ok,so it is not the the passwd problem. 2,confirm "/etc/keystone/keystone.conf"about [database] section connection = mysql://keystone:news@controller/keystone it is right,i can ping controller. 3,systemctl stop firewalld disable selinux reboot the problem is aslo exsit!!! 4,systemctl status openstack-keystone openstack-keystone.service: main process exited, code=exited, status=1/FAILURE Failed to start OpenStack Identity Service (code-named Keystone).

systemctl start openstack-keystone error log:keystone error: [Errno 98] Address already in use Could not bind to 0.0.0.0:35357

netstat -tunlp | grep 5000 tcp6 0 0 :::5000 :::* LISTEN 6784/httpd netstat -tunlp | grep 35357 tcp6 0 0 :::35357 :::* LISTEN 6784/httpd

the port 35357 and 5000 is used by apache so i stop apache,and restart openstack-keystone,the openstack-keystone is ok and "openstack service create --name keystone" is ok.

so ,I have a realy quetion:Is the docs perfect,docs actually do not tell us start openstack-keystone .And the apache conflict with the openstack-keystone.

Any help would be great!...Zeng

Hi,Kris! I meet same problem about you .I you. I disable selinux,but selinux, but it did not solve problem.And problem. And I find some thing wrong in "http://docs.openstack.org/kilo/install-guide/install/yum/content/keystone-install.html".The docs do not tell me when and how get start the openstack-keystone,it openstack-keystone, it only tell me start aphache apache at the end. end.

kernel:centos 7     Linux controller 3.10.0-229.4.2.el7.x86_64
openstack relase:Kilo
command:openstack service create --name keystone --description "OpenStack Identity" identity
error:ERROR: openstack An unexpected error prevented the server from fulfilling your request. (HTTP 500)
erro log from /var/log/keystone/keystone.log:
ERROR keystone.common.wsgi [-] (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None
2015-05-17 19:18:13.704 5792 TRACE keystone.common.wsgi OperationalError: (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None

None

below are what i solving the problem: 1,confirm problem

-1. confirm the keystone passwd passwd

mysql -u keystone -p
-p 
show databases;

if all above is ok,so ok, so it is not the the passwd problem. 2,confirm "/etc/keystone/keystone.conf"about password problem.

-2. confirm "/etc/keystone/keystone.conf" about [database] section section

connection = mysql://keystone:news@controller/keystone

it is right,i right, I can ping controller. 3,systemctl controller.

-3,

systemctl stop firewalld

disable selinux reboot the problem is aslo exsit!!! 4,systemctl exsit!!!

-4.

systemctl status openstack-keystone
openstack-keystone.service: main process exited, code=exited, status=1/FAILURE
Failed to start OpenStack Identity Service (code-named Keystone).

Keystone). systemctl start openstack-keystone error log:keystone error: [Errno 98] Address already in use Could not bind to 0.0.0.0:35357

0.0.0.0:35357 netstat -tunlp | grep 5000 tcp6 0 0 :::5000 :::* LISTEN 6784/httpd netstat -tunlp | grep 35357 tcp6 0 0 :::35357 :::* LISTEN 6784/httpd

6784/httpd the port 35357 and 5000 is used by apache so i stop apache,and restart openstack-keystone,the openstack-keystone is ok and "openstack service create --name keystone" is ok.

so ,I have a realy quetion:Is ok.

so, the real quetion is: Are the docs perfect,docs right? docs actually do not tell us to start openstack-keystone .And openstack-keystone. And the apache conflict with the openstack-keystone.

Any help would be great!...Zeng