Commit Graph

708 Commits

Author SHA1 Message Date
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
Kefu Chai
c17c6c66eb ceph-conf: add --pid option
this change partially reverts 1f09b19665,
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