Commit Graph

9220 Commits

Author SHA1 Message Date
Nizamudeen A
990069d31f
Merge pull request #45981 from rhcs-dashboard/box-no-more-ultron
cephadm/box: Rootless podman box implementation

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: anthonyeleven <NOT@FOUND>
Reviewed-by: melissa-kun-li <NOT@FOUND>
2022-07-14 16:43:49 +05:30
Pere Diaz Bou
6f5ac1274b cephadm/box: Choose between docker or podman with --engine
With ./box.py --engine docker you can specify you want to use docker
instead of podman. With docker box.py command should be run with sudo.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-13 16:43:00 +02:00
Venky Shankar
8323b6fef5
Merge pull request #46950 from dparmar18/fix_dirfrags_doc
doc/cephfs/dirfrags: clarify the unit of threshold limits

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2022-07-12 12:26:45 +05:30
zdover23
edd4e553ef
Merge pull request #47045 from zdover23/wip-doc-2022-07-12-dev-guide-dependabot-GitHub-typo
doc/dev: s/github/GitHub/ in essentials.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-12 04:24:38 +10:00
zdover23
24252cb6dd
Merge pull request #47031 from zdover23/wip-doc-2022-07-10-internals-cephfs-delayed-deletion-edit
doc/dev: edit delayed-delete.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-12 04:17:44 +10:00
Zac Dover
f7581e05b0 doc/dev: s/github/GitHub/ in essentials.rst
This addresses a typo that Anthony D'Atri pointed out in
PR#47032. It didn't get addressed there, so it's being
addressed here.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-07-12 02:58:18 +10:00
Zac Dover
2711e8de80 doc/dev: add Dependabot section to essentials.rst
This PR adds a section to the Developer Guide chapter
"Essentials" that explains what Dependabot is. This
section is adapted from an email from Ernesto Puerta
to the CLT that was sent on 08 Jul 2022.

Co-authored-by: Ernesto Puerta <epuertat@redhat.com>>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-07-12 01:29:00 +10:00
Zac Dover
c186c5ec6c doc/dev: edit delayed-delete.rst
This PR improves the English in the "CephFS Delayed
Deletion" chapter of the Ceph Internals Guide (which
is stored in the doc/dev/ directory).

There was no pressing need to rewrite this. I just saw
that it could be tightened up, and I had the fifteen
minutes I needed to do it.

Co-author: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-07-11 01:33:51 +10:00
Kefu Chai
cc33ff6fef
Merge pull request #47023 from tchaikov/wip-doc-crimson
doc/dev/crimson: Correct the link to Scylla

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-09 08:42:00 +08:00
Kefu Chai
f877a4f3eb doc/dev/crimson: Correct the link to Scylla
the old one brings us to 404.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-07-09 00:03:16 +08:00
Rishabh Dave
9f95f96dc0
Merge pull request #45998 from dparmar18/implement_ln_cephfs_shell
cephfs-shell: ln command implementation

Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2022-07-08 19:26:34 +05:30
Pere Diaz Bou
d4e6763a19 cephadm/box: Rootless podman box implementation
Even though box is a rootless podman container, there are some
capabilities that are need like SYS_ADMIN, NET_ADMIN and SYS_TIME.

In rootless podman chronyd is not capabable of using adjtimex syscall
so we had to add -x flag to chronyd entrypoint which states it will
not try to call that function.

To test run `./box.py -v cluster start`.

To fix: There are some problems with /dev permissions so osds cannot be
deployed still. `./box.py cluster start --expanded` won't fully work.

Details:
- Dockerfile:
  - Fedora image instead of centos.
  - Tons of basic packages aren't installed, therefore, those are
  explicitly installed.
  - Some container folders are created. It isn't clear/tested whether
  those are needed.
  - .box_container is an empty file to identify if a command is ran on
  containers (see box.py for usage).
- box.py
  - podman-compose is missing some features but it compensates with args
  as --podman-run-args so you can add some extra commands whenever
  podman-compose calls podman run.
  - sudo ./box.py cluster start will exit since it can be dangerous.
  - Added some sed trickeroo to modify chronyd options. (I don't know
  how can I pass OPTIONS to it :P)
 - host.py
   - setup_ssh now is need on every box container.
- util.py
  - rice command printing :3.
  - run multiple commands with a multiline string.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-07-08 10:02:53 +02:00
Venky Shankar
e9b7e9b4ec
Merge pull request #46951 from dparmar18/fix_caps_doc
doc/cephfs/capabilities: Fixed some typos

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by:  Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2022-07-08 10:29:40 +05:30
Anthony D'Atri
cac497b6eb
Merge pull request #37831 from ybwang0211/put-obj-doc
doc:Add a description of the put obj API
2022-07-07 13:34:55 -07:00
Yuri Weinstein
8b4877474e
Merge pull request #46700 from sseshasa/wip-fix-mclock-config-set
osd: Set initial mClock QoS params at CONF_DEFAULT level

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-07 08:44:15 -07:00
dparmar18
0d094f8f52 doc/cephfs/dirfrags: clarify the unit of threshold limits
Rationale: There are many threshold limits for split and
           merge in this doc that just says like:
           "A directory fragment is eligible for splitting
           when its size exceeds `mds_bal_split_size`
           (default 10000)". Need to clarify what 10000 actually
           means. This applies to all other such entries in this
           doc.

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-07-07 13:10:57 +05:30
Josh Durgin
a8159908be
Merge pull request #46999 from athanatos/sjust/wip-clt-update
doc/governance.rst: add Yingxin Cheng <yingxin.cheng@intel.com> to CLT

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2022-07-06 14:28:20 -07:00
Anthony D'Atri
f6a70c0e8e
Merge pull request #46868 from vshankar/wip-cephfs-mirror-ha-doc
doc: document deploying multiple cephfs-mirror daemons
2022-07-06 07:46:26 -07:00
Casey Bodley
7f2dcd91fd
Merge pull request #46973 from cbodley/wip-56131
doc/rgw: update multisite doc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-06 08:38:14 -04:00
dparmar18
da779e1e93 doc/man/cephfs-shell.rst: documentation of ln command
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-07-06 16:31:28 +05:30
Sridhar Seshasayee
e0b5316171 osd: Set initial mClock QoS params at CONF_DEFAULT level
Create the initial mClock QoS params at CONF_DEFAULT level using
set_val_default(). This allows switching to a custom profile on a
running OSD and to make necessary changes to the desired QoS params.
Note that Switching to ‘custom’ profile and then subsequently changing
the QoS params using “config set osd.n …” will be at a higher level i.e.
at CONF_MON.

But When switching back to a built-in profile, the new values won’t take
effect since CONF_DEFAULT < CONF_MON. For the values to take effect, the
config keys created as part of the ‘custom’ profile must be removed from
the ConfigMonitor store after switching back to a built-in profile.

- Added a couple of standalone tests to exercise the scenario.
- Updated the mClock configuration document and the mClock internal
  documentation with a couple of typos relating to the best effort weights.
- Added new sections to the mClock configuration document outlining the
  steps to switch between the built-in and custom profile and vice-versa.

Fixes: https://tracker.ceph.com/issues/55153
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2022-07-06 16:15:58 +05:30
Yuval Lifshitz
74f6ce75de
Merge pull request #46978 from yuvalif/wip-yuval-lua-bucket-name
rgw/lua: allow bucket name override in pre request

Reviewed-by: anthonyeleven, cbodley
2022-07-06 08:32:30 +03:00
Anthony D'Atri
83b9fe2c97
Merge pull request #38727 from Huber-ming/front_confg
doc: add description of rgw_thread_pool_size
2022-07-05 20:46:42 -07:00
Anthony D'Atri
f1235a8ee0 doc/mgr: Fix capitalization in orchestrator.rst
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-07-05 19:23:36 -07:00
Anthony D'Atri
98fa07829d
Merge branch 'main' into front_confg 2022-07-05 18:27:00 -07:00
Yuval Lifshitz
89ef51a81b rgw/lua: allow bucket name override in pre request
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-07-05 21:12:57 +03:00
Casey Bodley
e5d71a7b34 doc/rgw/multisite: update pool names
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-07-05 13:00:04 -04:00
Casey Bodley
71a2d7b84a doc/rgw/multisite: 'zone rm' -> 'zone delete'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-07-05 13:00:00 -04:00
Casey Bodley
09034ff09a doc/rgw/multisite: remove redundant --endpoints from zone create
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-07-05 12:59:53 -04:00
Adam King
b349762a9d
Merge pull request #46926 from rkachach/fix_issue_53997
doc/cephadm/services: the config section of service specs

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-07-05 09:50:32 -04:00
Venky Shankar
05976ab9fb
Merge pull request #46157 from nmshelke/fix-55041
mgr/volumes: display in-progress clones for a snapshot

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-07-05 14:39:57 +05:30
jinhong.kim
6081729267
doc/cephadm/services: overriding loki, promtail conf file
Signed-off-by: jinhong.kim <jinhong.kim0@navercorp.com>
2022-07-05 12:30:31 +09:00
dparmar18
9f5aba9d87 doc/cephfs/capabilities: Fixed some typos
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-07-04 16:34:01 +05:30
Redouane Kachach
b67bd50a3b
doc/cephadm/services: the config section of service specs
Fixes: https://tracker.ceph.com/issues/53997

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-07-04 11:29:58 +02:00
Nikhilkumar Shelke
a8b819da71 docs: display in-progress clones for a snapshot
If any clone is in pending or in-progress state then
show these clones in 'fs subvolume snapshot info'
command output. This field only exists if clones are
in pending or in progress state.

Fixes: https://tracker.ceph.com/issues/55041
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
2022-07-04 13:31:40 +05:30
Anthony D'Atri
cf1415a2b2
Merge pull request #46919 from jsoref/spelling-docs
doc: Fix many spelling errors
2022-07-03 19:54:55 -07:00
Venky Shankar
dfcfe579f3 doc: document deploying multiple cephfs-mirror daemons
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-07-04 07:35:25 +05:30
Anthony D'Atri
fe2200527e
Merge pull request #46087 from rhcs-dashboard/update-centralized-logging-docs
doc: update docs for centralized logging
2022-07-03 16:32:59 -07:00
Josh Soref
8abce157f1 doc: Fix many spelling errors
* administrators
* allocated
* allowed
* approximate
* authenticate
* availability
* average
* behavior
* binaries
* bootstrap
* bootstrapping
* capacity
* cephadm
* clients
* combining
* command
* committed
* comparison
* compiled
* consequences
* continues
* convenience
* cookie
* crypto
* dashboard
* deduplication
* defaults
* delivered
* deployment
* describe
* directory
* documentation
* dynamic
* elimination
* entries
* expectancy
* explicit
* explicitly
* exporter
* github
* hard
* healthcheck
* heartbeat
* heavily
* http
* indices
* infrastructure
* inherit
* layout
* lexically
* likelihood
* logarithmic
* manually
* metadata
* minimization
* minimize
* object
* of
* operation
* opportunities
* overwrite
* prioritized
* recipe
* records
* requirements
* restructured
* running
* scalability
* second
* select
* significant
* specify
* subscription
* supported
* synonym
* throttle
* unpinning
* upgraded
* value
* version
* which
* with

Plus some line wrapping and additional edits...

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-07-02 23:38:18 -04:00
Anthony D'Atri
f6af9a616b
Merge pull request #42095 from thotz/rgwvaultdocupdate
doc/radosgw/vault: update the vault documentation
2022-07-02 20:04:12 -07:00
Zac Dover
893e68a8f5 doc/dev: add IRC registration instructions
This PR adds to the Developer Guide a link to the OFTC's IRC nick
registration instructions.
2022-07-03 01:50:44 +10:00
zdover23
963888a9bf
Merge pull request #46906 from zdover23/wip-doc-2022-06-30-devguide-basic-workflow-the-the-fix
doc/dev: s/the the/the/ in basic-workflow.rst
2022-07-03 01:19:45 +10:00
Anthony D'Atri
15ec9da7d8 doc/radosgw: Resolving conflicts with #43128
Signed-off-by: Anthony D'Atri <anthony,.datri@gmail.com>
2022-07-01 23:01:20 -07:00
Anthony D'Atri
a04f271f12
Merge branch 'main' into updategocephadminops 2022-07-01 13:26:08 -07:00
Anthony D'Atri
8e499ab2f9
Merge pull request #43128 from lbausch/adminops_php_binding_libraries
doc/radosgw/adminops: add PHP binding libraries
2022-07-01 13:24:24 -07:00
Adam King
1c0813b90e
Merge pull request #44493 from zenomri/wip-omri-cephadm-jaeger
mgr/cephadm: Add jaeger-tracing services support

Reviewed-by: Adam King <adking@redhat.com>
2022-07-01 16:00:50 -04:00
Adam King
997e377cb9
Merge pull request #46693 from rkachach/fix_issue_54399
doc/cephadm: enhancing daemon operations documentation

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-06-30 11:37:56 -04:00
Zac Dover
326034807d doc/dev: s/the the/the/ in basic-workflow.rst
This PR does exactly what it says: it changes a "the the"
to a "the".

I'd like to thank Josh Soref for bringing this
to my attention.
2022-06-30 21:08:51 +10:00
Samuel Just
771748a775 doc/governance.rst: add Yingxin Cheng <yingxin.cheng@intel.com> to CLT
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-06-29 16:07:16 -07:00
Josh Durgin
06d1268129
Merge pull request #46843 from jsoref/spelling-docs
doc/releases: Fixes spelling

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2022-06-29 12:30:22 -07:00