構成はCentOS9Stream、OpenStackVersionはAntelope
エラー内容
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
2023-10-28 07:52:51.027 9834 INFO nova.virt.libvirt.host [None req-50ef9c78-b464-4072-bedf-1f43198c514f - - - - - -] Secure Boot support detected 2023-10-28 07:52:51.053 9834 INFO nova.virt.node [None req-50ef9c78-b464-4072-bedf-1f43198c514f - - - - - -] Determined node identity b9f7acf3-7ef7-4dcf-abd5-06d6504b3ce5 from /var/lib/nova/compute_id 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service [None req-50ef9c78-b464-4072-bedf-1f43198c514f - - - - - -] Error starting thread.: nova.exception.InvalidConfiguration: My compute node b9f7acf3-7ef7-4dcf-abd5-06d6504b3ce5 has hypervisor_hostname conpute01.osp.local but virt driver reports it should be compute01.osp.local. Possible rename detected, refusing to start! 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service Traceback (most recent call last): 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service File "/usr/lib/python3.9/site-packages/oslo_service/service.py", line 806, in run_service 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service service.start() 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service File "/usr/lib/python3.9/site-packages/nova/service.py", line 162, in start 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service self.manager.init_host(self.service_ref) 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 1614, in init_host 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service nodes_by_uuid = self._get_nodes(context) 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 1498, in _get_nodes 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service raise exception.InvalidConfiguration( 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service nova.exception.InvalidConfiguration: My compute node b9f7acf3-7ef7-4dcf-abd5-06d6504b3ce5 has hypervisor_hostname conpute01.osp.local but virt driver reports it should be compute01.osp.local. Possible rename detected, refusing to start! 2023-10-28 07:52:51.063 9834 ERROR oslo_service.service 2023-10-28 07:52:52.227 9864 INFO os_vif [-] Loaded VIF plugins: linux_bridge, noop, ovs ^C |
ホスト名が間違っていたので変えた。そうすると起動できなくなった。
パッケージをremoveしても同じ状態が続いた。
結論、/var/lib/nova/compute_idを削除したら、起動した。