From: Josh Durgin <josh.durgin@inktank.com>
To: Tommi Virtanen <tv@inktank.com>
Cc: Wido den Hollander <wido@widodh.nl>,
Alexandre DERUMIER <aderumier@odiso.com>,
ceph-devel@vger.kernel.org
Subject: Re: rbd 0.48 storage support for kvm proxmox distribution available
Date: Wed, 05 Sep 2012 09:44:38 -0700 [thread overview]
Message-ID: <50478176.3010702@inktank.com> (raw)
In-Reply-To: <CADvuQRHe-k_PRsMTFSawMhk=O8xcXB-jnVh8gqaeZ=jpSqPd4Q@mail.gmail.com>
On 09/05/2012 09:40 AM, Tommi Virtanen wrote:
> On Wed, Sep 5, 2012 at 5:35 AM, Wido den Hollander <wido@widodh.nl> wrote:
>> I also thought it is on the roadmap to not read /etc/ceph/ceph.conf by
>> default with librbd/librados to take away these kind of issues.
>
> Hmm. I'm not intimately familiar with librbd, but it seems it just
> takes RADOS ioctx as an argument, and as far as I know (/can
> experiment in 2 minutes) you definitely have a choice of whether
> librados reads a config file or not..
>
> rbd the command line tool does read a config file by default; pass
> --conf=/dev/null to prevent that, then pass what ever config options
> you need to set as --foo-bar=baz.
That's right, all the configuration is done by calls to the
rados_conf_* functions [1] before calling rados_connect. It
looks like the libvirt storage pool doesn't call
rados_conf_read_file(cluster, NULL), so it won't read /etc/ceph/ceph.conf.
Josh
[1] http://ceph.com/docs/master/api/librados/#rados_conf_read_file
next prev parent reply other threads:[~2012-09-05 16:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 23:26 ceph-fs tests Smart Weblications GmbH - Florian Wiessner
2012-09-05 4:31 ` rbd 0.48 storage support for kvm proxmox distribution available Alexandre DERUMIER
2012-09-05 9:11 ` Wido den Hollander
2012-09-05 9:30 ` Alexandre DERUMIER
2012-09-05 12:35 ` Wido den Hollander
2012-09-05 14:00 ` Alexandre DERUMIER
2012-09-05 14:47 ` Josh Durgin
2012-09-05 16:40 ` Tommi Virtanen
2012-09-05 16:43 ` Tommi Virtanen
2012-09-05 16:44 ` Josh Durgin [this message]
2012-09-05 16:22 ` ceph-fs tests Tommi Virtanen
2012-09-05 16:37 ` Gregory Farnum
2012-09-05 16:42 ` Smart Weblications GmbH - Florian Wiessner
2012-09-05 16:52 ` Gregory Farnum
2012-09-06 23:22 ` Smart Weblications GmbH - Florian Wiessner
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=50478176.3010702@inktank.com \
--to=josh.durgin@inktank.com \
--cc=aderumier@odiso.com \
--cc=ceph-devel@vger.kernel.org \
--cc=tv@inktank.com \
--cc=wido@widodh.nl \
/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