Re: [PATCH v3] storage backend: Add sheepdog support

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

 



On Tue, Jun 26, 2012 at 01:25:55PM +0200, Sebastian Wiedenroth wrote:
> 
> This patch brings support to manage sheepdog pools and volumes to libvirt.
> It uses the "collie" command-line utility that comes with sheepdog for that.
> 
> A sheepdog pool in libvirt maps to a sheepdog cluster.
> It needs a host and port to connect to, which in most cases
> is just going to be the default of localhost on port 7000.
> 
> A sheepdog volume in libvirt maps to a sheepdog vdi.
> To create one specify the pool, a name and the capacity.
> Volumes can also be resized later.
> 
> In the volume XML the vdi name has to be put into the <target><path>.
> To use the volume as a disk source for virtual machines specify
> the vdi name as "name" attribute of the <source>.
> The host and port information from the pool are specified inside the host tag.
> 
>   <disk type='network'>
>     ...
>     <source protocol="sheepdog" name="vdi_name">
>       <host name="localhost" port="7000"/>
>     </source>
>   </disk>
> 
> To work right this patch parses the output of collie,
> so it relies on the raw output option. There recently was a bug which caused
> size information to be reported wrong. This is fixed upstream already and
> will be in the next release.
> 
> Signed-off-by: Sebastian Wiedenroth <wiedi@xxxxxxxxxx>


ACK, this looks good to me & I have pushed it. We can deal with any
further problems we might identify as followup patches.


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]