Bug 1087589

Summary: Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interface creation failed
Product: [Community] RDO Reporter: wes hayutin <whayutin>
Component: openstack-neutronAssignee: RHOS Maint <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: amuller, chrisw, ihrachys, kchamart, yeylon
Target Milestone: RC   
Target Release: Icehouse   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-2014.1.2-1.fc21.noarch.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-06 14:26:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
install and server logs none

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