why cannot launch the instance ?
After the success deploy, I try to create a instance and launch it. But it failed. The error is : Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12. Code 500 Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 665, in build_instances raise exception.MaxRetriesExceeded(reason=msg) nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12. Created Aug. 25, 2021, 3:23 p.m. Why ? Thanks.
Why ?? From: openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org <openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org> On Behalf Of Tommy Sway Sent: Thursday, August 26, 2021 1:28 PM To: 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: why cannot launch the instance ? After the success deploy, I try to create a instance and launch it. But it failed. The error is : Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12. Code 500 Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 665, in build_instances raise exception.MaxRetriesExceeded(reason=msg) nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12. Created Aug. 25, 2021, 3:23 p.m. Why ? Thanks.
I try again, it shows that I cannot stat. From: openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org <openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org> On Behalf Of Tommy Sway Sent: Thursday, August 26, 2021 1:28 PM To: 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: why cannot launch the instance ? After the success deploy, I try to create a instance and launch it. But it failed. The error is : Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12. Code 500 Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 665, in build_instances raise exception.MaxRetriesExceeded(reason=msg) nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12. Created Aug. 25, 2021, 3:23 p.m. Why ? Thanks.
On Thu, Aug 26, 2021 at 7:29 AM Tommy Sway <sz_cuitao@163.com> wrote:
After the success deploy, I try to create a instance and launch it.
But it failed.
The error is :
Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Code 500
Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 665, in build_instances raise exception.MaxRetriesExceeded(reason=msg)
nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Created Aug. 25, 2021, 3:23 p.m.
Why ?
For the answer to that question you have to check the logs of nova-scheduler and possibly also nova-compute. -yoctozepto
Thanks.
But there's no log after I try to start the instance. [root@compute01 nova]# tail -f ./nova-compute.log 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 1031, in set_traits_for_provider 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver if not self._provider_tree.have_traits_changed(rp_uuid, traits): 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 583, in have_traits_changed 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver provider = self._find_with_lock(name_or_uuid) 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 439, in _find_with_lock 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver raise ValueError(_("No such provider %s") % name_or_uuid) 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver ValueError: No such provider a613663b-3862-4a25-b3ae-4a13c11b7460 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver 2021-08-26 15:06:30.189 7 INFO nova.compute.manager [req-af04cf38-b1ba-490d-ad70-e36a144bf068 - - - - -] Looking for unclaimed instances stuck in BUILDING status for nodes managed by this host 2021-08-26 15:06:31.025 7 INFO nova.virt.libvirt.host [req-af04cf38-b1ba-490d-ad70-e36a144bf068 - - - - -] kernel doesn't support AMD SEV -----Original Message----- From: Radosław Piliszek <radoslaw.piliszek@gmail.com> Sent: Thursday, August 26, 2021 2:56 PM To: Tommy Sway <sz_cuitao@163.com> Cc: openstack-discuss <openstack-discuss@lists.openstack.org> Subject: Re: why cannot launch the instance ? On Thu, Aug 26, 2021 at 7:29 AM Tommy Sway <sz_cuitao@163.com> wrote:
After the success deploy, I try to create a instance and launch it.
But it failed.
The error is :
Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Code 500
Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 665, in build_instances raise exception.MaxRetriesExceeded(reason=msg)
nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Created Aug. 25, 2021, 3:23 p.m.
Why ?
For the answer to that question you have to check the logs of nova-scheduler and possibly also nova-compute. -yoctozepto
Thanks.
I restart the compute node, and checked the log of the nova-compute: 2021-08-26 15:15:23.040 7 INFO nova.virt.libvirt.host [-] Secure Boot support detected 2021-08-26 15:15:23.359 7 WARNING nova.virt.libvirt.driver [req-97a00696-aa6b-40d2-8bc1-16a3dc00634a - - - - -] An error occurred while updating compute node resource provider status to "enabled" for provider: a613663b-3862-4a25-b3ae-4a13c11b7460: ValueError: No such provider a613663b-3862-4a25-b3ae-4a13c11b7460 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver Traceback (most recent call last): 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4886, in _update_compute_provider_status 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver context, rp_uuid, enabled=not service.disabled) 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/manager.py", line 522, in update_compute_provider_status 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver context, rp_uuid, new_traits, generation=trait_info.generation) 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 73, in wrapper 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver return f(self, *a, **k) 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 1031, in set_traits_for_provider 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver if not self._provider_tree.have_traits_changed(rp_uuid, traits): 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 583, in have_traits_changed 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver provider = self._find_with_lock(name_or_uuid) 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 439, in _find_with_lock 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver raise ValueError(_("No such provider %s") % name_or_uuid) 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver ValueError: No such provider a613663b-3862-4a25-b3ae-4a13c11b7460 2021-08-26 15:15:23.359 7 ERROR nova.virt.libvirt.driver 2021-08-26 15:15:23.510 7 INFO nova.compute.manager [req-21ebb01e-05cd-4f0c-841e-356ed8bff715 - - - - -] Looking for unclaimed instances stuck in BUILDING status for nodes managed by this host 2021-08-26 15:15:24.570 7 INFO nova.virt.libvirt.host [req-21ebb01e-05cd-4f0c-841e-356ed8bff715 - - - - -] kernel doesn't support AMD SEV What's the error about ? -----Original Message----- From: openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org <openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org> On Behalf Of Tommy Sway Sent: Thursday, August 26, 2021 3:12 PM To: 'Radosław Piliszek' <radoslaw.piliszek@gmail.com> Cc: 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: RE: why cannot launch the instance ? But there's no log after I try to start the instance. [root@compute01 nova]# tail -f ./nova-compute.log 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 1031, in set_traits_for_provider 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver if not self._provider_tree.have_traits_changed(rp_uuid, traits): 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 583, in have_traits_changed 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver provider = self._find_with_lock(name_or_uuid) 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 439, in _find_with_lock 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver raise ValueError(_("No such provider %s") % name_or_uuid) 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver ValueError: No such provider a613663b-3862-4a25-b3ae-4a13c11b7460 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver 2021-08-26 15:06:30.189 7 INFO nova.compute.manager [req-af04cf38-b1ba-490d-ad70-e36a144bf068 - - - - -] Looking for unclaimed instances stuck in BUILDING status for nodes managed by this host 2021-08-26 15:06:31.025 7 INFO nova.virt.libvirt.host [req-af04cf38-b1ba-490d-ad70-e36a144bf068 - - - - -] kernel doesn't support AMD SEV -----Original Message----- From: Radosław Piliszek <radoslaw.piliszek@gmail.com> Sent: Thursday, August 26, 2021 2:56 PM To: Tommy Sway <sz_cuitao@163.com> Cc: openstack-discuss <openstack-discuss@lists.openstack.org> Subject: Re: why cannot launch the instance ? On Thu, Aug 26, 2021 at 7:29 AM Tommy Sway <sz_cuitao@163.com> wrote:
After the success deploy, I try to create a instance and launch it.
But it failed.
The error is :
Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Code 500
Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 665, in build_instances raise exception.MaxRetriesExceeded(reason=msg)
nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Created Aug. 25, 2021, 3:23 p.m.
Why ?
For the answer to that question you have to check the logs of nova-scheduler and possibly also nova-compute. -yoctozepto
Thanks.
And when I try to start the instance, the error message on the web is : Error: You are not allowed to start instance: demo1 -----Original Message----- From: openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org <openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org> On Behalf Of Tommy Sway Sent: Thursday, August 26, 2021 3:12 PM To: 'Radosław Piliszek' <radoslaw.piliszek@gmail.com> Cc: 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: RE: why cannot launch the instance ? But there's no log after I try to start the instance. [root@compute01 nova]# tail -f ./nova-compute.log 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 1031, in set_traits_for_provider 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver if not self._provider_tree.have_traits_changed(rp_uuid, traits): 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 583, in have_traits_changed 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver provider = self._find_with_lock(name_or_uuid) 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver File "/usr/lib/python3.6/site-packages/nova/compute/provider_tree.py", line 439, in _find_with_lock 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver raise ValueError(_("No such provider %s") % name_or_uuid) 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver ValueError: No such provider a613663b-3862-4a25-b3ae-4a13c11b7460 2021-08-26 15:06:30.044 7 ERROR nova.virt.libvirt.driver 2021-08-26 15:06:30.189 7 INFO nova.compute.manager [req-af04cf38-b1ba-490d-ad70-e36a144bf068 - - - - -] Looking for unclaimed instances stuck in BUILDING status for nodes managed by this host 2021-08-26 15:06:31.025 7 INFO nova.virt.libvirt.host [req-af04cf38-b1ba-490d-ad70-e36a144bf068 - - - - -] kernel doesn't support AMD SEV -----Original Message----- From: Radosław Piliszek <radoslaw.piliszek@gmail.com> Sent: Thursday, August 26, 2021 2:56 PM To: Tommy Sway <sz_cuitao@163.com> Cc: openstack-discuss <openstack-discuss@lists.openstack.org> Subject: Re: why cannot launch the instance ? On Thu, Aug 26, 2021 at 7:29 AM Tommy Sway <sz_cuitao@163.com> wrote:
After the success deploy, I try to create a instance and launch it.
But it failed.
The error is :
Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Code 500
Details Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nova/conductor/manager.py", line 665, in build_instances raise exception.MaxRetriesExceeded(reason=msg)
nova.exception.MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance b238edf6-093b-41ce-bd59-a349f8e8fa12.
Created Aug. 25, 2021, 3:23 p.m.
Why ?
For the answer to that question you have to check the logs of nova-scheduler and possibly also nova-compute. -yoctozepto
Thanks.
participants (2)
-
Radosław Piliszek
-
Tommy Sway