why Failed to allocate network(s): VirtualInterfaceCreateException: Virtual Interface creation failed

asked 2018-10-17 06:30:47 -0500

kamala gravatar image

Hi all,

I have openstack Pike installed with devstack. I have my own mechanism driver to create vhost socket. when i am spawning an VM, my mechanism drivers is working fine, creating vhost socket, and updating port bind details with vhost path and mode. But after VM get into Spawning state ,it will stay for some 5 to 8 min in the same state and after that VM enters into ERROR state.

PFB for nova logs,

Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [None req-f7f8b10e-433d-40b9-896c-3f4da50c84f2 admin admin] [instance: 321cea72-5719-498e-874e-41c2aec9bf79] Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interface creation failed Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] Traceback (most recent call last): Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] File "/opt/stack/nova/nova/compute/manager.py", line 2347, in _build_resources Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] yield resources Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] File "/opt/stack/nova/nova/compute/manager.py", line 2111, in _build_and_run_instance Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] block_device_info=block_device_info) Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3082, in spawn Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] destroy_disks_on_failure=True) Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5670, in _create_domain_and_network Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] raise exception.VirtualInterfaceCreateException() Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] VirtualInterfaceCreateException: Virtual Interface creation failed Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: ERROR nova.compute.manager [instance: 321cea72-5719-498e-874e-41c2aec9bf79] Oct 17 09:40:05 labadmin-Latitude-E5470 nova-compute[25441]: INFO nova.compute.manager [None req-f7f8b10e-433d-40b9-896c-3f4da50c84f2 admin admin] [instance: 321cea72-5719-498e-874e-41c2aec9bf79] Terminating instance

I have tried with options, vif_plugging_timeout = 0 vif_plugging_is_fatal = False But not worked.

Please help me with suggestions / comments .Thanks in advance.

edit retag flag offensive close merge delete