RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1087589 - Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interface creation failed
Summary: Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interface ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-neutron
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: RC
: Icehouse
Assignee: RHOS Maint
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-14 18:10 UTC by wes hayutin
Modified: 2016-04-26 17:15 UTC (History)
5 users (show)

Fixed In Version: python-neutron-2014.1.2-1.fc21.noarch.rpm
Clone Of:
Environment:
Last Closed: 2015-01-06 14:26:57 UTC
Embargoed:


Attachments (Terms of Use)
install and server logs (6.25 MB, application/octet-stream)
2014-04-14 18:10 UTC, wes hayutin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 92387 0 None None None Never

Description wes hayutin 2014-04-14 18:10:02 UTC
Created attachment 886224 [details]
install and server logs

Description of problem:

Nova compute.log
bbbbcb764be0] Instance failed to spawn
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0] Traceback (most recent call last):
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1718, in _spawn
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0]     block_device_info)
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2251, in spawn
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0]     block_device_info)
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 3654, in _create_domain_and_network
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0]     raise exception.VirtualInterfaceCreateException()
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0] VirtualInterfaceCreateException: Virtual Interface creation failed
2014-04-14 09:12:31.723 2605 TRACE nova.compute.manager [instance: 4df34257-314f-49dc-8d71-bbbbcb764be0] 


Neutron server.log
2014-04-14 08:44:50.764 13397 ERROR neutron.openstack.common.rpc.common [req-53f2bb89-a8b3-4cf3-9e13-a29777c9518d None] Returning exception Agent with agent_type=L3 agent and host=ice-neutron-rhel65-stage-controller.novalocal could not be found to caller

Neutron server.log
2014-04-14 09:07:32.277 2420 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'91c5a5b4-0c97-4724-a00d-d8fd7496b7c9', 'name': 'network-vif-plugged', 'server_uuid': u'4df34257-314f-49dc-8d71-bbbbcb764be0'}]


Attached are the server install and various logs.

Comment 1 wes hayutin 2014-04-14 18:52:11 UTC
neutron.conf is not using the updated api
https://github.com/openstack/neutron/blob/master/etc/neutron.conf#L306

 egrep -rn 8774 *
neutron.conf:330:# nova_url = http://127.0.0.1:8774

Comment 2 wes hayutin 2014-04-14 18:53:23 UTC
https://review.openstack.org/#/c/86646/

Comment 3 Assaf Muller 2014-05-25 09:38:58 UTC
stable/icehouse:
https://review.openstack.org/#/c/92387/

When that is merged and rebased into RDO we can close this bug.

Comment 4 Ihar Hrachyshka 2015-01-06 13:12:15 UTC
RDO was rebased to 2014.1.2 that includes the fix.

Comment 5 Kashyap Chamarthy 2015-01-06 14:26:57 UTC
This seems to be fixed in IceHouse. Closing the bug.

I verified this on Fedora IceHouse:

$ wget -c https://kojipkgs.fedoraproject.org//packages/openstack-neutron/2014.1.2/1.fc21/noarch/python-neutron-2014.1.2-1.fc21.noarch.rpm

$ rpm2cpio python-neutron-2014.1.2-1.fc21.noarch.rpm | cpio --extract --make-directories

$ grep nova_url usr/lib/python2.7/site-packages/neutron/common/config.py -A2
    cfg.StrOpt('nova_url',
               default='http://127.0.0.1:8774/v2',
               help=_('URL for connection to nova')),


This is also fixed in CentOS version:

  python-neutron-2014.2.1-1.el7.centos.noarch.rpm


Note You need to log in before you can comment on or make changes to this bug.