From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wido den Hollander Subject: Qemu fails to open RBD image when auth_supported is not set to 'none' Date: Mon, 25 Jun 2012 17:20:01 +0200 Message-ID: <4FE881A1.5070504@widodh.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from smtp01.mail.pcextreme.nl ([109.72.87.137]:52887 "EHLO smtp01.mail.pcextreme.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752516Ab2FYPUD (ORCPT ); Mon, 25 Jun 2012 11:20:03 -0400 Received: from [IPv6:2a00:f10:113:1:386f:2b24:235:7e53] (unknown [IPv6:2a00:f10:113:1:386f:2b24:235:7e53]) by smtp01.mail.pcextreme.nl (Postfix) with ESMTPSA id 2ECF17616B for ; Mon, 25 Jun 2012 17:20:01 +0200 (CEST) Sender: ceph-devel-owner@vger.kernel.org List-ID: To: "ceph-devel@vger.kernel.org" Hi, I just tried to start a VM with libvirt with the following 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