cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: First review of RBD support for primary storage
Date Thu, 05 Jul 2012 18:19:23 GMT


> -----Original Message-----
> From: Wido den Hollander [mailto:wido@widodh.nl]
> Sent: Thursday, July 05, 2012 6:50 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: First review of RBD support for primary storage
> 
> >
> > Other than these limitations, everything works. You can create
> instances
> > and attach RBD disks. It also supports cephx authorization, so no
> > problem there!
> 
> I found a bug in libvirt under Ubuntu 12.04. In short, the base64
> encoding/decoding inside libvirt is broken due to a third party library.
> 
> For more information:
> https://www.redhat.com/archives/libvir-list/2012-July/msg00058.html
> 
> >
> > What do you need to run this patch?
> > - A Ceph cluster
> > - libvirt with RBD storage pool support (>0.9.12)
> 
> I recommend running 0.9.13 (just got out) since it contains RBD support.
> But there is a bug if you're not running with cephx, this just got
> fixed:
> http://libvirt.org/git/?p=libvirt.git;a=commit;h=ccb94785007d33365d49dd
> 566e194eb0a022148d
> 
> In a couple of weeks libvirt 0.9.14 will be released and that will
> contain everything you need and will probably fix the base64/secret
> problem as well.
> 
> > - Modified libvirt-java bindings (jar is in the patch)
> 
> Tomorrow there will be a release of libvirt-java 0.4.8 which will
> contain everything you need. No more need for a homebrew version of the
> libvirt Java bindings, we can use the upstream ones!

Excellent! Will you update the libvirt-java binary in CloudStack to the latest upstream after
it's released?

> 
> http://www.libvirt.org/git/?p=libvirt-java.git;a=summary
> 
> > - Qemu with RBD support (>0.14)
> > - A extra field "user_info" in the storage pool table, see the SQL
> > change in the patch
> >
> > You can fetch the code on my Github account [3].
> 
> Not true anymore, I'm now pushing to the "rbd" feature branch at the
> Apache CloudStack repository.
> 
> >
> > Warning: I'll be rebasing against the master branch regularly, so be
> > aware of git pull not always working nicely.
> >
> > I'd like to see this code reviewed while I'm working on the latest
> stuff
> > and getting all the patches upstream in other projects (mainly the
> > libvirt Java bindings).
> 
> Like said, the libvirt Java bindings have gone upstream and that should
> be settled by tomorrow.
> 
> Wido

Mime
View raw message