* Ceph developers, please note: changes to 'ceph' CLI tool in master branch
@ 2013-06-12 21:20 Dan Mick
0 siblings, 0 replies; only message in thread
From: Dan Mick @ 2013-06-12 21:20 UTC (permalink / raw)
To: ceph-devel; +Cc: ceph-users
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-12 21:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-12 21:20 Ceph developers, please note: changes to 'ceph' CLI tool in master branch Dan Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox