[libvirt-users] libvirt 0.10 and cephx

Andrey Korolyov andrey at xdel.ru
Tue Sep 18 13:51:06 UTC 2012


Hello,

Current version adding 'auth_supported=none' at the end of disk path
and failing to do an authentication with specified cephx key:

      <source protocol='rbd'
name='rbd/vmxxxxxxxxx:id=qemukvm:key=[cut]==:auth_supported=cephx'>
        <host name='10.0.0.13' port='6789'/>
        <host name='10.0.0.10' port='6789'/>
        <host name='10.0.0.17' port='6789'/>
      </source>

results to:

0.10.1
-drive file=rbd:rbd/vmxxxxxxxxx-YSG:id=qemukvm:key=[cut]:auth_supported=cephx:auth_supported=none:mon_host=10.0.0.13\:6789\;10.0.0.10\:6789\;10.0.0.17\:6789,if=none,id=drive-virtio-disk0,format=raw,bps_rd=80000000,bps_wr=40000000,iops_rd=400,iops_wr=200

0.9.13
-drive file=rbd:rbd/vmxxxxxxxxx-YSG:id=qemukvm:key=[cut]:auth_supported=cephx:mon_host=10.0.0.13\:6789\;10.0.0.10\:6789\;10.0.0.17\:6789,if=none,id=drive-virtio-disk0,format=raw,bps_rd=80000000,bps_wr=40000000,iops_rd=400,iops_wr=200

In ceph-devel I have mentioned incorrectly that both strings are the
same due to incorrect grep statement, so all that needs to be fixed is
an wrong parameter at the end.

Thanks!




More information about the libvirt-users mailing list