我正在尝试Openstack Yoga
在虚拟环境 (Rocky Linux 9) 中手动安装。我很难将我的添加compute node
到 * Openstack 虚拟机管理程序列表*。以下本指南安装Openstack yoga。
我多次仔细按照说明操作,也看了很多 YouTube 视频,但还是不行。如果有人能帮忙,我将不胜感激。不想放弃。
compute1
主机在 Horizon 中显示为compute host
,但是使用以下命令, 下没有列出任何内容hypervisor list
。
[root@controller ~]# openstack compute service list
+--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
| bce48397-8111-49fe-9b05-9cdd4d24a229 | nova-scheduler | controller | internal | enabled | up | 2022-12-30T06:20:05.000000 |
| c4a75344-88d4-4cc2-b63a-7e1820069dbd | nova-conductor | controller | internal | enabled | up | 2022-12-30T06:20:05.000000 |
| 30f7698f-a684-4b1d-9eed-351d587b32c4 | nova-compute | compute1 | nova | enabled | up | 2022-12-30T06:19:57.000000 |
+--------------------------------------+----------------+------------+----------+---------+-------+----------------------------+
[root@controller ~]# openstack hypervisor list
#未返回任何内容。
[root@controller ~]# nova-status upgrade check
+--------------------------------------------------------------------+
| Upgrade Check Results |
+--------------------------------------------------------------------+
| Check: Cells v2 |
| Result: Success |
| Details: No host mappings or compute nodes were found. Remember to |
| run command 'nova-manage cell_v2 discover_hosts' when new |
| compute hosts are deployed. |
尝试发现节点时,收到以下消息
[root@controller ~]# 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': fe28e42c-493f-48e5-956d-9f5494a99df6
Found 0 unmapped computes in cell: fe28e42c-493f-48e5-956d-9f5494a99df6
我是否遗漏了什么?我是否应该安装指南中未列出的任何其他软件包?
计算节点 Nova 配置 https://pastebin.com/6dhkCeW0