[libvirt] [PATCH 0/3] Fix trouble with <backingStore> in virsh detach-disk

Peter Krempa pkrempa at redhat.com
Wed Feb 14 14:57:23 UTC 2018


We've created malformed <auth> element for RBD images in backing store
of a disk which failed parsing and broke detaching disks via virsh.

Fix it by not parsing auth data at all from the disk backing images and
remove the <backingStore> element when constructing the XML for disk
detach.

Peter Krempa (3):
  virsh: detach-disk: Add --print-xml switch
  util: storage: Remove detected authentication data for backing chains
  virsh: Remove <backingStore> sub-element in virshFindDisk

 src/util/virstoragefile.c |  8 ++++++++
 tests/virstoragetest.c    | 15 +++------------
 tools/virsh-domain.c      | 44 +++++++++++++++++++++++++++++++++-----------
 tools/virsh.pod           |  4 ++++
 4 files changed, 48 insertions(+), 23 deletions(-)

-- 
2.15.0




More information about the libvir-list mailing list