Spdk/scripts
Patrick Ohly 4cfae03606 bdev/rbd: full control over client configuration
When the caller of the RPC API has all the necessary information about
how to access a Ceph cluster, then having to create configuration
files before calling the RPC API is problematic (has to touch files
owned by a local admin, changes must be removed again).

But having to encode support for certain configuration options in SPDK
is also problematic, because that might change depending on the
librados version.

The approach taken here is to merely pass through arbitrary key/value
config options. Existing config files are ignored when that happens.
The caller of the RPC then has full control over the connection setup
and can be sure that he does not inherit settings from a local file
accidentally.

In addition, user management is supported now, with or without a
config. This is useful for accessing a volume with a less privileged
user. Previously, passing NULL to rados_create implicitly chose the
"admin" user.

Change-Id: I5e7f36092df663a3d7ac503c04fc624a8fe1208e
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Reviewed-on: https://review.gerrithub.io/430460
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2018-12-05 17:49:57 +00:00
..
ceph test/rbd: add configurable monitoring IP address for ceph 2018-04-17 13:55:44 -04:00
perf scripts/perf: fix nvme perf scripts 2018-10-11 20:46:18 +00:00
rpc bdev/rbd: full control over client configuration 2018-12-05 17:49:57 +00:00
spdkcli test/spdkcli: Possibility to remove all lvol stores from lvol_store node 2018-12-03 21:20:36 +00:00
vagrant scripts/vagrant: add the ability to specify the nvme file. 2018-11-15 17:09:04 +00:00
check_format.sh check_format.sh: skip coding style checks if astyle is too old 2018-12-05 14:41:34 +00:00
common.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
config_converter.py config_converter: Fix conversion error to etc/spdk/vhost.conf.in 2018-11-19 17:58:05 +00:00
detect_cc.sh build: use conditional CC/CXX assignment for generated mk/cc.mk 2018-02-12 12:10:49 -05:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
gen_crypto.sh test/bdev: change crypto device conf based on environment 2018-10-24 23:29:28 +00:00
gen_nvme.sh test/vhost: load json configuration to vhost in spdk_vhost_run. 2018-05-30 00:53:12 +00:00
gen_rbd.sh test/bdev: add Ceph RBD bdev to bdev tests 2018-02-26 11:12:35 -05:00
genconfig.py configure: remove CONFIG.local symlink 2018-10-19 14:26:14 +00:00
pkgdep.sh test: Add support to configure ipsec git repo 2018-11-12 22:27:35 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh scripts: Add reset option to prep_benchmarks.sh 2018-01-09 13:40:59 -05:00
qat_setup.sh test: adjust scripts for 01.org qat driver 2018-11-15 20:08:16 +00:00
rpc_http_proxy.py scripts: Remote RPC access with authentication 2018-10-31 16:49:17 +00:00
rpc.py bdev/rbd: full control over client configuration 2018-12-05 17:49:57 +00:00
setup.sh setup.sh: don't unbind devices with LVM on top 2018-11-29 19:17:46 +00:00
spdkcli.py scripts/spdkcli: override configshell init 2018-10-01 15:04:05 +00:00