On 07/05/2012 11:34 PM, Senner, Talin wrote:
Awesomeness Wido. +10. I'd be happy to do any testing on my Ubuntu
12.04 cluster + ceph .48...
Testing is needed.
Be aware, on Ubuntu 12.04 there is the bug with libvirt and the secrets.
If you run into problems, check if libvirtd is linked against libroken:
$ ldd /usr/sbin/libvirtd
If you are running without Cephx you will need the patched version of
Qemu where it explicitly adds "auth_supported=none" to the Qemu args,
this is commit: ccb94785007d33365d49dd566e194eb0a022148d
Wido
Talin
On Thu, Jul 5, 2012 at 8:50 AM, Wido den Hollander <w...@widodh.nl> wrote:
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=ccb94785007d33365d49dd566e194eb0a022148d
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!
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