The auth_supported configuration options are within your Ceph cluster
configuration. Currently in order to use Ceph with newer versions of
Libvirt, CephX authentication has to be disabled (due to a change in how
libvirt by default assumes no authentication if it is not specified in a
libvirt secret).
Reference here for how to disable CephX authentication on your cluster:
http://ceph.com/docs/master/rados/operations/authentication/#disabling-cep
hx
From: [email protected]
[mailto:[email protected]] On Behalf Of Jaime Melis
Sent: Wednesday, November 06, 2013 10:25 AM
To: Michael
Cc: Users OpenNebula
Subject: Re: [one-users] Opennebula, Ceph and Libvirt 0.10.2
Hi Michael,
yes, this is known limitation of the current Ceph drivers. We are still
considering it to do it before OpenNebula 4.4 is out.
However, there's something I don't fully understand, it should work with
auth_supported = none, and *not* with auth_supported = cephx, is this what
you meant?
cheers,
Jaime
On Wed, Oct 30, 2013 at 11:24 AM, Michael <[email protected]
<mailto:[email protected]> > wrote:
Hi,
I'm having an issue with a newly added CentOS node to opennebula, on my
Ubuntu nodes the default libvirt is 9.X and seems to work fine, the ceph
docs <http://ceph.com/docs/master/rbd/libvirt/> suggest things have been
changing libvirt late 9.X which might now be causing a problem on my new
10.2 nodes.
It's essentially the same issue as
http://lists.opennebula.org/pipermail/users-opennebula.org/2013-June/02332
3.html that never got answered/resolved. The VM fails to build on a disk
mounting error which looks like it might be resolvable by switching the
command used by Opennebula from "auth_supported=none" to
"auth_supported=cephx" but I've tried looking through as many of the
opennebula files as I can think might be relevant
but can't find where this could be changed.
[root@12 ~]# libvirtd --version
libvirtd (libvirt) 0.10.2
[root@12 ~]# su oneadmin
bash-4.1$ /usr/libexec/qemu-kvm -drive
file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=r
aw,cache=writeback,aio=native
qemu-kvm: -drive
file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=r
aw,cache=writeback,aio=native: error connecting
qemu-kvm: -drive
file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=r
aw,cache=writeback,aio=native: could not open disk image
rbd:one/one-54:auth_supported=none: Operation not supported
bash-4.1$ /usr/libexec/qemu-kvm -drive
file=rbd:one/one-54:auth_supported=cephx,if=none,id=drive-ide0-0-1,format=
raw,cache=writeback,aio=native
VNC server running on `127.0.0.1:5905 <http://127.0.0.1:5905> '
Any ideas greatly appreciated!
-Michael
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.OpenNebula.org> | [email protected]
<mailto:[email protected]>
NOTICE: Protect the information in this message in accordance with the
company's security policies. If you received this message in error, immediately
notify the sender and destroy all copies.
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org