ceph/doc
Marc Schoechlin fca5ef8aba common: fix for broken rbdmap parameter parsing
This improves the broken parameter parsing discussed in #36327

Test expression for the parsing function:

PARAMS="options='lock_on_read,queue_depth=1024',id=archiv,keyring=/etc/ceph/ceph.client.archiv.keyring"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS="id=archiv,keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024'"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS=""
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS=",keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv,"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS="'keyring'=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv,"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

PARAMS="--keyring=/etc/ceph/ceph.client.archiv.keyring,options='lock_on_read,queue_depth=1024',id=archiv, # a comment"
echo -e " ORIGINAL PARAM: >>>$PARAMS<<<\nCONVERTED PARAM: >>>$(create_cmd_params "$PARAMS")<<<"

Fixes: https://tracker.ceph.com/issues/36327
Signed-off-by: Marc Schoechlin <ms@256bit.org]>
2019-01-14 14:29:59 -05:00
..
_ext
_static/js
_templates
_themes/ceph
api
ceph-volume doc/ceph-volume add zapping by osd-id examples 2018-12-07 12:30:27 -05:00
cephfs tools/cephfs: make 'cephfs-data-scan scan_links' update inotable 2019-01-07 16:49:31 +08:00
changelog
dev Merge PR #25818 into master 2019-01-08 14:15:28 -06:00
images
install Merge pull request #23729 from daikk115/master 2019-01-14 11:00:27 +01:00
man common: fix for broken rbdmap parameter parsing 2019-01-14 14:29:59 -05:00
mgr mgr/dashboard: updated SSO documentation 2019-01-14 14:24:56 +01:00
mon
rados Merge PR #25273 into master 2019-01-12 05:56:41 -06:00
radosgw Merge PR #25273 into master 2019-01-12 05:56:41 -06:00
rbd doc: updated Ceph documentation links 2019-01-04 16:32:21 -05:00
releases doc/releases/mimic: v13.2.4 2019-01-04 14:01:11 -06:00
scripts
start doc/start/ceph.conf: trim the sample ceph.conf file 2019-01-03 11:17:31 -06:00
.gitignore
architecture.rst
CMakeLists.txt
conf.py
favicon.ico
glossary.rst
governance.rst
index.rst
logo.png
man_index.rst
README.md