From: Wido den Hollander <wido@widodh.nl>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Qemu fails to open RBD image when auth_supported is not set to 'none'
Date: Mon, 25 Jun 2012 17:20:01 +0200 [thread overview]
Message-ID: <4FE881A1.5070504@widodh.nl> (raw)
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
next reply other threads:[~2012-06-25 15:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 15:20 Wido den Hollander [this message]
2012-06-25 15:45 ` Qemu fails to open RBD image when auth_supported is not set to 'none' Wido den Hollander
2012-07-02 19:21 ` Wido den Hollander
2012-07-05 13:39 ` Wido den Hollander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FE881A1.5070504@widodh.nl \
--to=wido@widodh.nl \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox