在计算节点上启动:
systemctl start libvirtd.service openstack-nova-compute.service
Pending不能启动。
但libvirtd.service是启动了,单独启动openstack-nova-compute.service也不能启动。
这个如果配置文件没问题的话,主要是因为Controller节点的openstack-nova-scheduler.service,openstack-nova-conductor.service没有启动。
一般控制节点和Nova相关是4个services.
# systemctl start \ openstack-nova-api.service \ openstack-nova-scheduler.service \ openstack-nova-conductor.service \ openstack-nova-novncproxy.service
一般openstack-nova-api.service 、openstack-nova-novncproxy.service会启动。但openstack-nova-scheduler.service,openstack-nova-conductor.service容易出问题,不能启动。
这2个Service不能启动的原因:
经常报这样的错:
[root@controller nova]# systemctl restart openstack-nova-conductor
Job for openstack-nova-conductor.service failed because the control process exited with error code.
See "systemctl status openstack-nova-conductor.service" and "journalctl -xe" for details.
[root@controller nova]# journalctl -xe
-- Support: https://access.redhat.com/support
--
-- The unit openstack-nova-conductor.service has entered the 'failed' state with result '>
Apr 25 17:06:34 controller systemd[1]: Failed to start OpenStack Nova Conductor Server.
-- Subject: Unit openstack-nova-conductor.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit openstack-nova-conductor.service has failed.
大概率是因为Httpd没有启动。因为Openstack都是通过endpoint(http)访问服务的。