From: Dan Mick <dan.mick@inktank.com>
To: ceph-devel <ceph-devel@vger.kernel.org>
Cc: ceph-users <ceph-users@lists.ceph.com>
Subject: Ceph developers, please note: changes to 'ceph' CLI tool in master branch
Date: Wed, 12 Jun 2013 14:20:48 -0700 [thread overview]
Message-ID: <51B8E630.4060709@inktank.com> (raw)
A large restructuring of the 'ceph' command-line tool has been pushed to
the master branch (and will be present in v0.65 as well). The ceph tool
you execute is now a Python script that talks to the cluster through
rados.py, the Python binding to librados.so (and, of course, then, with
librados.so).
Those who install/upgrade using packages will get the coordinated
versions of all the pieces, and can stop reading except as a matter of
interest.
However, those who build from source will need to be aware that
PYTHONPATH must include the source versions of src/pybind/rados.py, and
LD_LIBRARY_PATH must include .libs. Currently, you must set these in
your environment before running ./ceph.
I've just pushed a commit that will try to automatically determine this
situation: if the path to the ceph tool ends in src/, and there exist
.libs and pybind directories there, the tool will reset LD_LIBRARY_PATH
and PYTHONPATH and re-exec itself so that LD_LIBRARY_PATH takes effect.
It also issues a message to stderr noting this "developer mode":
*** DEVELOPER MODE: setting PYTHONPATH and LD_LIBRARY_PATH
This latest convenience feature for developers is in
commit e5184ea95031b7bea4264062de083045767d5dc3 in master.
--
Dan Mick, Filesystem Engineering
Inktank Storage, Inc. http://inktank.com
Ceph docs: http://ceph.com/docs
reply other threads:[~2013-06-12 21:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=51B8E630.4060709@inktank.com \
--to=dan.mick@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=ceph-users@lists.ceph.com \
/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