Received: from eggs.gnu.org ([2001:4830:134:3::10]:49090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxvaF-0006jx-7n for qemu-devel@nongnu.org; Tue, 11 Apr 2017 09:11:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxvaC-0004mM-2R for qemu-devel@nongnu.org; Tue, 11 Apr 2017 09:11:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50790) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cxvaB-0004mA-SJ for qemu-devel@nongnu.org; Tue, 11 Apr 2017 09:11:43 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C6CD6C04B326 for ; Tue, 11 Apr 2017 13:11:42 +0000 (UTC) From: Markus Armbruster References: <1490621195-2228-1-git-send-email-armbru@redhat.com> <1490621195-2228-10-git-send-email-armbru@redhat.com> <20170403113703.GS2768@redhat.com> Date: Tue, 11 Apr 2017 15:11:41 +0200 In-Reply-To: <20170403113703.GS2768@redhat.com> (Daniel P. Berrange's message of "Mon, 3 Apr 2017 12:37:03 +0100") Message-ID: <8760ib9jhu.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH RFC v3 for-2.9 09/11] rbd: Revert -blockdev parameter password-secret List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: kwolf@redhat.com, jdurgin@redhat.com, mreitz@redhat.com, qemu-devel@nongnu.org, jcody@redhat.com "Daniel P. Berrange" writes: > On Mon, Mar 27, 2017 at 03:26:33PM +0200, Markus Armbruster wrote: >> This reverts a part of commit 8a47e8e. We're having second thoughts >> on the QAPI schema (and thus the external interface), and haven't >> reached consensus, yet. Issues include: >> >> * BlockdevOptionsRbd member @password-secret isn't actually a >> password, it's a key generated by Ceph. >> >> * We're not sure where member @password-secret belongs (see the >> previous commit). >> >> * How @password-secret interacts with settings from a configuration >> file specified with @conf is undocumented. I suspect it's untested, >> too. >> >> Let's avoid painting ourselves into a corner now, and revert the >> feature for 2.9. >> >> Note that users can still configure an authentication key with a >> configuration file. They probably do that anyway if they use Ceph >> outside QEMU as well. > > NB, this makes blockdev-add largely useless for RBD from libvirt's POV, > since we rely on the password-secret facility working to support apps > like openstack which won't configure the global config file for RBD. Libvirt could still supply a *local* configuration file. > Not a regression though, since blockdev-add is new - just means we won't > be able to use the new feature yet :-( Unfortunate if true, but QMP interfaces need to be stable, and this one clearly needs more thought.