[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PULL for-2.9 09/10] rbd: Revert -blockdev parameter passwo
From: |
Jeff Cody |
Subject: |
[Qemu-block] [PULL for-2.9 09/10] rbd: Revert -blockdev parameter password-secret |
Date: |
Tue, 28 Mar 2017 10:05:54 -0400 |
From: Markus Armbruster <address@hidden>
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.
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.
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Jeff Cody <address@hidden>
Message-id: address@hidden
Signed-off-by: Jeff Cody <address@hidden>
---
qapi/block-core.json | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 6a7ca0b..78eb8fb 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -2618,9 +2618,6 @@
# @server: Monitor host address and port. This maps
# to the "mon_host" Ceph option.
#
-# @password-secret: The ID of a QCryptoSecret object providing
-# the password for the login.
-#
# Since: 2.9
##
{ 'struct': 'BlockdevOptionsRbd',
@@ -2629,8 +2626,7 @@
'*conf': 'str',
'*snapshot': 'str',
'*user': 'str',
- '*server': ['InetSocketAddressBase'],
- '*password-secret': 'str' } }
+ '*server': ['InetSocketAddressBase'] } }
##
# @BlockdevOptionsSheepdog:
--
2.9.3
- [Qemu-block] [PULL for-2.9 00/10] Block patches for -rc2, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 01/10] rbd: Reject -blockdev server.*.{numeric, to, ipv4, ipv6}, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 03/10] rbd: Don't limit length of parameter values, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 04/10] rbd: Clean up after the previous commit, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 05/10] rbd: Don't accept -drive driver=rbd, keyvalue-pairs=..., Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 07/10] rbd: Clean up qemu_rbd_create()'s detour through QemuOpts, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 02/10] rbd: Fix to cleanly reject -drive without pool or image, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 06/10] rbd: Clean up runtime_opts, fix -drive to reject filename, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 08/10] rbd: Revert -blockdev and -drive parameter auth-supported, Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 10/10] rbd: Fix bugs around -drive parameter "server", Jeff Cody, 2017/03/28
- [Qemu-block] [PULL for-2.9 09/10] rbd: Revert -blockdev parameter password-secret,
Jeff Cody <=
- Re: [Qemu-block] [PULL for-2.9 00/10] Block patches for -rc2, Peter Maydell, 2017/03/28