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

Ján Tomko jtomko at redhat.com
Thu Feb 15 14:32:52 UTC 2018


On Wed, Feb 14, 2018 at 03:57:23PM +0100, Peter Krempa wrote:
>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(-)
>

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180215/d7328257/attachment-0001.sig>


More information about the libvir-list mailing list