ceph/doc/man/8
Dan Mick cc10988850 ceph-rest-api: separate into module and front-end for WSGI deploy
To deploy ceph-rest-api within a WSGI server (apache/mod_wsgi,
nginx/uwsgi, etc.), there needs to be an importable (.py) module
that performs all init/config when imported.  ceph-rest-api was
close, but it needs to be named properly, and there's no argument
passing, so it needs to get args from a fixed file or the env.

Separate most of ceph-rest-api into pybind/ceph_rest_api.py, and make
its arguments come from the environment, and init errors be
ImportError exceptions.  Recase ceph-rest-api as a thin layer that
does the usual setup and arg parsing, and then sets args into the
environment and imports ceph_rest_api.py, catching exceptions and
reporting errors.  This allows standalone execution as usual.
ceph-rest-api grabs a few module globals (addr/port and the flask.app)
to use after it imports.

Accept cluster name, and do the ceph.conf search using cluster name
in the appropriate places in the searched-for files.

Also ceph_rest_api.py gets a little cleanup (fewer global variables,
cleaner conf file search algorithm, better error reporting on conf
load)

Also: doc updates, packaging updates to include ceph_rest_api.py

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-12 16:37:32 -07:00
..
ceph-authtool.rst doc: fix rbd permissions for unprotect 2012-12-30 00:06:11 -08:00
ceph-clsinfo.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-conf.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-debugpack.rst ceph-debugpack: updates 2012-10-09 14:13:57 -07:00
ceph-dencoder.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-fuse.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-mds.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-mon.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-osd.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-rbdnamer.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-rest-api.rst ceph-rest-api: separate into module and front-end for WSGI deploy 2013-07-12 16:37:32 -07:00
ceph-run.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph-syn.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
ceph.rst doc: update ceph man page link 2013-01-28 16:52:48 -08:00
cephfs.rst doc: make the cephfs man page marginally more truthful 2013-02-19 18:00:44 -08:00
crushtool.rst doc: Usage requires --num_osds. 2013-04-22 21:03:15 -07:00
librados-config.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
mkcephfs.rst doc/man/8/mkcephfs: update --mkfs a bit 2012-12-26 09:42:13 -08:00
monmaptool.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
mount.ceph.rst doc: Explicitly state mount.ceph two first arguments are fixed. 2012-08-02 16:03:19 -07:00
osdmaptool.rst ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
rados.rst rados: add whole-object 'clonedata' command 2013-05-06 16:45:12 -07:00
radosgw-admin.rst radosgw-admin manpage: Fix broken quotes 2012-10-15 18:18:49 -07:00
radosgw.rst doc: drop mention of MDS capabilities from radosgw man page 2012-07-02 16:54:08 +02:00
rbd-fuse.rst rbd-fuse: quick and dirty manpage 2013-01-31 18:44:16 -08:00
rbd.rst doc: update rbd man page for new options 2013-04-29 15:37:06 -07:00