start of new instance not possible after restarting libvirtd

Bug #767947 reported by Christian Berendt
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Alvaro Lopez
Diablo
Fix Released
Undecided
Unassigned

Bug Description

{{{
2011-04-21 02:33:38,034 AUDIT nova.compute.manager [L6JTK1OWZ72LFJEQ9NSU admin testproject] instance 115: starting...
2011-04-21 02:33:40,354 INFO nova [-] called setup_basic_filtering in nwfilter
2011-04-21 02:33:40,354 INFO nova [-] ensuring static filters
2011-04-21 02:33:40,360 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/nova/exception.py", line 120, in _wrap
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt_conn.py", line 614, in spawn
(nova.exception): TRACE: self.firewall_driver.setup_basic_filtering(instance, network_info)
(nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt_conn.py", line 1975, in setup_basic_filtering
(nova.exception): TRACE: return self.nwfilter.setup_basic_filtering(instance, network_info)
(nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt_conn.py", line 1746, in setup_basic_filtering
(nova.exception): TRACE: ['nova-base']))
(nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/nova/virt/libvirt_conn.py", line 1831, in _define_filter
(nova.exception): TRACE: tpool.execute(self._conn.nwfilterDefineXML, xml)
(nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/eventlet/tpool.py", line 75, in tworker
(nova.exception): TRACE: rv = meth(*args,**kwargs)
(nova.exception): TRACE: File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1724, in nwfilterDefineXML
(nova.exception): TRACE: if ret is None:raise libvirtError('virNWFilterDefineXML() failed', conn=self)
(nova.exception): TRACE: libvirtError: cannot send data: Broken pipe
(nova.exception): TRACE:
2011-04-21 02:33:40,371 ERROR nova.compute.manager [L6JTK1OWZ72LFJEQ9NSU admin testproject] Instance '115' failed to spawn. Is virtualization enabled in the BIOS?
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/usr/lib64/python2.6/site-packages/nova/compute/manager.py", line 234, in run_instance
(nova.compute.manager): TRACE: self.driver.spawn(instance_ref)
(nova.compute.manager): TRACE: File "/usr/lib64/python2.6/site-packages/nova/exception.py", line 126, in _wrap
(nova.compute.manager): TRACE: raise Error(str(e))
(nova.compute.manager): TRACE: Error: cannot send data: Broken pipe
(nova.compute.manager): TRACE:
}}}

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
Alvaro Lopez (aloga)
Changed in nova:
assignee: nobody → Alvaro (aloga)
status: Confirmed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/1964
Committed: http://github.com/openstack/nova/commit/7c11490677bc49086271ee377e6a8076eebe15f6
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 7c11490677bc49086271ee377e6a8076eebe15f6
Author: Alvaro Lopez Garcia <email address hidden>
Date: Wed Nov 30 12:25:00 2011 +0100

    Fixes bug 767947

    If libvirt was restarted, a libvirt.libvirtError was raised with error
    domain libvirt.VIR_FROM_RPC when trying to use the existing connection.

    Change-Id: Ib3d4ff23aadf5a0c93dde0c37c5686bf404ce9de

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/2188
Committed: http://github.com/openstack/nova/commit/add84707ec40bc4de1de5616da41b2ac5f4a9537
Submitter: Jenkins
Branch: stable/diablo

commit add84707ec40bc4de1de5616da41b2ac5f4a9537
Author: Alvaro Lopez Garcia <email address hidden>
Date: Wed Nov 30 12:25:00 2011 +0100

    Fixes bug 767947

    If libvirt was restarted, a libvirt.libvirtError was raised with error
    domain libvirt.VIR_FROM_RPC when trying to use the existing connection.

    (cherry picked from commit 7c11490677bc49086271ee377e6a8076eebe15f6)

    Change-Id: Ib3d4ff23aadf5a0c93dde0c37c5686bf404ce9de

tags: added: in-stable-diablo
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.