blktap2 fails to terminate with filenames containing blanks

Bug #1564790 reported by Philipp Hahn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xen (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Shutting down a domU with xen-4.1.6.1 doesn't terminate the corresponding blktap2
process, since one (other) VM uses a image file, which contains spaces in its
file name. /var/log/xen/xend-debug.log has the following information:

Unhandled exception in thread started by
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/xen/xend/server/BlktapController.py", line 199, in finishDeviceCleanup
    TapdiskController.destroy(path)
  File "/usr/lib/python2.6/dist-packages/xen/xend/server/BlktapController.py", line 289, in destroy
    tapdisk = TapdiskController.fromDevice(device)
  File "/usr/lib/python2.6/dist-packages/xen/xend/server/BlktapController.py", line 278, in fromDevice
    TapdiskController.list())
  File "/usr/lib/python2.6/dist-packages/xen/xend/server/BlktapController.py", line 256, in list
    key, value = pair.split('=')
ValueError: need more than 1 value to unpack

Tags: patch
Revision history for this message
Philipp Hahn (pmhahn) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix tap-ctl parsing" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Joshua Powers (powersj)
Changed in xen (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Miriam España Acebal (mirespace) wrote (last edit ):

The mentioned version of xen belongs to Precise which is now in End of Life time and this bug doesn't qualify for it, so this bug will not be fixed for that release.

Changed in xen (Ubuntu):
status: Triaged → Won't Fix
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.