Create the service entity and API endpoints
1.Create the service entity and API endpoints
run:
openstack service create --name keystone --description "OpenStack Identity" identity
error
Internal Server Error (HTTP 500)
debug
add --debug
vim /var/log/httpd/keystone-error.log
slove
chown keystone:keystone var/log/keystone/keystone.log
2.Install and configure a compute node
error
compute:/var/log/nova/nova-compute.log
2016-06-21 02:52:03.630 828 WARNING nova.conductor.api [req-91ef251e-9982-46d2-a44f-dd4e5d97565b - - - - -] Timed out waiting for nova-conductor. Is it running? Or did this service start before nova-conductor? Reattempting establishment of nova-conductor connection...
2016-06-20 23:43:36.774 899 ERROR oslo.messaging._drivers.impl_rabbit [req-717a1522-9394-4f0a-ab43-3a66cf045289 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
controller:/var/log/nova/nova-conductor.log
2016-06-21 06:53:29.030 1183 ERROR oslo.messaging._drivers.impl_rabbit [req-116a5966-33c9-4b6e-a22f-473b4362e8df - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
slove
检查computer和controller里面的/etc/nova/nova.conf中[oslo_messaging_rabbit]的帐号和密码
然后重启所有nova服务(compute和controller),我也不知道重启哪些服务才是关键
3.Launch an instance中Self-service network最后一个验证步骤无法ping通子网
slove
#controller
systemctl restart neutron-metadata-agent.service