Commit Graph

678 Commits

Author SHA1 Message Date
Ilya Dryomov
4983eabd6f rbd: recognize compression_hint map option
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-07-10 20:12:46 +02:00
Ilya Dryomov
e3874a25f0 rbd: recognize crush_location and read_from_replica map options
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-07-10 20:12:40 +02:00
Daniel-Pivonka
1052b9db7b cephadm: add sudo ssh user option
add the ability to use a non-root users for connecting to hosts, this user requires pass wordless sudo access

useful for clusters that have root ssh access disabled

Fixes: https://tracker.ceph.com/issues/44866
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2020-06-30 08:57:24 -04:00
Casey Bodley
2a9a479f35
Merge pull request #35331 from yuvalif/fix_issue_43536
rgw/pubsub: remove deprecated radogw-admin pubsub creation commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-06-24 10:58:31 -04:00
Kefu Chai
6d76ebe15e doc/man/8/ceph-objectstore-tool.rst: drop UTF-8 chars
it's a regression introduced by 5a09d7a1ca

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-22 19:55:15 +08:00
Kiefer Chang
fbd442b47a doc/man: fix ceph-objectstore-tool description
There should be a `--` between the name and the description.

Fixes: https://tracker.ceph.com/issues/46130
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2020-06-22 12:18:29 +08:00
zdover23
d6cb690cf0
Merge pull request #33823 from zdover23/wip-doc-ceph-objectstore-tool-2020-mar
doc/man: add manpage for ceph-objectstore-tool
2020-06-20 14:24:06 +10:00
Zac Dover
86594f8020 incorporating dzafman's suggestions
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-06-19 14:30:25 +10:00
Michael Fritch
00baed29f5
doc/man: add missing cephadm shell --mount option
also clean-up `--mount` help usage

Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-06-17 19:58:59 -06:00
Kefu Chai
daccc7a0af
Merge pull request #34380 from jdkruzr/patch-1
doc/man: Update mount.ceph.rst for clarity

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-06-11 20:25:22 +08:00
Kefu Chai
e13193fcaa
Merge pull request #34667 from aclamk/wip-rocksdb-reshard
Resharding tool for sharded rocksdb

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-06-09 20:11:32 +08:00
Yuval Lifshitz
4c486c32c6 rgw/pubsub: remove deprecated radogw-admin pubsub creation commands
make topic and subscription read commands an official feature

Fixes: https://tracker.ceph.com/issues/43536

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-06-09 11:56:46 +03:00
Jarett DeAngelis
ae06ee9aab doc/man: Update mount.ceph.rst for clarity
Updated the "examples" section of mount.ceph.rst to reflect the
correct way to mount cephfs instances other than the default as of
Ceph Octopus and noted the `mds_namespace` option will be deprecated
in a future release as opposed to the new `fs` option.

Signed-off-by: Jarett DeAngelis <starkruzr@gmail.com>
2020-06-02 13:03:59 +08:00
Daniel-Pivonka
fed98dfab1 mgr/cephadm: cephadm bootstrap add --apply-spec <cluster.yaml>
Have a single command when setting up a cluster for Day 1

example spec

---
service_type: host
addr: jmo-node-00
hostname: jmo-node-00
labels:
- test
- test2
---
service_type: host
addr: jmo-node-01
hostname: jmo-node-01
labels:
- grafana
---
service_type: host
addr: jmo-node-02
hostname: jmo-node-02
---
service_type: grafana
placement:
  label: "grafana"
---
service_type: osd
placement:
  host_pattern: '*'
data_devices:
  all: true

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2020-05-28 12:26:48 -04:00
Kefu Chai
8f740b2b28
Merge pull request #34835 from jschmid1/osdspec_affinity
osd: add --osdspec-affinity flag

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-05-28 15:00:22 +08:00
Ricardo Marques
84c390f07f cephadm: Alow users to provide ssh config during bootstrap
Custom ssh config can be provided by using the '--ssh-config' option

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-05-27 12:00:52 +01:00
Ricardo Marques
ad75937489 cephadm: Allow users to provide ssh keys during bootstrap
Fixes: https://tracker.ceph.com/issues/45629

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-05-27 11:57:54 +01:00
Sebastian Wagner
d7f2f7d631
Merge pull request #35101 from sebastian-philipp/cephadm-ls-systemd-unit
cephadm: `ls`: also return systemd_unit

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-05-19 12:03:30 +02:00
Sebastian Wagner
de27851904 doc/cephadm: Synopsis: add cephadm unit
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-18 12:39:36 +02:00
Adam Kupczyk
38ac896211 kv/RocksDBStore: Added resharding control
Added possibility to control batch size and iterator refresh time for resharding process.
Replaced getenv() with new control for resharding unittests.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-05-14 22:43:56 +02:00
Nathan Cutler
4fa6f6493d doc: drop obsolete cache tier options from man page
Fixes: https://tracker.ceph.com/issues/45514
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-12 11:57:55 +02:00
J. Eric Ivancich
7eaa0da864
Merge pull request #34086 from ivancich/wip-deprecate-orphans-find
rgw: deprecate radosgw-admin orphans sub-commands

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-05-05 15:51:21 -04:00
J. Eric Ivancich
75483d4086 rgw: deprecate radosgw-admin orphans sub-commands
The orphans sub-commands have not been maintained for years and it's
unclear whether they're reliable. Additionally, they store logs on the
cluster, so if a user wants to run it to address a nearly full
cluster, it could push the user over the edge. As a result the
(currently experimental) `rgw-orphan-list` tool (separate executable
rather than a sub-command) has been created, which stores intermediate
results on the local filesystem.

Now all three orphans sub-commands produce a warning (on cerr) that
the command is being deprecated. Additionally all three now require
the --yes-i-really-mean-it command-line option to run.

This also documents the "bucket radoslist" sub-command to
`radosgw-admin` in its corresponding man page, a change that was
omitted from the prior commit that added "bucket radoslist"
documentation.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-05-05 14:33:32 -04:00
J. Eric Ivancich
9d5e9c3031 doc/rgw: add docs for rgw-orphan-list and ceph-diff-sorted
Add man pages and documentation for both tools.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-05-04 13:33:56 -04:00
Joshua Schmid
5c9178b8b5
doc: add --osdspec-affinity to ceph-osd docs
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-05-04 15:37:56 +02:00
Sebastian Wagner
9f13c126f6 doc/man: add cephadm
Fixes: https://tracker.ceph.com/issues/44971

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-23 13:01:02 +02:00
Kefu Chai
5153c491a7
Merge pull request #33901 from rs-fabrica/rados_man_page_options
doc/man/8/rados.rst: including all available options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-04-15 07:49:52 +08:00
Jeff Layton
444a4e7f9b
Merge pull request #33761 from jtlayton/wip-44441
doc: document wsync and nowsync mount options in mount.ceph(8)
2020-04-13 07:20:40 -04:00
Zac Dover
bb1ae0c556 Corrected four docs errors that prevented compilation.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-04-03 22:21:21 +10:00
Zac Dover
5a09d7a1ca Incorporated dzafman's suggestions in PR#33823.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-04-02 07:07:02 +10:00
Alexandre Bruyelles
400ace85db
doc/man/8/monmaptool.rst: update the page with the latest options
Signed-off-by: Alexandre Bruyelles <jack@jack.fr.eu.org>
2020-03-29 18:00:02 +02:00
Rodrigo Severo
2f77ef2de9 doc/man/8/rados: include all available options
Include all available options in documentation page.

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
2020-03-27 15:40:39 +08:00
Sean Fang
ab772c562a doc: Fix three link errors about mount cephfs
Some links about mount cephfs did not jump to the right place.

Signed-off-by: Sean Fang <silence.boy@live.cn>
2020-03-12 16:35:23 +08:00
Zac Dover
72b879b203 Add initial man page information for ceph-objectstore-tool
Signed-off-by: Zac Dover <zac.dover@gmail.com>

Add ceph-objectstore-tool.rst manpage to doc/man/8

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-03-11 06:44:02 +10:00
Jeff Layton
f4128a258a doc: document wsync and nowsync mount options in mount.ceph(8)
Fixes: https://tracker.ceph.com/issues/44441
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2020-03-05 09:18:40 -05:00
Nathan Cutler
58ea553b2d doc: adjust for mon_status changes in octopus
In octopus, we no longer have "ceph mon_status", but we do have
"ceph tell mon.<id> mon_status", so reflect this in the docs.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-03 22:47:07 +01:00
Patrick Donnelly
4e90fbbcdf
Merge PR #33491 into master
* refs/pull/33491/head:
	mount.ceph: add "fs=<fs_name>" mount options support

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-03-02 16:59:51 -08:00
Casey Bodley
affc79bdcf
Merge pull request #32660 from cbodley/wip-rgw-admin-zone-shards
rgw: Increase the default number of RGW bucket shards

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-03-02 09:38:04 -05:00
Sage Weil
20f76b09e7 Merge PR #33488 into master
* refs/pull/33488/head:
	doc/mgr/cephadm: document how to see the logs
	ceph: -W as shorthand for --watch-channel
	pybind/mgr_module: make mgr log message prefix a bit less verbose
	mgr/cephadm: silence remoto logger info messages
	mgr/cephadm: add misc info messages for major events
	mgr/cephadm: adjust logging
	mgr/cephadm: log to cluster channel by default
	pybind/mgr_module: infrastructure to allow logging to cluster log
	mgr/mgr_module: log to mgr log even when log_to_file
	mon: accept cephadm channel to 'ceph log last'
	ceph: allow watching channels aside from cluster and audit
	mon/LogMonitor: fix debug output for logmonitor output file parsing
	mgr: allow logging to any channel

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-02-27 19:46:20 -06:00
Casey Bodley
f57bf02370 radosgw-admin: allow zone[group] modify to configure index shards
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-02-27 15:12:22 -05:00
Sage Weil
48691b582b ceph: -W as shorthand for --watch-channel
'ceph -w' to watch default cluster channel
'ceph -W foo' to watch channel 'foo'

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-27 12:05:42 -06:00
Xiubo Li
7367382ef2 mount.ceph: add "fs=<fs_name>" mount options support
"fs" is one alias for "mds_namespace=" and it will be cleaner and
be more user-friendly to use. The "fs" will be translated to
"mds_namespace" before sending it to kernel space.

And the "mds_namespace" will be deprecated to use any more.
Update the documents at the same time.

Fixes: https://tracker.ceph.com/issues/44214
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-02-25 21:37:56 -05:00
Mykola Golub
eb53985dd7 rbd: add trash purge schedule commands
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-25 09:52:22 +00:00
Mykola Golub
8fe22f22f3 rbd: add 'mirror snapshot schedule' commands
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-02-20 16:24:28 +00:00
Sage Weil
b4e06c5b31 doc/rados/operations: adjust docs a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-06 07:09:29 -06:00
Jason Dillaman
27c9b1ecb8
Merge pull request #32735 from trociny/wip-doc-mirror-snapshot
doc: document "mode" param for "rbd mirror image enable" command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-24 14:30:22 -05:00
Mykola Golub
6171c26a94 doc: document "mode" param for "rbd mirror image enable" command
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-01-23 18:10:19 +00:00
Rishabh Dave
34c6f2f11a doc: minor fix in mount.ceph
Also, fix the indentation since we are already here.

Fixes: https://tracker.ceph.com/issues/43743
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-21 19:43:25 +05:30
Kefu Chai
c3a914a8c6 doc/man: improve bluefs-bdev-expand option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-10 20:16:01 +08:00
Patrick Donnelly
29b318a111
doc: remove reference to obsolete scrub command
Fixes: e9a5ce0897
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 15:35:01 -08:00