]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agoqa: display in-progress clones for a snapshot 46157/head
Nikhilkumar Shelke [Thu, 5 May 2022 07:02:31 +0000 (12:32 +0530)]
qa: 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.

Fixes: https://tracker.ceph.com/issues/55041
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agodocs: display in-progress clones for a snapshot
Nikhilkumar Shelke [Thu, 5 May 2022 08:01:24 +0000 (13:31 +0530)]
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>
3 years agomgr/volumes: display in-progress clones for a snapshot
Nikhilkumar Shelke [Thu, 5 May 2022 06:56:03 +0000 (12:26 +0530)]
mgr/volumes: 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.

Fixes: https://tracker.ceph.com/issues/55041
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agoMerge pull request #46472 from lxbsz/wip-55331
Venky Shankar [Mon, 4 Jul 2022 02:57:54 +0000 (08:27 +0530)]
Merge pull request #46472 from lxbsz/wip-55331

mds: notify the xattr_version to replica MDSes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #46575 from batrick/i51332
Venky Shankar [Mon, 4 Jul 2022 02:55:15 +0000 (08:25 +0530)]
Merge pull request #46575 from batrick/i51332

qa: exercise metadata replication in workloads

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46919 from jsoref/spelling-docs
Anthony D'Atri [Mon, 4 Jul 2022 02:54:55 +0000 (19:54 -0700)]
Merge pull request #46919 from jsoref/spelling-docs

doc: Fix many spelling errors

3 years agoMerge pull request #46602 from batrick/i55980
Venky Shankar [Mon, 4 Jul 2022 02:52:50 +0000 (08:22 +0530)]
Merge pull request #46602 from batrick/i55980

mds,qa: some balancer debug messages (<=5) not printed when debug_mds is >=5

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
3 years agoMerge pull request #46770 from rzarzynski/wip-crimson-setallochint
Yingxin [Mon, 4 Jul 2022 01:24:15 +0000 (09:24 +0800)]
Merge pull request #46770 from rzarzynski/wip-crimson-setallochint

crimson: bring alloc hints to OpsExecuter, ignore them in SeaStore

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
3 years agoMerge pull request #46929 from rzarzynski/wip-crimson-ftbfs-segment_cleaner
Yingxin [Mon, 4 Jul 2022 01:15:00 +0000 (09:15 +0800)]
Merge pull request #46929 from rzarzynski/wip-crimson-ftbfs-segment_cleaner

crimson/tools: fix FTBFS due to seastore/segment_cleaner.h

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #46087 from rhcs-dashboard/update-centralized-logging-docs
Anthony D'Atri [Sun, 3 Jul 2022 23:32:59 +0000 (16:32 -0700)]
Merge pull request #46087 from rhcs-dashboard/update-centralized-logging-docs

doc: update docs for centralized logging

3 years agoMerge pull request #46942 from Schweinepriester/patch-1
Anthony D'Atri [Sun, 3 Jul 2022 23:19:11 +0000 (16:19 -0700)]
Merge pull request #46942 from Schweinepriester/patch-1

README.md: HTTP => HTTPS

3 years agoREADME.md: HTTP => HTTPS 46942/head
Kai [Sun, 3 Jul 2022 19:36:27 +0000 (21:36 +0200)]
README.md: HTTP => HTTPS

Switching the link http://ceph.com/ from HTTP to HTTPS, so https://ceph.com/, to skip the redirect when opening it.
(http://ceph.com/ is being redirected to https://ceph.com/)

Signed-off-by: Kai Hollberg <kai.hollberg@googlemail.com>
3 years agodoc: Fix many spelling errors 46919/head
Josh Soref [Sun, 26 Jun 2022 03:09:51 +0000 (23:09 -0400)]
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>
3 years agoMerge pull request #42095 from thotz/rgwvaultdocupdate
Anthony D'Atri [Sun, 3 Jul 2022 03:04:12 +0000 (20:04 -0700)]
Merge pull request #42095 from thotz/rgwvaultdocupdate

doc/radosgw/vault: update the vault documentation

3 years agoMerge pull request #46938 from zdover23/wip-doc-2022-07-03-dev-guide-irc-registration...
zdover23 [Sat, 2 Jul 2022 17:40:08 +0000 (03:40 +1000)]
Merge pull request #46938 from zdover23/wip-doc-2022-07-03-dev-guide-irc-registration-instructions-2

doc/dev: add IRC registration instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agodoc/dev: add IRC registration instructions 46938/head
Zac Dover [Sat, 2 Jul 2022 15:47:02 +0000 (01:47 +1000)]
doc/dev: add IRC registration instructions

This PR adds to the Developer Guide a link to the OFTC's IRC nick
registration instructions.

3 years agoMerge pull request #46906 from zdover23/wip-doc-2022-06-30-devguide-basic-workflow...
zdover23 [Sat, 2 Jul 2022 15:19:45 +0000 (01:19 +1000)]
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

3 years agoMerge pull request #43085 from thotz/updategocephadminops
Anthony D'Atri [Sat, 2 Jul 2022 07:52:19 +0000 (00:52 -0700)]
Merge pull request #43085 from thotz/updategocephadminops

doc/radosgw/adminops: add latest go ceph library to adminops doc

3 years agodoc/radosgw: Resolving conflicts with #43128 43085/head
Anthony D'Atri [Fri, 1 Jul 2022 20:28:04 +0000 (13:28 -0700)]
doc/radosgw: Resolving conflicts with #43128

Signed-off-by: Anthony D'Atri <anthony,.datri@gmail.com>
3 years agoMerge branch 'main' into updategocephadminops
Anthony D'Atri [Fri, 1 Jul 2022 20:26:08 +0000 (13:26 -0700)]
Merge branch 'main' into updategocephadminops

3 years agoMerge pull request #43128 from lbausch/adminops_php_binding_libraries
Anthony D'Atri [Fri, 1 Jul 2022 20:24:24 +0000 (13:24 -0700)]
Merge pull request #43128 from lbausch/adminops_php_binding_libraries

doc/radosgw/adminops: add PHP binding libraries

3 years agoMerge pull request #46784 from adk3798/backport-cephadm-label
Adam King [Fri, 1 Jul 2022 20:05:49 +0000 (16:05 -0400)]
Merge pull request #46784 from adk3798/backport-cephadm-label

script/ceph-backport.sh: add label entries for cephadm

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #46892 from rkachach/fix_issue_56415
Adam King [Fri, 1 Jul 2022 20:02:48 +0000 (16:02 -0400)]
Merge pull request #46892 from rkachach/fix_issue_56415

mgr/cephadm: fixing scheduler consistent hashing

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #44493 from zenomri/wip-omri-cephadm-jaeger
Adam King [Fri, 1 Jul 2022 20:00:50 +0000 (16:00 -0400)]
Merge pull request #44493 from zenomri/wip-omri-cephadm-jaeger

mgr/cephadm: Add jaeger-tracing services support

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46916 from ceph/revert-actions
David Galloway [Fri, 1 Jul 2022 14:33:26 +0000 (10:33 -0400)]
Merge pull request #46916 from ceph/revert-actions

Revert GitHub actions to label and backport doc/releases PRs

3 years agocrimson/tools: fix FTBFS due to seastore/segment_cleaner.h 46929/head
Radoslaw Zarzynski [Fri, 1 Jul 2022 14:32:29 +0000 (14:32 +0000)]
crimson/tools: fix FTBFS due to seastore/segment_cleaner.h

```
In file included from ../src/crimson/tools/store_nbd/tm_driver.cc:4:
../src/crimson/tools/store_nbd/tm_driver.h:7:10: fatal error: crimson/os/seastore/segment_cleaner.h: No such file or directory
    7 | #include "crimson/os/seastore/segment_cleaner.h"
      |
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #46922 from cyx1231st/wip-seastore-onodetree-compare-oid
Yingxin [Fri, 1 Jul 2022 11:37:54 +0000 (19:37 +0800)]
Merge pull request #46922 from cyx1231st/wip-seastore-onodetree-compare-oid

crimson/onode-staged-tree: expose compare method for ghobject_t

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #46860 from ronen-fr/wip-rf-good-grants
Ronen Friedman [Fri, 1 Jul 2022 09:48:03 +0000 (12:48 +0300)]
Merge pull request #46860 from ronen-fr/wip-rf-good-grants

osd/scrub: late-arriving reservation grants are not an error

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agocrimson/onode-staged-tree: expose compare method for ghobject_t 46922/head
Yingxin Cheng [Fri, 1 Jul 2022 08:26:44 +0000 (16:26 +0800)]
crimson/onode-staged-tree: expose compare method for ghobject_t

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/osd: implement CEPH_OSD_OP_SETALLOCHINT in OpsExecuter 46770/head
Radosław Zarzyński [Tue, 21 Jun 2022 14:04:46 +0000 (16:04 +0200)]
crimson/osd: implement CEPH_OSD_OP_SETALLOCHINT in OpsExecuter

This commits brings support setting allocation hints to `OpsExecuter`.

What is important to note that `SETALLOCHINTS`, at the ops execution
layer, behaves basically like `TOUCH`, and thus should be ignored
(for now) at the object store layer to not miss the part constituted
by `PGBackend::maybe_create_new_object()`.

Fixes: https://tracker.ceph.com/issues/56115
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/os: ignore CEPH_OSD_OP_SETALLOCHINT in SeaStore
Radosław Zarzyński [Tue, 21 Jun 2022 13:58:56 +0000 (15:58 +0200)]
crimson/os: ignore CEPH_OSD_OP_SETALLOCHINT in SeaStore

At the moment crimson ignores this operation at the layer
of ops execution. However, this handles only those alloc
hints that come from clients while `set_alloc_hint` can be
called from `ReplicatedRecoveryBackend::prep_push_target()`.
Likely this was the reason behind the following crash:

```
INFO  2022-06-20 11:03:38,952 [shard 0] osd - Entering state: Started/ReplicaActive/RepRecovering
ERROR 2022-06-20 11:03:39,002 [shard 0] seastore - SeaStore::_do_transaction_step: bad op 39
```

Fixes: https://tracker.ceph.com/issues/56115
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agoMerge pull request #46854 from rhcs-dashboard/update-cypress-9.6
Aashish Sharma [Fri, 1 Jul 2022 06:18:36 +0000 (11:48 +0530)]
Merge pull request #46854 from rhcs-dashboard/update-cypress-9.6

mgr/dashboard: update cypress to 9.7.0

3 years agoMerge pull request #46886 from xxhdx1985126/wip-56399
Yingxin [Fri, 1 Jul 2022 01:51:47 +0000 (09:51 +0800)]
Merge pull request #46886 from xxhdx1985126/wip-56399

crimson/os/seastore/omap_manager: bug fix for https://tracker.ceph.com/issues/56399

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #46834 from liu-chunmei/crimson-do_transactions
Yingxin [Fri, 1 Jul 2022 01:49:27 +0000 (09:49 +0800)]
Merge pull request #46834 from liu-chunmei/crimson-do_transactions

crimson/seastore:  cleanup do transactions create onode logic

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #46627 from liu-chunmei/crimson-fix-pg-prefix
Liu-Chunmei [Thu, 30 Jun 2022 23:13:04 +0000 (16:13 -0700)]
Merge pull request #46627 from liu-chunmei/crimson-fix-pg-prefix

crimson/osd: fix pg prefix error

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/test: touch object before access it. 46834/head
chunmei-liu [Thu, 30 Jun 2022 20:56:00 +0000 (13:56 -0700)]
crimson/test: touch object before access it.

no automatically create onode in seastore.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agocrimson/seastore: cleanup seastore do_transaction create onode logic
chunmei-liu [Fri, 24 Jun 2022 06:20:23 +0000 (23:20 -0700)]
crimson/seastore: cleanup seastore do_transaction create onode logic

not always create onode when it doesn't exists

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoRevert ".github: Label doc/releases PRs so tibdex/backport@v2 can backport" 46916/head
David Galloway [Thu, 30 Jun 2022 19:06:54 +0000 (15:06 -0400)]
Revert ".github: Label doc/releases PRs so tibdex/backport@v2 can backport"

This reverts commit 24e38224350394198c9f873800048d25b8c6548e.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoRevert ".github: Support for automatically creating backport PRs when labeled"
David Galloway [Thu, 30 Jun 2022 19:06:49 +0000 (15:06 -0400)]
Revert ".github: Support for automatically creating backport PRs when labeled"

This reverts commit f5f9459fb22d4c832cac88abfc1b92ab7304ed51.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoRevert ".github: Add labels while PR is open"
David Galloway [Thu, 30 Jun 2022 19:06:03 +0000 (15:06 -0400)]
Revert ".github: Add labels while PR is open"

This reverts commit 605b457c9857b370d1e545bc938be1c177151eee.

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #46049 from soumyakoduri/wip-skoduri-dbstore-build
Justin Caratzas [Thu, 30 Jun 2022 17:37:52 +0000 (13:37 -0400)]
Merge pull request #46049 from soumyakoduri/wip-skoduri-dbstore-build

rgw/dbstore: Fix build errors on centos9

3 years agoMerge pull request #46869 from nmshelke/fix-56384
Venky Shankar [Thu, 30 Jun 2022 16:57:14 +0000 (22:27 +0530)]
Merge pull request #46869 from nmshelke/fix-56384

qa/workunits/cephtool: check_response didn't find erasure-code string

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #46888 from kotreshhr/fix-stop.sh
Venky Shankar [Thu, 30 Jun 2022 16:52:11 +0000 (22:22 +0530)]
Merge pull request #46888 from kotreshhr/fix-stop.sh

stop.sh: Fix umount in stop.sh

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
3 years agoMerge pull request #46693 from rkachach/fix_issue_54399
Adam King [Thu, 30 Jun 2022 15:37:56 +0000 (11:37 -0400)]
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>
3 years agoMerge pull request #46887 from pritha-srivastava/wip-rgw-sts-teuthology-failure
Casey Bodley [Thu, 30 Jun 2022 13:46:24 +0000 (09:46 -0400)]
Merge pull request #46887 from pritha-srivastava/wip-rgw-sts-teuthology-failure

rgw/qa: fix for teuthology failure related to role metadata sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46858 from idryomov/wip-rbd-deep-copy-progress
Ilya Dryomov [Thu, 30 Jun 2022 12:47:10 +0000 (14:47 +0200)]
Merge pull request #46858 from idryomov/wip-rbd-deep-copy-progress

librbd: update progress for non-existent objects on deep-copy

Reviewed-by: Mykola Golub <mgolub@suse.com>
3 years agodoc/dev: s/the the/the/ in basic-workflow.rst 46906/head
Zac Dover [Thu, 30 Jun 2022 11:08:51 +0000 (21:08 +1000)]
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.

3 years agomgr/dashboard: update cypress to 9.7.0 46854/head
Nizamudeen A [Mon, 27 Jun 2022 11:58:14 +0000 (17:28 +0530)]
mgr/dashboard: update cypress to 9.7.0

Fixes: https://tracker.ceph.com/issues/56426
Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agocrimson/os/seastore/omap_manager: fix error when listing multiple omap tree inner... 46886/head
Xuehan Xu [Wed, 29 Jun 2022 03:08:46 +0000 (11:08 +0800)]
crimson/os/seastore/omap_manager: fix error when listing multiple omap tree inner node

Fixes: https://tracker.ceph.com/issues/56399
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agosrc/test/crimson/seastore: add unit test case for listing entries of omap trees highe...
Xuehan Xu [Wed, 29 Jun 2022 03:06:52 +0000 (11:06 +0800)]
src/test/crimson/seastore: add unit test case for listing entries of omap trees higher than 3 layers

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agocrimson/os/seastore/omap_manager: better debug outputs
Xuehan Xu [Sun, 26 Jun 2022 10:44:20 +0000 (18:44 +0800)]
crimson/os/seastore/omap_manager: better debug outputs

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoMerge pull request #46436 from cyx1231st/wip-seastore-generational-cleanning
Samuel Just [Thu, 30 Jun 2022 00:16:38 +0000 (17:16 -0700)]
Merge pull request #46436 from cyx1231st/wip-seastore-generational-cleanning

crimson/os/seastore: implement generational GC

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd: fix pg prefix error 46627/head
chunmei-liu [Fri, 10 Jun 2022 22:30:54 +0000 (15:30 -0700)]
crimson/osd: fix pg prefix error

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoMerge pull request #46843 from jsoref/spelling-docs
Josh Durgin [Wed, 29 Jun 2022 19:30:22 +0000 (12:30 -0700)]
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>
3 years agoMerge pull request #46881 from ivancich/wip-complete-op-spamming-log
Casey Bodley [Wed, 29 Jun 2022 18:38:00 +0000 (14:38 -0400)]
Merge pull request #46881 from ivancich/wip-complete-op-spamming-log

rgw: reduce logging level in rgw_bucket_complete_op

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
3 years agoMerge pull request #46880 from thinko/patch-1
Adam King [Wed, 29 Jun 2022 17:56:18 +0000 (13:56 -0400)]
Merge pull request #46880 from thinko/patch-1

doc/cephadm: osd: minor fixes in OSD config examples

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #46894 from zdover23/wip-doc-2022-06-29-doc-index-link-to-basic...
zdover23 [Wed, 29 Jun 2022 15:23:18 +0000 (01:23 +1000)]
Merge pull request #46894 from zdover23/wip-doc-2022-06-29-doc-index-link-to-basic-workflow

doc/index.rst: add link to Dev Guide basic workfl.

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agomgr/cephadm: fixing E128 warning 46892/head
Redouane Kachach [Wed, 29 Jun 2022 15:03:10 +0000 (17:03 +0200)]
mgr/cephadm: fixing E128 warning

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agodoc/index.rst: add link to Dev Guide basic workfl. 46894/head
Zac Dover [Wed, 29 Jun 2022 12:57:13 +0000 (22:57 +1000)]
doc/index.rst: add link to Dev Guide basic workfl.

This PR adds a link to the "Basic Workflow" section of the
Developer Guide on the landing page of docs.ceph.com.

This PR is meant to improve the documentation for developers
new to Ceph and to guide them to instructions that will allow
them to become full-fledged contributors to the Ceph project
as quickly as possible.

The "Basic Workflow" page of the Developer Guide contains
information that answers almost all of the questions that I had
about contributing to the Ceph project when I was new to it,
and I am finally acting on my long-held conviction that the
"Basic Workflow" page of the Developer Guide should have a more
prominent position in the documentation suite than it has had.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #46864 from rzarzynski/wip-crimson-gcc11
Kefu Chai [Wed, 29 Jun 2022 11:50:44 +0000 (19:50 +0800)]
Merge pull request #46864 from rzarzynski/wip-crimson-gcc11

crimson: switch to GCC11

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agomgr/cephadm: fixing scheduler consistent hashing
Redouane Kachach [Tue, 28 Jun 2022 13:32:19 +0000 (15:32 +0200)]
mgr/cephadm: fixing scheduler consistent hashing

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoqa/workunits/cephtool: check_response didn't find erasure-code string 46869/head
Nikhilkumar Shelke [Tue, 28 Jun 2022 11:13:13 +0000 (16:43 +0530)]
qa/workunits/cephtool: check_response didn't find erasure-code string

1. If data or metadata pool is already in-use by filesystem
then it is not allowed to reuse the same pool for another
filesystems.

2. Test is failing because above(1) restrictions/checks comes
before checking erasure-code pools. Hence test is failing
and not finding expected error string in output.

3. Proposed fix checks newly added error string instead of
'erasure-code'.

4. Also adding new tests to verify string 'erasure-code'
by passing --force option so that check for pools reuse(1)
will be skipped and check for 'erasure-code' will be hit.

Fixes: https://tracker.ceph.com/issues/56384
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
3 years agostop.sh: Fix umount in stop.sh 46888/head
Kotresh HR [Wed, 29 Jun 2022 06:50:23 +0000 (12:20 +0530)]
stop.sh: Fix umount in stop.sh

Introduced-by: 8a4a432e8b6e41ff13c33698cc053079f6786aa2
Signed-off-by: Kotresh HR <khiremat@redhat.com>
3 years agocrimson/os/seastore/segment_cleaner: increase avaliable ratio limit 46436/head
Yingxin Cheng [Fri, 24 Jun 2022 03:04:50 +0000 (11:04 +0800)]
crimson/os/seastore/segment_cleaner: increase avaliable ratio limit

Journal trimming may consume unexpected number of segments when the
available ratio limit is reached with user transactions blocked, causing
ceph_abort(). So increase the limit as a simple workaround.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: improve GC policies with modify-time
Yingxin Cheng [Fri, 24 Jun 2022 05:25:51 +0000 (13:25 +0800)]
crimson/os/seastore: improve GC policies with modify-time

* record_header_t to store the average modify time for dirty extents.
* Drop tracking rewrite-time.
* Drop the last-modify field in extent_info_t.
* Maintain modify-time during rewriting.
* Introduce 3 GC policies: greedy, benefit, and cost-benefit.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/segment_cleaner: improve log information
Yingxin Cheng [Fri, 24 Jun 2022 05:22:07 +0000 (13:22 +0800)]
crimson/os/seastore/segment_cleaner: improve log information

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: misc cleanups
Yingxin Cheng [Fri, 24 Jun 2022 04:02:25 +0000 (12:02 +0800)]
crimson/os/seastore: misc cleanups

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore: implement generational GC
Yingxin Cheng [Fri, 27 May 2022 09:13:06 +0000 (17:13 +0800)]
crimson/os/seastore: implement generational GC

Place extents into the dedicated RecordSubmitter by their data-category
and reclaimed-count. Segments of different data-category or
reclaimed-count should have different locality in the access patterns,
which is the foundation to form a desired bimodal distribution of
segment utilizations, so that GC can be more efficient.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agorgw/qa: fix for teuthology failure related to role metadata sync 46887/head
Pritha Srivastava [Thu, 23 Jun 2022 10:51:19 +0000 (16:21 +0530)]
rgw/qa: fix for teuthology failure related to role metadata sync
in case of pub sub zone.

fixes: https://tracker.ceph.com/issues/56175

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
3 years agoMerge pull request #46885 from myoungwon/wip-rename-seg-cleaner
Samuel Just [Wed, 29 Jun 2022 04:19:52 +0000 (21:19 -0700)]
Merge pull request #46885 from myoungwon/wip-rename-seg-cleaner

seastore: rename segment cleaner to async cleaner

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoseastore: rename segment cleaner to async cleaner 46885/head
myoungwon oh [Wed, 1 Jun 2022 12:55:27 +0000 (21:55 +0900)]
seastore: rename segment cleaner to async cleaner

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
3 years agolibrbd: make ImageCopyRequest::send_next_object_copy() return void 46858/head
Ilya Dryomov [Tue, 28 Jun 2022 18:47:25 +0000 (20:47 +0200)]
librbd: make ImageCopyRequest::send_next_object_copy() return void

Make send_object_copies() consistent with handle_object_copy() wrt
calling send_next_object_copy().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agorgw: reduce logging level in rgw_bucket_complete_op 46881/head
J. Eric Ivancich [Tue, 28 Jun 2022 13:52:49 +0000 (09:52 -0400)]
rgw: reduce logging level in rgw_bucket_complete_op

There are two instances where pedestrian logging happens at level 0
but should be at a much higher level, such as 20. Both are fixed.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agodoc/cephadm: osd: minor fixes in config examples 46880/head
Alex Handy [Tue, 28 Jun 2022 17:27:23 +0000 (10:27 -0700)]
doc/cephadm: osd: minor fixes in config examples

- Corrected drive counts (8 to 10) and rotational flag use (not consistent with HDD) in the "Multiple OSD specs for a single host" example
- Adjusted vendor names in "Multiple hosts with the same disk layout" for consistency of examples

Signed-off-by: Alex Handy <thinko@redhat.com>
3 years agoMerge pull request #46660 from pritha-srivastava/wip-rgw-user-policy-test-changes
Ali Maredia [Tue, 28 Jun 2022 16:04:02 +0000 (12:04 -0400)]
Merge pull request #46660 from pritha-srivastava/wip-rgw-user-policy-test-changes

Changes to integrate user-policy(iam) tests in teuthology.

Reviewed-by: Ali Maredia <amaredia@redhat.com>
3 years agoMerge pull request #46857 from zdover23/wip-doc-2022-06-27-pdonnelly-to-venky
zdover23 [Tue, 28 Jun 2022 13:58:39 +0000 (23:58 +1000)]
Merge pull request #46857 from zdover23/wip-doc-2022-06-27-pdonnelly-to-venky

doc/dev_guide: change CephFS lead to vshankar

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #46581 from linuxbox2/wip-admin-errortrans
Casey Bodley [Tue, 28 Jun 2022 13:32:58 +0000 (09:32 -0400)]
Merge pull request #46581 from linuxbox2/wip-admin-errortrans

rgw: return ENOENT for NO_SUCH_BUCKET in radosgw-admin bucket stats

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46846 from tchaikov/cmake-ccache
Kefu Chai [Tue, 28 Jun 2022 13:17:17 +0000 (21:17 +0800)]
Merge pull request #46846 from tchaikov/cmake-ccache

cmake: use CMAKE_<LANG>_COMPILER_LAUNCHER for configuring ccache

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46835 from CongMinYin/wip-install-pmdk
Kefu Chai [Tue, 28 Jun 2022 13:15:53 +0000 (21:15 +0800)]
Merge pull request #46835 from CongMinYin/wip-install-pmdk

install-deps: install pmdk libraries

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoceph.spec.in: use %enable_devtoolset11 to enable GTS-11 46864/head
Kefu Chai [Mon, 27 Jun 2022 13:18:57 +0000 (21:18 +0800)]
ceph.spec.in: use %enable_devtoolset11 to enable GTS-11

%enable_devtoolset11 redefines %___build_pre by appending
`source scl_source enable gcc-toolset-11` to it. `___build_pre` should
be able to populate this setting to both %build and %install. and hence
address the FTBFS where we need to use the tool chain from GTS-11.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 49459d92fec553246b35719e9defc0ad7582f701)

3 years agoceph.spec.in: enable toolset 11 also in install
Radoslaw Zarzynski [Mon, 27 Jun 2022 19:38:03 +0000 (19:38 +0000)]
ceph.spec.in: enable toolset 11 also in install

This can be surprising but we actually compile things during
the `install` stage of `rpm-build`. The example is the pybind's
`setup.py` which builds `rados_dummy.c`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph.spec.in: move and undef _annotated_build only for rhels.
Radoslaw Zarzynski [Tue, 28 Jun 2022 01:15:15 +0000 (01:15 +0000)]
ceph.spec.in: move and undef _annotated_build only for rhels.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoceph.spec.in: use gcc-toolset-11 for building crimson
Radosław Zarzyński [Tue, 31 May 2022 10:21:41 +0000 (12:21 +0200)]
ceph.spec.in: use gcc-toolset-11 for building crimson

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agodoc/dev_guide: change CephFS lead to vshankar 46857/head
Zac Dover [Mon, 27 Jun 2022 13:02:14 +0000 (23:02 +1000)]
doc/dev_guide: change CephFS lead to vshankar

This makes an overdue change. Venky Shankar is the
CephFS lead, and has been for a while.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoosd/scrub: late-arriving reservation grants are not an error 46860/head
Ronen Friedman [Mon, 27 Jun 2022 16:02:15 +0000 (16:02 +0000)]
osd/scrub: late-arriving reservation grants are not an error

... as, barring a bug, these are simply the successful grants
received after one replica had failed to secure the required
resources.

Fixes: https://tracker.ceph.com/issues/56400
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 years agodoc: update docs for centralized logging 46087/head
Aashish Sharma [Fri, 29 Apr 2022 05:13:45 +0000 (10:43 +0530)]
doc: update docs for centralized logging

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
3 years agoMerge pull request #46754 from ideepika/wip-opentelemetry-submodule
Deepika Upadhyay [Tue, 28 Jun 2022 09:36:48 +0000 (15:06 +0530)]
Merge pull request #46754 from ideepika/wip-opentelemetry-submodule

.gitmodules: add opentelemetry-cpp as a submodule

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #46829 from soumyakoduri/wip-skoduri-dbstore-fix
Soumya Koduri [Tue, 28 Jun 2022 05:47:58 +0000 (11:17 +0530)]
Merge pull request #46829 from soumyakoduri/wip-skoduri-dbstore-fix

rgw/dbstore: Fix crash in delete_stale_objs

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agolibrbd: update progress for non-existent objects on deep-copy
Ilya Dryomov [Sun, 26 Jun 2022 11:05:09 +0000 (13:05 +0200)]
librbd: update progress for non-existent objects on deep-copy

As a side effect of commit e5a21e904142 ("librbd: deep-copy image copy
state machine skips clean objects"), handle_object_copy() stopped being
called for non-existent objects.  This broke progress_object_no logic,
which expects to "see" all object numbers so that update_progress()
callback invocations can be ordered.  Currently update_progress() based
progress reporting gets stuck after encountering a hole in the image.

To fix, arrange for handle_object_copy() to be called for all object
numbers, even if ObjectCopyRequest isn't created.  Defer the extra call
to the image work queue to avoid locking issues.

Fixes: https://tracker.ceph.com/issues/56181
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #46673 from ljflores/wip-mempool-documentation
Laura Flores [Mon, 27 Jun 2022 19:01:58 +0000 (14:01 -0500)]
Merge pull request #46673 from ljflores/wip-mempool-documentation

doc/dev: improve wording and grammar of mempool page

3 years agoMerge pull request #46756 from tobias-urdin/mgr-influx-pool-name-keyerror
Yuri Weinstein [Mon, 27 Jun 2022 18:27:17 +0000 (11:27 -0700)]
Merge pull request #46756 from tobias-urdin/mgr-influx-pool-name-keyerror

mgr: influx: catch KeyError when looking up pool name

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #46732 from rzarzynski/wip-55355
Yuri Weinstein [Mon, 27 Jun 2022 18:26:34 +0000 (11:26 -0700)]
Merge pull request #46732 from rzarzynski/wip-55355

msg: fix deadlock when handling existing but closed v2 connection

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #46628 from tchaikov/wip-msg-cleanup
Yuri Weinstein [Mon, 27 Jun 2022 18:25:42 +0000 (11:25 -0700)]
Merge pull request #46628 from tchaikov/wip-msg-cleanup

msg, mount: cleanups

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
3 years agoMerge pull request #46571 from NitzanMordhai/wip-nitzan-add-pg-log-output
Yuri Weinstein [Mon, 27 Jun 2022 18:24:36 +0000 (11:24 -0700)]
Merge pull request #46571 from NitzanMordhai/wip-nitzan-add-pg-log-output

osd: add option to dump pg log to pg command

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocmake: rename a series of pmem libraries to pmdk 46835/head
Yin Congmin [Sat, 25 Jun 2022 09:43:52 +0000 (17:43 +0800)]
cmake: rename a series of pmem libraries to pmdk

At first, libpmem was the only library. Later, pmem related libraries
such as libpmemobj and libpmem2 were gradually added. These libraries
were also integrated into one named pmdk. So rename to pmdk.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
3 years agodoc/dev: improve wording and grammar of mempool page 46673/head
Laura Flores [Tue, 14 Jun 2022 17:35:04 +0000 (12:35 -0500)]
doc/dev: improve wording and grammar of mempool page

Signed-off-by: Laura Flores <lflores@redhat.com>
3 years agodoc/releases: Fix many spelling errors 46843/head
Josh Soref [Sun, 26 Jun 2022 03:09:51 +0000 (23:09 -0400)]
doc/releases: Fix many spelling errors

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years agoMerge pull request #46727 from cfsnyder/wip-54172-fix-scrub-abort
Ronen Friedman [Mon, 27 Jun 2022 16:25:30 +0000 (19:25 +0300)]
Merge pull request #46727 from cfsnyder/wip-54172-fix-scrub-abort

osd/scrubber/pg_scrubber.cc: fix bug where scrub machine gets stuck
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #46785 from kamoltat/wip-ksirivad-fix-56151
Kamoltat Sirivadhna [Mon, 27 Jun 2022 16:11:51 +0000 (12:11 -0400)]
Merge pull request #46785 from kamoltat/wip-ksirivad-fix-56151

src/mgr/DaemonServer.cc: fix typo in output gap >= max_pg_num_change
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #46761 from pdvian/wip-autoscaler-adjust
Kamoltat Sirivadhna [Mon, 27 Jun 2022 16:07:43 +0000 (12:07 -0400)]
Merge pull request #46761 from pdvian/wip-autoscaler-adjust

pybind/mgr/autoscaler: Donot show NEW PG_NUM value if autoscaler is not on
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>