]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
22 months agodoc: update test cluster commands in README.md 53334/head
Zac Dover [Fri, 8 Sep 2023 11:00:38 +0000 (21:00 +1000)]
doc: update test cluster commands in README.md

The "rbd" pool has not been created by default since Luminous. This
commit removes a command that assumed the existence of the "rbd" pool.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53244 from rhcs-dashboard/fix-62665-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 08:21:26 +0000 (10:21 +0200)]
Merge pull request #53244 from rhcs-dashboard/fix-62665-main

mgr/dashboard: Object gateway sync status cards keeps loading when multisite is not configured

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53239 from rhcs-dashboard/fix-62565-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 07:02:37 +0000 (09:02 +0200)]
Merge pull request #53239 from rhcs-dashboard/fix-62565-main

mgr/dashboard: Object gateway inventory card incorrect Buckets and user count

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53272 from rhcs-dashboard/fix-62684-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 06:59:20 +0000 (08:59 +0200)]
Merge pull request #53272 from rhcs-dashboard/fix-62684-main

mgr/dashboard: replace sync progress bar with last synced timestamp in rgw multisite sync status card

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53248 from rhcs-dashboard/fix-62677-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 06:56:40 +0000 (08:56 +0200)]
Merge pull request #53248 from rhcs-dashboard/fix-62677-main

mgr/dashboard: rgw multisite topology view shows blank table for multisite entities

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #52866 from ivancich/wip-bad-multiparts-listing
J. Eric Ivancich [Thu, 7 Sep 2023 16:50:12 +0000 (12:50 -0400)]
Merge pull request #52866 from ivancich/wip-bad-multiparts-listing

rgw: when there are a large number of multiparts, the unorder list result may miss objects

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
22 months agoMerge pull request #51071 from ivancich/wip-versioned-reindex
J. Eric Ivancich [Thu, 7 Sep 2023 16:43:59 +0000 (12:43 -0400)]
Merge pull request #51071 from ivancich/wip-versioned-reindex

rgw: reindex of objects in versioned buckets

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #52197 from imtzw/rm_op_ret
J. Eric Ivancich [Thu, 7 Sep 2023 16:41:37 +0000 (12:41 -0400)]
Merge pull request #52197 from imtzw/rm_op_ret

rgw: remove useless op ret assign

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #52198 from ceph/wip-nitzan-ceph-dencoder-rgw-extend-types-available
J. Eric Ivancich [Thu, 7 Sep 2023 16:40:42 +0000 (12:40 -0400)]
Merge pull request #52198 from ceph/wip-nitzan-ceph-dencoder-rgw-extend-types-available

ceph-dencoder: RGW - Add missing types

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #52684 from RickyMaRui/fix-2-null-versionID
J. Eric Ivancich [Thu, 7 Sep 2023 16:39:30 +0000 (12:39 -0400)]
Merge pull request #52684 from RickyMaRui/fix-2-null-versionID

rgw: fix 2 null versionID after convert_plain_entry_to_versioned

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #53027 from ivancich/wip-add-versioning-to-stats
J. Eric Ivancich [Thu, 7 Sep 2023 16:36:10 +0000 (12:36 -0400)]
Merge pull request #53027 from ivancich/wip-add-versioning-to-stats

rgw: add versioning status during `radosgw-admin bucket stats`

Reviewed-by: Adam Emerson <aemerson@redhat.com>
22 months agoMerge pull request #53265 from yuvalif/wip-yuval-fix-62449
Yuval Lifshitz [Thu, 7 Sep 2023 15:25:08 +0000 (18:25 +0300)]
Merge pull request #53265 from yuvalif/wip-yuval-fix-62449

test/cls_2pc_queue: fix race condition with producers

Reviewed-by: ljflores mattbenjamin
22 months agoMerge pull request #53079 from rishabh-d-dave/ior-make-failures
Rishabh Dave [Thu, 7 Sep 2023 14:46:44 +0000 (20:16 +0530)]
Merge pull request #53079 from rishabh-d-dave/ior-make-failures

qa/cephfs: fix ior project build failure

Reviewed-by: Venky Shankar <vshankar@redhat.com>
22 months agoMerge pull request #41779 from rishabh-d-dave/fs-auth-subcmd
Rishabh Dave [Thu, 7 Sep 2023 13:09:58 +0000 (18:39 +0530)]
Merge pull request #41779 from rishabh-d-dave/fs-auth-subcmd

mon,osd,mds: allow fs authorize to update caps

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
22 months agosubmodule: update ceph-object-corpus submodule 52198/head
NitzanMordhai [Thu, 7 Sep 2023 05:56:55 +0000 (05:56 +0000)]
submodule: update ceph-object-corpus submodule

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
22 months agoMerge pull request #53321 from rishabh-d-dave/fix-mon-fscmds
Rishabh Dave [Thu, 7 Sep 2023 09:21:42 +0000 (14:51 +0530)]
Merge pull request #53321 from rishabh-d-dave/fix-mon-fscmds

mon/FSCommands: fix variable names and function names in calls

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agoceph-dencoder: Add missing rgw types to ceph-dencoder for accurate encode-decode...
NitzanMordhai [Sun, 25 Jun 2023 08:41:55 +0000 (08:41 +0000)]
ceph-dencoder: Add missing rgw types to ceph-dencoder for accurate encode-decode comparison

Currently, ceph-dencoder lacks certain rgw types, preventing us from accurately checking the ceph corpus for encode-decode mismatches.
This pull request aims to address this issue by adding the missing types to ceph-dencoder.

To successfully incorporate these types into ceph-dencoder, we need to introduce the necessary `dump` and `generate_test_instances`
functions that was missing in some types. These functions are essential for proper encode and decode of the added types.

This PR will enhance the functionality of ceph-dencoder by including the missing types, enabling a comprehensive analysis of encode-decode consistency.
With the addition of these types, we can ensure the robustness and correctness of the ceph corpus.

This update will significantly contribute to improving the overall reliability and accuracy of ceph-dencoder.
It allows for a more comprehensive assessment of the encode-decode behavior, leading to enhanced data integrity and stability within the ceph ecosystem.

Fixes: https://tracker.ceph.com/issues/61788
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
22 months agoMerge pull request #43804 from orozery/remove-crypto-image-dispatch
Ilya Dryomov [Thu, 7 Sep 2023 07:51:39 +0000 (09:51 +0200)]
Merge pull request #43804 from orozery/remove-crypto-image-dispatch

librbd: remove crypto image dispatch

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agosrc/test: fix test_bluefs.cc 53321/head
Rishabh Dave [Thu, 7 Sep 2023 05:54:47 +0000 (11:24 +0530)]
src/test: fix test_bluefs.cc

BlueFS.add_block_device() doesn't accept an integer in parameters.

Introduced-by: 3cc75e8670d4fb43062ce41744262f858116f764
Fixes: https://tracker.ceph.com/issues/62734
Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agomon/FSCommands: fix variable names and function names in calls
Rishabh Dave [Wed, 6 Sep 2023 22:16:39 +0000 (03:46 +0530)]
mon/FSCommands: fix variable names and function names in calls

PR #51942 today and PR #52409 was merged last week. Latter PR changed
"fs" to "fsp" and made mds_map and fscid private and introduced
get_mds_map() and get_fsicd() methods instead.

Combination of former and latter PR introduced compilation errors & made
it impossible to build the binaries on the latest main branch. This
commit attemps to fix this issue.

Fixes: https://tracker.ceph.com/issues/62729
Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agoqa/cephfs: CephFSTestCase.create_client() must keyring 41779/head
Rishabh Dave [Sun, 30 Jul 2023 17:27:37 +0000 (22:57 +0530)]
qa/cephfs: CephFSTestCase.create_client() must keyring

Replace call to run_ceph_cmd() by call to get_ceph_cmd_stdout() in
method qa.tasks.cephfs.cephfs_test_case.CephFSTestCase.create_client().
run_ceph_cmd() will not return keyring which is wrong.
get_ceph_cmd_stdout() will return the stdout of "ceph auth add"
command, which is the keyring that is expected to be returned by
CephFSTestCase.create_client().

Fixes: https://tracker.ceph.com/issues/62246
Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agodoc/cephfs: add doc for fs authorize since it can now also update caps
Rishabh Dave [Thu, 30 Mar 2023 19:34:24 +0000 (01:04 +0530)]
doc/cephfs: add doc for fs authorize since it can now also update caps

Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #53310 from ronen-fr/wip-rf-hour
Ronen Friedman [Thu, 7 Sep 2023 04:49:12 +0000 (07:49 +0300)]
Merge pull request #53310 from ronen-fr/wip-rf-hour

osd/scrub: fixing the length of a day

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
22 months agoMerge pull request #52519 from batrick/mds-stray-space
Rishabh Dave [Wed, 6 Sep 2023 20:45:03 +0000 (02:15 +0530)]
Merge pull request #52519 from batrick/mds-stray-space

mds: remove stray space

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #52518 from batrick/i62057
Rishabh Dave [Wed, 6 Sep 2023 20:44:09 +0000 (02:14 +0530)]
Merge pull request #52518 from batrick/i62057

mds: add event for batching getattr/lookup

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #52823 from athanatos/sjust/wip-62338
Laura Flores [Wed, 6 Sep 2023 18:17:12 +0000 (14:17 -0400)]
Merge pull request #52823 from athanatos/sjust/wip-62338

osd: ensure async recovery does not drop a pg below min_size

22 months agoMerge pull request #50056 from rzarzynski/wip-osd-unused-msg-includes
Laura Flores [Wed, 6 Sep 2023 18:16:51 +0000 (14:16 -0400)]
Merge pull request #50056 from rzarzynski/wip-osd-unused-msg-includes

osd: drop includes of messages that are not longer used in OSD.cc

22 months agoMerge pull request #52628 from rzarzynski/wip-ec-static_encode_and_write
Laura Flores [Wed, 6 Sep 2023 17:18:39 +0000 (13:18 -0400)]
Merge pull request #52628 from rzarzynski/wip-ec-static_encode_and_write

osd: make encode_and_write() in ECTransaction.cc static

22 months agoMerge pull request #50948 from ideepika/wip-tracing-debug-quincy
Laura Flores [Wed, 6 Sep 2023 17:18:18 +0000 (13:18 -0400)]
Merge pull request #50948 from ideepika/wip-tracing-debug-quincy

src/common: add debug logs to opentelementry tracing

22 months agoMerge pull request #50325 from ifed01/wip-ifed-reserved-by-bluefs
Laura Flores [Wed, 6 Sep 2023 17:17:57 +0000 (13:17 -0400)]
Merge pull request #50325 from ifed01/wip-ifed-reserved-by-bluefs

os/bluestore: make BlueFS an exclusive selector for volume reserved

22 months agoMerge pull request #49872 from rzarzynski/wip-peering-state-waitdeletereserved-typo
Laura Flores [Wed, 6 Sep 2023 17:17:40 +0000 (13:17 -0400)]
Merge pull request #49872 from rzarzynski/wip-peering-state-waitdeletereserved-typo

osd: fix typo in WaitDeleteReserved's name

22 months agoMerge pull request #53300 from zdover23/wip-doc-2023-09-06-rados-operations-pools...
zdover23 [Wed, 6 Sep 2023 16:10:48 +0000 (02:10 +1000)]
Merge pull request #53300 from zdover23/wip-doc-2023-09-06-rados-operations-pools-bulk-flag

doc/rados: add bulk flag to pools.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #53314 from zdover23/wip-doc-2023-09-07-man-radosgw-bucket-radoslist
zdover23 [Wed, 6 Sep 2023 16:06:18 +0000 (02:06 +1000)]
Merge pull request #53314 from zdover23/wip-doc-2023-09-07-man-radosgw-bucket-radoslist

doc/man: radosgw-admin.rst typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #51942 from trociny/wip-61599
Rishabh Dave [Wed, 6 Sep 2023 14:56:33 +0000 (20:26 +0530)]
Merge pull request #51942 from trociny/wip-61599

mds: optionally forbid to use standby for another fs as last resort

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #53273 from petrutlucian94/enable_shared
Ilya Dryomov [Wed, 6 Sep 2023 14:30:48 +0000 (16:30 +0200)]
Merge pull request #53273 from petrutlucian94/enable_shared

win32_build.sh: use ENABLE_SHARED=ON by default

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agodoc/man: radosgw-admin.rst typo 53314/head
Zac Dover [Wed, 6 Sep 2023 14:23:06 +0000 (00:23 +1000)]
doc/man: radosgw-admin.rst typo

Edit the text in the "bucket radoslist" entry.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agodoc/rados: add bulk flag to pools.rst 53300/head
Zac Dover [Wed, 6 Sep 2023 06:14:42 +0000 (16:14 +1000)]
doc/rados: add bulk flag to pools.rst

Add a link in pools.rst to the section in placement-groups.rst
describing the commands used to manage pools that are flagged "--bulk".

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoosd/scrub: fixing the length of a day 53310/head
Ronen Friedman [Wed, 6 Sep 2023 10:08:10 +0000 (13:08 +0300)]
osd/scrub: fixing the length of a day

It seems that there are 60 minutes in each hour.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
22 months agoMerge pull request #53302 from zdover23/wip-doc-2023-09-06-man-radosgw-unix-domain...
Anthony D'Atri [Wed, 6 Sep 2023 12:07:16 +0000 (08:07 -0400)]
Merge pull request #53302 from zdover23/wip-doc-2023-09-06-man-radosgw-unix-domain-sockets

doc/man: remove docs about support for unix domain sockets

22 months agowin32_build.sh: use ENABLE_SHARED=ON by default 53273/head
Lucian Petrut [Mon, 4 Sep 2023 10:01:48 +0000 (10:01 +0000)]
win32_build.sh: use ENABLE_SHARED=ON by default

The Windows build script uses static linking by default, the
reason being that some tests were failing to build otherwise,
mostly due to unspecified dependencies.

Now that the issue was addressed, we can enable dynamic linking
by default.

Worth mentioning that the Ceph MSI build script already uses
dynamic linking.

While at it, we'll drop some duplicate defaults from
"win32_deps_build.sh". For better clarity, we'll avoid exporting
some "win32_build.sh" variables, instead passing them explicitly
to "win32_deps_build.sh".

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
22 months agodoc/man: remove docs about support for unix domain sockets 53302/head
Zac Dover [Wed, 6 Sep 2023 06:33:43 +0000 (16:33 +1000)]
doc/man: remove docs about support for unix domain sockets

doc/man: support for unix domain sockets is not implemented, hence we
removed documentation about it.

(Note: the changes in this commit were the work of Rok Jaklič in
https://github.com/ceph/ceph/pull/48537. This pull request has been
raised because that pull request was for some mysterious reason causing
merge conflicts that were never resolved.)

Co-authored-by: Rok Jaklič rjaklic@gmail.com
Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53221 from rhcs-dashboard/password-green-tick-fix
Nizamudeen A [Wed, 6 Sep 2023 06:29:47 +0000 (11:59 +0530)]
Merge pull request #53221 from rhcs-dashboard/password-green-tick-fix

mgr/dashboard: remove green tick on old password field

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
22 months agomgr/dashboard: Object gateway sync status cards keeps loading when multisite is not... 53244/head
Aashish Sharma [Thu, 31 Aug 2023 13:24:21 +0000 (18:54 +0530)]
mgr/dashboard: Object gateway sync status cards keeps loading when multisite is not configured

Fixes: https://tracker.ceph.com/issues/62665
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
22 months agomgr/dashboard: replace sync status bar with last synced timestamp in rgw multisite... 53272/head
Aashish Sharma [Mon, 4 Sep 2023 09:12:46 +0000 (14:42 +0530)]
mgr/dashboard: replace sync status bar with last synced timestamp in rgw multisite sync status card

Fixes: https://tracker.ceph.com/issues/62684
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
22 months agoMerge pull request #53277 from rhcs-dashboard/image-progress-bar
Nizamudeen A [Wed, 6 Sep 2023 05:36:36 +0000 (11:06 +0530)]
Merge pull request #53277 from rhcs-dashboard/image-progress-bar

mgr/dashboard: remove used and total used columns in favor of usage bar

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53052 from phlogistonjohn/cephadm-split-refactor
Adam King [Tue, 5 Sep 2023 16:11:46 +0000 (12:11 -0400)]
Merge pull request #53052 from phlogistonjohn/cephadm-split-refactor

cephadm: refactor cephadm into multiple files

Reviewed-by: Adam King <adking@redhat.com>
22 months agoMerge pull request #52924 from rishabh-d-dave/test-nfs-pr-52556
Rishabh Dave [Tue, 5 Sep 2023 14:51:30 +0000 (20:21 +0530)]
Merge pull request #52924 from rishabh-d-dave/test-nfs-pr-52556

qa: inherit RunCephCmd in CephTestCase instead of CephFSTestCase

Reviewed-by: Adam King <adking@redhat.com>
22 months agoMerge pull request #52956 from aclamk/wip-aclamk-testing-variable-workload
Adam Kupczyk [Tue, 5 Sep 2023 13:48:13 +0000 (15:48 +0200)]
Merge pull request #52956 from aclamk/wip-aclamk-testing-variable-workload

tools: Add generator of variable workload

22 months agoMerge pull request #52877 from guits/bz2064498
Guillaume Abrioux [Tue, 5 Sep 2023 12:41:48 +0000 (14:41 +0200)]
Merge pull request #52877 from guits/bz2064498

ceph-volume/cephadm: support lv devices in inventory

22 months agolibrbd: remove remap_to_* and image crypto layer 43804/head
Or Ozeri [Thu, 25 Nov 2021 19:03:02 +0000 (21:03 +0200)]
librbd: remove remap_to_* and image crypto layer

This commit removes the crypto image dispatch layer.
Instead, data offset calculation is taken from ImageCtx->encryption_format.
This change makes the remap_to_* api unnecessary, so it is removed.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
22 months agoqa/cephfs: fix ior project build failure 53079/head
Rishabh Dave [Tue, 22 Aug 2023 09:53:05 +0000 (15:23 +0530)]
qa/cephfs: fix ior project build failure

1. Re-install mpich packages.
2. Use a more recent version of ior project.
3. Log contents of binary directory for easy debugging.
4. Set "-x" for bash session so commands are also logged.

Fixes: https://tracker.ceph.com/issues/61399
Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agotest/cls_2pc_queue: fix race condition with producers 53265/head
Yuval Lifshitz [Sun, 3 Sep 2023 16:40:12 +0000 (16:40 +0000)]
test/cls_2pc_queue: fix race condition with producers

this is happening when all producers are finished before the consumer
starts.

Fixes: https://tracker.ceph.com/issues/62449
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
22 months agomgr/dashboard: remove used and total used columns in favor of usage bar 53277/head
Pedro Gonzalez Gomez [Mon, 4 Sep 2023 14:45:30 +0000 (16:45 +0200)]
mgr/dashboard: remove used and total used columns in favor of usage bar

Fixes: https://tracker.ceph.com/issues/62697
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
22 months agomgr/dashboard: remove green tick on old password field 53221/head
Nizamudeen A [Wed, 30 Aug 2023 05:20:30 +0000 (10:50 +0530)]
mgr/dashboard: remove green tick on old password field

a green tick is showing to the field where we enter the old password in
login password change form. It starts showing green tick as soon as we
start typing on it. Removing that because its misleads the user.

Fixes: https://tracker.ceph.com/issues/62644
Signed-off-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53037 from batrick/i62482
Venky Shankar [Mon, 4 Sep 2023 14:18:05 +0000 (19:48 +0530)]
Merge pull request #53037 from batrick/i62482

qa: do not create rbd pool for CephFS QA

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
22 months agoMerge pull request #52964 from AliMasarweh/wip-alimasa-persistant-q-enhance
Ali Masarwa [Mon, 4 Sep 2023 12:25:44 +0000 (15:25 +0300)]
Merge pull request #52964 from AliMasarweh/wip-alimasa-persistant-q-enhance

RGW: added a per topic configuration to control the notification persistency
Adding the configuration of persistency per topic that will override the global settings

Reviewed-by: yuvalif <ylifshit@redhat.com>
22 months agoMerge pull request #53251 from idryomov/wip-61707
Ilya Dryomov [Mon, 4 Sep 2023 11:25:03 +0000 (13:25 +0200)]
Merge pull request #53251 from idryomov/wip-61707

librbd: make CreatePrimaryRequest remove any unlinked mirror snapshots

Reviewed-by: Ramana Raja <rraja@redhat.com>
22 months agoMerge pull request #52990 from ajarr/fix-61607
Ilya Dryomov [Mon, 4 Sep 2023 11:07:29 +0000 (13:07 +0200)]
Merge pull request #52990 from ajarr/fix-61607

librbd: kick ExclusiveLock state machine on client being blocklisted when waiting for lock

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agoRGW: added a per topic configuration to control the notification persistency 52964/head
Ali Masarwa [Wed, 9 Aug 2023 11:53:04 +0000 (14:53 +0300)]
RGW: added a per topic configuration to control the notification persistency

Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
22 months agoMerge pull request #53264 from anthonyeleven/anthonyeleven/improve-radosgw-admin...
zdover23 [Sun, 3 Sep 2023 21:49:03 +0000 (07:49 +1000)]
Merge pull request #53264 from anthonyeleven/anthonyeleven/improve-radosgw-admin-usage

doc/man/8: improve radosgw-admin.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
22 months agodoc/man/8: improve radosgw-admin.rst 53264/head
Anthony D'Atri [Sun, 3 Sep 2023 13:56:44 +0000 (09:56 -0400)]
doc/man/8: improve radosgw-admin.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
22 months agoMerge pull request #50360 from tgfree7/wip-doc-2023-03-03-multisite-migrating-a-singl...
Anthony D'Atri [Sun, 3 Sep 2023 12:05:17 +0000 (08:05 -0400)]
Merge pull request #50360 from tgfree7/wip-doc-2023-03-03-multisite-migrating-a-single-site

doc/radosgw: multisite - edit "migrating a single-site"

22 months agoMerge pull request #53166 from Matan-B/wip-matanb-crimson-ignore-pool-app
Matan Breizman [Sun, 3 Sep 2023 09:57:08 +0000 (12:57 +0300)]
Merge pull request #53166 from Matan-B/wip-matanb-crimson-ignore-pool-app

qa/config/crimson_qa_overrides: ignore POOL_APP_NOT_ENABLED

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
22 months agoMerge pull request #53247 from zdover23/wip-doc-2023-09-01-readme-md-running-test...
zdover23 [Fri, 1 Sep 2023 18:31:18 +0000 (04:31 +1000)]
Merge pull request #53247 from zdover23/wip-doc-2023-09-01-readme-md-running-test-cluster

doc/README.md - improve "Running a test cluster"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #53249 from krafZLorG/fix_abc_table
zdover23 [Fri, 1 Sep 2023 18:08:17 +0000 (04:08 +1000)]
Merge pull request #53249 from krafZLorG/fix_abc_table

doc/start: correct ABC test chart

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoqa: add "failover / failback loop" test for rbd-mirror 53251/head
Ilya Dryomov [Fri, 1 Sep 2023 12:53:33 +0000 (14:53 +0200)]
qa: add "failover / failback loop" test for rbd-mirror

For snapshot-based mirroring, check that demote (or other mirror
snapshots) don't pile up.  Nothing in particular to assert on for
journal-based mirroring but the test is still useful.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
22 months agolibrbd: make CreatePrimaryRequest remove any unlinked mirror snapshots
Ilya Dryomov [Sat, 26 Aug 2023 11:04:52 +0000 (13:04 +0200)]
librbd: make CreatePrimaryRequest remove any unlinked mirror snapshots

After commit ac552c9b4d65 ("librbd: localize snap_remove op for mirror
snapshots"), rbd-mirror daemon no longer removes mirror snapshots when
it's done syncing them -- instead it only unlinks from them.  However,
CreatePrimaryRequest state machine was not adjusted to compensate and
hence two cases were missed:

- primary demotion snapshot (rbd-mirror daemon unlinks from primary
  demotion snapshots just like it does from regular primary snapshots);
  this comes up when an image is demoted but then promoted on the same
  cluster

- non-primary demotion snapshot (unlike regular non-primary snapshots,
  non-primary demotion snapshots store peer uuids and rbd-mirror daemon
  does unlinking just like in the case of primary snapshots); this
  comes up when an image is demoted and promoted on the other cluster

Related is the case of orphan snapshots.  Since they are dummy to begin
with, CreatePrimaryRequest would now clean up the orphan snapshot after
the creation of the force promote snapshot.

Fixes: https://tracker.ceph.com/issues/61707
Co-authored-by: Christopher Hoffman <choffman@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
22 months agolibrbd: don't attempt to remove image state on orphan snapshots
Ilya Dryomov [Tue, 22 Aug 2023 15:27:50 +0000 (17:27 +0200)]
librbd: don't attempt to remove image state on orphan snapshots

Despite being mirror snapshots, orphan snapshots don't have image
state: see CreateNonPrimaryRequest::write_image_state() for a similar
is_orphan() check.  Attempting to remove image state generates bogus
"failed to read image state object" and "failed to remove image state"
errors.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
22 months agoMerge pull request #43217 from k0ste/fix_52656
Kefu Chai [Fri, 1 Sep 2023 14:51:01 +0000 (22:51 +0800)]
Merge pull request #43217 from k0ste/fix_52656

mgr: prometheus: use nsec unit in desc for RBD _read_latency and _write_latency metrics

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
22 months agoMerge pull request #51197 from petrutlucian94/mingw-llvm
Ilya Dryomov [Fri, 1 Sep 2023 14:21:35 +0000 (16:21 +0200)]
Merge pull request #51197 from petrutlucian94/mingw-llvm

windows: use mingw-llvm

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
22 months agodoc/start: correct ABC test chart 53249/head
Dmitry Kvashnin [Fri, 1 Sep 2023 10:53:18 +0000 (10:53 +0000)]
doc/start: correct ABC test chart

Signed-off-by: Dmitry Kvashnin <dm.kvashnin@gmail.com>
22 months agomgr/dashboard: rgw multisite topology view shows blank table for multisite entities 53248/head
Aashish Sharma [Fri, 1 Sep 2023 09:26:41 +0000 (14:56 +0530)]
mgr/dashboard: rgw multisite topology view shows blank table for multisite entities

Toplology view in multi-site dashboard displaying blank table regarding realm, zonegroup and zones in chrome browser

Fixes: https://tracker.ceph.com/issues/62677
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
22 months agomgr/dashboard: Object gateway inventory card incorrect Buckets and user count 53239/head
Aashish Sharma [Thu, 31 Aug 2023 10:46:32 +0000 (16:16 +0530)]
mgr/dashboard: Object gateway inventory card incorrect Buckets and user count

Inventory(Buckets and users) data is wrong when you have buckets across multiple daemons.

Fixes: https://tracker.ceph.com/issues/62565
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
22 months agodoc/README.md - improve "Running a test cluster" 53247/head
Zac Dover [Fri, 1 Sep 2023 00:19:58 +0000 (10:19 +1000)]
doc/README.md - improve "Running a test cluster"

Improve the English in the section "Running a test cluster in the
ceph/README.md file.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53237 from idryomov/wip-16.2.14-notes-followup
Ilya Dryomov [Thu, 31 Aug 2023 15:30:05 +0000 (17:30 +0200)]
Merge pull request #53237 from idryomov/wip-16.2.14-notes-followup

doc: 16.2.14 release notes follow-up

Reviewed-by: Laura Flores <lflores@redhat.com>
22 months agoMerge PR #52522 into main
Venky Shankar [Thu, 31 Aug 2023 11:55:03 +0000 (17:25 +0530)]
Merge PR #52522 into main

* refs/pull/52522/head:
mds: drop locks and retry when lock set changes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
22 months agotools/variable_load: Improvements 52956/head
Adam Kupczyk [Thu, 31 Aug 2023 09:27:47 +0000 (09:27 +0000)]
tools/variable_load: Improvements

Added pool parameters.
Added WORKLOAD definition documentation
Added examples.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
22 months agotools/variable_load: Improve load generation
Adam Kupczyk [Tue, 29 Aug 2023 13:50:01 +0000 (13:50 +0000)]
tools/variable_load: Improve load generation

Improve generation of workloads.
Add options. Add useful help.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
22 months agotools/variable_load: Add generator of variable workload
Adam Kupczyk [Fri, 11 Aug 2023 14:24:57 +0000 (14:24 +0000)]
tools/variable_load: Add generator of variable workload

The tool is dedicated to create highly variable workloads.
The intended audience is
1) scraper testing - tool to sniff on OSD ops
2) CoDel testing - bandwidth/latency optimization algorithm in BS
Initial commit.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
22 months agoMerge PR #52409 into main
Venky Shankar [Thu, 31 Aug 2023 09:33:18 +0000 (15:03 +0530)]
Merge PR #52409 into main

* refs/pull/52409/head:
mds: rework FSMap to avoid shared_ptrs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
22 months agoMerge pull request #53100 from rhcs-dashboard/fix-rbd-mirror-label
Nizamudeen A [Thu, 31 Aug 2023 09:17:14 +0000 (14:47 +0530)]
Merge pull request #53100 from rhcs-dashboard/fix-rbd-mirror-label

mgr/dashboard: fix image columns naming

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agodoc: 16.2.14 release notes follow-up 53237/head
Ilya Dryomov [Thu, 31 Aug 2023 08:48:25 +0000 (10:48 +0200)]
doc: 16.2.14 release notes follow-up

Address review comments that remained outstanding in
https://github.com/ceph/ceph/pull/53107:

- CephFS capitalization
- missing PR in the list of changes

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
22 months agoMerge pull request #53182 from rhcs-dashboard/fix-subvolume-rm-snapshots
Nizamudeen A [Thu, 31 Aug 2023 05:57:07 +0000 (11:27 +0530)]
Merge pull request #53182 from rhcs-dashboard/fix-subvolume-rm-snapshots

mgr/dashboard: subvolume rm with snapshots

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53107 from ceph/wip-yuriw-release-16.2.14-main
Laura Flores [Wed, 30 Aug 2023 22:24:55 +0000 (17:24 -0500)]
Merge pull request #53107 from ceph/wip-yuriw-release-16.2.14-main

doc: 16.2.14 Release Notes

22 months agorgw: make error message more friendly on rgw-restore-bucket-index 51071/head
J. Eric Ivancich [Wed, 9 Aug 2023 14:02:30 +0000 (10:02 -0400)]
rgw: make error message more friendly on rgw-restore-bucket-index

When the bucket referenced cannot be found remind the user that they
may need to set realm, zonegroup, and/or zone. This improvement was
suggested by Madhavi Kasturi.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
22 months agorgw: allow multisite specification used w/ rgw-restore-bucket-index script
J. Eric Ivancich [Wed, 12 Jul 2023 17:54:07 +0000 (13:54 -0400)]
rgw: allow multisite specification used w/ rgw-restore-bucket-index script

When the metadata for a bucket is requested only the default
realm/zonegroup/zone is currently supported. This adds three new
command-line options to rgw-restore-bucket-index:

    -r <realm-name>
    -g <zonegroup-name>
    -z <zone-name>

The multisite specification will then be used in invocations of
`radosgw-admin`, such as to query the zone, get metadata, and invoke
the "object reindex" subcommand.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
22 months agorgw: a few minor code clean-ups
J. Eric Ivancich [Wed, 5 Jul 2023 21:05:06 +0000 (17:05 -0400)]
rgw: a few minor code clean-ups

Includes code documentation, formatting fixes, and removing an
unimplemented function from an interface.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
22 months agorgw: enhances rgw-restore-bucket-index script
J. Eric Ivancich [Wed, 14 Jun 2023 19:53:19 +0000 (15:53 -0400)]
rgw: enhances rgw-restore-bucket-index script

This enhances the script to both process versioned buckets correctly
and to handle object names that begin with underscore.

If the bucket is versioned it submits each version chronologically
(based on mtime) to be reindexed in order to "replay" the modification
of objects. However mtime is not a perfect indicator. So additionally
it looks at the OLH object to determine the most recent version and
the script makes sure that it is replayed last. The order of previous
versions is likely correct, but not guaranteed to be so.

Additional logic is added to handle objects with names that begin with
underscore ('_') since that's used as a delimiter and needs to be
escaped and rados object locators are also used.

A man page for the script is added.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
22 months agodoc: update release checklist for new cephadm constants file 53052/head
John Mulligan [Tue, 29 Aug 2023 19:17:14 +0000 (15:17 -0400)]
doc: update release checklist for new cephadm constants file

Signed-off-by: John Mulligan <jmulligan@redhat.com>
22 months agocephadm: black format packagers.py
John Mulligan [Thu, 17 Aug 2023 19:12:15 +0000 (15:12 -0400)]
cephadm: black format packagers.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format net_utils.py
John Mulligan [Thu, 17 Aug 2023 19:11:57 +0000 (15:11 -0400)]
cephadm: black format net_utils.py

This contains one small manual change reversing the black formatting.
According to the black docs [1], flake8's E203 is not pep8 compliant but
since flake8 is currently mandatory and black formatting is not we'll
leave it in a form that makes flake8 happy and attempt to resolve the
disagreement some time in the future.

[1]: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#slices

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
22 months agocephadm: black format locking.py
John Mulligan [Thu, 17 Aug 2023 19:11:40 +0000 (15:11 -0400)]
cephadm: black format locking.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format file_utils.py
John Mulligan [Wed, 16 Aug 2023 20:44:55 +0000 (16:44 -0400)]
cephadm: black format file_utils.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format data_utils.py
John Mulligan [Wed, 16 Aug 2023 20:44:42 +0000 (16:44 -0400)]
cephadm: black format data_utils.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format container_engines.py
John Mulligan [Wed, 16 Aug 2023 19:59:02 +0000 (15:59 -0400)]
cephadm: black format container_engines.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format call_wrappers.py
John Mulligan [Wed, 16 Aug 2023 19:25:03 +0000 (15:25 -0400)]
cephadm: black format call_wrappers.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format exe_utils.py
John Mulligan [Wed, 16 Aug 2023 18:05:16 +0000 (14:05 -0400)]
cephadm: black format exe_utils.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format cephadmlib/context.py
John Mulligan [Thu, 10 Aug 2023 14:42:20 +0000 (10:42 -0400)]
cephadm: black format cephadmlib/context.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: black format cephadmlib/constants.py
John Mulligan [Thu, 10 Aug 2023 14:41:51 +0000 (10:41 -0400)]
cephadm: black format cephadmlib/constants.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>
22 months agocephadm: move packager types and funcs to packagers.py
John Mulligan [Thu, 17 Aug 2023 19:07:53 +0000 (15:07 -0400)]
cephadm: move packager types and funcs to packagers.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Pair-programmed-with: Adam King <adking@redhat.com>
Co-authored-by: Adam King <adking@redhat.com>