Commit Graph

784 Commits

Author SHA1 Message Date
Kefu Chai
7e4eb6d801 doc/man/8/mount.ceph: fix the formatting
* fix the indent of item
* add an empty line before code block

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-10 12:28:28 +08:00
Sage Weil
a16e46ef05 Revert "Merge PR #39482 into master"
This reverts commit 9200b1ea8e, reversing
changes made to e42bbba9ca.

For running tests to narrow down the root cause of:
https://tracker.ceph.com/issues/49237

Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-03-01 11:27:18 -05:00
Sage Weil
5e197a21e6 Merge PR #39455 into master
* refs/pull/39455/head:
	doc/man/8/ceph: document --max option
	src/test/osd/safe-to-destroy: adjust test
	ceph: print command output to stdout even on error
	mgr/DaemonServer: include details in 'osd ok-to-stop' output
	mgr: add --max <n> to 'osd ok-to-stop' command
	mgr: relax osd ok-to-stop condition on degraded pgs

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-27 10:15:27 -05:00
Sage Weil
98f1be85d9 doc/man/8/ceph: document --max option
Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-26 13:11:43 -06:00
Rishabh Dave
cd760804a0 doc/ceph-fuse: add some options to man page
Add description for options --id and --client_fs to the ceph-fuse manual
and move description for -d closer to -f since both options are similar.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2021-02-22 17:25:03 +05:30
Sage Weil
1303bf252c Merge PR #39394 into master
* refs/pull/39394/head:
	tools/kvstore-tool: implement 'dissect' command
	kv/KeyValueHistogram: make Bluestore's DBHistogram class reusable.

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2021-02-21 11:51:32 -05:00
Jason Dillaman
0dc74ee027
Merge pull request #39478 from orozery/rbd-encryption-doc
doc/rbd: rbd encryption

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-21 09:15:00 -05:00
Or Ozeri
e45cd83af1 doc/rbd: rbd encryption
This commit adds documentation of the new rbd encryption feature

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-02-21 07:31:24 +02:00
Sage Weil
c896292d58 Revert "Merge pull request #37764 from mgfritch/cephadm-no-container-init"
This reverts commit f635555fe7, reversing
changes made to d4d3d17b23.

This PR seems to be (indirectly?) responsible for
  https://tracker.ceph.com/issues/49237

Also, it was causing the rados.py task's follow-up step to wait
for snap trimming to fail: it would time out a 'ceph osd dump --format=json'
command.  :/

Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-15 12:40:39 -05:00
Igor Fedotov
b437f7141c tools/kvstore-tool: implement 'dissect' command
This command shows information on key/value counts and lengths for KV
DB.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2021-02-12 16:55:13 +03:00
Michael Fritch
9ac2ab85cb
cephadm: run containers using --init by default
generally all ceph containers need an init process to both reap any
zombie pids and/or perform signal handling (e.g. coredumps, etc.)

Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-02-05 08:03:49 -07:00
Michael Fritch
d89fae5c9d
doc/man/cephadm: add missing --container-init flag
adopt command allows for the `--container-init` flag

Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-02-05 08:03:43 -07:00
Ilya Dryomov
fcb0334156
Merge pull request #39064 from idryomov/wip-doc-osdtimeout
doc: don't mention osdtimeout option in mount.ceph man page

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2021-01-26 13:37:10 +01:00
Ilya Dryomov
4cbd952916
Merge pull request #39060 from idryomov/wip-krbd-msgr2
krbd: add support for msgr2 (kernel 5.11)

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-26 11:46:08 +01:00
Ilya Dryomov
fd5f5722a2 doc: deprecate [no]cephx_require_signatures map options
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-01-25 21:17:44 +01:00
Ilya Dryomov
08f714964b krbd: add support for msgr2
Recognize ms_mode map option and filter initial monitor addresses
accordingly: if ms_mode is not given or ms_mode=legacy, discard v2
addresses, otherwise discard v1 addresses.

Note that nothing was discarded (i.e. v2 addresses were passed to
the kernel) previously.  The intent was to preserve that behaviour
in case ms_mode is not given, allowing to change the kernel default
in the future.  However, it turns out that mount.ceph helper has
been misguidedly discarding v2 addresses since commit eae0127513
("mount.ceph: fork a child to get info from local configuration"),
so that ship has sailed.

Fixes: https://tracker.ceph.com/issues/48976
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-01-25 21:17:44 +01:00
Ilya Dryomov
ed3913f02c doc: don't mention osdtimeout option in mount.ceph man page
It was deprecated over 8 years ago and will be entirely removed in
kernel 5.12.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-01-25 18:44:56 +01:00
Adam Kupczyk
882714e0c9 tools/bluestore: Add command 'show-sharding' to ceph-bluestore-tool
Add command 'show-sharding' to ceph-bluestore-tool.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2021-01-19 15:07:16 +01:00
Jason Dillaman
45addcbd2e
Merge pull request #38838 from orozery/rbd-encryption-cli
librbd: rbd encryption cli

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-01-13 19:49:23 -05:00
Patrick Donnelly
72c3b5e6a3
Merge PR #37876 into master
* refs/pull/37876/head:
	systemd: cephfs-mirror systemd unit files
	doc, man: man page for `cephfs-mirror` tool
	doc: document mirror daemon internals
	cephfs-mirror: switch to using PeerReplayer class
	cephfs-mirror: cancel ongoing snapshot syncs on dir removal
	cephfs-mirror: display peer snapshot sync stats
	cephfs-mirror: carve out (and implement) mirroring snapshots to peers
	cephfs-mirror: remove `cephfs_mirror_directory_choose_policy` option
	cephfs-mirror: include helper routines to separate source
	cephfs-mirror: remove peer only when peer is tracked
	cephfs-mirror: typedef ceph_mount_info as MountRef shared pointer
	cephfs-mirror: enclose json dump in object section
	cephfs-mirror: note current peer set
	cephfs-mirror: fix option typo and document certain options
	cephfs-mirror: remove unnecessary command line options
	cephfs-mirror: default log level 0/5

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-13 08:26:05 -08:00
Or Ozeri
b2c3d5d4b2 librbd: add encryption cli
This commit adds rbd encryption cli (encryption format and nbd map)

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2021-01-13 17:57:17 +02:00
Venky Shankar
42233bb5df doc, man: man page for cephfs-mirror tool
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-12 05:57:32 -05:00
Jeff Layton
dac04fc19f doc: document ms_mode option in the mount.ceph manpage
Fixes: https://tracker.ceph.com/issues/48838
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2021-01-11 15:42:14 -05:00
Venky Shankar
4dd3f42552 doc, man: man page for cephfs-top utility
Fixes: http://tracker.ceph.com/issues/48602
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-01-11 06:15:53 -05:00
Patrick Donnelly
d03064d930
Merge PR #38642 into master
* refs/pull/38642/head:
	rpm/deb/cmake: install mount.fuse.ceph man page

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-01-08 15:12:42 -08:00
Jason Dillaman
b885dfe455
Merge pull request #38670 from Rethan/doc-fix-max_part-description
doc/rbd-nbd: fix description for command rbd-nbd's parameter --max_part

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-21 09:13:37 -05:00
haoyixing
90e3740582 doc/rbd-nbd: fix description for command rbd-nbd's parameter --max_part
The parameter --max_part should actually override module param max_part,
not as nbds_max as it said.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
2020-12-21 16:46:45 +08:00
Ken Dreyer
ad85bdf8de rpm/deb/cmake: install mount.fuse.ceph man page
Install the mount.fuse.ceph man page and ship it in the ceph-fuse
packaging along with the corresponding mount.fuse.ceph binary.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2020-12-17 16:30:07 -07:00
Kefu Chai
c17c6c66eb ceph-conf: add --pid option
this change partially reverts 1f09b196657d21cec8fca9bc868bae307200aae8,
and add "--pid" option, so user can specify the pid to override the $pid
meta variable when expanding options.

Fixes: https://tracker.ceph.com/issues/47977
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-16 02:01:12 +08:00
haoyixing
0e7e036aa7 doc/dev: use http://docs.ceph.com/en/latest/ instead of /docs/master/ for docs
Several links under http://docs.ceph.com/docs/master/ were unable to access.
Change them to http://docs.ceph.com/en/lastest so we can access them directly.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
2020-11-24 12:49:47 +08:00
Jason Dillaman
c4be773b27 doc/man: add new RBD migration prepare source-spec optionals
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-02 19:58:55 -05:00
Jason Dillaman
0db501b2e3
Merge pull request #37273 from trociny/wip-rbd-nbd-persist
rbd-nbd: allow to restart daemon without destroying device

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-26 07:57:47 -04:00
Adam King
5224c5baf4 doc: document additional journal args in cephadm logs command
Signed-off-by: Adam King <adking@redhat.com>
2020-10-20 16:08:28 -04:00
Mykola Golub
5486050a8c doc: update rbd-nbd man
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-10-13 18:32:50 +01:00
Alex Marangone
9ecdb34342 doc: update osdmaptool man page
Signed-off-by: Alex Marangone <amarangone@digitalocean.com>
2020-10-12 14:17:42 +08:00
Ilya Dryomov
a107c47360 rbd: make common options override krbd-specific options
ceph-csi has added support for passing custom map and unmap options via
mapOptions and unmapOptions storage class parameters.  However, it also
uses --read-only for implementing ROX (ReadOnlyMany) PVs.  If the user
supplies "mapOptions: rw", they will get around the intended read-only
restriction (at least on the block device).

ceph-csi could be patched to use "-o ro", but it actually makes sense
for common options to win over device type-specific equivalents.

Fixes: https://tracker.ceph.com/issues/47625
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-09-24 10:50:24 +02:00
Ilya Dryomov
6827bbbcfb
Merge pull request #36927 from idryomov/wip-krbd-noudev
krbd: optionally skip waiting for udev events

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
2020-09-21 19:39:30 +02:00
Anthony D'Atri
815263b583 doc/man: Add optional reweight-by-utilization args
doc/mgr: Grammar and wording for Prometheus labels
doc/rados: Spelling and clarity

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-09-20 22:47:01 -07:00
Ponnuvel Palaniyappan
d99d520493 doc: Fixed a number of typos in documentation
Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
2020-09-18 18:17:15 +01:00
Joshua Schmid
4057f30187
Merge pull request #37059 from guits/guits-cephadm-shell-multiple-mounts
cephadm: support multiple mounts when running interactive shell
2020-09-18 10:57:52 +02:00
Rishabh Dave
e461a763c8 doc: add "fs authorize" subcommand to ceph man page
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-09-17 10:06:21 +05:30
Guillaume Abrioux
3ed3cff0d0 cephadm: support multiple mounts when running shell
This commit adds the multiple mounts support when running the
interactive shell.

ie:
```
--mount /foo /bar:/bar:z
```

Keeping default destination `/mnt` when no destination is passed for
backward compatibility. In the above example `/foo` will be mounted in
`/mnt/foo` and `/bar` in `/bar`

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-09-15 16:44:47 +02:00
Sebastian Wagner
49d36740a0
Merge pull request #36822 from sebastian-philipp/cephadm-container-init
cephadm: Add --container-init
2020-09-11 11:12:21 +02:00
Sebastian Wagner
5339315052 mgr/cephadm: Call cephadm with --container-image
The kernel treats any process with PID 1 different. Especially
it does not generate a core dump. Call podman / docker with
--init in order to get core dumps.

In addition, we can now properly reap zombies processes.

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

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-09-02 09:45:03 +02:00
Ilya Dryomov
2e657d134a krbd: optionally skip waiting for udev events
Add support for noudev option to allow mapping and unmapping images
from a privileged container in a non-initial network namespace (e.g.
when using Multus CNI).

Fixes: https://tracker.ceph.com/issues/47128
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-09-01 21:31:06 +02:00
Neha Ojha
78224c21d2 doc: add clean-temps to osdmaptool.rst
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-27 17:02:08 +00:00
Sebastian Wagner
786e1c175b cephadm: Add --container-image
The kernel treats any process with PID 1 different. Especially
it does not generate a core dump. Call podman / docker with
--init in order to get core dumps.

In addition, we can now properly reap zombies processes.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-26 14:48:31 +02:00
Sage Weil
dfd01d7653 blacklist -> blocklist
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-24 19:53:08 +00:00
Sebastian Wagner
20b679a892 doc/man/cephadm: Add missing parameters for ls
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-24 10:28:07 +02:00
Kefu Chai
c8bfc66f2d
Merge pull request #35789 from Reperator/fix-ceph-objectstore-tool-docs
doc/man/8/ceph-objectstore-tool.rst: remove duplicate lines

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-21 18:31:20 +08:00
Juan Miguel Olmo Martínez
08c4a53e79
cephadm: Allow users to use a custom dashboard ssl port
This modification allows the user to create a new bootstrap cluster using a predefined SSl port for the dashboard.
If firewall is enabled, any new manager daemon deployed in new hosts will take care of open the required ports for all the services enabled in the manager.

Two new parameters for cephadm tool (aka binary or standalone):
Command bootstrap:
--ssl-dashboard-port SSL_DASHBOARD_PORT
                      Port number used to connect with dashboard using SSL
Command deploy:
--tcp-ports TCP_PORTS
                      List of tcp ports to open in the host firewall

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2020-08-20 13:56:59 +02:00
Drunkard Zhang
2496ba7c7f doc: typo fix on output of osdmaptool example
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2020-08-04 13:50:03 +08:00
Sebastian Wagner
2a25db1cf1
Merge pull request #36012 from adk3798/cephadm_44886
mgr/cephadm: allow use of authenticated registry
2020-07-28 11:54:12 +02:00
Adam King
a63b030ded mgr/cephadm: allow use of authenticated registry
Add option to use custom authenticated registry during
bootstrap as well as a registry-login command in order
to let user change authenticated registry login info

Fixes: https://tracker.ceph.com/issues/44886
Signed-off-by: Adam King <adking@redhat.com>
2020-07-23 16:08:56 -04:00
Adam Kupczyk
d7a49b0005 os/bluestore: Add documentation for large bluefs log recovery
Adds additional paragraph to ceph-bluestore-tool documentation,
describing how to use *special* options --bluefs_replay_recovery
and --bluefs_replay_recovery_disable_compact to recover large
bluefs log.

Fixes: https://tracker.ceph.com/issues/46552
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-07-15 19:19:35 +02:00
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
Fabian Bonk
524026317c doc/man/8/ceph-objectstore-tool.rst: remove duplicate lines
Signed-off-by: Fabian Bonk <fabian.bonk@croit.io>
2020-06-26 11:11:11 +02: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