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
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com