7.CentOS7下Openstack-Train版本安装--发现计算节点与验证nova的安装

以下操作在控制节点进行

1.发现计算节点主机

su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

2.设置发现时间间隔

openstack-config --set /etc/nova/nova.conf scheduler discover_hosts_in_cells_interval 300

3.验证整个计算服务nova

systemctl restart openstack-nova-api.service

source admin-openrc
[root@master ~]# openstack compute service list
+----+----------------+--------+----------+---------+-------+----------------------------+
| ID | Binary         | Host   | Zone     | Status  | State | Updated At                 |
+----+----------------+--------+----------+---------+-------+----------------------------+
|  1 | nova-conductor | master | internal | enabled | up    | 2020-01-17T04:53:50.000000 |
|  3 | nova-scheduler | master | internal | enabled | up    | 2020-01-17T04:53:51.000000 |
+----+----------------+--------+----------+---------+-------+----------------------------+
[root@master ~]# openstack catalog list
+-----------+-----------+-------------------------------------------+
| Name      | Type      | Endpoints                                 |
+-----------+-----------+-------------------------------------------+
| keystone  | identity  | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:5000/v3/  |
|           |           | RegionOne                                 |
|           |           |   public: http://172.17.0.211:5000/v3/    |
|           |           | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:5000/v3/     |
|           |           |                                           |
| nova      | compute   | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:8774/v2.1    |
|           |           | RegionOne                                 |
|           |           |   public: http://172.17.0.211:8774/v2.1   |
|           |           | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:8774/v2.1 |
|           |           |                                           |
| glance    | image     | RegionOne                                 |
|           |           |   public: http://172.17.0.211:9292        |
|           |           | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:9292      |
|           |           | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:9292         |
|           |           |                                           |
| placement | placement | RegionOne                                 |
|           |           |   internal: http://172.17.0.211:8778      |
|           |           | RegionOne                                 |
|           |           |   public: http://172.17.0.211:8778        |
|           |           | RegionOne                                 |
|           |           |   admin: http://172.17.0.211:8778         |
|           |           |                                           |
+-----------+-----------+-------------------------------------------+

 

[root@master ~]# openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| b7e370a1-c329-4e90-b497-65d33f10ef1a | cirros | active |
+--------------------------------------+--------+--------+
[root@master ~]# nova-status upgrade check
+--------------------------------+
| Upgrade Check Results          |
+--------------------------------+
| Check: Cells v2                |
| Result: Success                |
| Details: None                  |
+--------------------------------+
| Check: Placement API           |
| Result: Success                |
| Details: None                  |
+--------------------------------+
| Check: Ironic Flavor Migration |
| Result: Success                |
| Details: None                  |
+--------------------------------+
| Check: Cinder API              |
| Result: Success                |
| Details: None                  |
+--------------------------------+

你可能感兴趣的:(7.CentOS7下Openstack-Train版本安装--发现计算节点与验证nova的安装)