Qemu fails to open RBD image when auth_supported is not set to 'none'

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

 



Hi,

I just tried to start a VM with libvirt with the following disk:

<disk type='network' device='disk'>
  <driver name='qemu' type='raw' cache='none'/>
  <source protocol='rbd' name='rbd/8489c04f-aab8-4796-a22a-ebaa7be247a7'>
    <host name='31.25.XX.XX' port='6789'/>
  </source>
  <target dev='vda' bus='virtio'/>
</disk>

That fails with: "Operation not supported"

I tried qemu-img:

qemu-img info rbd:rbd/8489c04f-aab8-4796-a22a-ebaa7be247a7:mon_host=31.25.XX.XX\\:6789

Same result.

I then tried:

qemu-img info rbd:rbd/8489c04f-aab8-4796-a22a-ebaa7be247a7:mon_host=31.25.XX.XX\\:6789:auth_supported=none

And that worked :)

This host does not have a local ceph.conf, all the parameters have to come from the command line.

I know that recently auth_supported defaults to "cephx", but that now break the libvirt integration since it doesn't set auth_supported to explicitly none when no auth section is present.

Should this be something that gets fixed in librados or in libvirt?

If it's libvirt, I'll write a patch for it :)

Wido
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux