]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "ceph: parse CEPH_ARGS environment variable"
authorSage Weil <sage@inktank.com>
Mon, 23 Sep 2013 16:04:34 +0000 (09:04 -0700)
committerSage Weil <sage@inktank.com>
Thu, 26 Sep 2013 23:21:02 +0000 (16:21 -0700)
This reverts commit 67a95b9880c9bc6e858150352318d68d64ed74ad.

We now put CEPH_ARGS in the actual args we parse in python, which are passed
to rados piecemeal later.  This lets you put things like --id ... in there
that need to be parsed before librados is initialized.
(cherry picked from commit 97f462be4829f0167ed3d65e6694dfc16f1f3243)

src/ceph.in

index 547a090e1371c3e6ac3e2c5ae2a4280092459eed..35a600217521cac83b9dac23965bb34eec924136 100755 (executable)
@@ -558,7 +558,6 @@ def main():
     cluster_handle = rados.Rados(name=name, clustername=clustername,
                                  conf_defaults=conf_defaults, conffile=conffile)
 
-    cluster_handle.conf_parse_env()
     retargs = cluster_handle.conf_parse_argv(childargs)
     #tmp = childargs
     childargs = retargs