[Neutron][OVN] nova-compute timeout while waiting for VIF activation confirmed by Neutron

Michal Arbet michal.arbet at ultimum.io
Thu Nov 25 09:14:28 UTC 2021


Hello,

In attachment you can find logs for compute0 and controller0 (other
computes and controllers were turned off for this test).
No OVN used, this stack is based on OVS.

Thank you,
Michal Arbet
Openstack Engineer

Ultimum Technologies a.s.
Na Poříčí 1047/26, 11000 Praha 1
Czech Republic

+420 604 228 897
michal.arbet at ultimum.io
*https://ultimum.io <https://ultimum.io/>*

LinkedIn <https://www.linkedin.com/company/ultimum-technologies> | Twitter
<https://twitter.com/ultimumtech> | Facebook
<https://www.facebook.com/ultimumtechnologies/timeline>


st 24. 11. 2021 v 15:59 odesílatel Rodolfo Alonso Hernandez <
ralonsoh at redhat.com> napsal:

> Hello Tony:
>
> Do you have the Neutron server logs? Do you see the
> "PortBindingChassisUpdateEvent"? When a port is bound, a Port_Bound (SB)
> event is issued and captured in the Neutron server. That will trigger the
> port binding process and the "vif-plugged" event. This OVN SB event should
> call "set_port_status_up" and that should write "OVN reports status up for
> port: %s" in the logs.
>
> Of course, this Neutron method will be called only if the logical switch
> port is UP.
>
> Regards.
>
>
> On Tue, Nov 23, 2021 at 11:59 PM Tony Liu <tonyliu0592 at hotmail.com> wrote:
>
>> Hi,
>>
>> I see such problem from time to time. It's not consistently reproduceable.
>> ======================
>> 2021-11-23 22:16:28.532 7 INFO nova.compute.manager
>> [req-50817b01-e7ae-4991-94fe-e4c5672c481b - - - - -] [instance:
>> 7021bf37-348d-4dfa-b0c5-6a251fceb6cd] During sync_power_state the instance
>> has a pending task (spawning). Skip.
>> 2021-11-23 22:21:28.342 7 WARNING nova.virt.libvirt.driver
>> [req-814c98a4-3fd9-4607-9abb-5fbe5cef8650 3a4c320d64664d9cb6784b7ea52d618a
>> 21384fe21ebb4339b1a5f2a8f9000ea3 - default default] [instance:
>> 7021bf37-348d-4dfa-b0c5-6a251fceb6cd] Timeout waiting for
>> [('network-vif-plugged', '735d97a3-db7c-42ed-b3be-1596d4cc7f4b')] for
>> instance with vm_state building and task_state spawning.:
>> eventlet.timeout.Timeout: 300 seconds
>> ======================
>> The VIF/port is activated by OVN ovn-controller to ovn-sb. It seems that,
>> either Neutron didn't
>> capture the update or didn't send message back to nova-compute. Is there
>> any known fix for
>> this problem?
>>
>>
>> Thanks!
>> Tony
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211125/a177c6fd/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vif_plugged_timeout.tar.gz
Type: application/gzip
Size: 722402 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211125/a177c6fd/attachment-0003.gz>


More information about the openstack-discuss mailing list