[iyunv@linux-node1 ~]# systemctl enable openstack-nova-api.service openstack-nova-consoleauth.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-nova-api.service to /usr/lib/systemd/system/openstack-nova-api.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-nova-consoleauth.service to /usr/lib/systemd/system/openstack-nova-consoleauth.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-nova-scheduler.service to /usr/lib/systemd/system/openstack-nova-scheduler.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-nova-conductor.service to /usr/lib/systemd/system/openstack-nova-conductor.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/openstack-nova-novncproxy.service to /usr/lib/systemd/system/openstack-nova-novncproxy.service.
[iyunv@linux-node1 ~]# systemctl start openstack-nova-api.service openstack-nova-consoleauth.service openstack-nova-scheduler.service openstack-nova-conductor.service openstack-nova-novncproxy.service
在控制节点上执行
[iyunv@linux-node1 ~]# source admin-openstack.sh
[iyunv@linux-node1 ~]# openstack host list
+-------------+-------------+----------+
| Host Name | Service | Zone |
+-------------+-------------+----------+
| linux-node1 | consoleauth | internal |
| linux-node1 | conductor | internal |
| linux-node1 | scheduler | internal |
| linux-node2 | compute | nova |
+-------------+-------------+----------+
可以看到在计算节点上有compute服务,则说明配置成功
[iyunv@linux-node1 ~]# nova service-list
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-consoleauth | linux-node1 | internal | enabled | up | 2016-10-28T13:22:42.000000 | - |
| 2 | nova-conductor | linux-node1 | internal | enabled | up | 2016-10-28T13:22:49.000000 | - |
| 3 | nova-scheduler | linux-node1 | internal | enabled | up | 2016-10-28T13:22:42.000000 | - |
| 6 | nova-compute | linux-node2 | nova | enabled | up | 2016-10-28T13:22:44.000000 | - |
+----+------------------+-------------+----------+---------+-------+----------------------------+-----------------+
如果能列出我们已经上传的镜像,则证明nova与glance之间配置成功
[iyunv@linux-node1 ~]# nova image-list
+--------------------------------------+--------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+--------+--------+--------+
| 29d99654-ba91-4d04-8808-e1b8d16861fb | cirros | ACTIVE | |
+--------------------------------------+--------+--------+--------+