Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Nova-lxd error: Fails to spawn an instance

Hi everyone,

I deployed DevStack with nova-lxd a few months ago successfully and everything worked fine. I tried to deploy again a few days ago and failed. I tried to deploy using stable/ocata, stable/pike and the master, and I tried it on different machines. When I try to start an instance, it fails and the nova-compute displays the following errors;

Oct 28 19:47:34 ubuntu nova-compute[98366]: DEBUG nova.compute.manager [None req-d6f459a3-7f5a-4f4b-8122-6be08857be95 admin admin] [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067] Start spawning the instance on the hypervisor. {{(pid=98366) _build_and_run_instance /opt/stack/nova/nova/compute/manager.py:1996}}
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [None req-d6f459a3-7f5a-4f4b-8122-6be08857be95 admin admin] [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067] Instance failed to spawn: TypeError: spawn() got multiple values for keyword argument 'network_info'
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067] Traceback (most recent call last):
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067]   File "/opt/stack/nova/nova/compute/manager.py", line 2208, in _build_resources
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067]     yield resources
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067]   File "/opt/stack/nova/nova/compute/manager.py", line 2001, in _build_and_run_instance
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067]     block_device_info=block_device_info)
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067] TypeError: spawn() got multiple values for keyword argument 'network_info'
Oct 28 19:47:34 ubuntu nova-compute[98366]: ERROR nova.compute.manager [instance: 044f3343-8c50-4fd5-9df9-9c7a8e35f067]

Is there anything I am missing here? Any help would be really appreciated.

Regards,

Muneeb Ahmad