[Bug 1564790] [NEW] blktap2 fails to terminate with filenames containing blanks

Philipp Hahn hahn at univention.de
Fri Apr 1 08:42:06 UTC 2016


Public bug reported:

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

** Affects: xen (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch

** Patch added: "Fix tap-ctl parsing"
   https://bugs.launchpad.net/bugs/1564790/+attachment/4619233/+files/0006-Bug-18357-Fix-tap-ctl-parsing.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xen in Ubuntu.
https://bugs.launchpad.net/bugs/1564790

Title:
  blktap2 fails to terminate with filenames containing blanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1564790/+subscriptions



More information about the Ubuntu-server-bugs mailing list