why cannot launch the instance ?

Tommy Sway sz_cuitao at 163.com
Thu Aug 26 07:11:51 UTC 2021


But there's no log after I try to start the instance.


[root at 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 at gmail.com> 
Sent: Thursday, August 26, 2021 2:56 PM
To: Tommy Sway <sz_cuitao at 163.com>
Cc: openstack-discuss <openstack-discuss at lists.openstack.org>
Subject: Re: why cannot launch the instance ?

On Thu, Aug 26, 2021 at 7:29 AM Tommy Sway <sz_cuitao at 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.
>
>
>
>




More information about the openstack-discuss mailing list