]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
23 months agoMerge PR #51536 into main
Venky Shankar [Thu, 27 Jul 2023 08:08:54 +0000 (13:38 +0530)]
Merge PR #51536 into main

* refs/pull/51536/head:
mds: do not send split_realms for CEPH_SNAP_OP_UPDATE msg

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
23 months agoMerge PR #52275 into main
Venky Shankar [Thu, 27 Jul 2023 08:07:29 +0000 (13:37 +0530)]
Merge PR #52275 into main

* refs/pull/52275/head:
mds: update mdlog perf counters during replay

Reviewed-by: Venky Shankar <vshankar@redhat.com>
23 months agoMerge pull request #52624 from idryomov/wip-61565
Ilya Dryomov [Wed, 26 Jul 2023 16:23:29 +0000 (18:23 +0200)]
Merge pull request #52624 from idryomov/wip-61565

qa/workunits/rbd: use jammy version of qemu-iotests for centos 9

Reviewed-by: Ramana Raja <rraja@redhat.com>
23 months agoMerge pull request #52546 from rhcs-dashboard/node-16-main
Nizamudeen A [Wed, 26 Jul 2023 14:02:24 +0000 (19:32 +0530)]
Merge pull request #52546 from rhcs-dashboard/node-16-main

deps: increase the node version to 16

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
23 months agoMerge pull request #49810 from baergj/fix-create_time_event-header
Casey Bodley [Wed, 26 Jul 2023 12:24:55 +0000 (08:24 -0400)]
Merge pull request #49810 from baergj/fix-create_time_event-header

async: Fix units in the create_time_event() declaration.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
23 months agoMerge pull request #52644 from rhcs-dashboard/fix-62124-main
Aashish Sharma [Wed, 26 Jul 2023 11:46:10 +0000 (17:16 +0530)]
Merge pull request #52644 from rhcs-dashboard/fix-62124-main

mgr/dashboard: add validations to zone access/secret key in zone creation/edit form

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
23 months agoMerge pull request #52570 from rhcs-dashboard/fix-62110-main
Aashish Sharma [Wed, 26 Jul 2023 11:38:41 +0000 (17:08 +0530)]
Merge pull request #52570 from rhcs-dashboard/fix-62110-main

mgr/dashboard: fix removal of non-master zone from the zone group via dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
23 months agoMerge PR #52600 into main
Venky Shankar [Wed, 26 Jul 2023 10:31:05 +0000 (16:01 +0530)]
Merge PR #52600 into main

* refs/pull/52600/head:
qa: fix cephfs-mirror unwinding and 'fs volume create/rm' order

Reviewed-by: Venky Shankar <vshankar@redhat.com>
23 months agomgr/dashboard: add validations to zone access/secret key in zone creation/edit form 52644/head
Aashish Sharma [Wed, 26 Jul 2023 06:00:32 +0000 (11:30 +0530)]
mgr/dashboard: add validations to zone access/secret key in zone creation/edit form

Fixes: https://tracker.ceph.com/issues/62124
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
23 months agoqa: fix cephfs-mirror unwinding and 'fs volume create/rm' order 52600/head
Jos Collin [Mon, 24 Jul 2023 08:46:52 +0000 (14:16 +0530)]
qa: fix cephfs-mirror unwinding and 'fs volume create/rm' order

* Fixes the 'fs volume create' happens before the cephfs-mirror daemon start.
* Fixes the 'fs volume rm' happen only after the cephfs-mirror daemon unwinding.
  - This prevents the issue of mirror-daemon not returning from a libcephfs call, as
    the volumes were deleted during the cephfs_mirror_thrash ing.

Fixes: https://tracker.ceph.com/issues/61182
Signed-off-by: Jos Collin <jcollin@redhat.com>
23 months agoMerge pull request #52630 from zdover23/wip-doc-2023-07-25-readmemd-1-of-x
zdover23 [Tue, 25 Jul 2023 23:07:40 +0000 (09:07 +1000)]
Merge pull request #52630 from zdover23/wip-doc-2023-07-25-readmemd-1-of-x

doc: update README.md

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
23 months agoMerge pull request #52596 from yuvalif/wip-yuval-fix-61868-new
Yuval Lifshitz [Tue, 25 Jul 2023 18:59:23 +0000 (21:59 +0300)]
Merge pull request #52596 from yuvalif/wip-yuval-fix-61868-new

rgw/lua: allow passing tenant without uid to manage lua scripts

23 months agoasync: Fix units in the create_time_event() declaration. 49810/head
Joshua Baergen [Fri, 20 Jan 2023 16:19:30 +0000 (09:19 -0700)]
async: Fix units in the create_time_event() declaration.

Commit 19a9d9531fab4627cafbb2915566c512c41077a8 changed the definition
to microseconds but neglected to update the header.

Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
23 months agoMerge pull request #52592 from xxhdx1985126/wip-62098
Matan Breizman [Tue, 25 Jul 2023 14:53:22 +0000 (17:53 +0300)]
Merge pull request #52592 from xxhdx1985126/wip-62098

crimson/net: set TCP_NODELAY according to ms_tcp_nodelay

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <kefu.chai@scylladb.com>
23 months agodoc: update README.md 52630/head
Zac Dover [Tue, 25 Jul 2023 13:09:11 +0000 (23:09 +1000)]
doc: update README.md

Correct and improve ceph/README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
23 months agoMerge pull request #50423 from rkachach/fix_issue_nmveof
Adam King [Tue, 25 Jul 2023 12:56:31 +0000 (08:56 -0400)]
Merge pull request #50423 from rkachach/fix_issue_nmveof

mgr/cephadm: adding support for nvmeof

Reviewed-by: Adam King <adking@redhat.com>
23 months agoMerge pull request #51933 from aclamk/wip-aclamk-bs-onode-doc
Adam Kupczyk [Tue, 25 Jul 2023 12:06:02 +0000 (14:06 +0200)]
Merge pull request #51933 from aclamk/wip-aclamk-bs-onode-doc

os/bluestore: Some in-code documentation for Onode / blob

23 months agoMerge pull request #52218 from YiteGu/cephfs-get-statfs
Nizamudeen A [Tue, 25 Jul 2023 12:00:11 +0000 (17:30 +0530)]
Merge pull request #52218 from YiteGu/cephfs-get-statfs

mgr/dashboard: CephFS statfs REST API

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
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 agocrimson/net: set TCP_NODELAY according to ms_tcp_nodelay 52592/head
Xuehan Xu [Sun, 23 Jul 2023 09:33:16 +0000 (17:33 +0800)]
crimson/net: set TCP_NODELAY according to ms_tcp_nodelay

There are cases in which we need low latency of an individual op, like
updating RBD image's object map which would block other ops for a
object not created yet. We need to make sure the rbd-object-map-update
like ops have as low latency as possible

Fixes: https://tracker.ceph.com/issues/62098
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.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/lua: allow passing tenant without uid to manage lua scripts 52596/head
Yuval Lifshitz [Sun, 2 Jul 2023 11:23:09 +0000 (11:23 +0000)]
rgw/lua: allow passing tenant without uid to manage lua scripts

Fixes: https://tracker.ceph.com/issues/61868
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years agomgr/dashboard: fix removal of non-master zone from the zone group via dashboard 52570/head
Aashish Sharma [Fri, 21 Jul 2023 11:27:41 +0000 (16:57 +0530)]
mgr/dashboard: fix removal of non-master zone from the zone group via dashboard

Fixes: https://tracker.ceph.com/issues/62110
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 years 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>
2 years agodeps: increase the node version to 16 52546/head
Nizamudeen A [Wed, 19 Jul 2023 16:04:31 +0000 (21:34 +0530)]
deps: increase the node version to 16

With node 14, the angular 13 is going into some issues with node-gyp.
```
prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=14.20.0 runtime=node arch=x64 libc= platform=linux)
make: Entering directory '/home/jenkins-build/build/workspace/ceph-dashboard-cephadm-e2e/src/pybind/mgr/dashboard/frontend/node_modules/tree-sitter/build'
  CC(target) Release/obj.target/tree_sitter/vendor/tree-sitter/lib/src/lib.o
  AR(target) Release/obj.target/tree_sitter.a
  COPY Release/tree_sitter.a
  CXX(target) Release/obj.target/tree_sitter_runtime_binding/src/binding.o
```
and in some other environments its like `cb() never called` and stops
the whole `npm ci` process.

After some research, looks like updating node is the way to stop this.

Also, ` npm 7 will block installations if an upstream dependency
conflict is present that cannot be automatically resolved.` https://github.blog/2021-02-02-npm-7-is-now-generally-available/#peer-dependencies

Fixes: https://tracker.ceph.com/issues/62107
Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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>