Multi node Havana set up Fedora 20. Keystone not working [closed]
Followed these instructions http://kashyapc.fedorapeople.org/virt/openstack/Two-node-Havana-setup.txt
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]
[...]
Complete!
[root@ip-192-169-142-170 ~]# export SERVICE_TOKEN=$(openssl rand -hex 10)
[root@ip-192-169-142-170 ~]# echo $SERVICE_TOKEN
2d6bd8a829c989af3dac
[root@ip-192-169-142-170 ~]# export SERVICE_ENDPOINT=http://192.168.142.170:35357/v2.0
[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
DEFAULT admin_token $SERVICE_TOKEN
[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/multi-user.target.wants/openstack-keystone.service'
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 ip-192-169-142-170.ip.secureserver.net keystone-all[1741]: 2014-01-19 16:..
Jan 19 16:12:34 ip-192-169-142-170.ip.secureserver.net keystone-all[1741]: 2014-01-19 16:...
Jan 19 16:12:34 ip-192-169-142-170.ip.secureserver.net keystone-all[1741]: 2014-01-19 16:...
]Jan 19 16:12:34 ip-192-169-142-170.ip.secureserver.net 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 http://192.168.142.170:35357/v2.0/OS-KSADM/services**
Did you check anything ? Is it working ? Do you need help ? Do let me know.