Ask Your Question
0

WARNING nova.virt.libvirt.driver

asked 2020-07-08 15:01:06 -0500

EddyNava gravatar image

updated 2020-07-09 01:54:55 -0500

eblock gravatar image

Unable to provision VM on Openstack Train Ubuntu with LinuxBridge

2020-07-08 14:49:12.051 24902 INFO nova.compute.claims [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] Claim successful on node openstack-comp01
2020-07-08 14:49:12.483 24902 INFO nova.virt.libvirt.driver [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] Creating image
2020-07-08 14:49:15.742 24902 INFO os_vif [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] Successfully plugged vif VIFBridge(active=False,address=fa:16:3e:88:11:61,bridge_name='brq498b4cf9-10',has_traffic_filtering=True,id=e7e794c3-aa73-4b4e-a42f-83f23618faee,network=Network(498b4cf9-1050-44cc-adb6-6c6d055f0ebd),plugin='linux_bridge',port_profile=<?>,preserve_on_delete=False,vif_name='tape7e794c3-aa')
2020-07-08 14:49:17.012 24902 INFO nova.compute.manager [req-a370a53b-9c7e-4b97-aecc-d96d13240c00 - - - - -] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] VM Started (Lifecycle Event)
2020-07-08 14:49:17.055 24902 INFO nova.compute.manager [req-a370a53b-9c7e-4b97-aecc-d96d13240c00 - - - - -] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] VM Paused (Lifecycle Event)
2020-07-08 14:49:17.134 24902 INFO nova.compute.manager [req-a370a53b-9c7e-4b97-aecc-d96d13240c00 - - - - -] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] During sync_power_state the instance has a pending task (spawning). Skip.
2020-07-08 14:54:17.013 24902 WARNING nova.virt.libvirt.driver [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] Timeout waiting for [('network-vif-plugged', 'e7e794c3-aa73-4b4e-a42f-83f23618faee')] for instance with vm_state building and task_state spawning.: eventlet.timeout.Timeout: 300 seconds
2020-07-08 14:54:17.418 24902 INFO os_vif [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] Successfully unplugged vif VIFBridge(active=False,address=fa:16:3e:88:11:61,bridge_name='brq498b4cf9-10',has_traffic_filtering=True,id=e7e794c3-aa73-4b4e-a42f-83f23618faee,network=Network(498b4cf9-1050-44cc-adb6-6c6d055f0ebd),plugin='linux_bridge',port_profile=<?>,preserve_on_delete=False,vif_name='tape7e794c3-aa')
2020-07-08 14:54:17.419 24902 INFO nova.virt.libvirt.driver [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] Deleting instance files /var/lib/nova/instances/dc68824b-fca9-4294-9f11-fea08e5001a6_del
2020-07-08 14:54:17.419 24902 INFO nova.virt.libvirt.driver [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] Deletion of /var/lib/nova/instances/dc68824b-fca9-4294-9f11-fea08e5001a6_del complete
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [req-5e6f9494-5534-40fd-b8b7-5d170098b4a9 4e8e4991ffd14330aa92bc00585fa196 ae1c993d8ea94236a171b1758189b24d - default default] [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] Instance failed to spawn: nova.exception.VirtualInterfaceCreateException: Virtual Interface creation failed
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6] Traceback (most recent call last):
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]   File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 6234, in _create_domain_and_network
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]     network_info)
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]   File "/usr/lib/python3.6/contextlib.py", line 88, in __exit__
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]     next(self.gen)
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]   File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 478, in wait_for_instance_event
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]     actual_event = event.wait()
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]   File "/usr/lib/python3/dist-packages/eventlet/event.py", line 125, in wait
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]     result = hub.switch()
2020-07-08 14:54:17.512 24902 ERROR nova.compute.manager [instance: dc68824b-fca9-4294-9f11-fea08e5001a6]   File "/usr/lib/python3/dist-packages/eventlet ...
(more)
edit retag flag offensive close merge delete

Comments

1

Check your neutron services and logs. I have faced the same issue just hours ago where apparmor prevented neutron from creating interfaces.

eblock gravatar imageeblock ( 2020-07-09 01:59:47 -0500 )edit

That totally did it, Thank you so much!

EddyNava gravatar imageEddyNava ( 2020-07-09 20:53:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-07-09 20:53:57 -0500

EddyNava gravatar image

Disabling apparmor worked for me.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-07-08 15:01:06 -0500

Seen: 28 times

Last updated: Jul 09