From mboxrd@z Thu Jan 1 00:00:00 1970
From: Eric Blake
Subject: Re: [libvirt] [RFC PATCH v3 1/4] secret: add Ceph secret type
Date: Fri, 28 Oct 2011 11:41:52 -0600
Message-ID: <4EAAE960.9010308@redhat.com>
References: <539f3129dfd5d3f80a06837b63dfc5d355f1acc8.1319072460.git.josh.durgin@dreamhost.com> <20111027082845.GA20878@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Return-path:
Received: from mx1.redhat.com ([209.132.183.28]:29937 "EHLO mx1.redhat.com"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1751472Ab1J1RmD (ORCPT );
Fri, 28 Oct 2011 13:42:03 -0400
In-Reply-To: <20111027082845.GA20878@redhat.com>
Sender: ceph-devel-owner@vger.kernel.org
List-ID:
To: "Daniel P. Berrange"
Cc: Josh Durgin , libvir-list@redhat.com, ceph-devel@vger.kernel.org
On 10/27/2011 02:28 AM, Daniel P. Berrange wrote:
> On Thu, Oct 20, 2011 at 11:01:24AM -0700, Josh Durgin wrote:
>> From: Sage Weil
>>
>> Add a new secret type to store a Ceph authentication key. The name
>> is simply an identifier for easy human reference.
>>
>> The xml looks like this:
>>
>>
>> 0a81f5b2-8403-7b23-c8d6-21ccc2f80d6f
>>
>> mycluster_admin
>>
>>
>>
>> Signed-off-by: Sage Weil
>> Signed-off-by: Josh Durgin
>> ---
>> docs/schemas/secret.rng | 10 ++++++++++
Missing docs/formatsecret.html.in changes to document this, but I think
I managed.
>> include/libvirt/libvirt.h.in | 3 +++
>> src/conf/secret_conf.c | 23 ++++++++++++++++++++++-
>> src/conf/secret_conf.h | 1 +
>> src/secret/secret_driver.c | 8 ++++++++
>> 5 files changed, 44 insertions(+), 1 deletions(-)
>
> ACK
I'm adding this, and pushing:
diff --git i/docs/formatsecret.html.in w/docs/formatsecret.html.in
index 63a1f2a..01aff2d 100644
--- i/docs/formatsecret.html.in
+++ w/docs/formatsecret.html.in
@@ -39,8 +39,8 @@
Specifies what this secret is used for. A mandatory
type attribute specifies the usage category,
currently
- only volume is defined. Specific usage categories are
- described below.
+ only volume and ceph are defined.
+ Specific usage categories are described below.
@@ -54,6 +54,18 @@
this secret is associated with.
+ Usage type "ceph"
+
+
+ This secret is associated with a Ceph RBD (rados block device).
+ The <usage type='ceph'> element must contain
+ a single name element that specifies a usage name
+ for the secret. The Ceph secret can then be used by UUID or by
+ this usage name via the <auth> element of
+ a disk
+ device. Since 0.9.7.
+
+
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org