Multi node Havana set up Fedora 20. Keystone not working [closed]

asked 2014-01-19 07:39:32 -0600

dbaxps gravatar image

updated 2014-01-24 19:04:19 -0600

smaffulli gravatar image

Followed these instructions

Just a couple of days ago I had a problem on vm01-controller with /var/log/nova/api.log complains for connections to neutron-server . Neutron CLI worked and reported fine, but nova loaded instance didn't get any IP either on compute or on controller. Attempting to create fresh new VM iinstall . yum -y update as of today on VM F20 I get:

[root@ip-192-169-142-170 ~]$  openstack-db --init --service keystone
mysql-server is not installed.  Would you like to install it now? (y/n): y
        [... cutting a bunch of useless output from yum]

[root@ip-192-169-142-170 ~]# export SERVICE_TOKEN=$(openssl rand -hex 10)

[root@ip-192-169-142-170 ~]# echo $SERVICE_TOKEN

[root@ip-192-169-142-170 ~]# export SERVICE_ENDPOINT=

[root@ip-192-169-142-170 ~]# echo $SERVICE_TOKEN > /tmp/ks_admin_token

[root@ip-192-169-142-170 ~]# openstack-config --set /etc/keystone/keystone.conf 

[root@ip-192-169-142-170 ~]# keystone-manage pki_setup --keystone-user keystone --keystone-group keystone
2014-01-19 16:12:02.219 1727 INFO keystone.common.openssl [-] openssl genrsa -out /etc/keystone/ssl/certs/cakey.pem 2048

Generating RSA private key, 2048 bit long modulus
       [... more output cut to improve readibility]

Write out database with 1 new entries
Data Base Updated

Setting the ownership and starting the service

[root@ip-192-169-142-170 ~]# chown -R keystone:keystone /etc/keystone/ssl

[root@ip-192-169-142-170 ~]# for i in start enable status; \
>     do systemctl $i openstack-keystone; done
ln -s '/usr/lib/systemd/system/openstack-keystone.service' '/etc/systemd/system/'

openstack-keystone.service - OpenStack Identity Service (code-named Keystone)
   Loaded: loaded (/usr/lib/systemd/system/openstack-keystone.service; enabled)
   Active: active (running) since Sun 2014-01-19 16:12:34 MSK; 589ms ago
 Main PID: 1741 (keystone-all)
   CGroup: /system.slice/openstack-keystone.service
           └─1741 /usr/bin/python /usr/bin/keystone-all --config-file /usr/share/keystone...

Jan 19 16:12:33 keystone-all[1741]: 2014-01-19 16:..
Jan 19 16:12:34 keystone-all[1741]: 2014-01-19 16:...
Jan 19 16:12:34 keystone-all[1741]: 2014-01-19 16:...
]Jan 19 16:12:34 systemd[1]: Started OpenStack Iden...
Hint: Some lines were ellipsized, use -l to show in full.

[root@ip-192-169-142-170 ~]# keystone service-create --name keystone --type identity \
>     --description "Keystone Identity Service"

**Unable to establish connection to**
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2014-01-27 02:39:07.750539


Did you check anything ? Is it working ? Do you need help ? Do let me know.

dheeru gravatar imagedheeru ( 2014-01-26 06:16:43 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2014-01-20 02:51:20 -0600

dheeru gravatar image

This indicates that either keystone is not started or endpoints are not defined clearly.

edit flag offensive delete link more


Thank you. It's OK now.

dbaxps gravatar imagedbaxps ( 2014-01-26 09:49:57 -0600 )edit

What was the issue ? Keystone was not running ?

dheeru gravatar imagedheeru ( 2014-01-26 10:24:15 -0600 )edit

Yes, you gave me a correct advice. Keystone exited, I didn't check it Thank you once again

dbaxps gravatar imagedbaxps ( 2014-01-26 11:58:37 -0600 )edit

Need your favor. Can you accept the answer by clicking on right tick which exist next to my answer ? Please click only once. Post this I will close this request.

dheeru gravatar imagedheeru ( 2014-01-26 23:22:01 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-01-19 07:39:32 -0600

Seen: 329 times

Last updated: Jan 26 '14