Ask Your Question
0

VirtualInterfaceCreateException

asked 2014-05-20 10:20:37 -0500

imfaisal87 gravatar image

I have installed openstack icehouse on ubuntu 14.04, I am on a Virtual Machine and it is a single machine setup my eth0 is on NAT via which I am using internet and does not have involvement with openstack and my second NIC eth1 is on Host-only which have IP 10.0.0.1 and overall used this for openstack configuration.

For bridge I have used these commands:

For bridge, I have used this

ovs-vsctl add-br br-int

ovs-vsctl add-br br-eth1

ovs-vsctl add-port br-eth1 eth1

my components with openstack are, rabbitmq, mysql, keystone, glance, nova, neutron and horizon and i have used this blog http://fosskb.wordpress.com/2014/04/12/openstack-icehouse-on-ubuntu-12-04-lts-single-machine-setup/ (http://fosskb.wordpress.com/2014/04/1...) for setting up my enviornment.

I am a new user, faced few issues but have rectified them except this one

I am launching an instance and used tailf /var/log/nova/nova-compute.log

2014-05-20 16:04:15.586 16502 AUDIT nova.compute.claims [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] disk limit not specified, defaulting to unlimited 2014-05-20 16:04:15.586 16502 AUDIT nova.compute.claims [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] Total CPUs: 2 VCPUs, used: 0.00 VCPUs 2014-05-20 16:04:15.586 16502 AUDIT nova.compute.claims [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] CPUs limit not specified, defaulting to unlimited 2014-05-20 16:04:15.587 16502 AUDIT nova.compute.claims [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] Claim successful 2014-05-20 16:04:16.201 16502 INFO nova.virt.libvirt.driver [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] Creating image

after creating image, it takes some couple of minutes while it is in spawning state on dashboard

then i receive the following error

2014-05-20 16:09:19.065 16502 WARNING nova.virt.libvirt.driver [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] Timeout waiting for vif plugging callback for instance b4378ed2-d8db-4919-bec4-2f3a03466253 2014-05-20 16:09:20.156 16502 INFO nova.virt.libvirt.driver [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] Deleting instance files /var/lib/nova/instances/b4378ed2-d8db-4919-bec4-2f3a03466253 2014-05-20 16:09:20.157 16502 INFO nova.virt.libvirt.driver [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] Deletion of /var/lib/nova/instances/b4378ed2-d8db-4919-bec4-2f3a03466253 complete 2014-05-20 16:09:20.227 16502 ERROR nova.compute.manager [req-f4898650-bb2c-4f0f-a3d8-78ba3c027012 48089ce69e964966bc67a66933e5af3d 8369bcbca5a94f25bcbd85f45ce43618] [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] Instance failed to spawn 2014-05-20 16:09:20.227 16502 TRACE nova.compute.manager [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] Traceback (most recent call last): 2014-05-20 16:09:20.227 16502 TRACE nova.compute.manager [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in _spawn 2014-05-20 16:09:20.227 16502 TRACE nova.compute.manager [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] block_device_info) 2014-05-20 16:09:20.227 16502 TRACE nova.compute.manager [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2253, in spawn 2014-05-20 16:09:20.227 16502 TRACE nova.compute.manager [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] block_device_info) 2014-05-20 16:09:20.227 16502 TRACE nova.compute.manager [instance: b4378ed2-d8db-4919-bec4-2f3a03466253] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3663, in _create_domain_and_network 2014-05-20 16:09:20.227 16502 TRACE nova.compute.manager ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-20 12:57:19 -0500

SGPJ gravatar image

updated 2014-05-27 10:43:23 -0500

Are you using nova or neutron n/w? if so post neutron logs too. issue with libvirt nova: VIF.

edit flag offensive delete link more

Comments

yes, i am using neutron openvswitch-agent-log 2014-05-20 16:01:28.087 10552 ERROR neutron.agent.linux.ovsdb_monitor [-] Error received from ovsdb monitor: 2014-05-20T12:01:28Z|00001|fatal_signal|WARN|terminating with signal 15 (Terminated) 2014-05-20 16:01:30.413 16319 WARNING neutron.agent.securitygroups_rpc [req-8a924759-2d09-4e6f-8228-272cab2f6d6e None] Driver configuration doesn't match with enable_security_group

imfaisal87 gravatar imageimfaisal87 ( 2014-05-20 15:44:10 -0500 )edit

l3-agent-log

2014-05-20 16:01:31.123 16382 ERROR neutron.agent.l3_agent [req-d60cb0a6-6d7d-47dc-b724-6f95bc8b64bc None] The external network bridge 'br-ex' does not exist

imfaisal87 gravatar imageimfaisal87 ( 2014-05-20 15:44:58 -0500 )edit

server.log 2014-05-20 16:09:22.563 16305 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'19249589-d2d5-4fdf-b169-1dfa09eedc14', 'name': 'network-vif-unplugged', 'server_uuid': u'b4378ed2-d8db-4919-bec4-2f3a03466253'}] 2014-05-20 16:09:22.563 16305 TRACE neutron.notifiers.nova Traceback (most recent call last): 2014-05-20 16:09:22.563 16305 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/neutron/notifiers/nova.py", line 187, in send_events 2014-05-20 16:09:22.563 16305 TRACE neutron.notifiers.nova batched_events) 2014-05-20 16:09:22.563 16305 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create 2014-05-20 16:09:22.563 16305 TRACE neutron.notifiers.nova return_raw=True) 2014-05-20 16:09:22.563 16305 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 152, in _create 2014-05-20 16:09:22.563 16305 TRACE neutron.notifiers.nova _resp, body ...(more)

imfaisal87 gravatar imageimfaisal87 ( 2014-05-20 15:57:54 -0500 )edit

I have solved this problem by adding vif plugin lines in nova.conf, made it false and timeout 0 and instance was ready.

imfaisal87 gravatar imageimfaisal87 ( 2014-05-21 08:09:04 -0500 )edit

hi there,

I noticed your statement that you "made it false and timeout 0 and instance was ready."

as far as I know it ignores the vif_plug errors/timeouts and bring up the VM, so that instance would be ready. What about the network interface connectivity after the instance was built?

Zirui Zhuang gravatar imageZirui Zhuang ( 2015-04-16 21:20:17 -0500 )edit

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

Stats

Asked: 2014-05-20 10:20:37 -0500

Seen: 1,268 times

Last updated: May 27 '14