All of lore.kernel.org
 help / color / mirror / Atom feed
From: Javen Wu <javen.wu@xtaotech.com>
To: ceph-devel@vger.kernel.org
Subject: librados option 'conf' and 'cluster'.
Date: Mon, 18 Jan 2016 18:07:37 +0800	[thread overview]
Message-ID: <569CB969.8080601@xtaotech.com> (raw)

Hi buddies,

Recently, I met a problem about librados option 'conf' and 'cluster'.
I created a CEPH cluster but not name it 'ceph', it triggers a lot of 
problems
on my openstack environment.
I found there are consumers of librados or librados python binding only 
respect
  'conf' option. However, the option 'cluster' is ignored usually.

So far, I suffered the problem in:
1. librados python binding
2. qemu rbd driver
3. cinder volume rbd driver

I saw there is rados_create2() API in librados besides rados_create(), but
it seems the API is not widedly used by consumers yet.

I am thinking whether we can do a compromise in librados. If consumers of
librados does not give an arguments for 'cluster'(cluster name) explicitly,
Can we use (basename(conffile).split('.conf')[0]) as cluster name by
default in librados?

So that all consumers of the librados can tolerate the non-'ceph' 
cluster name
without any change.

How do you guys think? If you agree to the change, I can do the quick 
fixing.

Thanks
Javen

             reply	other threads:[~2016-01-18 10:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18 10:07 Javen Wu [this message]
2016-01-19 15:09 ` librados option 'conf' and 'cluster' Sage Weil
2016-01-20 14:26   ` Javen Wu
2016-01-20 17:54     ` Josh Durgin

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=569CB969.8080601@xtaotech.com \
    --to=javen.wu@xtaotech.com \
    --cc=ceph-devel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.