nova.compute.manager Instance failed to spawn

asked 2015-05-08 01:44:11 -0500

StackLR gravatar image

updated 2015-05-08 04:08:07 -0500

Hi,

I have installed JUNO on Debian7 and trying to launch instance from nova. But unfortunately it fails.

 root@controller:~# neutron agent-list
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host       | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
| 24083aa2-d3ad-4294-b98c-9a3a3bc9a425 | DHCP agent         | controller | :-)   | True           | neutron-dhcp-agent        |
| 51faa6da-89f4-4fb9-b893-f43c575f3732 | Metadata agent     | controller | :-)   | True           | neutron-metadata-agent    |
| 7bbc1a33-6b6a-4f8b-9854-9fc01ef1786d | Open vSwitch agent | compute    | :-)   | True           | neutron-openvswitch-agent |
| 9f33f18b-bd6e-49b4-90af-04fdd01bc4f1 | Open vSwitch agent | controller | :-)   | True           | neutron-openvswitch-agent |
| d9dfaa63-dfac-4520-a243-fcbac30e7530 | L3 agent           | controller | :-)   | True           | neutron-l3-agent          |
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+

root@controller:~# nova image-list
+--------------------------------------+---------------------+--------+--------+
| ID                                   | Name                | Status | Server |
+--------------------------------------+---------------------+--------+--------+
| 02f1bd2c-a707-49b7-b14b-09975297ff7b | cirros-0.3.3-x86_64 | ACTIVE |        |
+--------------------------------------+---------------------+--------+--------+
root@controller:~# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id                                   | name     | subnets                                             |
+--------------------------------------+----------+-----------------------------------------------------+
| 9b4697f4-2be2-4a54-be68-f0260a1b1c5a | demo-net | af8ec14d-db59-4afb-b0e3-1ddbe1eac9de 172.16.10.0/24 |
| f2faebf9-d8ca-4ca7-bb68-d7fb10454ea3 | ext-net  | df3ceff6-9598-4d81-9305-841b870393c9 10.5.0.0/16    |
+--------------------------------------+----------+-----------------------------------------------------+
root@controller:~# nova secgroup-list
+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| ec5a6c85-2660-4289-a82b-4b60728c8a24 | default | default     |
+--------------------------------------+---------+-------------+

Trace Nova-compute.log :

2015-05-08 11:14:00.325 19075 ERROR nova.compute.manager [-] [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638] Instance failed to spawn
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638] Traceback (most recent call last):
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2246, in _build_resources
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]     yield resources
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]     block_device_info=block_device_info)
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2622, in spawn
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]     block_device_info, disk_info=disk_info)
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4446, in _create_domain_and_network
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]     raise exception.VirtualInterfaceCreateException()
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638] VirtualInterfaceCreateException: Virtual Interface creation failed
2015-05-08 11:14:00.325 19075 TRACE nova.compute.manager [instance: 94fcc31a-e1ab-4c58-8b6b-98d406bf8638]

Thanks in advance.

edit retag flag offensive close merge delete

Comments

1

There is not enough info here to to tell. libvirt fails to create the virtual interface. Check the system logs, libvirt logs, and neutron-agent logs to see if there is an error or trace back in there.

jdexter gravatar imagejdexter ( 2015-05-08 10:16:23 -0500 )edit