Openstack+Ceph 安装及配置-05.3-Openstack-Yoga Nova-Compute安装-验证

Openstack Victoria版本Nova-Compute验证-控制节点

查看compute节点是否通信正常,

[root@node-1 ~]# openstack compute service list
+----+----------------+-------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+----------------+-------------+----------+---------+-------+----------------------------+
| 1 | nova-conductor | node-1 | internal | enabled | up | 2022-03-02T08:44:37.000000 |
| 9 | nova-scheduler | node-1 | internal | enabled | up | 2022-03-02T08:44:41.000000 |
| 10 | nova-compute | node-3 | nova | enabled | up | 2022-03-02T08:44:39.000000 |
+----+----------------+-------------+----------+---------+-------+----------------------------+

 

同步计算节点,每次添加都需要执行一次

[root@node-1 ~]# su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting computes from cell 'cell1': 7414a0dc-048f-40d2-981a-74d894df3c51
Checking host mapping for compute host 'node-3': c4402e69-8b0e-4ce1-a638-f59ce7eb703d
Creating host mapping for compute host 'node-3': c4402e69-8b0e-4ce1-a638-f59ce7eb703d
Found 1 unmapped computes in cell: 7414a0dc-048f-40d2-981a-74d894df3c51

 

可以配置自动发现节点

[root@node-1 ~]# vim /etc/nova/nova.conf
[scheduler]
discover_hosts_in_cells_interval = 300

 


验证身份服务连通性

[root@node-1 ~]# openstack catalog list

 


检查nova各组件是否正常

[root@node-1 ~]# nova-status upgrade check

 

posted @ 2023-02-20 17:21  苦逼挨踢男  阅读(40)  评论(0编辑  收藏  举报