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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux