Commit Graph

7227 Commits

Author SHA1 Message Date
myoungwon oh
9261c747f0 doc: introduce Poseidon store
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Signed-off-by: Jiwoong Park <jw12.park@samsung.com>
Signed-off-by: Kyuho Son <kyuho.son@samsung.com>
Signed-off-by: Sungkyu Park <sk921.park@samsung.com>
2020-10-06 16:22:53 +09:00
zdover23
8e530674ff
Merge pull request #37516 from anthonyeleven/anthonyeleven/misc-doc-tweaks
doc/rbd: readability and spelling

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-10-05 06:24:41 +10:00
Joshua Schmid
b38bc14525 docs: <orch osd spec> is no longer present
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-10-02 10:22:55 +02:00
Anthony D'Atri
d3f9c6853d doc/rbd: readability and spelling
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-10-02 00:28:30 -07:00
Kefu Chai
87f23d0350
Merge pull request #37448 from anthonyeleven/patch-1
doc/rados: erasure-code-lrc corrections

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-10-02 11:29:14 +08:00
Jan Fajerski
239c4bc8f3
Merge pull request #34740 from jan--f/c-v-refactor-batch-use-create
ceph-volume: major batch refactor
2020-09-30 15:37:52 +02:00
Yuval Lifshitz
0bc89e5ec8
Merge pull request #37030 from Amrita42/wip-doc-Amy-radosgw
doc: Bucket notifications in the radosgateway-the usage of 'if not'
2020-09-30 13:51:52 +03:00
Jan Fajerski
6f1592a114 ceph-volume: address review comments
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:15 +02:00
Stephan Müller
b3fd05bbc5 mgr/dashboard: Add clay plugin support
The erasure code plugin "clay" is now supported by the dashboard. Now a
clay based profile can be created in the ec profile creation modal
dialog which can be found in the pool form.

The defaults of the plugin are calculated or preselected and shown in the
dashboard, therefore things are made mandatory even if they are not on the
cli, but as they automatically set the user doesn't have to set them,
but sees the defaults instantly before creating the profile.
(This is the same behavior that is used for all other supported
plugins.)

Fixes: https://tracker.ceph.com/issues/44433
Signed-off-by: Stephan Müller <smueller@suse.com>
2020-09-29 09:59:14 +02:00
Anthony D'Atri
e7afd9017d
doc/rados: erasure-code-lrc corrections
doc/rados: erasure-code-lrc corrections

- Clarified / corrected jerasure recovery characterization cf. https://library.eecs.utk.edu/storage/125phpw0xFqAut-cs-07-603.pdf
- Capitalization
- Word choice:  OSDs are discrete / cardinal, so "fewer" instead of  "less"
- Reworked a few phrases to be less stilted

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-09-28 23:42:10 -07:00
Courtney Caldwell
ca2261781e
mgr/dashboard/api: generate offline API docs
Generate Sphinx documentation from OpenAPI YAML spec:
- Fixed Docs controller doc generation
- Now dashboard Python doesn't fails if dashboard/frontend/dist doesn't exist
- OpenAPI added to @ceph/api CODEOWNERS
- Renamed Ceph-Dashboard API to Ceph REST or RESTful API.
- OpenAPI Docs: fixed decorators and docstrings.
- Sphinx Docs: updated dashboard and dev ones.

Co-authored-by: Ernesto Puerta <epuertat@redhat.com>
Fixes: https://tracker.ceph.com/issues/45863
Signed-off-by: Courtney Caldwell <ccaldwel@redhat.com>
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-09-28 12:03:03 +02:00
Jan Fajerski
d0735ce1c9 ceph-volume: address review comments, mostly tidying, clarification
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-25 11:50:23 +02:00
Jan Fajerski
fcacd0b96a idempotency must result in the same outcome
...not should

Co-authored-by: Joshua Schmid <jschmid@suse.de>
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-25 11:50:23 +02:00
Jan Fajerski
7695d1ec53 doc: update ceph-volume lvm batch docs
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-25 11:50:23 +02:00
Ramana Raja
e1c5220780 mds: add root_squash mode in MDS auth caps
Implement a root_squash mode in MDS auth caps to deny operations for
clients with uid=0 or gid=0 that need write access. It's mainly to
prevent operations such as accidental `sudo rm -rf /path`.

The root squash mode can be enforced in one of the following ways in
the MDS caps,
  'allow rw root_squash'
  (across file systems)
          or
  'allow rw fsname=a root_squash'
  (on a file system)
          or
  'allow rw fsname=a path=/vol/group/subvol00 root_squash'
  (on a file system path)

Fixes: https://tracker.ceph.com/issues/42451
Signed-off-by: Ramana Raja <rraja@redhat.com>
2020-09-25 14:34:35 +05:30
Ilya Dryomov
fa83dbd76e
Merge pull request #37385 from idryomov/wip-krbd-read-only-override
rbd: make common options override krbd-specific options

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-24 18:20:48 +02:00
Kefu Chai
5bb5f5a79e
Merge pull request #37384 from tchaikov/wip-crimson-doc
doc/dev/crimson: add instructions on how to build crimson

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-09-24 22:30:12 +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
Kefu Chai
e492447fde
Merge pull request #37236 from jschmid1/osd_rm_doc_fix
docs: remove docs should say osd_id instead of svc_id

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-24 15:51:05 +08:00
Kefu Chai
17d35b367d doc/dev/crimson: add instructions on how to build crimson
and add a link to Scylla's document on debugging with GDB

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-24 15:32:09 +08:00
zdover23
4d4fae3672
Merge pull request #37305 from zdover23/wip-doc-3-dev-guide-basic-workflow-date-update-sep-2020
doc/dev: updated date from 2016

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-24 15:11:50 +10:00
Zac Dover
5985eb9413 doc/dev: added the other four tests
This PR adds a list of tests that are performed
when a PR hits Github.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-24 09:49:36 +10:00
Lenz Grimmer
e066050636
Merge pull request #37136 from p-se/cd-add-per-rbd-graphs
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-09-23 12:59:06 +02:00
Amrita
1d640540e7 doc: Bucket notifications in the radosgateway-the usage of 'if not' is vague and creates confusion from a user perspective.
Signed-off-by: Amrita Sakthivel <asakthiv@redhat.com>
2020-09-22 16:50:04 +05:30
Zac Dover
f0d1ba50ce doc/dev: updated date from 2016
This updates a date from 2016 to 2020,
so that readers can be confident that the
procedure that they're reading has been recently
tested.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-22 19:10:15 +10: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
Kefu Chai
47e7cd0f65
Merge pull request #37207 from tchaikov/wip-doc-dev-osx
doc/dev/macos.rst: disable features not supported on osx

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-19 12:08:35 +08:00
Kefu Chai
266aa66aa9
Merge pull request #37252 from pponnuvel/spellcheck-docs
doc: Fixed a number of typos in documentation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-19 11:07:52 +08:00
Kefu Chai
7e15a95bab
Merge pull request #37216 from tchaikov/wip-doc-cephadmin-codeblock
doc/cephadm: use appropriate directive for formatting codeblocks

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-09-19 10:57:58 +08:00
Patrick Donnelly
7eceaf45de
Merge PR #37202 into master
* refs/pull/37202/head:
	mon: allow overriding the initial mon_host

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-18 18:54:57 -07:00
Neha Ojha
8ba0a61a51
Merge pull request #35906 from gregsfortytwo/wip-stretch-mode
Add a new stretch mode for 2-site Ceph clusters

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-18 14:31:45 -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
d7d1267686
docs: s/svc_id/osd_id
Fixes: https://tracker.ceph.com/issues/47402
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-09-18 14:33:40 +02: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
Joshua Schmid
a0065d4a95
Merge pull request #36969 from votdev/issue_46666_container_spec
cephadm: Introduce 'container' specification to deploy custom containers
2020-09-18 10:50:30 +02:00
David Zafman
a97a1cd858
Merge pull request #36397 from dzafman/wip-39012
distinguish unfound + impossible to find, vs start some down OSDs to get

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-17 17:30:43 -07:00
Kefu Chai
967104103c doc/cephadm: use appropriate directive for formatting codeblocks
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-17 23:42:27 +08:00
Patrick Donnelly
3428b020fd
Merge PR #37197 into master
* refs/pull/37197/head:
	doc: add "fs authorize" subcommand to ceph man page

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-17 06:42:33 -07:00
Volker Theile
7219377cfc cephadm: Introduce 'container' specification to deploy custom containers
Fixes: https://tracker.ceph.com/issues/46666

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-09-17 10:04:11 +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
Kefu Chai
4278e6b59e doc/dev/macos.rst: disable features not supported on osx
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-17 12:19:47 +08:00
Kefu Chai
36d67cf59e
Merge pull request #37187 from kamoltat/patch-1
doc/dev/macos: remove nonexistence flag `--with-toolchain`

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-17 12:04:08 +08:00
Patrick Donnelly
ed3782e60a
mon: allow overriding the initial mon_host
This overrides what the CephContext believes to be the current quorum of
monitors (retrieved from other instances of the MonClient), introduced
by [1]. Tests need to be able to target a specific monitor for
exercising forwarding and other things.

[1] 731e2db9fb
Fixes: https://tracker.ceph.com/issues/47180
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-16 18:34:23 -07:00
David Zafman
bb5058074d doc: Add doc and PendingRealeaseNotes
Add help about new list_unfound fields in troubleshooting-pg.rst
Add info in PendingReleaseNotes

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-09-16 16:40:10 -07:00
Kamoltat Sirivadhna
825df66bb8 doc/dev/macos: remove nonexistence flag --with-toolchain
` --with-toolchain` is an old option from llvm 6

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
2020-09-16 22:39:57 +07:00
Abhishek L
0f61e6ea28
Merge pull request #37109 from theanalyst/doc/releases/v15.2.5
doc: releases: notes for v15.2.5 octopus

Reviewed-By: Neha Ojha <nojha@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
2020-09-16 16:51:22 +02:00
Lenz Grimmer
b17ca08037
Merge pull request #35956 from ishanrai05/hover
mgr/dashboard: Display description on mouse hover

Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-16 13:49:54 +02:00
Matt Benjamin
a9e40accb8
Merge pull request #36255 from pritha-srivastava/wip-rgw-sts-user-as-owner
rgw/sts: adding code for federated user as owner in case of STS.
2020-09-16 07:09:14 -04:00
Joshua Schmid
25e5b8726d
Merge pull request #36898 from sebastian-philipp/doc-fix-orch-apply-mgr
doc/mgr: fix outdated `orch apply` docs.
2020-09-16 10:04:28 +02:00
Pritha Srivastava
57afbeed2f rgw/sts: adding documentation for a shadow user created for
a user that authenticates with oidc provider.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2020-09-15 21:39:00 +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
Greg Farnum
9506d09e3b Merge remote-tracking branch 'origin/master' into wip-stretch-mode
Conflicts:
	src/include/ceph_features.h

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2020-09-15 02:25:07 +00:00
Patrick Donnelly
9fcc49fae7
Merge PR #36125 into master
* refs/pull/36125/head:
	doc: cephfs/fs-nfs-exports: more cleanups
	doc: cephfs/fs-nfs-exports: command requires enabled orch module
	doc: cephfs/fs-nfs-exports.rst: write "RADOS" in ALL-CAPS
	doc: cephfs/fs-nfs-exports: use "NFS Ganesha" everywhere
	doc: cephfs: clarify that pseudo root path must be absolute
	doc: cephfs: fix misleading "ceph fs volume create" command
	doc: cephfs: fix misleading "ceph nfs create" command

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-09-14 13:49:50 -07:00
Patrick Seidensal
0c0e6ee496 mgr/dashboard: update dashboard docs with RBD image monitoring paragraph
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-09-14 14:33:17 +02:00
Greg Farnum
d02625331c Merge remote-tracking branch 'origin/master' into wip-stretch-mode 2020-09-14 02:32:19 +00:00
Abhishek Lekshmanan
62baa7653f doc: releases: notes for v15.2.5 octopus
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-09-11 22:13:14 +02:00
Ramana Raja
4b2911fc70
Merge pull request #32581 from rishabh-d-dave/wip-djf-15070
mon, cephfs: Add auth caps for CephFS fsids

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-09-12 00:00:52 +05:30
Ishan Rai
40b5cad9e4 mgr/dashboard: display description on mouse hover
Fixes: https://tracker.ceph.com/issues/36607

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-09-11 18:27:02 +00: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
Kotresh HR
83c4442c76 mgr/volumes: Make number of cloner threads configurable
The number of cloner threads is set to 4 and it can't be
configured. This patch makes the number of cloner threads
configurable via the mgr config option "max_concurrent_clones".

On an increase in number of cloner threads, it will just
spawn the difference of threads between existing number of
cloner threads and the new configuration. It will not cancel
the running cloner threads.

On decrease in number of cloner threads, the cases are as follows.

1. If all cloner threads are waiting for the job:
      In this case, all threads are notified and required number
   threads are terminated.

2. If all the cloner threads are processing a job:
      In this case, the condition is validated for each thread after
   the current job is finished and the thread is termianted if the
   condition for required number of cloner threads is not satisified.

3. If few cloner threads are processing and others are waiting:
      The threads which are waiting are notified to validate the
   number of threads required. If terminating those doesn't satisfy the
   required number of threads, the remaining threads are terminated
   upon completion of existing job.

Fixes: https://tracker.ceph.com/issues/46892
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2020-09-11 14:36:37 +05:30
zdover23
b22cf6da57
Merge pull request #37070 from zdover23/wip-doc-3-hacking-into-docs
doc/dev: add HACKING.rst to Dev Guide

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-11 08:04:24 +10:00
Neha Ojha
9e81f39733
Merge pull request #36747 from varshar16/wip-doc-update-about-priority-check
doc/developer_guide: Update about '--force-priority' flag

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-10 10:29:29 -07:00
Zac Dover
5760cff6e3 doc/dev: add HACKING.rst to Dev Guide
This commit exposes HACKING.rst through the
docs website. Formerly, HACKING.rst was just
a file that existed at /src/pybind/mgr/dashboard/
HACKING.rst. This commit also updates README.rst
to point to the new location of HACKING.rst.

Fixes: https://tracker.ceph.com/issues/47230
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-11 01:00:48 +10:00
Rishabh Dave
8301c44c70 doc/cephfs: add minor fixes for client-auth doc
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-09-10 17:10:51 +05:30
Douglas Fuller
91d5715be6 cephfs: add auth caps based on fs names
Add new auth caps to restrict access to clients based on fsnames. To
specify this, for example:

mds 'allow rw fsname=cephfs1'

This will restrict client access to fs name "cephfs1" only. Messages to
active MDS assigned to any other FSMap will be dropped. Standby MDS not
associated with an FSMap will accept messages from clients. To allow
multiple file systems, create MDS cap as follows -

mds 'allow rw fsname=cephfs1, allow rw fsname=cephfs2'

Fixes: http://tracker.ceph.com/issues/15070
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-09-10 17:10:51 +05:30
Douglas Fuller
811e48d6ff mon/MDSMonitor: add mon auth caps for CephFS names
Add a 'fsname' clause to mon auth caps to restrict a client's view
of the FSMap. Example:

mon 'allow rw fsname=cephfs2'

This would restrict the client's view of the FSMap to the MDSMap for
cephfs2. Any MDS allocated to a different filesystem will be invisible.
Global standby daemons are always visible. To allow multiple CephFSs,
add multiple caps:

mon 'allow rw fsname=cephfs2, allow rw fsname=cephfs2'

Fixes: http://tracker.ceph.com/issues/15070
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-09-10 17:10:51 +05:30
Kefu Chai
c80d5d47b3 doc/dev: reformat the sample for tree structure of a test suite
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-10 15:13:02 +08:00
Kefu Chai
3569244a50 doc/dev: use appropriate directive for code blocks
* use "code-block:: yaml" for qa suite samples
* use "prompt:: bash $" for shell commands using a non-root user

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-10 15:13:02 +08:00
Kefu Chai
c77382ac0e doc/dev: update supported distros of ceph
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-10 15:13:02 +08:00
Kefu Chai
549952edef doc/dev: drop unused label
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-10 15:13:02 +08:00
Kefu Chai
b17dcc1fc7 doc/dev: fix broken link
otherwise "make check" would be a link pointing to
https://wiki.sepia.ceph.com/doku.php

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-10 15:13:02 +08:00
Nathan Cutler
ab447c888b doc: cephfs/fs-nfs-exports: more cleanups
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-08 13:37:23 +02:00
Nathan Cutler
42a1194872 doc: cephfs/fs-nfs-exports: command requires enabled orch module
Clarify that the "ceph nfs cluster create" command requires an
enabled ceph-mgr orchestrator module.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-08 10:23:08 +02:00
Nathan Cutler
0dc9820f51 doc: cephfs/fs-nfs-exports.rst: write "RADOS" in ALL-CAPS
Since RADOS is an acronym, albeit a somewhat difficult-to-remember one,
it is customary to write it ALL-CAPS.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-08 08:46:59 +02:00
Nathan Cutler
bc8b2c3823 doc: cephfs/fs-nfs-exports: use "NFS Ganesha" everywhere
The document seemed to be wanting to refer to the software as "NFS
Ganesha", but was failing to do so in some places.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-08 08:46:56 +02:00
Nathan Cutler
ccc13cbff4 doc: cephfs: clarify that pseudo root path must be absolute
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-08 08:34:29 +02:00
Nathan Cutler
6f0c2496d6 doc: cephfs: fix misleading "ceph fs volume create" command
The "ceph fs volume create" command takes a placement string,
just like "ceph nfs cluster create" does. Align the documentation
so the placement string is explained in the same manner in both
places.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-08 08:34:29 +02:00
Nathan Cutler
865001247b doc: cephfs: fix misleading "ceph nfs create" command
When a reader sees "ceph nfs create <type=cephfs>" it's not
clear that this means they should type "ceph nfs create cephfs".

I also took this opportunity to clarify the command description
based on my testing and discussions with the CephFS developers.

Fixes: https://tracker.ceph.com/issues/46559
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-08 08:34:29 +02:00
Sebastian Wagner
428125f8a4
Merge pull request #36946 from zdover23/wip-docs-36796-fix
doc/cephadm: Document mgr/cephadm/manage_etc_ceph_ceph_conf

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-07 10:48:27 +02:00
Kefu Chai
e21bcb5e85 doc/dev: drop unused label
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-05 09:55:57 +08:00
Kefu Chai
e3abd2e7c8 doc/dev/developer_guide/tests-unit-tests: use literal "make check"
the ``make check`` is better than a hyper link here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-05 09:46:57 +08:00
Kefu Chai
51b7b05026 doc/dev: fix broken "make check" link
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-05 09:46:57 +08:00
Kefu Chai
40f9e1cee0 doc/dev: link to label not file
it's less error prone, and can help us avoid broken links if we move a
file around

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-05 09:46:57 +08:00
Kefu Chai
0f2489406a doc/dev: use prompt directive when appropriate
for 2 reasons:

* sphinx renders codeblock using python syntax highlighting by default,
  so it's not surprising that it highlight keywords like "export" in
  command line samples. so to render command line code blocks, we'd
  better specify the syntax explicitly for better rendering result.
* with the help of "prompt" directive, user is able to copy and paste
  the command without the prompt. for instance, with the default
  "::" directive, user will copy "$ ceph df", which is not very
  convenient, but with "prompt" directive, user only copies
  "ceph df".

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-05 00:03:52 +08:00
zdover23
018161417b
Merge pull request #36489 from zdover23/wip-doc-dev-merge-request-2020-aug
doc/dev: add proper merge commit format
2020-09-04 11:15:54 +10:00
Zac Dover
a62847404c doc/dev: add proper Merge PR format
This commit adds an example of proper Merge PR format
to the Developer Guide. Though this might not be of
great use to most people, Zac Dover will find it most
helpful.

Fixes: https://tracker.ceph.com/issues/46843
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-04 08:29:51 +10:00
Zac Dover
29e8cbc49b doc/cephadm: managing ceph.conf
This commit repairs PR#36796, which was about
updating the configuration settings in ceph.conf
without touching the file directly.

That commit wasn't building because of a couple of
back quotes that were touching the word that followed
them. So much like the princess from The Princess and
The Pea is Sphinx. So careful must we always be.

Fixes: https://tracker.ceph.com/issues/47265
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-04 07:31:13 +10:00
zdover23
2f3f05a130
Merge pull request #36954 from HeinleinSupport/wip-doc-remove-ceph-deploy
doc: remove references to ceph-deploy

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-09-04 07:15:35 +10:00
J. Eric Ivancich
5e20e9c99a
Merge pull request #33942 from pritha-srivastava/rgw-sts-new-keycloak-examples
rgw: Updating STS document with references to new keycloak

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2020-09-03 13:12:59 -04:00
Casey Bodley
1e4e394699
Merge pull request #36218 from mkogan1/wip-cache-put-post
rgw: add PUT and POST req support to data cache

Reviewed-by: Or Friedmann <ofriedma@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-09-03 10:38:17 -04:00
Robert Sander
85d5510d0d changes the link to internal
Signed-off-by: Robert Sander <gurubert@gurubert.de>
2020-09-03 10:29:06 +02:00
ypdai
0bfca9fc8e
doc: Update multisite-sync-policy.rst
Signed-off-by: ypdai <self19900924@gmail.com>
2020-09-03 10:51:01 +08:00
Robert Sander
1b42759e19 doc: remove references to ceph-deploy
The documentation still has many traces of ceph-deploy. This tool has
been deprecated with the Octopus release. This commit tries to remove
most of ceph-deploy occurences.

Signed-off-by: Robert Sander <r.sander@heinlein-support.de>
2020-09-02 21:14:36 +02:00
Vikhyat Umrao
4628a28f35
Merge pull request #36883 from mhackett/wip-mhackett-47190
doc: document tuning of radosgw lifecycle
2020-09-02 08:50:03 -07:00
Casey Bodley
71e6f5361c
Merge pull request #34293 from yuvalif/notifications_persistent_delivery2
rgw/notifications: add persistent delivery to notifications

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-09-02 09:35:57 -04: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
Lenz Grimmer
3f3cd6c989
Merge pull request #36222 from ishanrai05/docs
doc: Create new chapter about the Dashboard's landing page

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-09-02 08:51:15 +02:00
Patrick Donnelly
c27bf1ced2
Merge PR #35697 into master
* refs/pull/35697/head:
	doc: document cephfs mirroring developement status
	cephfs-mirror: cephfs-mirror daemon
	cephfs-mirror: FSMirror class to synchronize directory snaps
	common: introduce configuration options for cephfs-mirror daemon
	cephfs-mirror: InstanceWatcher class to register mirror instance
	cephfs-mirror: MirrorWatcher class to watch cephfs-mirror object
	cephfs-mirror: Watcher class to receive/ack watch notifications
	cephfs-mirror: ClusterWatcher class for watching peer changes
	librados: add API for fetching client addrs
	common: add cephfs_mirror subsystem
	cephfs-mirror: filesystem specification class

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-01 13:24:59 -07: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