Re: Failing pool deletion testcase

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

 



On Sat, Nov 05, 2011 at 02:41:41PM +0100, Guido Günther wrote:
> Hi,
> when running libvirt-tck I'm seeing this test failure:
> 
> #   Failed test 'deleted pool'
> #   at /usr/share/libvirt-tck/tests/storage/110-disk-pool.t line 120.
> # died: Sys::Virt::Error (libvirt error code: 3, message: this function is not supported by the connection driver: pool does not support pool deletion
> # )
> 
> because pool deletion isn't supported by the disk storage backend. Since
> the test is there I wonder if there are patches floating around already
> to implement it? If not I guess wiping the partition table followed by a
> "blockdev --reread-pt" would be the right approach?

Yeah, we just need to blow away the DOS and/or  GPT partition table
signatures and trigger a re-read by the kernel The "correct" way would
be to use parted to clear it, the "quick" way would be to just write
zeros over the relevant areas.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]