]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agodoc/rados/config: edit auth-config-ref 50907/head
Zac Dover [Thu, 6 Apr 2023 00:21:01 +0000 (10:21 +1000)]
doc/rados/config: edit auth-config-ref

Line edit doc/rados/config/auth-config-ref.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50863 from zdover23/wip-doc-2023-04-05-rados-operations-monitorin...
zdover23 [Sat, 8 Apr 2023 03:53:31 +0000 (13:53 +1000)]
Merge pull request #50863 from zdover23/wip-doc-2023-04-05-rados-operations-monitoring-osd-pg-2-of-x

doc/rados/ops: edit monitoring-osd-pg.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #50795 from zdover23/wip-doc-2023-03-31-rados-configuration-common
zdover23 [Sat, 8 Apr 2023 03:38:23 +0000 (13:38 +1000)]
Merge pull request #50795 from zdover23/wip-doc-2023-03-31-rados-configuration-common

doc/rados: line-edit common.rst

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc/rados/ops: edit monitoring-osd-pg.rst (2 of x) 50863/head
Zac Dover [Wed, 5 Apr 2023 03:32:43 +0000 (13:32 +1000)]
doc/rados/ops: edit monitoring-osd-pg.rst (2 of x)

Line-edit monitoring-osd-pg.rst (2 of x).

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agodoc/rados: line-edit common.rst 50795/head
Zac Dover [Thu, 30 Mar 2023 22:54:05 +0000 (08:54 +1000)]
doc/rados: line-edit common.rst

Edit syntax and semantics in doc/configuration/common.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50883 from rishabh-d-dave/do_cmake-fedora37
Rishabh Dave [Fri, 7 Apr 2023 14:12:37 +0000 (19:42 +0530)]
Merge pull request #50883 from rishabh-d-dave/do_cmake-fedora37

do_cmake.sh: set python version for Fedora 37

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 years agoMerge pull request #50235 from mkogan1/wip-chuncked-put
Casey Bodley [Fri, 7 Apr 2023 13:17:13 +0000 (09:17 -0400)]
Merge pull request #50235 from mkogan1/wip-chuncked-put

rgw: handle old clients with transfer-encoding: chunked.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Marcus Watts <mwatts@redhat.com>
2 years agoMerge pull request #47457 from zenomri/wip-omri-full-putobj-trace
Yuval Lifshitz [Fri, 7 Apr 2023 09:51:07 +0000 (12:51 +0300)]
Merge pull request #47457 from zenomri/wip-omri-full-putobj-trace

rgw/tracing: end to end trace for put obj op

Reviwed-By: ljflores, yuvalif, cbodley, dang, ideepika, rzarzynski, yuriw
2 years agoMerge pull request #50928 from zdover23/wip-doc-2023-04-07-rados-operations-operating
Anthony D'Atri [Fri, 7 Apr 2023 01:17:49 +0000 (21:17 -0400)]
Merge pull request #50928 from zdover23/wip-doc-2023-04-07-rados-operations-operating

doc/rados/ops: line-edit operating.rst

2 years agodoc/rados/ops: line-edit operating.rst 50928/head
Zac Dover [Fri, 7 Apr 2023 00:46:50 +0000 (10:46 +1000)]
doc/rados/ops: line-edit operating.rst

Line-edit doc/rados/operations/operating.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge PR #50844 into main
Venky Shankar [Thu, 6 Apr 2023 17:41:38 +0000 (23:11 +0530)]
Merge PR #50844 into main

* refs/pull/50844/head:
qa: wait for MDSMonitor tick to replace daemons

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #47893 from kotreshhr/ceph-mgr-finisher-block
Yuri Weinstein [Thu, 6 Apr 2023 16:23:24 +0000 (09:23 -0700)]
Merge pull request #47893 from kotreshhr/ceph-mgr-finisher-block

mgr: Add one finisher thread per module

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #50630 from chrisphoffman/wip-rbd-59115
Ilya Dryomov [Thu, 6 Apr 2023 14:54:28 +0000 (16:54 +0200)]
Merge pull request #50630 from chrisphoffman/wip-rbd-59115

librbd: don't wait for a watch in send_acquire_lock() if client is blocklisted

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge PR #50896 into main
Venky Shankar [Thu, 6 Apr 2023 14:45:39 +0000 (20:15 +0530)]
Merge PR #50896 into main

* refs/pull/50896/head:
qa: load file system info if not created

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50792 from liangmingyuanneo/wip-rgw-duplicated-record
Casey Bodley [Thu, 6 Apr 2023 14:34:38 +0000 (10:34 -0400)]
Merge pull request #50792 from liangmingyuanneo/wip-rgw-duplicated-record

osd/cls_rgw: fix the duplicated record in cls_method_handle_t

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #49803 from soumyakoduri/wip-skoduri-sync-flow
Casey Bodley [Thu, 6 Apr 2023 14:26:41 +0000 (10:26 -0400)]
Merge pull request #49803 from soumyakoduri/wip-skoduri-sync-flow

rgw/sync-policy: Support disabling per-bucket replication

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2 years agoMerge pull request #50915 from idryomov/wip-rbd-mirror-labeled-perf-release-note
Ilya Dryomov [Thu, 6 Apr 2023 13:25:05 +0000 (15:25 +0200)]
Merge pull request #50915 from idryomov/wip-rbd-mirror-labeled-perf-release-note

PendingReleaseNotes: add a note for rbd-mirror daemon perf counters

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #50707 from max-licc/rgw_cache_disable
Casey Bodley [Thu, 6 Apr 2023 13:11:40 +0000 (09:11 -0400)]
Merge pull request #50707 from max-licc/rgw_cache_disable

rgw: fix rgw cache invalidation after unregister_watch() error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 years agoMerge pull request #50550 from cbodley/wip-58908
Casey Bodley [Thu, 6 Apr 2023 13:10:49 +0000 (09:10 -0400)]
Merge pull request #50550 from cbodley/wip-58908

rgw/keystone: use secret key from EC2 for sigv4 streaming mode

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge pull request #49409 from 5cs/fix-multipart-upload-encryption
Casey Bodley [Thu, 6 Apr 2023 13:08:51 +0000 (09:08 -0400)]
Merge pull request #49409 from 5cs/fix-multipart-upload-encryption

rgw/sse-s3: fix bucket encryption of multipart upload

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50884 from rhcs-dashboard/fix-grafana-e2e
Nizamudeen A [Thu, 6 Apr 2023 11:07:08 +0000 (16:37 +0530)]
Merge pull request #50884 from rhcs-dashboard/fix-grafana-e2e

mgr/dashboard: fix for grafana e2e failing on rgw daemon performance

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 years agoPendingReleaseNotes: add a note for rbd-mirror daemon perf counters 50915/head
Ilya Dryomov [Thu, 6 Apr 2023 10:32:11 +0000 (12:32 +0200)]
PendingReleaseNotes: add a note for rbd-mirror daemon perf counters

This was missed in commit 1a1477b9fd7f ("rbd-mirror: add and rename
perf counters for journal and snapshot mirroring").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agomgr/dashboard: fix for grafana e2e failing on rgw daemon performance 50884/head
Nizamudeen A [Wed, 5 Apr 2023 16:56:26 +0000 (22:26 +0530)]
mgr/dashboard: fix for grafana e2e failing on rgw daemon performance

Started happening after: https://github.com/ceph/ceph/pull/49248/

Fixes: https://tracker.ceph.com/issues/59353
Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50825 from zdover23/wip-doc-2023-04-02-rados-operations-health...
zdover23 [Thu, 6 Apr 2023 05:12:22 +0000 (15:12 +1000)]
Merge pull request #50825 from zdover23/wip-doc-2023-04-02-rados-operations-health-checks-2-of-x

doc/rados/ops: edit health-checks.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/ops: edit health-checks.rst (2 of x) 50825/head
Zac Dover [Sat, 1 Apr 2023 20:05:41 +0000 (06:05 +1000)]
doc/rados/ops: edit health-checks.rst (2 of x)

Edit docs/rados/operations/health-checks.rst (2 of x). PR#50674, the PR
that immediately precedes this PR in the series of PRs that line-edit
health-checks.rst, wrongly identified this series as having five
sections. This has been rectified by using the "2 of x" formulation.

Follows https://github.com/ceph/ceph/pull/50674

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoqa: load file system info if not created 50896/head
Patrick Donnelly [Wed, 5 Apr 2023 19:25:38 +0000 (15:25 -0400)]
qa: load file system info if not created

Mounts may create a Filesystem object which does not create the file
system. This causes self.id to be Null when we try to wait for daemons
to be up. Load it just in time!

Fixes: https://tracker.ceph.com/issues/59332
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoMerge pull request #50574 from rzarzynski/wip-bug-51900
Yuri Weinstein [Wed, 5 Apr 2023 21:53:02 +0000 (14:53 -0700)]
Merge pull request #50574 from rzarzynski/wip-bug-51900

msg/async: don't abort when public addrs mismatch bind addrs

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #49987 from ifed01/wip-ifed-fix-spillover-alert
Yuri Weinstein [Wed, 5 Apr 2023 21:51:57 +0000 (14:51 -0700)]
Merge pull request #49987 from ifed01/wip-ifed-fix-spillover-alert

os/bluestore: fix spillover alert

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50490 from ronen-fr/wip-rf-expected
Yuri Weinstein [Wed, 5 Apr 2023 21:35:28 +0000 (14:35 -0700)]
Merge pull request #50490 from ronen-fr/wip-rf-expected

common: bump up tl:expected to latest version

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #50479 from cbodley/wip-fmt-undef-header-only
Yuri Weinstein [Wed, 5 Apr 2023 21:33:48 +0000 (14:33 -0700)]
Merge pull request #50479 from cbodley/wip-fmt-undef-header-only

fmt: remove FMT_HEADER_ONLY defines

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #50095 from ifed01/wip-ifed-fix-fit-to-fast
Yuri Weinstein [Wed, 5 Apr 2023 21:32:21 +0000 (14:32 -0700)]
Merge pull request #50095 from ifed01/wip-ifed-fix-fit-to-fast

os/bluestore: allow 'fit_to_fast' selector for single-volume osd

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50499 from idryomov/wip-remove-osd-op-soid
Yuri Weinstein [Wed, 5 Apr 2023 21:31:53 +0000 (14:31 -0700)]
Merge pull request #50499 from idryomov/wip-remove-osd-op-soid

osd: remove unused OSDOp::soid member

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #50816 from idryomov/wip-list-watchers-clear
Ilya Dryomov [Wed, 5 Apr 2023 17:04:12 +0000 (19:04 +0200)]
Merge pull request #50816 from idryomov/wip-list-watchers-clear

librbd: clear Image::list_watchers() list before populating it

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #50859 from soumyakoduri/wip-skoduri-gc-cmd
Soumya Koduri [Wed, 5 Apr 2023 16:27:48 +0000 (21:57 +0530)]
Merge pull request #50859 from soumyakoduri/wip-skoduri-gc-cmd

rgw/gc: Check for valid RadosStore for `radosgw-admin gc` cmd

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agodo_cmake.sh: set python version for Fedora 37 50883/head
Rishabh Dave [Wed, 5 Apr 2023 16:27:26 +0000 (21:57 +0530)]
do_cmake.sh: set python version for Fedora 37

If do_cmake.sh is being exeuted on Fedora 37 set Python version to 3.11.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50842 from mkogan1/wip-ubu-SigDoesNotMatch-cont
Casey Bodley [Wed, 5 Apr 2023 15:57:05 +0000 (11:57 -0400)]
Merge pull request #50842 from mkogan1/wip-ubu-SigDoesNotMatch-cont

rgw : fix python script using s3cmd with error code 403 for ubuntu 20.04

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #50664 from rishabh-d-dave/fs-qa-caps-helper-mds
Rishabh Dave [Wed, 5 Apr 2023 14:17:36 +0000 (19:47 +0530)]
Merge pull request #50664 from rishabh-d-dave/fs-qa-caps-helper-mds

 qa/cephfs: upgrade gen_mds_cap_str() in caps_helper

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50665 from rishabh-d-dave/fs-qa-test-multifs-auth-simplify
Rishabh Dave [Wed, 5 Apr 2023 14:17:06 +0000 (19:47 +0530)]
Merge pull request #50665 from rishabh-d-dave/fs-qa-test-multifs-auth-simplify

 qa/cephfs: simplify some code in test_multifs_auth.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50557 from rhcs-dashboard/dashboard-edit-zone-zonegroup
Aashish Sharma [Wed, 5 Apr 2023 11:15:45 +0000 (16:45 +0530)]
Merge pull request #50557 from rhcs-dashboard/dashboard-edit-zone-zonegroup

mgr/dashboard: add support for editing RGW zonegroup

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoqa/cephfs: simplify some code in test_multifs_auth.py 50665/head
Rishabh Dave [Fri, 24 Mar 2023 11:47:36 +0000 (17:17 +0530)]
qa/cephfs: simplify some code in test_multifs_auth.py

test_mutlifs_auth.TestMDSCaps._create_client() not only creates a client
but also generate caps strings for the client as per the parameter this
method receives and and then writes the keyring to all remote machines.
This creates confusion when reading code on test methods in TestMDSCaps.
Let's re-arrange this code such that this confusion is avoided.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50843 from rhcs-dashboard/mirror-progress
Nizamudeen A [Wed, 5 Apr 2023 07:19:52 +0000 (12:49 +0530)]
Merge pull request #50843 from rhcs-dashboard/mirror-progress

mgr/dashboard: fix displaying mirror image progress

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #50855 from zdover23/wip-doc-2023-04-04-rados-operations-monitorin...
zdover23 [Wed, 5 Apr 2023 05:26:48 +0000 (15:26 +1000)]
Merge pull request #50855 from zdover23/wip-doc-2023-04-04-rados-operations-monitoring-osd-pg-1-of-x

doc/rados/ops: edit monitoring-osd-pg.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados/ops: edit monitoring-osd-pg.rst (1 of x) 50855/head
Zac Dover [Tue, 4 Apr 2023 03:29:15 +0000 (13:29 +1000)]
doc/rados/ops: edit monitoring-osd-pg.rst (1 of x)

Line-edit doc/rados/operations/monitoring-osd-pg.rst (1 of x).

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #48630 from rkachach/fix_issue_57931
Adam King [Wed, 5 Apr 2023 00:53:53 +0000 (20:53 -0400)]
Merge pull request #48630 from rkachach/fix_issue_57931

mgr/cephadm: Adding extra arguments support for RGW frontend

Reviewed-by: Adam King <adking@redhat.com>
2 years agomgr/dashboard: add support for editing RGW zonegroup 50557/head
avanthakkar [Thu, 30 Mar 2023 17:18:52 +0000 (22:48 +0530)]
mgr/dashboard: add support for editing RGW zonegroup

Fixes: https://tracker.ceph.com/issues/59239
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Co-authored-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #49248 from rhcs-dashboard/rm-perf-counters-prometheus-module
Avan [Tue, 4 Apr 2023 20:30:56 +0000 (02:00 +0530)]
Merge pull request #49248 from rhcs-dashboard/rm-perf-counters-prometheus-module

mgr/prometheus: introduce fetch_perf_counters_metrics module option

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50237 from rkachach/fix_issue_rgw_multisite_automated_testing
Adam King [Tue, 4 Apr 2023 18:29:41 +0000 (14:29 -0400)]
Merge pull request #50237 from rkachach/fix_issue_rgw_multisite_automated_testing

qa: Adding rgw multisite support testing

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #50736 from rkachach/fix_issue_59189
Adam King [Tue, 4 Apr 2023 18:21:31 +0000 (14:21 -0400)]
Merge pull request #50736 from rkachach/fix_issue_59189

mgr/cephadm: use a dedicated cephadm tmp dir to copy remote files

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #50846 from rkachach/fix_issue_59298
Adam King [Tue, 4 Apr 2023 18:13:56 +0000 (14:13 -0400)]
Merge pull request #50846 from rkachach/fix_issue_59298

mgr/cephadm: use SFTP instead of SCP to copy cephadm remote files

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agomgr/prometheus: introduce fetch_perf_counters_metrics module option 49248/head
Avan Thakkar [Thu, 1 Dec 2022 06:06:56 +0000 (11:36 +0530)]
mgr/prometheus: introduce fetch_perf_counters_metrics module option

Fixes: https://tracker.ceph.com/issues/58164
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Introducing module option in prometheus module to enable/disable support for exporting ceph daemons
perf counters as prometheus metrics, by default this option will be disabled. The use case for this option
is in case if ceph-exporter deployment failed for any reason then user still can have option to fetch metrics
from promethues exporter.

2 years agoMerge pull request #50743 from phlogistonjohn/jjm-update-mypy
Adam King [Tue, 4 Apr 2023 17:15:33 +0000 (13:15 -0400)]
Merge pull request #50743 from phlogistonjohn/jjm-update-mypy

update pinned mypy version

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agorgw/gc: Check for RadosStore for `radosgw-admin gc` command 50859/head
Soumya Koduri [Tue, 4 Apr 2023 05:19:08 +0000 (10:49 +0530)]
rgw/gc: Check for RadosStore for `radosgw-admin gc` command

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 years agolibrbd: avoid generating ESHUTDOWN in ManagedLock 50630/head
Ilya Dryomov [Tue, 28 Mar 2023 18:03:05 +0000 (20:03 +0200)]
librbd: avoid generating ESHUTDOWN in ManagedLock

EBLOCKLISTED has a very special meaning but happens to be an alias for
ESHUTDOWN.  If the client gets blocklisted, we always want to propagate
EBLOCKLISTED error code since it's generated by the OSD.

For ManagedLock use case of indicating that an operation on the lock
raced with lock shut down, meaning that a higher level request can just
be restarted, ERESTART should do.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agolibrbd: fix recursive locking on owner_lock in ImageDispatch
Ilya Dryomov [Tue, 28 Mar 2023 17:52:42 +0000 (19:52 +0200)]
librbd: fix recursive locking on owner_lock in ImageDispatch

needs_exclusive_lock() calls acquire_lock() with owner_lock held.
If lock acquisiton races with lock shut down, ManagedLock completes
ImageDispatch context directly and dispatch is retried immediately on
the same thread (due to DISPATCH_RESULT_RESTART).  This results in
recursion into needs_exclusive_lock() and, barring locking issues, can
lead to unbounded stack growth if lock shut down takes its time.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agotest/librados_test_stub: drop watches only after actually blocklisting
Ilya Dryomov [Tue, 4 Apr 2023 15:21:16 +0000 (17:21 +0200)]
test/librados_test_stub: drop watches only after actually blocklisting

Eliminate a race where a client is able to submit an operation after
WatchCtx2::handle_error() is invoked on its watch due to blocklisting.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agotest/librados_test_stub: raise a watch error on blocklisting
Ilya Dryomov [Thu, 30 Mar 2023 16:22:24 +0000 (18:22 +0200)]
test/librados_test_stub: raise a watch error on blocklisting

Simulate getting MWatchNotify CEPH_WATCH_EVENT_DISCONNECT message after
the client is blocklisted.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #50600 from rhcs-dashboard/delete-rgw-multisite
Pedro Gonzalez Gomez [Tue, 4 Apr 2023 14:43:16 +0000 (16:43 +0200)]
Merge pull request #50600 from rhcs-dashboard/delete-rgw-multisite

mgr/dashboard: delete rgw multisite

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50279 from cfsnyder/wip-58857-ceph-volume-fast-allocs
Guillaume Abrioux [Tue, 4 Apr 2023 13:08:52 +0000 (15:08 +0200)]
Merge pull request #50279 from cfsnyder/wip-58857-ceph-volume-fast-allocs

ceph-volume: fix issue with fast device allocs when there are multiple PVs per VG

2 years agoMerge pull request #50819 from bluikko/bluikko-cephfs-volumes-prompts
Anthony D'Atri [Tue, 4 Apr 2023 11:45:01 +0000 (07:45 -0400)]
Merge pull request #50819 from bluikko/bluikko-cephfs-volumes-prompts

doc/cephfs: fix prompts in fs-volumes.rst

2 years agoMerge pull request #50845 from rhcs-dashboard/update-grafana-version
Nizamudeen A [Tue, 4 Apr 2023 06:01:23 +0000 (11:31 +0530)]
Merge pull request #50845 from rhcs-dashboard/update-grafana-version

monitoring/grafana: update the grafana version

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #50851 from zdover23/wip-doc-2023-04-04-rados-operations-monitorin...
Anthony D'Atri [Mon, 3 Apr 2023 21:19:32 +0000 (17:19 -0400)]
Merge pull request #50851 from zdover23/wip-doc-2023-04-04-rados-operations-monitoring-ceph-medic-link

doc/rados/ops: add ceph-medic documentation

2 years agodoc/rados/ops: add ceph-medic documentation 50851/head
Zac Dover [Mon, 3 Apr 2023 20:57:27 +0000 (06:57 +1000)]
doc/rados/ops: add ceph-medic documentation

Add a link to the ceph-medic documentation to
doc/rados/operations/monitoring.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50834 from zdover23/wip-doc-2023-04-03-rados-operations-monitorin...
zdover23 [Mon, 3 Apr 2023 19:59:19 +0000 (05:59 +1000)]
Merge pull request #50834 from zdover23/wip-doc-2023-04-03-rados-operations-monitoring-2-of-3

doc/rados: edit ops/monitoring.rst (2 of 3)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit ops/monitoring.rst (2 of 3) 50834/head
Zac Dover [Sun, 2 Apr 2023 22:03:29 +0000 (08:03 +1000)]
doc/rados: edit ops/monitoring.rst (2 of 3)

Line-edit the second third of doc/rados/operations/monitoring.rst.

Follows https://github.com/ceph/ceph/pull/50670.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #50548 from adk3798/incompatible-apply
Adam King [Mon, 3 Apr 2023 19:19:12 +0000 (15:19 -0400)]
Merge pull request #50548 from adk3798/incompatible-apply

cephadm: handle exceptions applying extra services during bootstrap

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50759 from ceph/wip-yuriw-fix-upgrades-main
Yuri Weinstein [Mon, 3 Apr 2023 18:30:56 +0000 (11:30 -0700)]
Merge pull request #50759 from ceph/wip-yuriw-fix-upgrades-main

qa/upgrade: consistently use the tip of the branch as the start version

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agomgr/cephadm: use SFTP instead of SCP to copy cephadm remote files 50846/head
Redouane Kachach [Mon, 3 Apr 2023 16:34:25 +0000 (18:34 +0200)]
mgr/cephadm: use SFTP instead of SCP to copy cephadm remote files
fixes: https://tracker.ceph.com/issues/59298

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2 years agomonitoring/grafana: update the grafana version 50845/head
Nizamudeen A [Mon, 3 Apr 2023 16:23:39 +0000 (21:53 +0530)]
monitoring/grafana: update the grafana version

Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoqa: wait for MDSMonitor tick to replace daemons 50844/head
Patrick Donnelly [Mon, 3 Apr 2023 16:10:56 +0000 (12:10 -0400)]
qa: wait for MDSMonitor tick to replace daemons

Fixes: https://tracker.ceph.com/issues/59297
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoMerge pull request #50404 from batrick/i58923
Ilya Dryomov [Mon, 3 Apr 2023 15:53:03 +0000 (17:53 +0200)]
Merge pull request #50404 from batrick/i58923

mon/MgrMonitor: plug PAXOS for batched MgrMap/OSDMap

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agomgr/dashboard: fix displaying mirror image progress 50843/head
Pere Diaz Bou [Mon, 3 Apr 2023 15:22:35 +0000 (17:22 +0200)]
mgr/dashboard: fix displaying mirror image progress

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
2 years agoqa/upgrade: consistently use the tip of the branch as the start version 50759/head
Yuri Weinstein [Wed, 29 Mar 2023 21:32:38 +0000 (14:32 -0700)]
qa/upgrade: consistently use the tip of the branch as the start version

Also corrected line to use image: quay.ceph.io/ceph-ci/ceph:*
In order to make sure that latest versions of ceph is used as initial install

Fixes: https://tracker.ceph.com/issues/58914
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 years agorgw/sync-policy: Support disabling per-bucket replication 49803/head
Soumya Koduri [Fri, 20 Jan 2023 10:33:15 +0000 (16:03 +0530)]
rgw/sync-policy: Support disabling per-bucket replication

When the zones replicate, allow disabling replication
for specific buckets using sync policy.

These are the semantics to be followed while resolving the policy
conflicts -

==================================================
zonegroup bucket Result
==================================================
enabled enabled enabled
allowed enabled
forbidden disabled
allowed enabled enabled
allowed disabled
forbidden disabled
forbidden enabled disabled
allowed disabled
forbidden disabled

In case multiple group policies are set to reflect for any sync pair
(<source-zone,source-bucket>, <dest-zone,dest-bucket>), the following
rules are applied in the order -
1) Even if one policy status is FORBIDDEN, the sync will be disabled
2) Atleast one policy should be ENABLED for the sync to be allowed.

Various cases tested are outlined here -
https://docs.google.com/document/d/19oBQA-bYxLBR4BnekA2DTwJJaTFvjAfrqAk9G3RGU0I/edit#heading=h.4qac9dpc76m

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 years agorgw : fix python script using s3cmd with error code 403 ubuntu 20.04 50842/head
Mark Kogan [Sun, 2 Apr 2023 13:23:25 +0000 (16:23 +0300)]
rgw : fix python script using s3cmd with error code 403 ubuntu 20.04

Fixes: https://tracker.ceph.com/issues/54104
Signed-off-by: Mark Kogan <mkogan@redhat.com>
2 years agodoc/cephfs: fix prompts in fs-volumes.rst 50819/head
Ville Ojamo [Fri, 31 Mar 2023 14:11:59 +0000 (21:11 +0700)]
doc/cephfs: fix prompts in fs-volumes.rst

Modernize prompts in example commands in file
fs-volume.rst and use a root prompt correctly instead
of using a non-privileged prompt when privileges
are needed.

Indent all JSON in example command outputs with
four spaces consistently instead of a mix of four and
two spaces.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 years agoMerge pull request #50818 from anthonyeleven/anthonyeleven/tweak-fs-volumes.rst
Anthony D'Atri [Sun, 2 Apr 2023 05:47:36 +0000 (01:47 -0400)]
Merge pull request #50818 from anthonyeleven/anthonyeleven/tweak-fs-volumes.rst

doc/cephfs: Improve fs-volumes.rst

2 years agodoc/cephfs: Improve fs-volumes.rst 50818/head
Anthony D'Atri [Fri, 31 Mar 2023 13:37:52 +0000 (09:37 -0400)]
doc/cephfs: Improve fs-volumes.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 years agoMerge pull request #50670 from zdover23/wip-doc-2023-03-26-rados-operations-monitorin...
zdover23 [Fri, 31 Mar 2023 19:48:39 +0000 (05:48 +1000)]
Merge pull request #50670 from zdover23/wip-doc-2023-03-26-rados-operations-monitoring-1-of-3

doc/rados: edit ops/monitoring.rst (1 of 3)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit ops/monitoring.rst (1 of 3) 50670/head
Zac Dover [Sat, 25 Mar 2023 18:51:50 +0000 (04:51 +1000)]
doc/rados: edit ops/monitoring.rst (1 of 3)

Line-edit the first third of doc/rados/operations/monitoring.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #46905 from lxbsz/wip-quota
Rishabh Dave [Fri, 31 Mar 2023 18:42:19 +0000 (00:12 +0530)]
Merge pull request #46905 from lxbsz/wip-quota

mds: align quota.max_bytes to 4MB or 4KB

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #49882 from zhsgao/dump_resolve_status
Rishabh Dave [Fri, 31 Mar 2023 18:40:05 +0000 (00:10 +0530)]
Merge pull request #49882 from zhsgao/dump_resolve_status

mds: fix bug of dump_resolve_status

Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50024 from kotreshhr/mds-unused-function-removal
Rishabh Dave [Fri, 31 Mar 2023 18:36:49 +0000 (00:06 +0530)]
Merge pull request #50024 from kotreshhr/mds-unused-function-removal

mds: Remove unused declaration of the function

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #50746 from cbodley/wip-rgw-bucket-full-sync-compat
Casey Bodley [Fri, 31 Mar 2023 18:34:42 +0000 (14:34 -0400)]
Merge pull request #50746 from cbodley/wip-rgw-bucket-full-sync-compat

rgw: set init_check_compat when bucket sync status doesn't exist

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2 years agoMerge pull request #50644 from cbodley/wip-59135
Ali Maredia [Fri, 31 Mar 2023 18:27:26 +0000 (14:27 -0400)]
Merge pull request #50644 from cbodley/wip-59135

qa/rgw: upgrade tests restrict supported distros

2 years agomgr/dashboard: delete rgw multisite 50600/head
Pedro Gonzalez Gomez [Mon, 20 Mar 2023 18:53:06 +0000 (19:53 +0100)]
mgr/dashboard: delete rgw multisite

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 years agoMerge pull request #50690 from cbodley/wip-59174
Casey Bodley [Fri, 31 Mar 2023 17:48:52 +0000 (13:48 -0400)]
Merge pull request #50690 from cbodley/wip-59174

rgw/admin: 'data sync status' formats binary error repo entries

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 years agoMerge pull request #50462 from matutter/main
Casey Bodley [Fri, 31 Mar 2023 17:47:48 +0000 (13:47 -0400)]
Merge pull request #50462 from matutter/main

sts: Fixes get_cert_url improper url path concatenation

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
2 years agoMerge pull request #50623 from VVoidV/fix-rgw_admin
Casey Bodley [Fri, 31 Mar 2023 17:47:18 +0000 (13:47 -0400)]
Merge pull request #50623 from VVoidV/fix-rgw_admin

[RGW]fix minor bug in rgw_admin

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge pull request #50648 from cbodley/wip-58035
Casey Bodley [Fri, 31 Mar 2023 17:43:01 +0000 (13:43 -0400)]
Merge pull request #50648 from cbodley/wip-58035

rgw: fix CopyObj crash after admin override

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2 years agoMerge pull request #50817 from bluikko/patch-10
Anthony D'Atri [Fri, 31 Mar 2023 13:18:15 +0000 (09:18 -0400)]
Merge pull request #50817 from bluikko/patch-10

doc/cephfs: refer to placement of MDS and not NFS in fs-volumes.rst

2 years agodoc/cephfs: refer to MDS and not NFS in fs-volumes.rst 50817/head
Ville Ojamo [Fri, 31 Mar 2023 12:01:39 +0000 (19:01 +0700)]
doc/cephfs: refer to MDS and not NFS in fs-volumes.rst

Placement should talk about MDS placement and not NFS Ganesha placement.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 years agolibrbd: clear Image::list_watchers() list before populating it 50816/head
Ilya Dryomov [Thu, 30 Mar 2023 11:58:20 +0000 (13:58 +0200)]
librbd: clear Image::list_watchers() list before populating it

The "append to the passed list" behavior is confusing and not what the
corresponding C API (rbd_watchers_list) or other similar C++ APIs (e.g.
list_lockers) do.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #50793 from petrutlucian94/allperms 49838/head
Ilya Dryomov [Fri, 31 Mar 2023 08:54:45 +0000 (10:54 +0200)]
Merge pull request #50793 from petrutlucian94/allperms

include: move ALLPERMS definition to compat.h

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoinclude: move ALLPERMS definition to compat.h 50793/head
Lucian Petrut [Thu, 30 Mar 2023 12:14:10 +0000 (12:14 +0000)]
include: move ALLPERMS definition to compat.h

The Windows CI job started to fail as some libcephfs tests that use
ALLPERMS have been moved [1] to a separate file which doesn't have
the ALLPERMS definition.

  /ceph/src/test/libcephfs/suidsgid.cc:240:36: error: ‘ALLPERMS’ was
  not declared in this scope
  240 |   ASSERT_EQ(stx.stx_mode & (mode_t)ALLPERMS, before_mode);

We'll move this definition to compat.h so that we won't have to
redefine it in each file that uses it.

Note that we're moving the Windows "fs_compat.h" include up,
ensuring that the constants used by ALLPERMS are defined.

[1] https://github.com/ceph/ceph/commit/254eeb2730881ee48b4743e1422749d5b643f52a

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #49586 from mohan7427/mohan/batch_args-issue
Guillaume Abrioux [Fri, 31 Mar 2023 07:07:43 +0000 (09:07 +0200)]
Merge pull request #49586 from mohan7427/mohan/batch_args-issue

ceph-volume: fix drive-group issue that expects the batch_args to be a string

2 years agoMerge pull request #50554 from zdover23/wip-doc-2023-03-16-rados-operations-pg-repair
zdover23 [Fri, 31 Mar 2023 06:45:06 +0000 (16:45 +1000)]
Merge pull request #50554 from zdover23/wip-doc-2023-03-16-rados-operations-pg-repair

doc/rados: line-edit pg-repair.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #45354 from dvanders/dualdoc
zdover23 [Fri, 31 Mar 2023 06:25:31 +0000 (16:25 +1000)]
Merge pull request #45354 from dvanders/dualdoc

doc/msgr2: update dual stack status

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 years agorgw: fix rgw cache invalidation after unregister_watch() error 50707/head
lichaochao [Tue, 28 Mar 2023 03:17:26 +0000 (05:17 +0200)]
rgw: fix rgw cache invalidation after unregister_watch() error

When a metadata osd fails, an unregister_watch() error may occur,
resulting in an rgw cache invalidation.
By adding an unregister_done flag and when a register_watch() error ,
performing a reinit() operation again,
After the first reinit() failure, the register_watch() will be performed again

Fixes: https://tracker.ceph.com/issues/59217
Signed-off-by: lichaochao <lichaochao2_yewu@cmss.chinamobile.com>
2 years agomgr/cephadm: Adding extra arguments support for RGW frontend 48630/head
Redouane Kachach [Wed, 26 Oct 2022 09:33:38 +0000 (11:33 +0200)]
mgr/cephadm: Adding extra arguments support for RGW frontend
Fixes: https://tracker.ceph.com/issues/57931
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #50426 from rhcs-dashboard/role-create
Nizamudeen A [Fri, 31 Mar 2023 05:12:09 +0000 (10:42 +0530)]
Merge pull request #50426 from rhcs-dashboard/role-create

mgr/dashboard: creation of rgw roles

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>