]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
23 months agoqa/workunits/rbd: use jammy version of qemu-iotests for centos 9 52624/head
Ilya Dryomov [Tue, 25 Jul 2023 11:31:25 +0000 (13:31 +0200)]
qa/workunits/rbd: use jammy version of qemu-iotests for centos 9

It's the one we are using for all recent distros.

While at it, get rid of custom bin directory -- it appears that both
v2.3.0 and v2.11.0 tests are happy with just symlinks in the current
directory.

Fixes: https://tracker.ceph.com/issues/61565
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
23 months agoMerge PR #52523 into main
Venky Shankar [Tue, 25 Jul 2023 10:53:23 +0000 (16:23 +0530)]
Merge PR #52523 into main

* refs/pull/52523/head:
mds: remove dead method

Reviewed-by: Venky Shankar <vshankar@redhat.com>
23 months agoMerge pull request #52429 from guits/fix-raw-list
Guillaume Abrioux [Tue, 25 Jul 2023 08:22:26 +0000 (10:22 +0200)]
Merge pull request #52429 from guits/fix-raw-list

ceph-volume: fix raw list for lvm devices

23 months agoMerge PR #52597 into main
Venky Shankar [Tue, 25 Jul 2023 07:23:45 +0000 (12:53 +0530)]
Merge PR #52597 into main

* refs/pull/52597/head:
qa: use centos 8.stream for fs:upgrade tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
23 months agoMerge pull request #52599 from Matan-B/wip-matanb-crimson-cbt-fix
Matan Breizman [Tue, 25 Jul 2023 06:58:58 +0000 (09:58 +0300)]
Merge pull request #52599 from Matan-B/wip-matanb-crimson-cbt-fix

qa: Fix cbt usage with Crimson

Reviewed-by: Samuel Just <sjust@redhat.com>
23 months agoMerge pull request #52598 from Matan-B/wip-matanb-crimson-centos-8
Matan Breizman [Tue, 25 Jul 2023 06:57:01 +0000 (09:57 +0300)]
Merge pull request #52598 from Matan-B/wip-matanb-crimson-centos-8

qa/suites/crimson-rados: Use centos8 for testing

Reviewed-by: Samuel Just <sjust@redhat.com>
23 months agoqa: use centos 8.stream for fs:upgrade tests 52597/head
Venky Shankar [Mon, 24 Jul 2023 06:54:35 +0000 (12:24 +0530)]
qa: use centos 8.stream for fs:upgrade tests

fs:upgrade tests use n/o/p release packages which aren't
available for centos 9.stream - switch using 8.stream instead.

Fixes: http://tracker.ceph.com/issues/62146
Signed-off-by: Venky Shankar <vshankar@redhat.com>
23 months agoMerge PR #48038 into main
Venky Shankar [Tue, 25 Jul 2023 04:04:36 +0000 (09:34 +0530)]
Merge PR #48038 into main

* refs/pull/48038/head:
client test: Add fsync to ll_preadv_pwritev test
libcephfs: Option to write + fsync via ceph_ll_nonblocking_readv_writev
Client: Hook nonblocking fsync into the write path of ll_preadv_pwritev
Client: Add non-blocking fsync
Client/Inode: wait_for_caps fixups
Client: change several waitfor_* to use Context list
test: Add nonblocking I/O client test
libcephfs: Add nonblocking readv/writev I/O interface
Client: Add ll_preadv_pwritev to expose non-blocking I/O to libcephfs
Client: Add non-blocking helper classes
Client: Break some code into new methods in prep for non-blocking I/O
Buffers: Add function to buffer.h to copy bufferlist to an iovec
ObjectCacher: Prepare file_write path for non-blocking I/O

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
23 months agoMerge pull request #52607 from zap51/patch-1
Ilya Dryomov [Tue, 25 Jul 2023 02:49:40 +0000 (04:49 +0200)]
Merge pull request #52607 from zap51/patch-1

doc/rbd/rbd-cloudstack.rst: include support for multiple monitors

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
23 months agoMerge pull request #49889 from bluikko/bluikko-doc-srv-lookup-link
Anthony D'Atri [Mon, 24 Jul 2023 22:39:53 +0000 (18:39 -0400)]
Merge pull request #49889 from bluikko/bluikko-doc-srv-lookup-link

doc/rados/configuration: add links to MON DNS

23 months agodoc/rbd/rbd-cloudstack.rst: include support for multiple monitors 52607/head
Jayanth Reddy [Mon, 24 Jul 2023 16:04:06 +0000 (21:34 +0530)]
doc/rbd/rbd-cloudstack.rst: include support for multiple monitors

Signed-off-by: Jayanth Reddy <45934027+zap51@users.noreply.github.com>
23 months agoclient test: Add fsync to ll_preadv_pwritev test nonblocking-io 48038/head
Frank S. Filz [Mon, 8 Aug 2022 23:48:37 +0000 (16:48 -0700)]
client test: Add fsync to ll_preadv_pwritev test

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agolibcephfs: Option to write + fsync via ceph_ll_nonblocking_readv_writev
Frank S. Filz [Thu, 14 Jul 2022 22:04:24 +0000 (15:04 -0700)]
libcephfs: Option to write + fsync via ceph_ll_nonblocking_readv_writev

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoClient: Hook nonblocking fsync into the write path of ll_preadv_pwritev
Frank S. Filz [Thu, 14 Jul 2022 22:02:06 +0000 (15:02 -0700)]
Client: Hook nonblocking fsync into the write path of ll_preadv_pwritev

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoClient: Add non-blocking fsync
Frank S. Filz [Fri, 1 Jul 2022 20:58:23 +0000 (13:58 -0700)]
Client: Add non-blocking fsync

We will need the ability to do an non-blocking write that finishes with
fsync so we need non-blocking fsync.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoClient/Inode: wait_for_caps fixups
Frank S. Filz [Tue, 6 Sep 2022 18:44:43 +0000 (11:44 -0700)]
Client/Inode: wait_for_caps fixups

The non-blocking flush requires us to be able to re-add to
wait_for_caps but if we simply add to the list, we get stuck in an
infinite loop. Add a wait_for_caps_pending list to add to, and then
when done signalling, we move the wait_for_caps_pending items onto the
wait_for_caps list.

Also in handle_cap_flush_ack(), we need to complete the caps flushing
before signalling since with non-blocking flush, we will be actually
examining the caps from the completion rather than signalling a
condition variable in the completion.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoClient: change several waitfor_* to use Context list
Frank S. Filz [Wed, 29 Jun 2022 22:39:12 +0000 (15:39 -0700)]
Client: change several waitfor_* to use Context list

Change waitfor_caps, waitfor_safe and waitfor_commit to Context list.

To make a non-blocking version of fsync (to be used for non-blocking write
and commit), we need to be able to signal an arbitrary Context on completion
of either of these lists.

add_nonblocking_onfinish_to_context_list Adds such a Context to the list.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agotest: Add nonblocking I/O client test
Frank S. Filz [Wed, 11 May 2022 21:37:15 +0000 (14:37 -0700)]
test: Add nonblocking I/O client test

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agolibcephfs: Add nonblocking readv/writev I/O interface
Frank S. Filz [Wed, 11 May 2022 21:35:53 +0000 (14:35 -0700)]
libcephfs: Add nonblocking readv/writev I/O interface

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoClient: Add ll_preadv_pwritev to expose non-blocking I/O to libcephfs
Frank S. Filz [Wed, 11 May 2022 21:34:35 +0000 (14:34 -0700)]
Client: Add ll_preadv_pwritev to expose non-blocking I/O to libcephfs

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoClient: Add non-blocking helper classes
Frank S. Filz [Wed, 11 May 2022 21:22:55 +0000 (14:22 -0700)]
Client: Add non-blocking helper classes

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoClient: Break some code into new methods in prep for non-blocking I/O
Frank S. Filz [Tue, 10 May 2022 22:02:15 +0000 (15:02 -0700)]
Client: Break some code into new methods in prep for non-blocking I/O

These bits of code need to be invoked from a separate spot when we
introduce non-blocking I/O, so break them out now.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoBuffers: Add function to buffer.h to copy bufferlist to an iovec
Frank S. Filz [Tue, 10 May 2022 21:15:05 +0000 (14:15 -0700)]
Buffers: Add function to buffer.h to copy bufferlist to an iovec

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoObjectCacher: Prepare file_write path for non-blocking I/O
Frank S. Filz [Wed, 4 May 2022 20:35:44 +0000 (13:35 -0700)]
ObjectCacher: Prepare file_write path for non-blocking I/O

For non-blocking I/O, we will want to be able to override
block_writes_upfront so rename the member cfg_block_writes_upfront and add
an option to pass block_writes_upfront as a parameter along with a member
access method so caller can pass cfg_block_writes_upfront.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
23 months agoMerge pull request #52521 from cbodley/wip-62059
Casey Bodley [Mon, 24 Jul 2023 18:06:01 +0000 (14:06 -0400)]
Merge pull request #52521 from cbodley/wip-62059

valgrind: update suppression for SyscallParam under call_init

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
23 months agoMerge pull request #52601 from idryomov/wip-doc-redundant-tiering-note
Neha Ojha [Mon, 24 Jul 2023 17:06:23 +0000 (10:06 -0700)]
Merge pull request #52601 from idryomov/wip-doc-redundant-tiering-note

doc/rados: remove redundant cache tiering deprecation note

Reviewed-by: Neha Ojha <nojha@redhat.com>
23 months agoMerge pull request #51934 from kotreshhr/fix-assert-rename
Rishabh Dave [Mon, 24 Jul 2023 16:14:27 +0000 (21:44 +0530)]
Merge pull request #51934 from kotreshhr/fix-assert-rename

mds: Fix the linkmerge assert check

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
23 months agoMerge pull request #52473 from vedanshbhartia/null_deref
Yuval Lifshitz [Mon, 24 Jul 2023 16:11:44 +0000 (19:11 +0300)]
Merge pull request #52473 from vedanshbhartia/null_deref

rgw: add coverity annotations and asserts for null dereferences

23 months agoMerge pull request #52437 from vedanshbhartia/coverity_missing_break
Yuval Lifshitz [Mon, 24 Jul 2023 16:11:01 +0000 (19:11 +0300)]
Merge pull request #52437 from vedanshbhartia/coverity_missing_break

rgw: Add coverity annotation for missing break statement in switch

23 months agoMerge pull request #52436 from vedanshbhartia/coverity_logical_dead
Yuval Lifshitz [Mon, 24 Jul 2023 16:10:08 +0000 (19:10 +0300)]
Merge pull request #52436 from vedanshbhartia/coverity_logical_dead

rgw: Remove logically dead code

23 months agoMerge pull request #52434 from vedanshbhartia/coverity_1511179
Yuval Lifshitz [Mon, 24 Jul 2023 16:08:06 +0000 (19:08 +0300)]
Merge pull request #52434 from vedanshbhartia/coverity_1511179

rgw: Fix potential null pointer dereference in rgw_user.cc

23 months agoMerge pull request #52433 from vedanshbhartia/coverity_1510266
Yuval Lifshitz [Mon, 24 Jul 2023 16:07:31 +0000 (19:07 +0300)]
Merge pull request #52433 from vedanshbhartia/coverity_1510266

rgw: When finding bucket owner info, handle account name being empty

23 months agoMerge pull request #52432 from vedanshbhartia/coverity_1511177
Yuval Lifshitz [Mon, 24 Jul 2023 16:06:42 +0000 (19:06 +0300)]
Merge pull request #52432 from vedanshbhartia/coverity_1511177

rgw: Fix potential null dereference error in bucket name parsing

23 months agoMerge pull request #52253 from vedanshbhartia/coverity_1515338
Yuval Lifshitz [Mon, 24 Jul 2023 16:05:04 +0000 (19:05 +0300)]
Merge pull request #52253 from vedanshbhartia/coverity_1515338

rgw: Init res id with cls_2pc_reservation::NO_ID

23 months agoMerge pull request #51648 from vedanshbhartia/coverity_1510684
Yuval Lifshitz [Mon, 24 Jul 2023 16:04:08 +0000 (19:04 +0300)]
Merge pull request #51648 from vedanshbhartia/coverity_1510684

rgw: refactor D3nDataCache::d3n_io_write to avoid resource leaks

23 months agoMerge pull request #51772 from caisan/multisite-hang-period-update
Casey Bodley [Mon, 24 Jul 2023 14:30:39 +0000 (10:30 -0400)]
Merge pull request #51772 from caisan/multisite-hang-period-update

rgw:multisite hang when update and commit period

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
23 months agoMerge pull request #52056 from cbodley/wip-56993
Casey Bodley [Mon, 24 Jul 2023 14:28:14 +0000 (10:28 -0400)]
Merge pull request #52056 from cbodley/wip-56993

rgw: s3 object lock avoids overflow in retention date

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
23 months agoMerge pull request #52036 from adamemerson/wip-rgw-mdlog-yield
Casey Bodley [Mon, 24 Jul 2023 14:27:57 +0000 (10:27 -0400)]
Merge pull request #52036 from adamemerson/wip-rgw-mdlog-yield

rgw: Thread optional_yield through RGWMetadataLog operations

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
23 months agovalgrind: update suppression for SyscallParam under call_init 52521/head
Casey Bodley [Tue, 18 Jul 2023 12:55:51 +0000 (08:55 -0400)]
valgrind: update suppression for SyscallParam under call_init

centos9 has a slightly different call stack here

Fixes: https://tracker.ceph.com/issues/62059
Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agoMerge pull request #52529 from xxhdx1985126/wip-61943
Matan Breizman [Mon, 24 Jul 2023 13:54:17 +0000 (16:54 +0300)]
Merge pull request #52529 from xxhdx1985126/wip-61943

crimson/osd/osd_operations: add pipeline to LogMissingRequest to sync it

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
23 months agodoc/rados: remove redundant cache tiering deprecation note 52601/head
Ilya Dryomov [Mon, 24 Jul 2023 13:01:26 +0000 (15:01 +0200)]
doc/rados: remove redundant cache tiering deprecation note

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
23 months agoqa/suites/crimson-rados/perf: add monitoring_profiles for cbt 52599/head
Matan Breizman [Mon, 24 Jul 2023 11:03:43 +0000 (11:03 +0000)]
qa/suites/crimson-rados/perf: add monitoring_profiles for cbt

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
23 months agoqa/tasks/cbt.py: Fix perf package naming
Matan Breizman [Mon, 24 Jul 2023 09:02:43 +0000 (09:02 +0000)]
qa/tasks/cbt.py: Fix perf package naming

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
23 months agoqa/suites/crimson-rados: Use centos8 for testing 52598/head
Matan Breizman [Mon, 24 Jul 2023 07:11:13 +0000 (07:11 +0000)]
qa/suites/crimson-rados: Use centos8 for testing

centos_latest was moved to centos9, we only schedule centos8
Crimson builds.
Use centos8 until Crimson will support 9.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
23 months agoMerge pull request #52439 from AliMasarweh/wip-alimasa-persistant-q-observability
Ali Masarwa [Mon, 24 Jul 2023 07:06:36 +0000 (10:06 +0300)]
Merge pull request #52439 from AliMasarweh/wip-alimasa-persistant-q-observability

RGW: fix issue in observability over the persistent topics queue

23 months agocrimson/osd/osd_operations: add pipeline to LogMissingRequest to sync it 52529/head
Xuehan Xu [Wed, 19 Jul 2023 07:52:22 +0000 (15:52 +0800)]
crimson/osd/osd_operations: add pipeline to LogMissingRequest to sync it
with ReplicateRequest

This commit is a follow-up for e14142894922b403344d7f08315b67a291b9a27a
and f4d336a2dbf864fe798ca7f500d44576d3f626d5

Fixes: https://tracker.ceph.com/issues/61943
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
23 months agodoc/rados/configuration: add links to MON DNS 49889/head
Ville Ojamo [Fri, 27 Jan 2023 07:54:11 +0000 (14:54 +0700)]
doc/rados/configuration: add links to MON DNS

Add two links to MON DNS lookup and an anchor in the destination document.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
23 months agoMerge pull request #52221 from xxhdx1985126/wip-collection-bug-fix
Yingxin [Mon, 24 Jul 2023 01:56:37 +0000 (09:56 +0800)]
Merge pull request #52221 from xxhdx1985126/wip-collection-bug-fix

crimson/os/seastore/collection_manager: fill CollectionNode::decoded on clean reads

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
23 months agoMerge pull request #52446 from xxhdx1985126/wip-seastore-lazy-read-patch
Yingxin [Mon, 24 Jul 2023 01:55:54 +0000 (09:55 +0800)]
Merge pull request #52446 from xxhdx1985126/wip-seastore-lazy-read-patch

crimson/os/seastore/transaction_manager: data loss issues

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Xinyu Huang <xinyu.huang@intel.com>
23 months agoMerge pull request #52445 from soumyakoduri/wip-skoduri-syncpolicy-fixes
Soumya Koduri [Sun, 23 Jul 2023 17:41:14 +0000 (23:11 +0530)]
Merge pull request #52445 from soumyakoduri/wip-skoduri-syncpolicy-fixes

rgw/sync-policy: Correct "sync status" & "sync group" commands

Reviewed-by: Casey Bodley <cbodley@redhat.com>
23 months agorgw: Read `sync status` from only the zones allowed to sync from 52445/head
Soumya Koduri [Wed, 5 Jul 2023 12:15:39 +0000 (17:45 +0530)]
rgw: Read `sync status` from only the zones allowed to sync from

Using multisite sync policy, zones within a zonegroup can be configured
not to sync from certain zones. Filter such zones while reading sync
status.

Fixes: https://tracker.ceph.com/issues/62014
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
23 months agorgw/sync-policy: Do not allow empty group names
Soumya Koduri [Fri, 14 Jul 2023 05:38:18 +0000 (11:08 +0530)]
rgw/sync-policy: Do not allow empty group names

Fixes: https://tracker.ceph.com/issues/62015
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
23 months agoMerge pull request #52587 from zdover23/wip-doc-2023-07-22-rados-configuration-ceph... 52284/head
zdover23 [Sun, 23 Jul 2023 12:11:24 +0000 (22:11 +1000)]
Merge pull request #52587 from zdover23/wip-doc-2023-07-22-rados-configuration-ceph-conf-4-of-x

doc/rados: edit ceph-conf.rst (4 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
23 months agodoc/rados: edit ceph-conf.rst (4 of x) 52587/head
Zac Dover [Sat, 22 Jul 2023 03:57:51 +0000 (13:57 +1000)]
doc/rados: edit ceph-conf.rst (4 of x)

Edit doc/rados/configuration/ceph-conf.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #51820 from ifed01/wip-ifed-fragmentation-info
Igor Fedotov [Sat, 22 Jul 2023 14:38:13 +0000 (17:38 +0300)]
Merge pull request #51820 from ifed01/wip-ifed-fragmentation-info

os/bluestore: introduce allocator state histogram

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
23 months agoMerge pull request #52542 from zdover23/wip-doc-2023-07-19-rados-configuration-ceph...
zdover23 [Sat, 22 Jul 2023 05:25:32 +0000 (15:25 +1000)]
Merge pull request #52542 from zdover23/wip-doc-2023-07-19-rados-configuration-ceph-conf-3-of-x

doc/rados: edit ceph-conf.rst (3 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
23 months agodoc/rados: edit ceph-conf.rst (3 of x) 52542/head
Zac Dover [Wed, 19 Jul 2023 13:00:38 +0000 (23:00 +1000)]
doc/rados: edit ceph-conf.rst (3 of x)

Edit doc/rados/configuration/ceph-conf.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #52475 from yuvalif/wip-yuval-multisite-vstart-params
Casey Bodley [Fri, 21 Jul 2023 14:18:33 +0000 (10:18 -0400)]
Merge pull request #52475 from yuvalif/wip-yuval-multisite-vstart-params

rgw/test: allow passing vstart parameters to multisite tests script

Reviewed-by: Casey Bodley <cbodley@redhat.com>
23 months agoMerge pull request #52057 from nbalacha/tracker-61672
Ilya Dryomov [Fri, 21 Jul 2023 10:14:57 +0000 (12:14 +0200)]
Merge pull request #52057 from nbalacha/tracker-61672

rbd-mirror: fix race preventing local image deletion

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
23 months agoMerge pull request #52025 from rzarzynski/wip-ec-drop-unused-requires_overwrite
Yuri Weinstein [Thu, 20 Jul 2023 21:46:56 +0000 (17:46 -0400)]
Merge pull request #52025 from rzarzynski/wip-ec-drop-unused-requires_overwrite

osd: drop the unused ECTransaction::requires_overwrite()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
23 months agoMerge pull request #52491 from cbodley/wip-61566
Ilya Dryomov [Thu, 20 Jul 2023 20:56:21 +0000 (22:56 +0200)]
Merge pull request #52491 from cbodley/wip-61566

valgrind: replace suppression for EVP_DecryptFinal_ex

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
23 months agoMerge pull request #52427 from petrutlucian94/fix_win32_boost
Ilya Dryomov [Thu, 20 Jul 2023 19:03:19 +0000 (21:03 +0200)]
Merge pull request #52427 from petrutlucian94/fix_win32_boost

win32_deps_build: skip patching removed boost files

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
23 months agoMerge pull request #52143 from cbodley/wip-61567
Casey Bodley [Thu, 20 Jul 2023 18:51:05 +0000 (14:51 -0400)]
Merge pull request #52143 from cbodley/wip-61567

test/pybind: replace nose with pytest

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
23 months agoMerge pull request #52563 from zdover23/wip-doc-2023-07-21-governance-orman-email...
Anthony D'Atri [Thu, 20 Jul 2023 17:54:43 +0000 (13:54 -0400)]
Merge pull request #52563 from zdover23/wip-doc-2023-07-21-governance-orman-email-update

doc: governance.rst - update D Orman

23 months agodoc: governance.rst - update D Orman 52563/head
Zac Dover [Thu, 20 Jul 2023 17:35:52 +0000 (03:35 +1000)]
doc: governance.rst - update D Orman

Update David Orman's email address in doc/governance.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #52544 from rhcs-dashboard/debug-make-check
Laura Flores [Thu, 20 Jul 2023 17:19:41 +0000 (12:19 -0500)]
Merge pull request #52544 from rhcs-dashboard/debug-make-check

install-deps: remove the legacy resolver flags

23 months agovalgrind: remove stale openssl suppressions 52491/head
Casey Bodley [Thu, 20 Jul 2023 13:23:52 +0000 (09:23 -0400)]
valgrind: remove stale openssl suppressions

years ago in commit fe97a000990632dbe9734e0d3a96df627f104f7a, the
signature of authenticated_decrypt_update_final() changed and this
suppression no longer matches its mangled form:

-  fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj
+  fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalERNS_6buffer7v15_2_04listE

the fact that we didn't notice must mean that we don't need the
suppressions anymore

Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agoMerge pull request #52374 from rosinL/wip-cleanup
Yuri Weinstein [Thu, 20 Jul 2023 14:26:10 +0000 (10:26 -0400)]
Merge pull request #52374 from rosinL/wip-cleanup

crush/CrushLocation: remove useless flag

Reviewed-by: Samuel Just <sjust@redhat.com>
23 months agovalgrind: suppress uninitialized value in OpenSSL
Casey Bodley [Wed, 19 Jul 2023 17:19:46 +0000 (13:19 -0400)]
valgrind: suppress uninitialized value in OpenSSL

Fixes: https://tracker.ceph.com/issues/61566
Signed-off-by: Casey Bodley <cbodley@redhat.com>
23 months agoinstall-deps: remove the legacy resolver flags 52544/head
Nizamudeen A [Wed, 19 Jul 2023 14:05:05 +0000 (19:35 +0530)]
install-deps: remove the legacy resolver flags

This was a workaround that was introduced long time ago. This will be
something that could be deprectaed at some point [1]. And its preventing some of the dependencies to be
downloaded or stored into the wheelhouse. Deps like jsonschema, parse,
mypy, cryptography etc.

[1] https://pip.pypa.io/en/latest/user_guide/#deprecation-timeline

Fixes: https://tracker.ceph.com/issues/62082
Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #49332 from shreyanshjain7174/stuck_peering
Yuri Weinstein [Wed, 19 Jul 2023 16:10:32 +0000 (12:10 -0400)]
Merge pull request #49332 from shreyanshjain7174/stuck_peering

mon: stuck peering since warning is misleading

Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2 years agoMerge pull request #51438 from NitzanMordhai/wip-nitzan-cbt-perf-ci
Yuri Weinstein [Wed, 19 Jul 2023 16:06:32 +0000 (12:06 -0400)]
Merge pull request #51438 from NitzanMordhai/wip-nitzan-cbt-perf-ci

cbt perf ci

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #50301 from liuqinfei/support_compile_on_openeuler_main
Yuri Weinstein [Wed, 19 Jul 2023 16:06:05 +0000 (12:06 -0400)]
Merge pull request #50301 from liuqinfei/support_compile_on_openeuler_main

ceph.spec.in: add support for openEuler OS

Reviewed-by: Rongqi Sun <sunrongqi@huawei.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #49480 from flyingcircusio/fix-mon-delete-iterator
Yuri Weinstein [Wed, 19 Jul 2023 16:04:08 +0000 (12:04 -0400)]
Merge pull request #49480 from flyingcircusio/fix-mon-delete-iterator

 mon: fix iterator mishandling in PGMap::apply_incremental

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #52021 from xxhdx1985126/wip-61650
Yuri Weinstein [Wed, 19 Jul 2023 16:00:45 +0000 (12:00 -0400)]
Merge pull request #52021 from xxhdx1985126/wip-61650

osd/PeeringState: recheck pg readability when renewing leases for no-replica pools

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #50441 from cbodley/wip-qa-distros-centos9
Yuri Weinstein [Wed, 19 Jul 2023 15:33:28 +0000 (11:33 -0400)]
Merge pull request #50441 from cbodley/wip-qa-distros-centos9

qa/distros: add centos stream 9 as supported distro

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2 years agoMerge pull request #52124 from idryomov/wip-61733
Ilya Dryomov [Wed, 19 Jul 2023 09:41:55 +0000 (11:41 +0200)]
Merge pull request #52124 from idryomov/wip-61733

mon/MonClient: resurrect original client_mount_timeout handling

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoceph-volume: fix raw list for lvm devices 52429/head
Guillaume Abrioux [Thu, 13 Jul 2023 12:26:58 +0000 (12:26 +0000)]
ceph-volume: fix raw list for lvm devices

raw list shouldn't list lvm OSDs.
This confuses the generic activate process given that it relies
on the raw list to detect which kind of OSD is being activated.

Fixes: https://tracker.ceph.com/issues/62002
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoceph-volume: fix broken workaround for atari partitions
Guillaume Abrioux [Thu, 13 Jul 2023 12:14:56 +0000 (12:14 +0000)]
ceph-volume: fix broken workaround for atari partitions

broken by bea9f4b643ce32268ad79c0fc257b25ff2f8333c
This commits fixes that regression.

Fixes: https://tracker.ceph.com/issues/62001
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #52266 from amathuria/wip-crimson-amat-fix-config-show
Matan [Wed, 19 Jul 2023 07:45:15 +0000 (10:45 +0300)]
Merge pull request #52266 from amathuria/wip-crimson-amat-fix-config-show

crimson/mgr: Fix config show command

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agomds: remove dead method 52523/head
Patrick Donnelly [Tue, 18 Jul 2023 14:51:09 +0000 (10:51 -0400)]
mds: remove dead method

Fixes: cf5fdcd6e2d22f35b670d3c13ae8b7c9b9d2616d
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agoMerge PR #51539 into main
Venky Shankar [Tue, 18 Jul 2023 14:45:24 +0000 (20:15 +0530)]
Merge PR #51539 into main

* refs/pull/51539/head:
doc: users now need to provide scrub_mdsdir and recursive flags
qa: add recursive flag to test_flag_scrub_mdsdir
mds: remove code to bypass dumping empty header scrub info
mds: dump_values no more needed
mds: enqueue ~mdsdir at the time of enqueing root

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #51700 from cfsnyder/wip-cfsnyder-put-404
Casey Bodley [Tue, 18 Jul 2023 13:28:48 +0000 (09:28 -0400)]
Merge pull request #51700 from cfsnyder/wip-cfsnyder-put-404

rgw: fix consistency bug with OLH objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agotest/common: skip unittest_back_trace with mingw-gcc 52427/head
Lucian Petrut [Fri, 14 Jul 2023 10:16:47 +0000 (10:16 +0000)]
test/common: skip unittest_back_trace with mingw-gcc

We're getting an ICE when trying to compile this test using
mingw-gcc and recent Boost versions. Note that mingw-llvm works fine.

    during IPA pass: inline
    /mnt/data/workspace/ceph.pr/src/test/common/test_back_trace.cc:44:1:
    internal compiler error: Segmentation fault
       44 | }
          | ^
    0x7f9c4a86c51f ???
            ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
    0x7f9c4a853d8f __libc_start_call_main
            ../sysdeps/x86/libc-start.c:58
    0x7f9c4a853e3f __libc_start_main_impl
            ../sysdeps/nptl/libc_start_call_main.h:392

For now, we'll just skip the test when using mingw-gcc. Note
that we're planing to switch to mingw-llvm anyway:
https://github.com/ceph/ceph/pull/51197

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agowin32_deps_build: skip patching removed boost files
Lucian Petrut [Thu, 13 Jul 2023 10:48:14 +0000 (10:48 +0000)]
win32_deps_build: skip patching removed boost files

We're attempting to patch some Python files that have been removed
from recent Boost versions.

Now that the Boost version has been bumped, we'll need to address
this in order to unblock the Windows build.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge pull request #52193 from aclamk/wip-aclamk-fix-55260
Adam Kupczyk [Tue, 18 Jul 2023 12:27:24 +0000 (14:27 +0200)]
Merge pull request #52193 from aclamk/wip-aclamk-fix-55260

os/bluestore: Fixes ceph-bluestore-tool bluefs-bdev-new-db

2 years agoMerge PR #52173 into main
Venky Shankar [Tue, 18 Jul 2023 10:40:24 +0000 (16:10 +0530)]
Merge PR #52173 into main

* refs/pull/52173/head:
mds: MDLog::_recovery_thread: handle the errors gracefully

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agocrimson/os/seastore/collection_manager: fill CollectionNode::decoded on 52221/head
Xuehan Xu [Wed, 28 Jun 2023 07:18:27 +0000 (15:18 +0800)]
crimson/os/seastore/collection_manager: fill CollectionNode::decoded on
clean reads

Otherwise, deltas of collection nodes can't be replayed correctly,
because the data of nodes is not loaded to CollectionNode::decoded

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 years agoqa/suites: install pytest for pybind tasks 52143/head
Casey Bodley [Wed, 21 Jun 2023 12:08:58 +0000 (08:08 -0400)]
qa/suites: install pytest for pybind tasks

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoRGW: fix issue in observability over the persistent topics queue 52439/head
Ali Masarwa [Thu, 13 Jul 2023 11:17:48 +0000 (14:17 +0300)]
RGW: fix issue in observability over the persistent topics queue
when releasing entires, we don't decrease them in the urgent data

Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
2 years agoos/bluestore: do not include single AU allocations to allocation 51820/head
Igor Fedotov [Mon, 29 May 2023 14:11:37 +0000 (17:11 +0300)]
os/bluestore: do not include single AU allocations to allocation
fragmentation stats.

The rationale is that such allocations always get single framgent.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
2 years agotest/allocator_replay: introduce allocator fragmentation histogram.
Igor Fedotov [Thu, 22 Jun 2023 13:18:03 +0000 (16:18 +0300)]
test/allocator_replay: introduce allocator fragmentation histogram.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
2 years agoos/bluestore: implement allocator fragmentation histogram
Igor Fedotov [Thu, 22 Jun 2023 13:16:32 +0000 (16:16 +0300)]
os/bluestore: implement allocator fragmentation histogram

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
2 years agoMerge pull request #52483 from bluikko/patch-15
zdover23 [Mon, 17 Jul 2023 13:19:46 +0000 (23:19 +1000)]
Merge pull request #52483 from bluikko/patch-15

doc/mgr/rgw.rst: add missing "ceph" command in cli specification

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 years agodoc/mgr/rgw.rst: add missing "ceph" command in cli specification 52483/head
Ville Ojamo [Mon, 17 Jul 2023 13:05:39 +0000 (20:05 +0700)]
doc/mgr/rgw.rst: add missing "ceph" command in cli specification

The line begins with a prompt so I would
expect it to be a "complete" command,
including the `ceph` binary to run with all
the various listed arguments.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 years agoMerge PR #51383 into main
Venky Shankar [Mon, 17 Jul 2023 08:29:40 +0000 (13:59 +0530)]
Merge PR #51383 into main

* refs/pull/51383/head:
client: clean up the queue_cap_snap() code to remove unnecessary check
client: always add one new capsnap if Fb is used and Fw is not used

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #51850 into main
Venky Shankar [Mon, 17 Jul 2023 08:27:41 +0000 (13:57 +0530)]
Merge PR #51850 into main

* refs/pull/51850/head:
client: do not send metrics until the MDS rank is ready

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #52422 from guits/cv-add-raw-osd-id-param
Guillaume Abrioux [Mon, 17 Jul 2023 07:21:34 +0000 (09:21 +0200)]
Merge pull request #52422 from guits/cv-add-raw-osd-id-param

ceph-volume: add --osd-id option to raw prepare

2 years agoMerge pull request #52476 from bluikko/patch-14
zdover23 [Mon, 17 Jul 2023 06:50:14 +0000 (16:50 +1000)]
Merge pull request #52476 from bluikko/patch-14

doc/mgr/rgw.rst: fix multisite typed wrong

Reviewed-by: Rongqi Sun (Svelar) <sunrongqi@huawei.co>
2 years agodoc/mgr/rgw.rst: multisite typed wrong 52476/head
Ville Ojamo [Mon, 17 Jul 2023 03:35:46 +0000 (10:35 +0700)]
doc/mgr/rgw.rst: multisite typed wrong

Multisite is typed wrong as mutlisite so fix the spelling.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>