The instance creation failed by timeout of the network-vif-plugged event
Issue
- The instance creation failed every time with the below error message in the nova-compute log.
2023-08-17 11:34:54.216 7 INFO os_vif [req-443e07aa-7e36-492c-85a3-5c79c8b21f99 9148bc1b37131bcc7ee256573b95a0d6a1894c96c55a9bf8cc37ae28827f88ea 544e0b734ecf4935b7169d23011604a1 - 2896954cd77544dc8e673b41d318f3e9 2896954cd77544dc8e673b41d318f3e9] Successfully plugged vif VIFOpenVSwitch(active=False,address=fa:16:3e:42:23:85,bridge_name='br-int',has_traffic_filtering=True,id=d31f9006-91cd-47c9-8c28-9a13a782500d,network=Network(586261b1-bfe2-48f7-b74f-d6c26f1bdb16),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tapd31f9006-91')
:
023-08-17 11:34:54.613 7 INFO nova.compute.manager [-] [instance: 0a6b585f-2851-4f69-87e4-c62cebbf23ce] VM Started (Lifecycle Event)
2023-08-17 11:34:54.648 7 INFO nova.compute.manager [req-2084b095-1a3c-4a01-b4be-cec8f43027e2 - - - - -] [instance: 0a6b585f-2851-4f69-87e4-c62cebbf23ce] VM Paused (Lifecycle Event)
2023-08-17 11:34:54.711 7 INFO nova.compute.manager [req-2084b095-1a3c-4a01-b4be-cec8f43027e2 - - - - -] [instance: 0a6b585f-2851-4f69-87e4-c62cebbf23ce] During sync_power_state the instance has a pending task (spawning). Skip.
2023-08-17 11:39:54.616 7 WARNING nova.virt.libvirt.driver [req-443e07aa-7e36-492c-85a3-5c79c8b21f99 9148bc1b37131bcc7ee256573b95a0d6a1894c96c55a9bf8cc37ae28827f88ea 544e0b734ecf4935b7169d23011604a1 - 2896954cd77544dc8e673b41d318f3e9 2896954cd77544dc8e673b41d318f3e9] [instance: 0a6b585f-2851-4f69-87e4-c62cebbf23ce] Timeout waiting for [('network-vif-plugged', 'd31f9006-91cd-47c9-8c28-9a13a782500d')] for instance with vm_state building and task_state spawning.: eventlet.timeout.Timeout: 300 seconds
:
2023-08-17 11:39:56.085 7 ERROR nova.compute.manager [req-443e07aa-7e36-492c-85a3-5c79c8b21f99 9148bc1b37131bcc7ee256573b95a0d6a1894c96c55a9bf8cc37ae28827f88ea 544e0b734ecf4935b7169d23011604a1 - 2896954cd77544dc8e673b41d318f3e9 2896954cd77544dc8e673b41d318f3e9] [instance: 0a6b585f-2851-4f69-87e4-c62cebbf23ce] Build of instance 0a6b585f-2851-4f69-87e4-c62cebbf23ce aborted: Failed to allocate the network(s), not rescheduling.: nova.exception.BuildAbortException: Build of instance 0a6b585f-2851-4f69-87e4-c62cebbf23ce aborted: Failed to allocate the network(s), not rescheduling.
- nova-compute received a network-vif-plugged event from neutron, however the event reached timeout
Environment
- Red Hat OpenStack Platform 16.1
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.0
- Red Hat OpenStack Platform 17.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.