启用 nova 计算状态并启动 kolla-openstack

启用 nova 计算状态并启动 kolla-openstack

按照这组说明进行操作:https://kifarunix.com/deploy-all-in-one-openstack-with-kolla-ansible-on-ubuntu-22-04/,我能够让 Kolla OpenStack All-In-One 部署通过预检查、部署和部署后脚本。一切似乎都运行良好。

我可以登录到网络界面http://172.25.11.10使用在 /etc/kolla/passwords.yml 中创建的管理员密码。

但是,当我尝试配置 Admin / Host Aggregates 设置时,我发现没有设置可用区域。无论我做什么,我都无法为 nova-compute 二进制文件启动 nova 区域。

(kolla-openstack) lab@openstack:~$ openstack compute service list --service nova-compute
+--------------------------------------+--------------+-----------+------+----------+-------+----------------------------+
| ID                                   | Binary       | Host      | Zone | Status   | State | Updated At                 |
+--------------------------------------+--------------+-----------+------+----------+-------+----------------------------+
| b48f552c-38e1-4723-97b4-04c9e132f4a2 | nova-compute | openstack | nova | disabled | down  | 2023-11-28T17:49:06.000000 |
+--------------------------------------+--------------+-----------+------+----------+-------+----------------------------+

没问题,我将在 CLI 上启用此功能。

(kolla-openstack) lab@openstack:~$ openstack compute service set --enable --up openstack nova-compute

然后我列出 nova-compute 服务:

(kolla-openstack) lab@openstack:~$ openstack compute service list --service nova-compute
+--------------------------------------+--------------+-----------+------+---------+-------+----------------------------+
| ID                                   | Binary       | Host      | Zone | Status  | State | Updated At                 |
+--------------------------------------+--------------+-----------+------+---------+-------+----------------------------+
| b48f552c-38e1-4723-97b4-04c9e132f4a2 | nova-compute | openstack | nova | enabled | down  | 2023-11-28T21:52:50.000000 |
+--------------------------------------+--------------+-----------+------+---------+-------+----------------------------+

状态为已启用,但状态仍为关闭。我已阅读并遵循与此问题相关的所有其他建议,但似乎无法确定原因。

(kolla-openstack) lab@openstack:~$ openstack service list
+----------------------------------+-----------+----------------+
| ID                               | Name      | Type           |
+----------------------------------+-----------+----------------+
| 712f40a19657425ea999259495f58903 | placement | placement      |
| 9dde759fae994e73aa1d86981f50d8d5 | neutron   | network        |
| c6f618ff6faf451b98aa63410784b179 | nova      | compute        |
| c76a85490a8543dd8b39e2078a4f2e3a | heat-cfn  | cloudformation |
| c81f5abec7cd4494baff14923ad0faf9 | keystone  | identity       |
| d19331b13f5942899c2e83a547bdb6f5 | heat      | orchestration  |
| d91e0ea9dcfb4efbbb42588a9d42e5a9 | glance    | image          |
+----------------------------------+-----------+----------------+

(kolla-openstack) lab@openstack:~$ openstack compute service list
+--------------------------------------+----------------+-----------+----------+----------+-------+----------------------------+
| ID                                   | Binary         | Host      | Zone     | Status   | State | Updated At                 |
+--------------------------------------+----------------+-----------+----------+----------+-------+----------------------------+
| 2300a984-d142-48db-9fc7-eda35911bae0 | nova-conductor | openstack | internal | enabled  | up    | 2023-11-28T21:55:22.000000 |
| b48f552c-38e1-4723-97b4-04c9e132f4a2 | nova-compute   | openstack | nova     | disabled | down  | 2023-11-28T21:53:51.000000 |
| f2c20f5e-6157-4485-9d15-31bbc801d2c5 | nova-scheduler | openstack | internal | enabled  | up    | 2023-11-28T21:55:21.000000 |
+--------------------------------------+----------------+-----------+----------+----------+-------+----------------------------+
(kolla-openstack) lab@openstack:~$

我能够使用sudo vgs分配给cinder-volumesLVM 的命令成功配置额外的驱动器。

有人对如何使 nova-compute 可用区域上线有什么想法吗?

提前致谢。抱歉,这是一个新手问题。

相关内容