]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
13 months agoRGW|Bucket notification: disable notif v2 to reload realm correctly 57655/head
Ali Masarwa [Thu, 23 May 2024 11:08:56 +0000 (14:08 +0300)]
RGW|Bucket notification: disable notif v2 to reload realm correctly

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
13 months agoMerge pull request #57639 from yuvalif/wip-yuval-skip-reload-tests
Yuval Lifshitz [Thu, 23 May 2024 10:54:29 +0000 (13:54 +0300)]
Merge pull request #57639 from yuvalif/wip-yuval-skip-reload-tests

test/rgw/notifications: skip reload tests when there is no realm

Reviewed-By: ali.masarwa@ibm.com
13 months agoMerge pull request #57633 from mcv21/patch-1
Zac Dover [Thu, 23 May 2024 01:26:07 +0000 (11:26 +1000)]
Merge pull request #57633 from mcv21/patch-1

Docs: clarify use of location: in host spec

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
13 months agoMerge PR #57493 into main
Patrick Donnelly [Thu, 23 May 2024 01:18:17 +0000 (21:18 -0400)]
Merge PR #57493 into main

* refs/pull/57493/head:
qa/cephfs: pass MDS name, not FS name, to "ceph mds fail" cmd

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge PR #57469 into main
Patrick Donnelly [Thu, 23 May 2024 01:16:32 +0000 (21:16 -0400)]
Merge PR #57469 into main

* refs/pull/57469/head:
mds: set dispatcher order
mds: use regular dispatch for processing beacons
msg: add priority to dispatcher invocation order
mds: note when dispatcher is called

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoMerge PR #57392 into main
Patrick Donnelly [Thu, 23 May 2024 01:15:57 +0000 (21:15 -0400)]
Merge PR #57392 into main

* refs/pull/57392/head:
common/Formatter: use CachedStackStringStream for efficiency

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
13 months agoMerge PR #57374 into main
Patrick Donnelly [Thu, 23 May 2024 01:15:33 +0000 (21:15 -0400)]
Merge PR #57374 into main

* refs/pull/57374/head:
common/Formatter: trivial cons/des should be default

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
13 months agoMerge PR #57215 into main
Patrick Donnelly [Thu, 23 May 2024 01:15:07 +0000 (21:15 -0400)]
Merge PR #57215 into main

* refs/pull/57215/head:
doc: document new --output-file switch
test/cli: ignore tmp_file_template
qa/workunits: add --output-file test in cephtool workunit
common,ceph: add output file switch to dump json to
common/options: add configs for temporary files made by daemons
common/Formatter: write the pending string on flush

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
13 months agoMerge PR #57170 into main
Patrick Donnelly [Thu, 23 May 2024 01:12:24 +0000 (21:12 -0400)]
Merge PR #57170 into main

* refs/pull/57170/head:
client: set LIBMOUNT_FORCE_MOUNT2=always

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge PR #57081 into main
Patrick Donnelly [Thu, 23 May 2024 01:11:52 +0000 (21:11 -0400)]
Merge PR #57081 into main

* refs/pull/57081/head:
messages/MClientMetrics: increase priority ahead of regular requests
mds: use regular dispatch for processing metrics

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge pull request #57642 from dmick/wip-release-doc
Dan Mick [Thu, 23 May 2024 00:59:16 +0000 (17:59 -0700)]
Merge pull request #57642 from dmick/wip-release-doc

doc/dev/release-process.rst: note new 'project' arguments

13 months agodoc/dev/release-process.rst: note new 'project' arguments 57642/head
Dan Mick [Wed, 22 May 2024 22:25:51 +0000 (15:25 -0700)]
doc/dev/release-process.rst: note new 'project' arguments

Support added to the release scripts (from ceph-build.git) to
work for ceph-iscsi, so 'project' must be passed to these scripts,
and will appear in the prerelease pathnames.  See also
https://github.com/ceph/ceph-build/pull/2243 and
https://github.com/ceph/ceph-container/pull/2210

Signed-off-by: Dan Mick <dan.mick@redhat.com>
13 months agoMerge pull request #57575 from cbodley/wip-rgw-maintainers-ali
Casey Bodley [Wed, 22 May 2024 21:25:49 +0000 (22:25 +0100)]
Merge pull request #57575 from cbodley/wip-rgw-maintainers-ali

rgw: remove Ali Maredia from MAINTAINERS.md

Reviewed-by: Adam Emerson <aemerson@redhat.com>
13 months agotest/rgw/notifications: skip reload tests when there is no realm 57639/head
Yuval Lifshitz [Wed, 22 May 2024 19:04:45 +0000 (19:04 +0000)]
test/rgw/notifications: skip reload tests when there is no realm

this does not impact teuthology, only local runs.
in teuthology all bucket notification tests are defined with a realm

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
13 months agodoc: clarify use of location: in host spec 57633/head
Matthew Vernon [Wed, 22 May 2024 15:31:33 +0000 (16:31 +0100)]
doc: clarify use of location: in host spec

It wasn't clear that you can specify more than one element of the CRUSH hierarchy in a spec file, nor that it might be useful to do so (e.g. to ensure the host ends up beneath the default root).

So update the text to make it clearer, and similarly the example.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
13 months agoMerge pull request #57616 from Matan-B/wip-matanb-fix-python-tests
Radoslaw Zarzynski [Wed, 22 May 2024 15:41:16 +0000 (17:41 +0200)]
Merge pull request #57616 from Matan-B/wip-matanb-fix-python-tests

test/pybind/test_rados.py: fix test_list_objects

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
13 months agotest/pybind/test_rados.py: fix test_list_objects 57616/head
Matan Breizman [Wed, 22 May 2024 09:52:33 +0000 (09:52 +0000)]
test/pybind/test_rados.py: fix test_list_objects

Commit 6662e6bc215c2d0bee16bc3674b07be1e239b4c0 accidentally removed a line from this test.

```
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:=================================== FAILURES ===================================
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:_________________________ TestIoctx.test_list_objects __________________________
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:self = <test_rados.TestIoctx object at 0x7fddcc6924c0>
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:    def test_list_objects(self):
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.write('b', b'foo')
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.write_full('c', b'bar')
2024-05-21T14:06:10.463 INFO:tasks.workunit.client.0.smithi031.stdout:        self.ioctx.append('d', b'jazz')
2024-05-21T14:06:10.464 INFO:tasks.workunit.client.0.smithi031.stdout:        object_names = [obj.key for obj in self.ioctx.list_objects()]
2024-05-21T14:06:10.464 INFO:tasks.workunit.client.0.smithi031.stdout:>       eq(sorted(object_names), ['a', 'b', 'c', 'd'])
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
13 months agoMerge pull request #55592 from cbodley/wip-boost-asio-spawn
Casey Bodley [Tue, 21 May 2024 20:24:22 +0000 (21:24 +0100)]
Merge pull request #55592 from cbodley/wip-boost-asio-spawn

rgw: switch back to boost::asio for spawn() and yield_context

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
13 months agoMerge pull request #57152 from sajibreadd/wip-61887
Casey Bodley [Tue, 21 May 2024 17:32:25 +0000 (18:32 +0100)]
Merge pull request #57152 from sajibreadd/wip-61887

s3: placement target is added in GetBucketLocation api response as header

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 months agoMerge pull request #57409 from Suyashd999/fix-uam1
Casey Bodley [Tue, 21 May 2024 17:32:07 +0000 (18:32 +0100)]
Merge pull request #57409 from Suyashd999/fix-uam1

current_status is being used after moving.

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
13 months agoMerge pull request #57249 from cbodley/wip-65668
Casey Bodley [Tue, 21 May 2024 17:31:24 +0000 (18:31 +0100)]
Merge pull request #57249 from cbodley/wip-65668

rgw/notify: decouple add/remove_persistent_topic() from Manager

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
13 months agoMerge pull request #56014 from badone/wip-tracker-63591-pyyaml-cython_sources
Nizamudeen A [Tue, 21 May 2024 16:00:53 +0000 (12:00 -0400)]
Merge pull request #56014 from badone/wip-tracker-63591-pyyaml-cython_sources

install-deps: Update Pyyaml version

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
13 months agoMerge pull request #57529 from rishabh-d-dave/ptl-no-ceph-ci-push
Rishabh Dave [Tue, 21 May 2024 08:34:39 +0000 (14:04 +0530)]
Merge pull request #57529 from rishabh-d-dave/ptl-no-ceph-ci-push

ptl-tool: allow not pushing branch to ceph-ci

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge pull request #55831 from xxhdx1985126/wip-seastore-lba-pointer-consolidation
Yingxin [Tue, 21 May 2024 03:00:59 +0000 (11:00 +0800)]
Merge pull request #55831 from xxhdx1985126/wip-seastore-lba-pointer-consolidation

crimson/os/seastore: lba pointer consolidation

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoMerge pull request #57262 from xxhdx1985126/wip-seastore-clone-remap-refcount
Yingxin [Tue, 21 May 2024 02:57:37 +0000 (10:57 +0800)]
Merge pull request #57262 from xxhdx1985126/wip-seastore-clone-remap-refcount

crimson/os/seastore/lba_manager: don't increase intermediate mappings' refcount if LBAManager::clone_mapping() is called to remap mappings

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoMerge PR #57552 into main
Patrick Donnelly [Tue, 21 May 2024 02:42:22 +0000 (22:42 -0400)]
Merge PR #57552 into main

* refs/pull/57552/head:
mds/queisce-db: collect acks while bootstrapping

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge PR #57332 into main
Patrick Donnelly [Tue, 21 May 2024 02:38:44 +0000 (22:38 -0400)]
Merge PR #57332 into main

* refs/pull/57332/head:
mds/quiesce: drop remote authpins before waiting for the quiesce lock
qa/cephfs/test_quiesce: test proper handling of remote authpins
mds: don't clear `AUTHPIN_FROZEN` until `FROZEN` in rename_prep
mds: enhance the `lock path` asok command
mds/quiesce: overdrive fragmenting that's still freezing
revert: mds: provide a mechanism to authpin while freezing
qa/cephfs/test_quiesce: enhance the fragmentation test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge pull request #57583 from tchaikov/cmake-legacy-headers
Kefu Chai [Tue, 21 May 2024 02:24:33 +0000 (10:24 +0800)]
Merge pull request #57583 from tchaikov/cmake-legacy-headers

cmake: link rados_snap_set_diff_obj and krbd against legacy-option-headers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 months agocmake: link rados_snap_set_diff_obj and krbd against legacy-option-headers 57583/head
Kefu Chai [Mon, 20 May 2024 23:47:22 +0000 (07:47 +0800)]
cmake: link rados_snap_set_diff_obj and krbd against legacy-option-headers

in c24a6ffe20, we tried to link all target dependent on legacy option
headers against legacy-option-headers, but we missed some of them.
in our CI, we spotted build failure like:
```
FAILED: src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o
/usr/bin/ccache /usr/bin/clang++-14 -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/home/jenkins-build/build/workspace/ceph-api/build/src/include -I/home/jenkins-build/build/workspace/ceph-api/src -isystem /opt/ceph/include -isystem /home/jenkins-build/build/workspace/ceph-api/build/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/api/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/sdk/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/xxHash -isystem /home/jenkins-build/build/workspace/ceph-api/src/fmt/include -g -Werror -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DBOOST_PHOENIX_STL_TUPLE_H_ -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wno-inconsistent-missing-override -Wno-mismatched-tags -Wno-unused-private-field -Wno-address-of-packed-member -Wno-unused-function -Wno-unused-local-typedef -Wno-varargs -Wno-gnu-designator -Wno-missing-braces -Wno-parentheses -Wno-deprecated-register -DCEPH_DEBUG_MUTEX -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -std=c++20 -MD -MT src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o -MF src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o.d -o src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o -c /home/jenkins-build/build/workspace/ceph-api/src/librados/snap_set_diff.cc
In file included from /home/jenkins-build/build/workspace/ceph-api/src/librados/snap_set_diff.cc:7:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/ceph_context.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_proxy.h:6:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config.h:27:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_values.h:59:
/home/jenkins-build/build/workspace/ceph-api/src/common/options/legacy_config_opts.h:7:10: fatal error: 'osd_legacy_options.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[111/1748] Generating immutable-object-cache_options.cc, ../../../include/immutable-object-cache_legacy_options.h
[112/1748] Building CXX object src/CMakeFiles/krbd.dir/krbd.cc.o
FAILED: src/CMakeFiles/krbd.dir/krbd.cc.o
/usr/bin/ccache /usr/bin/clang++-14 -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/home/jenkins-build/build/workspace/ceph-api/build/src/include -I/home/jenkins-build/build/workspace/ceph-api/src -isystem /opt/ceph/include -isystem /home/jenkins-build/build/workspace/ceph-api/build/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/api/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/jaegertracing/opentelemetry-cpp/sdk/include -isystem /home/jenkins-build/build/workspace/ceph-api/src/xxHash -isystem /home/jenkins-build/build/workspace/ceph-api/src/fmt/include -g -Werror -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DBOOST_PHOENIX_STL_TUPLE_H_ -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wno-inconsistent-missing-override -Wno-mismatched-tags -Wno-unused-private-field -Wno-address-of-packed-member -Wno-unused-function -Wno-unused-local-typedef -Wno-varargs -Wno-gnu-designator -Wno-missing-braces -Wno-parentheses -Wno-deprecated-register -DCEPH_DEBUG_MUTEX -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -std=c++20 -MD -MT src/CMakeFiles/krbd.dir/krbd.cc.o -MF src/CMakeFiles/krbd.dir/krbd.cc.o.d -o src/CMakeFiles/krbd.dir/krbd.cc.o -c /home/jenkins-build/build/workspace/ceph-api/src/krbd.cc
In file included from /home/jenkins-build/build/workspace/ceph-api/src/krbd.cc:44:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/mon/MonMap.h:28:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/mon/mon_types.h:20:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/include/Context.h:19:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/dout.h:29:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/ceph_context.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_proxy.h:6:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config.h:27:
In file included from /home/jenkins-build/build/workspace/ceph-api/src/common/config_values.h:59:
/home/jenkins-build/build/workspace/ceph-api/src/common/options/legacy_config_opts.h:11:10: fatal error: 'rgw_legacy_options.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```

so in this change, we link the related targets to
`legacy-option-headers` as well to fulfill the build dependency.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
13 months agomds/quiesce: drop remote authpins before waiting for the quiesce lock 57332/head
Leonid Usov [Thu, 16 May 2024 14:11:19 +0000 (17:11 +0300)]
mds/quiesce: drop remote authpins before waiting for the quiesce lock

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65802
13 months agoqa/cephfs/test_quiesce: test proper handling of remote authpins
Leonid Usov [Thu, 16 May 2024 13:52:14 +0000 (16:52 +0300)]
qa/cephfs/test_quiesce: test proper handling of remote authpins

When a request is blocked on the quiesce lock, it should release
all remote authpins, especially those that make an inode AUTHPIN_FROZEN

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds: don't clear `AUTHPIN_FROZEN` until `FROZEN` in rename_prep
Leonid Usov [Sun, 12 May 2024 00:36:32 +0000 (03:36 +0300)]
mds: don't clear `AUTHPIN_FROZEN` until `FROZEN` in rename_prep

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds: enhance the `lock path` asok command
Leonid Usov [Sat, 11 May 2024 14:00:21 +0000 (17:00 +0300)]
mds: enhance the `lock path` asok command

* when the quiesce lock is taken by this op, don't consider the inode `quiesced`
* drop all locks taken during traversal
* drop all local authpins after the locks are taken
* add --await functionality that will block the command until locks are taken or an error is encountered
* return the RC that represents the operation result. 0 if the operation was scheduled and hasn't failed so far
* add authpin control flags
** --ap-freeze - to auth_pin_freeze the target inode
** --ap-dont-block - to pass auth_pin_nonblocking when acquiring the target inode locks

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds/quiesce: overdrive fragmenting that's still freezing
Leonid Usov [Thu, 9 May 2024 01:39:12 +0000 (04:39 +0300)]
mds/quiesce: overdrive fragmenting that's still freezing

Quiesce requires revocation of capabilities,
which is not working for a freezing/frozen nodes.
Since it is best effort, abort an ongoing fragmenting
for the sake of a faster quiesce.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/65716
13 months agorevert: mds: provide a mechanism to authpin while freezing
Leonid Usov [Sun, 12 May 2024 16:19:34 +0000 (19:19 +0300)]
revert: mds: provide a mechanism to authpin while freezing

This is a functional revert of a9964a7ccc4394f923fb0f1c76eb8fa03fe8733d
git revert was giving too many conflicts, as the code has changed
too much since the original commit.

The bypass freezing mechanism lead us into several deadlocks,
and when we found out that a freezing inode defers reclaiming
client caps, we realized that we needed to try a different approach.
This commit removes the bypass freezing related changes to clear way
for a different approach to resolving the conflict between quiesce
and freezing.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoqa/cephfs/test_quiesce: enhance the fragmentation test
Leonid Usov [Thu, 2 May 2024 20:10:12 +0000 (23:10 +0300)]
qa/cephfs/test_quiesce: enhance the fragmentation test

Repeatedly quiesce under a heavy balancer load

Fixes: https://tracker.ceph.com/issues/65716
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agorgw: remove Ali Maredia from MAINTAINERS.md 57575/head
Casey Bodley [Mon, 20 May 2024 18:47:42 +0000 (14:47 -0400)]
rgw: remove Ali Maredia from MAINTAINERS.md

Ali has moved on to another project

Signed-off-by: Casey Bodley <cbodley@redhat.com>
13 months agoMerge pull request #57414 from neha-ojha/wip-milestone-squid
Neha Ojha [Mon, 20 May 2024 14:56:43 +0000 (10:56 -0400)]
Merge pull request #57414 from neha-ojha/wip-milestone-squid

.github/milestone.yml: add squid

Reviewed-by: Laura Flores <lflores@redhat.com>
13 months agosrc/ptl-tool: allow not pushing branch to ceph-ci 57529/head
Rishabh Dave [Thu, 16 May 2024 16:57:10 +0000 (22:27 +0530)]
src/ptl-tool: allow not pushing branch to ceph-ci

Sometimes we need a branch but don't want to launch builds on shaman for
it. For such cases, provide an option that allows not pushing the branch
to ceph-ci.

Creating a branch that'll only be passed to "teuthology-suite" option
"--suite-branch" is an example of such a case.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
13 months agocrimson/os/seastore/btree: drop FixedKVNode::child_pos_for_key() 55831/head
Xuehan Xu [Thu, 16 May 2024 01:21:45 +0000 (09:21 +0800)]
crimson/os/seastore/btree: drop FixedKVNode::child_pos_for_key()

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/btree: better UT checks
Xuehan Xu [Wed, 15 May 2024 08:15:01 +0000 (16:15 +0800)]
crimson/os/seastore/btree: better UT checks

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/btree: correct lba pointer comments
Xuehan Xu [Wed, 15 May 2024 07:46:01 +0000 (15:46 +0800)]
crimson/os/seastore/btree: correct lba pointer comments

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/cached_extent: EXIST_MUTATION_PENDING also
Xuehan Xu [Thu, 29 Feb 2024 06:35:31 +0000 (14:35 +0800)]
crimson/os/seastore/cached_extent: EXIST_MUTATION_PENDING also
considered as mutatione_pending

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/cached_extent: adjust
Xuehan Xu [Thu, 29 Feb 2024 06:16:37 +0000 (14:16 +0800)]
crimson/os/seastore/cached_extent: adjust
CachedExtent::on_replace_prior()

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/btree: misc consolidations
Xuehan Xu [Thu, 29 Feb 2024 06:06:35 +0000 (14:06 +0800)]
crimson/os/seastore/btree: misc consolidations

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/cache: drop unnecessary friend declarations
Xuehan Xu [Wed, 28 Feb 2024 10:26:24 +0000 (18:26 +0800)]
crimson/os/seastore/cache: drop unnecessary friend declarations

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/btree: add CachedExtent::on_rewrite() and
Xuehan Xu [Wed, 28 Feb 2024 09:59:41 +0000 (17:59 +0800)]
crimson/os/seastore/btree: add CachedExtent::on_rewrite() and
CachedExtent::is_rewrite()

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/lba_manager: extents pass to LBALeafNode::update()
Xuehan Xu [Wed, 28 Feb 2024 08:00:23 +0000 (16:00 +0800)]
crimson/os/seastore/lba_manager: extents pass to LBALeafNode::update()
must either has a null parent tracker or point to the current leaf node

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agocrimson/os/seastore/lba_manager: hide incref_extent(t, addr, delta) 57262/head
Xuehan Xu [Mon, 20 May 2024 02:45:25 +0000 (10:45 +0800)]
crimson/os/seastore/lba_manager: hide incref_extent(t, addr, delta)

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agomds/queisce-db: collect acks while bootstrapping 57552/head
Leonid Usov [Sun, 19 May 2024 21:54:59 +0000 (00:54 +0300)]
mds/queisce-db: collect acks while bootstrapping

Keeping the acks that come in will allow processing them
immediately after the bootstrap is over, avoiding unnecessary
set state transitions.

Fixes: https://tracker.ceph.com/issues/66119
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
14 months agoMerge pull request #57011 from tchaikov/wip-cmake-legacy-option-header
Kefu Chai [Sun, 19 May 2024 13:56:02 +0000 (21:56 +0800)]
Merge pull request #57011 from tchaikov/wip-cmake-legacy-option-header

cmake: link against legacy-option-headers instead of depending on it

Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #57542 from zdover23/wip-doc-2024-05-18-ceph-fs-volumes-subvolume...
Zac Dover [Sun, 19 May 2024 11:09:06 +0000 (21:09 +1000)]
Merge pull request #57542 from zdover23/wip-doc-2024-05-18-ceph-fs-volumes-subvolume-quiesce-squid-note

doc/cephfs: Squid and later - subvolume quiesce

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agoMerge pull request #57383 from athanatos/sjust/wip-65867-user-version
Matan Breizman [Sun, 19 May 2024 10:30:28 +0000 (13:30 +0300)]
Merge pull request #57383 from athanatos/sjust/wip-65867-user-version

crimson: fix user_version handling

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agoMerge pull request #56114 from xxhdx1985126/wip-seastore-teuthology-max-test-attr-len
Matan Breizman [Sun, 19 May 2024 10:28:24 +0000 (13:28 +0300)]
Merge pull request #56114 from xxhdx1985126/wip-seastore-teuthology-max-test-attr-len

src/test/TestRados: add max-attr-len to control the max length of attributes sent to OSDs

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
14 months agoMerge pull request #55008 from NitzanMordhai/wip-nitzan-clear-data-digest-for-crc...
NitzanMordhai [Sun, 19 May 2024 07:29:44 +0000 (10:29 +0300)]
Merge pull request #55008 from NitzanMordhai/wip-nitzan-clear-data-digest-for-crc-check

osd: full-object read CRC mismatch due to 'truncate' modifying oi.size w/o clearing 'data_digest'

14 months agoceph_test_rados_io_pp: Add cxx test for append zero test 55008/head
NitzanMordhai [Tue, 26 Dec 2023 10:22:19 +0000 (10:22 +0000)]
ceph_test_rados_io_pp: Add cxx test for append zero test

1. adding allow_ec_overwrite option for cxx test
2. adding new test for crc failuer check with append zero length

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
14 months agotest/pybind: check crc fail after append zero
NitzanMordhai [Tue, 26 Dec 2023 09:02:22 +0000 (09:02 +0000)]
test/pybind: check crc fail after append zero

Add test for zero crc check failed.

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
14 months agoosd: Adjust code style
jiawd [Wed, 17 Nov 2021 09:28:59 +0000 (09:28 +0000)]
osd: Adjust code style

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: jiawd <jiawendong@xtaotech.com>
14 months agoosd: Remove the duplicate oi.clear_data_digest
jiawd [Fri, 12 Nov 2021 04:03:15 +0000 (04:03 +0000)]
osd: Remove the duplicate oi.clear_data_digest

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: jiawd <jiawendong@xtaotech.com>
14 months agoosd: full-object read crc is mismatch, because truncate modify oi.size and forget...
jiawd [Fri, 12 Nov 2021 03:48:56 +0000 (03:48 +0000)]
osd: full-object read crc is mismatch, because truncate modify oi.size and forget to clear data_digest

when write before truncate, need trim length, if truncate is to 0,
write is [0~128k], write change to [0~0], do nothing, oi.size is 0, x1 = set_data_digest(crc32(-1)).
write is [128k~128k], write change to [128k~0], truncate oi.size to offset 128k, x2 = set_data_digest(crc32(x1)).
write is [256k~128k], write change to [256k~0], truncate oi.size to offset 256k, x3 = set_data_digest(crc32(x2)).
...
write is [4063232~128k], write change to [4063232~0], truncate oi.size to offset 4063232, xn = set_data_digest(crs32(xn-1))
Now, we can see oi.size is 4063232, and data_digest is 0xffffffff, because thelength of in_data of crc is 0 every time.
when read verify crc will reply EIO. (EC pool).

so, when truncate in write, need clear data_digest and DIGEST flag,
when write before truncate, need to trim length, when offset over than oi.size, don't truncate oi.size to offset.

Fixes: https://tracker.ceph.com/issues/53240
Signed-off-by: jiawd <jiawendong@xtaotech.com>
14 months agodoc/cephfs: Squid and later - subvolume quiesce 57542/head
Zac Dover [Sun, 19 May 2024 00:00:29 +0000 (10:00 +1000)]
doc/cephfs: Squid and later - subvolume quiesce

Add a note to the "Subvolume quiesce" section that says that the
information in the section applies only to the Squid and later releases
of Ceph. This is included here so that I don't overwrite the Reef and
Quincy documentation with irrelevant information, and so that I don't
overwrite the Squid information with blank space where the "Subvolume
quiesce" section should be.

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #57433 from idryomov/wip-65813
Ilya Dryomov [Sat, 18 May 2024 20:30:29 +0000 (22:30 +0200)]
Merge pull request #57433 from idryomov/wip-65813

librbd: don't crash on a zero-length read if buffer is NULL

Reviewed-by: Ramana Raja <rraja@redhat.com>
14 months agoMerge pull request #56310 from ajarr/wip-64800
Ilya Dryomov [Sat, 18 May 2024 20:28:56 +0000 (22:28 +0200)]
Merge pull request #56310 from ajarr/wip-64800

librbd: create rbd_trash object during pool initialization and namespace creation

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
14 months agoMerge pull request #57534 from zdover23/wip-doc-2024-05-17-ceph-fs-volumes-2-of-x
Zac Dover [Sat, 18 May 2024 11:27:45 +0000 (21:27 +1000)]
Merge pull request #57534 from zdover23/wip-doc-2024-05-17-ceph-fs-volumes-2-of-x

doc/cephfs: edit fs-volumes.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agoMerge pull request #57528 from rishabh-d-dave/fix-test_rootsquash_nofeature
Rishabh Dave [Fri, 17 May 2024 12:26:22 +0000 (17:56 +0530)]
Merge pull request #57528 from rishabh-d-dave/fix-test_rootsquash_nofeature

qa/cephfs: add MDS_CLIENTS_BROKEN_ROOTSQUASH to ignorelist

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoMerge pull request #57496 from rishabh-d-dave/block-test_idem_unaffected_root_squash
Rishabh Dave [Fri, 17 May 2024 12:26:01 +0000 (17:56 +0530)]
Merge pull request #57496 from rishabh-d-dave/block-test_idem_unaffected_root_squash

qa/cephfs: block buggy tests in test_admin.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoMerge pull request #57333 from rishabh-d-dave/fs-fail-cache-kclient
Rishabh Dave [Fri, 17 May 2024 12:25:44 +0000 (17:55 +0530)]
Merge pull request #57333 from rishabh-d-dave/fs-fail-cache-kclient

qa/cephfs: set joinable on FS before exiting tests in TestFSFail

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agodoc/cephfs: edit fs-volumes.rst (2 of x) 57534/head
Zac Dover [Fri, 17 May 2024 10:46:28 +0000 (20:46 +1000)]
doc/cephfs: edit fs-volumes.rst (2 of x)

Edit doc/cephfs/fs-volumes to the section "Cloning Snapshots" (but not
including the section "Cloning Snapshots".

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #57497 from rhcs-dashboard/fix-66058-main
Aashish Sharma [Fri, 17 May 2024 09:07:10 +0000 (14:37 +0530)]
Merge pull request #57497 from rhcs-dashboard/fix-66058-main

mgr/dashboard: Fix host count per cluster and total hosts count on multi-cluster overview page

Reviewed-by: Nizamudeen A <nia@redhat.com>
14 months agoMerge pull request #57498 from idryomov/wip-link-to-mon-osd-blocklist-default-expire
Ilya Dryomov [Fri, 17 May 2024 07:53:09 +0000 (09:53 +0200)]
Merge pull request #57498 from idryomov/wip-link-to-mon-osd-blocklist-default-expire

common/options: link to mon_osd_blocklist_default_expire from RBD

Reviewed-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Reviewed-by: N Balachandran <nibalach@redhat.com>
14 months agoMerge pull request #52560 from petrutlucian94/rbd_service_restart_test
Ilya Dryomov [Fri, 17 May 2024 07:09:38 +0000 (09:09 +0200)]
Merge pull request #52560 from petrutlucian94/rbd_service_restart_test

qa: add ceph-rbd windows service restart test

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
14 months agoMerge pull request #57253 from rhcs-dashboard/core_events_migration_for_c9
Nizamudeen A [Fri, 17 May 2024 06:31:02 +0000 (12:01 +0530)]
Merge pull request #57253 from rhcs-dashboard/core_events_migration_for_c9

mgr/k8sevents: update V1Events to CoreV1Events

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
14 months agomgr/dashboard: Fix host count per cluster and total hosts count on multi-cluster... 57497/head
Aashish Sharma [Thu, 16 May 2024 08:26:34 +0000 (13:56 +0530)]
mgr/dashboard: Fix host count per cluster and total hosts count on multi-cluster overview page

Fixes: https://tracker.ceph.com/issues/66058
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
14 months agoqa/cephfs: block buggy tests in test_admin.py 57496/head
Rishabh Dave [Thu, 16 May 2024 07:00:49 +0000 (12:30 +0530)]
qa/cephfs: block buggy tests in test_admin.py

Block test_idem_unaffected_root_squash temporarily and
test_multifs_single_path_rootsquash.

This test fails due to a known bug. Block it temporarily so that
test_admin.py can run fully and PRs under QA can be tested fully.
Otherwise, this test fails and that halts test_admin.py, which leaves
the PR partially untested.

This failure is then seen as an unrelated failure which lets the buggy
code get merged. This has happened recently.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
14 months agocrimson/os/seastore: add comments to highlight necessary invariants
Xuehan Xu [Thu, 16 May 2024 06:56:20 +0000 (14:56 +0800)]
crimson/os/seastore: add comments to highlight necessary invariants

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agocrimson/os/seastore/cache: add a TODO comment to recommand dropping
Xuehan Xu [Mon, 13 May 2024 03:48:28 +0000 (11:48 +0800)]
crimson/os/seastore/cache: add a TODO comment to recommand dropping
`Cache::retire_extent_addr` in the future

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agocrimson/os/seastore/object_data_handler: minor bug fix
Xuehan Xu [Fri, 10 May 2024 08:34:02 +0000 (16:34 +0800)]
crimson/os/seastore/object_data_handler: minor bug fix

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agocrimson/os/seastore/lba_manager: clean up LBAManager::decref_extent()
Xuehan Xu [Wed, 8 May 2024 03:14:33 +0000 (11:14 +0800)]
crimson/os/seastore/lba_manager: clean up LBAManager::decref_extent()
interface

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agocrimson/os/seastore/transaction_manager: refactor extent remapping
Xuehan Xu [Thu, 9 May 2024 12:02:07 +0000 (20:02 +0800)]
crimson/os/seastore/transaction_manager: refactor extent remapping

dec_ref/alloc/clone/inc_ref of lba mappings caused by extent remappings
are now integrated into a single LBAManager::remap_lba_mappings()
interface

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agocrimson/os/seastore/transaction_manager: add get_extent_if_linked() interface
Xuehan Xu [Thu, 9 May 2024 11:59:19 +0000 (19:59 +0800)]
crimson/os/seastore/transaction_manager: add get_extent_if_linked() interface

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agocrimson/os/seastore/cache: add retire_absent_extent_addr() interface
Xuehan Xu [Thu, 9 May 2024 12:01:29 +0000 (20:01 +0800)]
crimson/os/seastore/cache: add retire_absent_extent_addr() interface

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agocrimson/os/seastore/lba_manager: don't increase intermediate mappings'
Xuehan Xu [Sat, 4 May 2024 04:21:13 +0000 (12:21 +0800)]
crimson/os/seastore/lba_manager: don't increase intermediate mappings'
refcount if LBAManager::clone_mapping() is called to remap mappings

TransactionManager::remap_pin() will increase the refcount itself

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agoMerge pull request #57474 from xxhdx1985126/wip-seastore-rewrite-bug-fix
Yingxin [Fri, 17 May 2024 02:36:22 +0000 (10:36 +0800)]
Merge pull request #57474 from xxhdx1985126/wip-seastore-rewrite-bug-fix

crimson/os/seastore/transaction_manager: correct the offset of the data copied from the original extents

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agoMerge PR #57302 into main
Patrick Donnelly [Fri, 17 May 2024 01:12:51 +0000 (21:12 -0400)]
Merge PR #57302 into main

* refs/pull/57302/head:
qa/tasks/quiescer: dump ops in parallel

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
14 months agoMerge pull request #57260 from tchaikov/test_back_trace-with-asan
Kefu Chai [Fri, 17 May 2024 00:46:33 +0000 (08:46 +0800)]
Merge pull request #57260 from tchaikov/test_back_trace-with-asan

test/common/test_back_trace: skip one more frame when testing w/ ASan

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
14 months agoMerge pull request #57429 from tchaikov/dencoder-unregister
Kefu Chai [Fri, 17 May 2024 00:41:59 +0000 (08:41 +0800)]
Merge pull request #57429 from tchaikov/dencoder-unregister

tools/ceph-dencoder: unregister dencoders in dtor

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
14 months agoqa/cephfs: add MDS_CLIENTS_BROKEN_ROOTSQUASH to ignorelist 57528/head
Rishabh Dave [Thu, 16 May 2024 16:30:01 +0000 (22:00 +0530)]
qa/cephfs: add MDS_CLIENTS_BROKEN_ROOTSQUASH to ignorelist

MDS_CLIENTS_BROKEN_ROOTSQUASH is generated and expected by
test_rootsquash_nofeature but it hasn't be added to ignorelist as a
result of which QA code marks the job as failed even though all tests
finished running successfully.

Introduced-by: bccc8ceb471c441ec04d7eb2c353630f8c5ce843
Fixes: https://tracker.ceph.com/issues/66075
Signed-off-by: Rishabh Dave <ridave@redhat.com>
14 months agoqa/cephfs: set joinable on FS before exiting tests in TestFSFail 57333/head
Rishabh Dave [Tue, 7 May 2024 14:50:55 +0000 (20:20 +0530)]
qa/cephfs: set joinable on FS before exiting tests in TestFSFail

After running TestFSFail, CephFSTestCase.tearDown() fails attempting
to unmount CephFS. Set joinable on FS and wait for the MDS to be up
before exiting the test. This will ensure that unmounting is
successful in teardown.

Fixes: https://tracker.ceph.com/issues/65841
Signed-off-by: Rishabh Dave <ridave@redhat.com>
14 months agoqa/tasks/quiescer: dump ops in parallel 57302/head
Patrick Donnelly [Mon, 6 May 2024 18:02:02 +0000 (14:02 -0400)]
qa/tasks/quiescer: dump ops in parallel

Since this --flags=locks takes the mds_lock and dumps thousands of ops, this
may take a long time to complete for each individual MDS. The entire quiesce
set may timeout (and all q ops killed) before we finish dumping ops.

Fixes: https://tracker.ceph.com/issues/65823
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoMerge pull request #56640 from NitzanMordhai/wip-nitzan-public-addr-check-subnet...
Yuri Weinstein [Thu, 16 May 2024 15:12:51 +0000 (08:12 -0700)]
Merge pull request #56640 from NitzanMordhai/wip-nitzan-public-addr-check-subnet-unreachable

common/pick_address: check if address in subnet all public address

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Prashant D <pdhange@redhat.com>
14 months agoMerge pull request #57479 from ktdreyer/wip-66016-qatlib-arches
Casey Bodley [Thu, 16 May 2024 14:15:23 +0000 (15:15 +0100)]
Merge pull request #57479 from ktdreyer/wip-66016-qatlib-arches

cmake: disable WITH_QATLIB/ZIP on non-x86

Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #56743 from NitzanMordhai/wip-nitzan-backword-forword-dencoder...
NitzanMordhai [Thu, 16 May 2024 12:40:11 +0000 (15:40 +0300)]
Merge pull request #56743 from NitzanMordhai/wip-nitzan-backword-forword-dencoder-tests

suites: adding dencoder test multi versions

14 months agocommon/options: link to mon_osd_blocklist_default_expire from RBD 57498/head
Ilya Dryomov [Thu, 16 May 2024 10:40:58 +0000 (12:40 +0200)]
common/options: link to mon_osd_blocklist_default_expire from RBD

"number of seconds to blocklist - set to 0 for OSD default" in the
description of rbd_blocklist_expire_seconds refers to the value that is
controlled by mon_osd_blocklist_default_expire.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
14 months agoMerge PR #56944 into main
Venky Shankar [Thu, 16 May 2024 09:22:13 +0000 (14:52 +0530)]
Merge PR #56944 into main

* refs/pull/56944/head:
qa: add a YAML to ignore MGR_DOWN warning

Reviewed-by: Venky Shankar <vshankar@redhat.com>
14 months agoMerge pull request #55735 from xxhdx1985126/wip-crimson-errorator-void-handler
Yingxin [Thu, 16 May 2024 07:57:48 +0000 (15:57 +0800)]
Merge pull request #55735 from xxhdx1985126/wip-crimson-errorator-void-handler

crimson/common/errorator: disallow void-returning error handlers

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
14 months agoqa/cephfs: pass MDS name, not FS name, to "ceph mds fail" cmd 57493/head
Rishabh Dave [Wed, 8 May 2024 13:59:11 +0000 (19:29 +0530)]
qa/cephfs: pass MDS name, not FS name, to "ceph mds fail" cmd

This issue was not caught in original QA run because "ceph mds fail"
returns 0 even though MDS name received by it in argument is
non-existent. This is done for the sake of idempotency, however it
caused this bug to go uncaught.

Fixea: https://tracker.ceph.com/issues/65864
Signed-off-by: Rishabh Dave <ridave@redhat.com>
14 months agoMerge pull request #57432 from cyx1231st/wip-seastore-cleanup-objdata-read
Yingxin [Thu, 16 May 2024 06:18:46 +0000 (14:18 +0800)]
Merge pull request #57432 from cyx1231st/wip-seastore-cleanup-objdata-read

crimson/os/seastore/object_data_handler: cleanup read()

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
14 months agoMerge PR #56941 into main
Venky Shankar [Thu, 16 May 2024 05:59:17 +0000 (11:29 +0530)]
Merge PR #56941 into main

* refs/pull/56941/head:
mds: find a new head for the batch ops when the head is dead

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoMerge PR #57275 into main
Venky Shankar [Thu, 16 May 2024 05:56:45 +0000 (11:26 +0530)]
Merge PR #57275 into main

* refs/pull/57275/head:
qa/fsx: use a specified sha1 to build the xfstest-dev

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
14 months agosuites: adding dencoder test multi versions 56743/head
nmordech@redhat.com [Wed, 3 Apr 2024 07:02:15 +0000 (07:02 +0000)]
suites: adding dencoder test multi versions

We are currently conducting regular ceph-dencoder tests for backward compatibility.
However, we are omitting tests for forward compatibility.
This suite will introduce tests against the ceph-objects-corpus to address forward
compatibility issues that may arise.
the script will install N-2 version and run against the latest version corpus objects
that we have, then install N-1 to N version and check them as well.

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>