]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
21 months agoMerge pull request #54251 from ajarr/wip-62994
Ilya Dryomov [Wed, 1 Nov 2023 09:44:05 +0000 (10:44 +0100)]
Merge pull request #54251 from ajarr/wip-62994

mgr/rbd_support: fix recursive locking on CreateSnapshotRequests lock

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
21 months agoMerge pull request #47730 from ifed01/wip-ifed-alloc-logging
Igor Fedotov [Wed, 1 Nov 2023 09:38:06 +0000 (12:38 +0300)]
Merge pull request #47730 from ifed01/wip-ifed-alloc-logging

os/bluestore: assert on improper release in AvlAllocator

Reviewed-by: Pere Diaz Bou <pere-altea@hotmail.com>
21 months agoMerge pull request #54281 from zdover23/wip-doc-2023-11-01-cephadm-troubleshooting...
zdover23 [Wed, 1 Nov 2023 06:48:58 +0000 (16:48 +1000)]
Merge pull request #54281 from zdover23/wip-doc-2023-11-01-cephadm-troubleshooting-1-of-x

doc/cephadm: edit troubleshooting.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agoMerge pull request #54262 from barakda/nvmeof-bump-version-v0.0.5
barakda [Wed, 1 Nov 2023 05:47:25 +0000 (07:47 +0200)]
Merge pull request #54262 from barakda/nvmeof-bump-version-v0.0.5

Update default nvmeof gw version to v0.0.5

21 months agoMerge pull request #54210 from rishabh-d-dave/progress-submodule-update
Rishabh Dave [Wed, 1 Nov 2023 05:29:59 +0000 (10:59 +0530)]
Merge pull request #54210 from rishabh-d-dave/progress-submodule-update

add --progress flag to git submodule update commands

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agodoc/cephadm: edit troubleshooting.rst (1 of x) 54281/head
Zac Dover [Wed, 1 Nov 2023 01:53:59 +0000 (11:53 +1000)]
doc/cephadm: edit troubleshooting.rst (1 of x)

Edit doc/cephadm/troubleshooting.rst. This commit and the PR of which it
is a part was raised in response to
https://github.com/ceph/ceph/pull/53976. The limits of reStructuredText
are particularly visible here in every instance of a BASH for-loop and
in every instance of a command stretched over multiple lines.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #54226 from adamemerson/wip-build-experiment
Casey Bodley [Tue, 31 Oct 2023 20:28:17 +0000 (20:28 +0000)]
Merge pull request #54226 from adamemerson/wip-build-experiment

build: Fix ARM build and make install-deps.sh more robust

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #54216 from adamemerson/wip-fmt-felicity
Casey Bodley [Tue, 31 Oct 2023 20:20:56 +0000 (20:20 +0000)]
Merge pull request #54216 from adamemerson/wip-fmt-felicity

build: fmt felicity

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agocmake: add --progress flag to git submodule update commands 54210/head
Rishabh Dave [Thu, 26 Oct 2023 10:48:31 +0000 (16:18 +0530)]
cmake: add --progress flag to git submodule update commands

Ceph has lots of submodules that needs to be cloned before building
binaries from the repository. Seeing the progress when these submodules
are being cloned is useful, especially when developers/users have a
network issue or a slow network.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
21 months agoMerge PR #54272 into main
Patrick Donnelly [Tue, 31 Oct 2023 17:22:19 +0000 (13:22 -0400)]
Merge PR #54272 into main

* refs/pull/54272/head:
cmake: do not issue CMAKE_BUILD_TYPE warning if set

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #53720 from ljflores/bz_2241104
Yuri Weinstein [Tue, 31 Oct 2023 15:07:15 +0000 (08:07 -0700)]
Merge pull request #53720 from ljflores/bz_2241104

osd: fix logic in check_pg_upmaps

Reviewed-by: Samuel Just <sjust@redhat.com>
21 months agocmake: do not issue CMAKE_BUILD_TYPE warning if set 54272/head
Patrick Donnelly [Tue, 31 Oct 2023 14:54:37 +0000 (10:54 -0400)]
cmake: do not issue CMAKE_BUILD_TYPE warning if set

Fixes: b8c6ba01b262d33084b9c607d829503ac8ae25c5
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agoMerge pull request #54238 from zdover23/wip-doc-2023-10-30-rados-config-osd-config...
zdover23 [Tue, 31 Oct 2023 13:34:52 +0000 (23:34 +1000)]
Merge pull request #54238 from zdover23/wip-doc-2023-10-30-rados-config-osd-config-ref-scrubbing

doc/rados: improve "scrubbing" explanation

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
21 months agoUpdate default nvmeof gw version to v0.0.5 54262/head
barakda [Tue, 31 Oct 2023 13:15:41 +0000 (15:15 +0200)]
Update default nvmeof gw version to v0.0.5

Signed-off-by: barakda <barak.davidov@gmail.com>
21 months agoMerge pull request #50821 from cbodley/wip-cmake-uring
Casey Bodley [Tue, 31 Oct 2023 13:03:46 +0000 (13:03 +0000)]
Merge pull request #50821 from cbodley/wip-cmake-uring

cmake: fix WITH_SYSTEM_LIBURING and make uring available outside of src/blk

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
21 months agodoc/rados: improve "scrubbing" explanation 54238/head
Zac Dover [Mon, 30 Oct 2023 02:19:07 +0000 (12:19 +1000)]
doc/rados: improve "scrubbing" explanation

Improve the English describing the operation of scrubbing PGs in
doc/rados/configuration/osd-config-ref.rst.

Co-authored-by: Ronen Friedman <rfriedma@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #54239 from zdover23/wip-doc-2023-10-30-glossary-bluestore
zdover23 [Tue, 31 Oct 2023 12:02:37 +0000 (22:02 +1000)]
Merge pull request #54239 from zdover23/wip-doc-2023-10-30-glossary-bluestore

doc/glossary: improve "BlueStore" entry

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agodoc/glossary: improve "BlueStore" entry 54239/head
Zac Dover [Mon, 30 Oct 2023 02:37:39 +0000 (12:37 +1000)]
doc/glossary: improve "BlueStore" entry

Initially s/backend/back end/ but then I added a little more information
about BlueStore's use of RocksDB to map object names to block locations
on disk.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #54247 from rhcs-dashboard/fix-no-multisite-error
Aashish Sharma [Tue, 31 Oct 2023 05:04:05 +0000 (10:34 +0530)]
Merge pull request #54247 from rhcs-dashboard/fix-no-multisite-error

mgr/dashboard: fix rgw multisite error when no rgw entity is present

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #54240 from rhcs-dashboard/fix-63347-main
Aashish Sharma [Tue, 31 Oct 2023 05:02:13 +0000 (10:32 +0530)]
Merge pull request #54240 from rhcs-dashboard/fix-63347-main

mgr/dashboard: Block Ui fails in angular with target es2022

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #54142 from YiteGu/add-bluestore-fragmentation-to-metrics
Yuri Weinstein [Mon, 30 Oct 2023 20:30:58 +0000 (13:30 -0700)]
Merge pull request #54142 from YiteGu/add-bluestore-fragmentation-to-metrics

os/bluestore: add bluestore fragmentation micros to prometheus

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
21 months agoMerge pull request #53993 from shminjs/fix-out-and-down-osd-daemon-report
Yuri Weinstein [Mon, 30 Oct 2023 20:30:03 +0000 (13:30 -0700)]
Merge pull request #53993 from shminjs/fix-out-and-down-osd-daemon-report

mgr: remove out&down osd from mgr daemons

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agoMerge pull request #53689 from leonid-s-usov/mds-raise
Yuri Weinstein [Mon, 30 Oct 2023 20:29:46 +0000 (13:29 -0700)]
Merge pull request #53689 from leonid-s-usov/mds-raise

common/admin_socket: add a command to raise a signal

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agoMerge pull request #53563 from ifed01/wip-ifed-pg-osd-stats
Yuri Weinstein [Mon, 30 Oct 2023 20:28:44 +0000 (13:28 -0700)]
Merge pull request #53563 from ifed01/wip-ifed-pg-osd-stats

osd: introduce dump_osd_pg_stats admin socket command.

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
21 months agoMerge pull request #54177 from ronen-fr/wip-rf-map-msg
Yuri Weinstein [Mon, 30 Oct 2023 20:26:50 +0000 (13:26 -0700)]
Merge pull request #54177 from ronen-fr/wip-rf-map-msg

osd: fix use-after-move in build_incremental_map_msg()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
21 months agoMerge pull request #54198 from ceph/wip-yuriw-release-process-main
Yuri Weinstein [Mon, 30 Oct 2023 19:59:51 +0000 (12:59 -0700)]
Merge pull request #54198 from ceph/wip-yuriw-release-process-main

docs: revised Distro Codemap, removed `octopus`, added `reef`

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
21 months agoMerge pull request #54252 from rhcs-dashboard/quincy-release-notes
Yuri Weinstein [Mon, 30 Oct 2023 18:00:16 +0000 (11:00 -0700)]
Merge pull request #54252 from rhcs-dashboard/quincy-release-notes

doc: Release notes 17.2.7 with updated dashboard info

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
21 months agodoc: Release notes 17.2.7 with updated dashboard info 54252/head
Nizamudeen A [Mon, 30 Oct 2023 15:52:24 +0000 (21:22 +0530)]
doc: Release notes 17.2.7 with updated dashboard info

Signed-off-by: Nizamudeen A <nia@redhat.com>
21 months agobuild: Fix `WITH_FMT_HEADER_ONLY` 54216/head
Adam Emerson [Thu, 26 Oct 2023 23:11:12 +0000 (19:11 -0400)]
build: Fix `WITH_FMT_HEADER_ONLY`

Previously it was still linking in the submodule's static libraries
and ldd showed it linking to the system fmt's shared libraries.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
21 months agomgr/rbd_support: remove CreateSnapshotRequests __del__() 54251/head
Ramana Raja [Mon, 30 Oct 2023 15:05:27 +0000 (11:05 -0400)]
mgr/rbd_support: remove CreateSnapshotRequests __del__()

There is no need for CreateSnapshotRequests.__del__() that calls
CreateSnapshotRequests.wait_for_pending().
MirrorSnapshotScheduleHandler.shutdown() already calls
CreateSnapshotRequests.wait_for_pending().

Signed-off-by: Ramana Raja <rraja@redhat.com>
21 months agomgr/rbd_support: fix recursive locking on CreateSnapshotRequests lock
Ramana Raja [Thu, 26 Oct 2023 17:18:52 +0000 (13:18 -0400)]
mgr/rbd_support: fix recursive locking on CreateSnapshotRequests lock

The MirrorSnapshotScheduleHandler's run thread issues asynchronous
create snapshot requests using a CreateSnapshotRequests instance. When
the thread invokes a CreateSnapshotRequests instance's get_ioctx(),
the instance's class variable lock is acquired. With the class
variable lock held, the garbage collection of a CreateSnapshotRequests
instance may race in the thread. The thread would then call
CreateSnapshotRequests __del__() that tries to acquire the class
variable lock that the thread already holds. Fix this
recursive deadlock by converting the CreateSnapshotRequests lock from
a class variable to an instance variable. There is no need to share
the lock across CreateSnapshotRequests instances.

Also convert MirrorSnapshotScheduleHandler, PerfHandler and
TrashPurgeScheduleHandler class variables to instance variables
that don't need to be shared across the instances.

Fixes: https://tracker.ceph.com/issues/62994
Signed-off-by: Ramana Raja <rraja@redhat.com>
Co-Authored-By: Ilya Dryomov <idryomov@gmail.com>
21 months agoMerge pull request #54246 from ceph/epuertat-patch-1
Ilya Dryomov [Mon, 30 Oct 2023 15:59:51 +0000 (16:59 +0100)]
Merge pull request #54246 from ceph/epuertat-patch-1

create-backport-trackers: pin to Python <3.12

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
21 months agoUpdate default nvmeof gw version to v0.0.5
barakda [Mon, 30 Oct 2023 15:49:55 +0000 (17:49 +0200)]
Update default nvmeof gw version to v0.0.5

Signed-off-by: barakda <barak.davidov@gmail.com>
21 months agomgr/dashboard: fix rgw multisite error when no rgw entity is present 54247/head
Aashish Sharma [Mon, 30 Oct 2023 12:39:09 +0000 (18:09 +0530)]
mgr/dashboard: fix rgw multisite error when no rgw entity is present

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
21 months agoMerge pull request #54241 from rhcs-dashboard/fix-63348-main
Aashish Sharma [Mon, 30 Oct 2023 15:00:40 +0000 (20:30 +0530)]
Merge pull request #54241 from rhcs-dashboard/fix-63348-main

mgr/dashboard: update rgw multisite import form helper info

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agobuild: Add `WITH_SYSTEM_FMT` option
Adam Emerson [Sat, 28 Oct 2023 17:42:59 +0000 (13:42 -0400)]
build: Add `WITH_SYSTEM_FMT` option

The `WITH_SYSTEM_FMT` option builds against system fmt and will fail
if a suitable version is not found. It is defaulted to `OFF`.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
21 months agoMerge pull request #54153 from ceph/wip-yuriw-release-17.2.7-main
Yuri Weinstein [Mon, 30 Oct 2023 14:48:55 +0000 (07:48 -0700)]
Merge pull request #54153 from ceph/wip-yuriw-release-17.2.7-main

doc: 17.2.7 Release Notes

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
21 months agobuild: Fix fmt version check
Adam Emerson [Sat, 28 Oct 2023 17:29:59 +0000 (13:29 -0400)]
build: Fix fmt version check

Currently, when attempting to build ceph on a system with fmt
installed, we try to build against it whatever the version. This
constantly breaks people's builds, since newer versions of fmt often
change the API.

This change specifies that versions must be below 10 as well as at or
above 8.1.1, so that on systems with a new format, we fall back to
using the submodule.

It also removes the `Findfmt.cmake` module, as that does not check
the installed version. Instead, we use the cmake config file installed by
the system package of fmt and does support version checking.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
21 months agoMerge pull request #54151 from rkachach/fix_issue_63291
Adam King [Mon, 30 Oct 2023 13:59:06 +0000 (09:59 -0400)]
Merge pull request #54151 from rkachach/fix_issue_63291

mgr/rook: fix the namespaces used in rook and removes hard-coded references

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@ibm.com>
21 months agocreate-backport-trackers: Python >= 3.12 deprecated distutils 54246/head
Ernesto Puerta [Mon, 30 Oct 2023 11:36:04 +0000 (12:36 +0100)]
create-backport-trackers: Python >= 3.12 deprecated distutils

See https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
21 months agoMerge pull request #50593 from pkalever/fix-feature-disable
Ilya Dryomov [Mon, 30 Oct 2023 07:55:09 +0000 (08:55 +0100)]
Merge pull request #50593 from pkalever/fix-feature-disable

rbd-nbd: fix stuck with disable request

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
21 months agomgr/dashboard: update rgw multisite import form helper info 54241/head
Aashish Sharma [Mon, 30 Oct 2023 07:47:37 +0000 (13:17 +0530)]
mgr/dashboard: update rgw multisite import form helper info

Change 'To obtain the token, generate it from your secondary Ceph cluster' to 'To obtain the token, generate it from your primary Ceph cluster' in rgw multisite import form helper

Fixes: https://tracker.ceph.com/issues/63348
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
21 months agomgr/dashboard: Block Ui fails in angular with target es2022 54240/head
Aashish Sharma [Mon, 30 Oct 2023 07:39:25 +0000 (13:09 +0530)]
mgr/dashboard: Block Ui fails in angular with target es2022

The BlockUi element is failing in angular with target es2022..change it to es2020

Fixes: https://tracker.ceph.com/issues/63347
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
21 months agoMerge pull request #54232 from zdover23/wip-doc-2023-10-29-ceph-volume-lvm-activate-2
zdover23 [Mon, 30 Oct 2023 00:54:32 +0000 (10:54 +1000)]
Merge pull request #54232 from zdover23/wip-doc-2023-10-29-ceph-volume-lvm-activate-2

doc/ceph-volume: improve front matter

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agoMerge pull request #54231 from zdover23/wip-doc-2023-10-29-ceph-volume-lvm-activate
zdover23 [Sun, 29 Oct 2023 23:53:29 +0000 (09:53 +1000)]
Merge pull request #54231 from zdover23/wip-doc-2023-10-29-ceph-volume-lvm-activate

doc/ceph-volume: explain idempotence

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agodoc/ceph-volume: improve front matter 54232/head
Zac Dover [Sun, 29 Oct 2023 12:15:13 +0000 (22:15 +1000)]
doc/ceph-volume: improve front matter

Simplify and improve the readability of the front matter of
doc/ceph-volume/lvm/activate.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #53848 from kchheda3/wip-topic-policy
Yuval Lifshitz [Sun, 29 Oct 2023 19:35:50 +0000 (21:35 +0200)]
Merge pull request #53848 from kchheda3/wip-topic-policy

rgw/notification: Add support to set topic policy while topic creation

reviewed-by: yuvalif, anthonyeleven

21 months agoMerge pull request #54230 from zdover23/wip-doc-2023-10-29-install-cephadm
Anthony D'Atri [Sun, 29 Oct 2023 18:38:34 +0000 (14:38 -0400)]
Merge pull request #54230 from zdover23/wip-doc-2023-10-29-install-cephadm

doc/install: simplify cephadm docs

21 months agodoc/ceph-volume: explain idempotence 54231/head
Zac Dover [Sun, 29 Oct 2023 12:01:11 +0000 (22:01 +1000)]
doc/ceph-volume: explain idempotence

Improve the grammar of a note explaining that the execution of the call
that activates ceph-volume is idempotent.

Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agodoc/install: simplify cephadm docs 54230/head
Zac Dover [Sun, 29 Oct 2023 11:47:04 +0000 (21:47 +1000)]
doc/install: simplify cephadm docs

Simplify the explanation of cephadm.

Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agobuild: Don't kill install-deps.sh if we can't get ceph-libboost 54226/head
Adam Emerson [Fri, 27 Oct 2023 21:01:35 +0000 (17:01 -0400)]
build: Don't kill install-deps.sh if we can't get ceph-libboost

We can still use the submodule.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
21 months agoMerge pull request #54082 from pdvian/wip-qa-suites-fix
Yuri Weinstein [Fri, 27 Oct 2023 18:42:52 +0000 (11:42 -0700)]
Merge pull request #54082 from pdvian/wip-qa-suites-fix

qa/smoke,orch,perf-basic: add POOL_APP_NOT_ENABLED to ignorelist

Reviewed-by: Laura Flores <lflores@redhat.com>
21 months agoMerge branch 'main' into wip-topic-policy 53848/head
Krunal Chheda [Fri, 27 Oct 2023 15:28:06 +0000 (11:28 -0400)]
Merge branch 'main' into wip-topic-policy

21 months agoMerge pull request #53003 from alimaredia/wip-rgw-perf-counters-cache
Casey Bodley [Fri, 27 Oct 2023 13:40:19 +0000 (14:40 +0100)]
Merge pull request #53003 from alimaredia/wip-rgw-perf-counters-cache

Perf counters cache + Labeled RGW Op counters

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #54218 from zdover23/wip-doc-2023-10-27-rados-troubleshooting...
Anthony D'Atri [Fri, 27 Oct 2023 08:43:12 +0000 (04:43 -0400)]
Merge pull request #54218 from zdover23/wip-doc-2023-10-27-rados-troubleshooting-troubleshooting-pg

doc/rados: edit troubleshooting-pg.rst

21 months agoMerge pull request #54219 from zdover23/wip-doc-2023-10-27-rados-ops-pools-cache...
Anthony D'Atri [Fri, 27 Oct 2023 08:16:07 +0000 (04:16 -0400)]
Merge pull request #54219 from zdover23/wip-doc-2023-10-27-rados-ops-pools-cache-tiering-removal

doc/rados: remove cache-tiering-related keys

21 months agoMerge pull request #53976 from phlogistonjohn/jjm-cephadm-gdb-extd-doc
zdover23 [Fri, 27 Oct 2023 07:16:16 +0000 (17:16 +1000)]
Merge pull request #53976 from phlogistonjohn/jjm-cephadm-gdb-extd-doc

cephadm: document extended gdb debugging techniques

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
21 months agodoc/rados: remove cache-tiering-related keys 54219/head
Zac Dover [Fri, 27 Oct 2023 06:58:28 +0000 (16:58 +1000)]
doc/rados: remove cache-tiering-related keys

Remove information related to cache-tiering-related keys from
doc/rados/operations/pools.rst. Cache-tiering is deprecated in Reef.
This PR is suitable for backporting to the Reef release branch, but not
to release branches prior to Reef.

Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agotest/librbd/fsx: wait for resize to propagate in krbd_resize() 50593/head
Prasanna Kumar Kalever [Fri, 20 Oct 2023 10:11:05 +0000 (15:41 +0530)]
test/librbd/fsx: wait for resize to propagate in krbd_resize()

With this changes resize request will not be blocked until the resize is
completed. Because of this the fsx test fails as it assumes that the
request to resize immediately implies changes on the device size.

Hence we have to add a wait in resize handler of fsx for the device to
actually get resized.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
21 months agodoc/rados: edit troubleshooting-pg.rst 54218/head
Zac Dover [Fri, 27 Oct 2023 05:22:34 +0000 (15:22 +1000)]
doc/rados: edit troubleshooting-pg.rst

s/placement group/pool/ in a sentence that, prior to this change, was
confusing. Suitable for backports prior to Reef.

Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #54200 from zdover23/wip-doc-2023-10-26-hitset-remove-for-reef...
zdover23 [Fri, 27 Oct 2023 03:04:38 +0000 (13:04 +1000)]
Merge pull request #54200 from zdover23/wip-doc-2023-10-26-hitset-remove-for-reef-and-later

doc/rados: remove HitSet-related key information

Reviewed-by: Samuel Just <sjust@redhat.com>
21 months agodoc/rados: remove HitSet-related key information 54200/head
Zac Dover [Wed, 25 Oct 2023 23:48:57 +0000 (09:48 +1000)]
doc/rados: remove HitSet-related key information

Remove HitSet-related key information from
doc/rados/operations/pools.rst. HitSet-related keys are relevant only to
releases of Ceph that support cache tiering. Only Quincy and earlier
(inclusive) releases of Ceph support cache tiering. Backport this commit
from main to Reef, but not to Quincy or to release branches earlier than
Quincy.

Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agodoc: 17.2.7 Release Notes 54153/head
Yuri Weinstein [Mon, 23 Oct 2023 19:50:26 +0000 (12:50 -0700)]
doc: 17.2.7 Release Notes

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #53909 from aclamk/aclamk-fix-63121
Adam Kupczyk [Thu, 26 Oct 2023 14:20:37 +0000 (16:20 +0200)]
Merge pull request #53909 from aclamk/aclamk-fix-63121

os/kv_test: Fix estimate functions

21 months agodocs: revised Distro Codemap, removed `octopus`, added `reef` 54198/head
Yuri Weinstein [Wed, 25 Oct 2023 22:05:56 +0000 (15:05 -0700)]
docs: revised Distro Codemap, removed `octopus`, added `reef`

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
21 months agoMerge pull request #54155 from jrchyang/fix-divide-zero
Igor Fedotov [Wed, 25 Oct 2023 10:35:38 +0000 (13:35 +0300)]
Merge pull request #54155 from jrchyang/fix-divide-zero

os/bluestore: fix crash caused by dividing by 0

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
21 months agoMerge pull request #53807 from rhcs-dashboard/fix-63088-main
Aashish Sharma [Wed, 25 Oct 2023 07:31:03 +0000 (13:01 +0530)]
Merge pull request #53807 from rhcs-dashboard/fix-63088-main

mgr/dashboard: Consider null values as zero in grafana panels

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoosd: fix use-after-move in build_incremental_map_msg() 54177/head
Ronen Friedman [Wed, 25 Oct 2023 07:24:18 +0000 (02:24 -0500)]
osd: fix use-after-move in build_incremental_map_msg()

Fixes: https://tracker.ceph.com/issues/63310
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
21 months agodoc/cephadm: extend container debugging to cover live processes 53976/head
John Mulligan [Mon, 11 Sep 2023 21:55:36 +0000 (17:55 -0400)]
doc/cephadm: extend container debugging to cover live processes

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agodoc/cephadm: clean up debugging section
John Mulligan [Mon, 11 Sep 2023 18:58:43 +0000 (14:58 -0400)]
doc/cephadm: clean up debugging section

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: add a --dry-run option to cephadm shell
John Mulligan [Wed, 11 Oct 2023 18:05:17 +0000 (14:05 -0400)]
cephadm: add a --dry-run option to cephadm shell

Instead of creating the shell, the --dry-run option prints the container
command that would be used. This can be used as a starting point for
creating custom container commands similar to what cephadm shell would
generate but with tweaks.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agomgr/rook: fixing the namespaces used to access some resources/config 54151/head
Redouane Kachach [Tue, 24 Oct 2023 12:06:41 +0000 (14:06 +0200)]
mgr/rook: fixing the namespaces used to access some resources/config

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
21 months agomgr/rook: remove all the hardcoded refs to the 'rook-ceph' namespace
Redouane Kachach [Mon, 23 Oct 2023 15:18:57 +0000 (17:18 +0200)]
mgr/rook: remove all the hardcoded refs to the 'rook-ceph' namespace
Fixes: https://tracker.ceph.com/issues/63291
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
21 months agoMerge pull request #54148 from ivoalmeida/fix-edit-user-bucket-quota
Pedro Gonzalez Gomez [Tue, 24 Oct 2023 09:43:15 +0000 (11:43 +0200)]
Merge pull request #54148 from ivoalmeida/fix-edit-user-bucket-quota

mgr/dashboard: fixed edit user quota form error

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
21 months agoos/bluestore: fix crash caused by dividing by 0 54155/head
jrchyang [Tue, 24 Oct 2023 02:03:09 +0000 (10:03 +0800)]
os/bluestore: fix crash caused by dividing by 0

In Allocator::create() => ZonedAllocator::ZonedAllocator()
num_zones is calculated by size / zone_size,
causing a crash when zone_size is set to 0

Signed-off-by: Jrchyang Yu <yuzhiqiang_yewu@cmss.chinamobile.com>
21 months agorgw/notification: Add support to set topic policy while topic creation
kchheda3 [Thu, 5 Oct 2023 16:14:35 +0000 (12:14 -0400)]
rgw/notification: Add support to set topic policy while topic creation

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
21 months agomgr/dashboard: fixed edit user quota form error 54148/head
Ivo Almeida [Mon, 23 Oct 2023 11:02:47 +0000 (12:02 +0100)]
mgr/dashboard: fixed edit user quota form error

Fixes: https://tracker.ceph.com/issues/63287
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
21 months agoMerge PR #54030 into main
Venky Shankar [Mon, 23 Oct 2023 02:07:10 +0000 (07:37 +0530)]
Merge PR #54030 into main

* refs/pull/54030/head:
client: always refresh mds feature bits on session open

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agoMerge pull request #54025 from yuvalif/wip-yuval-fix-63205
Yuval Lifshitz [Sun, 22 Oct 2023 15:26:30 +0000 (18:26 +0300)]
Merge pull request #54025 from yuvalif/wip-yuval-fix-63205

rgw/notifications/test: fix rabbitmq and kafka issues in centos9

reviewed-by: cbodley

21 months agorgw/notifications/test: install java for kafka build 54025/head
Yuval Lifshitz [Sun, 15 Oct 2023 15:54:07 +0000 (15:54 +0000)]
rgw/notifications/test: install java for kafka build

also use kafka binaries insted of building from source

Fixes: https://tracker.ceph.com/issues/63205
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
21 months agoMerge pull request #54136 from yuvalif/wip-yuval-remove-pubsub-doc
Yuval Lifshitz [Sun, 22 Oct 2023 08:12:02 +0000 (11:12 +0300)]
Merge pull request #54136 from yuvalif/wip-yuval-remove-pubsub-doc

rgw/doc: pubsub capabilities reference was removed from docs

reviewed-by: @zdover23

21 months agodoc/rgw: pubsub capabilities reference was removed from docs 54136/head
Yuval Lifshitz [Sun, 22 Oct 2023 07:09:22 +0000 (07:09 +0000)]
doc/rgw: pubsub capabilities reference was removed from docs

most pubsub docs were removed in
0fecbe2476afbb06de7ea731b7c92066ae40cfc4
however, the text removed described functionality that is only
supported bia pubsub

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
21 months agoMerge pull request #54107 from anthonyeleven/anthonyeleven/clarify-checklist
zdover23 [Fri, 20 Oct 2023 23:00:35 +0000 (09:00 +1000)]
Merge pull request #54107 from anthonyeleven/anthonyeleven/clarify-checklist

.github: Clarify checklist details

Reviewed-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #49954 from caffeinism/fix-bug-in-ceph-volume-device
Zack Cerza [Fri, 20 Oct 2023 20:20:56 +0000 (14:20 -0600)]
Merge pull request #49954 from caffeinism/fix-bug-in-ceph-volume-device

ceph-volume: fix a bug in _check_generic_reject_reasons

21 months agorgw: remove move's, rename put/get counters, revert exporter changes 53003/head
Ali Maredia [Thu, 19 Oct 2023 20:44:52 +0000 (20:44 +0000)]
rgw: remove move's, rename put/get counters, revert exporter changes

Signed-off-by: Ali Maredia <amaredia@redhat.com>
21 months agoclient: always refresh mds feature bits on session open 54030/head
Venky Shankar [Mon, 16 Oct 2023 04:11:19 +0000 (00:11 -0400)]
client: always refresh mds feature bits on session open

Fixes: http://tracker.ceph.com/issues/63188
Signed-off-by: Venky Shankar <vshankar@redhat.com>
21 months agoMerge pull request #54109 from ceph/wip-yuri-crontab-main
Yuri Weinstein [Fri, 20 Oct 2023 14:29:47 +0000 (07:29 -0700)]
Merge pull request #54109 from ceph/wip-yuri-crontab-main

qa/tests: enabled smoke tests on main, quincy and reef

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
21 months agoMerge pull request #53923 from adk3798/test-mgr-cephadm-image-base
Adam King [Fri, 20 Oct 2023 14:25:24 +0000 (10:25 -0400)]
Merge pull request #53923 from adk3798/test-mgr-cephadm-image-base

mgr/cephadm: add unit test to for upgrade check with --ceph-version

Reviewed-by: John Mulligan <jmulligan@redhat.com>
21 months agorgw/admin: remove unused asio.hpp include 50821/head
Casey Bodley [Thu, 12 Oct 2023 18:39:50 +0000 (14:39 -0400)]
rgw/admin: remove unused asio.hpp include

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agotest/librados: include io_context.hpp and rename io_service
Casey Bodley [Thu, 17 Aug 2023 23:39:29 +0000 (19:39 -0400)]
test/librados: include io_context.hpp and rename io_service

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agorgw: use granular asio includes
Casey Bodley [Wed, 26 Apr 2023 19:25:43 +0000 (15:25 -0400)]
rgw: use granular asio includes

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agoimmutable-object-cache: use granular asio headers
Casey Bodley [Wed, 26 Apr 2023 18:41:24 +0000 (14:41 -0400)]
immutable-object-cache: use granular asio headers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agoexporter: use granular asio headers
Casey Bodley [Wed, 26 Apr 2023 18:07:52 +0000 (14:07 -0400)]
exporter: use granular asio headers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agocommon: Graylog uses granular asio headers
Casey Bodley [Wed, 26 Apr 2023 17:02:35 +0000 (13:02 -0400)]
common: Graylog uses granular asio headers

and use the updated class name io_context

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agoneorados: use granular includes instead of boost/asio.hpp
Casey Bodley [Wed, 26 Apr 2023 14:29:13 +0000 (10:29 -0400)]
neorados: use granular includes instead of boost/asio.hpp

avoid the boost/asio.hpp convenience header, as it pulls in a dependency
on liburing

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agolibrbd: include posix/stream_descriptor.hpp header
Casey Bodley [Wed, 26 Apr 2023 14:26:20 +0000 (10:26 -0400)]
librbd: include posix/stream_descriptor.hpp header

the use of boost::asio::posix::stream_descriptor requires the
concrete header instead of posix/basic_stream_descriptor.hpp

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agocommon: hide asio header from common/error_code.h
Casey Bodley [Tue, 18 Apr 2023 15:06:50 +0000 (11:06 -0400)]
common: hide asio header from common/error_code.h

this added a dependency on uring headers where it wasn't necessary.
pick_address.cc was relying on that for the IFF_UP define

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agocmake: define BOOST_ASIO_HAS_IO_URING for WITH_LIBURING
Casey Bodley [Fri, 31 Mar 2023 18:33:17 +0000 (14:33 -0400)]
cmake: define BOOST_ASIO_HAS_IO_URING for WITH_LIBURING

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agocmake: fix Finduring.cmake
Casey Bodley [Fri, 31 Mar 2023 18:18:21 +0000 (14:18 -0400)]
cmake: fix Finduring.cmake

liburing-devel package provides `/usr/lib64/liburing.so`. without this
fix, `find_package(uring)` failed with this `CMAKE_FIND_DEBUG_MODE`
output:
```
  find_library considered the following locations:

    /home/cbodley/ceph/build/virtualenv/bin//(lib)liburing.a(\.so|\.a)
    /home/cbodley/ceph/build/virtualenv/bin/(lib)liburing.a(\.so|\.a)
    /usr/local/bin//(lib)liburing.a(\.so|\.a)
    /usr/local/bin/(lib)liburing.a(\.so|\.a)
    /usr/local/sbin//(lib)liburing.a(\.so|\.a)
    /usr/local/sbin/(lib)liburing.a(\.so|\.a)
    /usr/bin//(lib)liburing.a(\.so|\.a)
    /usr/bin/(lib)liburing.a(\.so|\.a)
    /usr/sbin//(lib)liburing.a(\.so|\.a)
    /usr/sbin/(lib)liburing.a(\.so|\.a)
    /usr/local/lib64//(lib)liburing.a(\.so|\.a)
    /usr/local/lib64/(lib)liburing.a(\.so|\.a)
    /usr/local/lib//(lib)liburing.a(\.so|\.a)
    /usr/local/lib/(lib)liburing.a(\.so|\.a)
    /usr/local//(lib)liburing.a(\.so|\.a)
    /usr/local/(lib)liburing.a(\.so|\.a)
    /usr/lib64//(lib)liburing.a(\.so|\.a)
    /usr/lib64/(lib)liburing.a(\.so|\.a)
    /usr/lib//(lib)liburing.a(\.so|\.a)
    /usr/lib/(lib)liburing.a(\.so|\.a)
    /usr//(lib)liburing.a(\.so|\.a)
    /usr/(lib)liburing.a(\.so|\.a)
    /lib64//(lib)liburing.a(\.so|\.a)
    /lib64/(lib)liburing.a(\.so|\.a)
    /lib//(lib)liburing.a(\.so|\.a)
    /lib/(lib)liburing.a(\.so|\.a)
    /opt//(lib)liburing.a(\.so|\.a)
    /opt/(lib)liburing.a(\.so|\.a)
    /usr/lib64/X11//(lib)liburing.a(\.so|\.a)
    /usr/lib64/X11/(lib)liburing.a(\.so|\.a)
```

Signed-off-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge PR #54042 into main
Patrick Donnelly [Fri, 20 Oct 2023 13:06:41 +0000 (09:06 -0400)]
Merge PR #54042 into main

* refs/pull/54042/head:
cmake: populate liburing include and library paths down to rocksdb external project
cmake: promote uring package search to top-level

Reviewed-by: Casey Bodley <cbodley@redhat.com>