]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 months agoreef: mgr/diskprediction_local: avoid more mypy errors 62369/head
John Mulligan [Tue, 18 Mar 2025 19:56:25 +0000 (15:56 -0400)]
reef: mgr/diskprediction_local: avoid more mypy errors

Similar to c4111033172db28c4737e8438f27901811919ce4 this patch
suppresses mypy errors in the diskprediction_local mgr module.
I probably put the magic comment on more lines than needed but
mypy does not have a block-comment method to suppress checking
for just a region of code today.
This patch is not a backport as the issue is only impacting
reef CI jobs and so it is applied directly to the reef branch.

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
4 months agoMerge pull request #62087 from aaSharma14/wip-70252-reef
Aashish Sharma [Mon, 17 Mar 2025 05:52:29 +0000 (11:22 +0530)]
Merge pull request #62087 from aaSharma14/wip-70252-reef

reef: mgr: fix subuser creation via dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 months agoMerge pull request #62321 from zdover23/wip-doc-2025-03-15-backport-62319-to-reef
Zac Dover [Sat, 15 Mar 2025 03:23:53 +0000 (13:23 +1000)]
Merge pull request #62321 from zdover23/wip-doc-2025-03-15-backport-62319-to-reef

reef: doc/rados/troubleshooting: Improve troubleshooting-pg.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/rados/troubleshooting: Improve troubleshooting-pg.rst 62321/head
Anthony D'Atri [Sat, 15 Mar 2025 02:44:18 +0000 (22:44 -0400)]
doc/rados/troubleshooting: Improve troubleshooting-pg.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 56a21cbc03e352867608c4cf0623d5566fb60cc8)

4 months agoMerge pull request #62318 from zdover23/wip-doc-2025-03-15-backport-62316-to-reef
Anthony D'Atri [Sat, 15 Mar 2025 02:47:09 +0000 (22:47 -0400)]
Merge pull request #62318 from zdover23/wip-doc-2025-03-15-backport-62316-to-reef

reef: doc/rados/operations: improve crush-map-edits.rst

4 months agodoc/rados/operations: improve crush-map-edits.rst 62318/head
Anthony D'Atri [Sat, 15 Mar 2025 01:59:57 +0000 (21:59 -0400)]
doc/rados/operations: improve crush-map-edits.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 59a894713a9e3540ed74c763cf856636bf300099)

4 months agoMerge pull request #62218 from idryomov/wip-66419-reef
Yuri Weinstein [Fri, 14 Mar 2025 20:23:42 +0000 (13:23 -0700)]
Merge pull request #62218 from idryomov/wip-66419-reef

reef: qa/workunits/rbd: wait for resize to be applied in rbd-nbd

Reviewed-by: Ramana Raja <rraja@redhat.com>
4 months agoMerge pull request #60615 from YiteGu/wip-68792-reef
Laura Flores [Fri, 14 Mar 2025 20:20:25 +0000 (15:20 -0500)]
Merge pull request #60615 from YiteGu/wip-68792-reef

reef: blk/KernelDevice: using join() to wait thread end is more safe

4 months agoMerge pull request #62298 from zdover23/wip-doc-2025-03-14-backport-62119-to-reef
Anthony D'Atri [Fri, 14 Mar 2025 12:18:45 +0000 (08:18 -0400)]
Merge pull request #62298 from zdover23/wip-doc-2025-03-14-backport-62119-to-reef

reef: doc: fixup #58689 - document SSE-C iam condition key

4 months agodoc: fixup #58689 - document SSE-C iam condition key 62298/head
dawg [Wed, 5 Mar 2025 09:12:57 +0000 (10:12 +0100)]
doc: fixup #58689 - document SSE-C iam condition key

Signed-off-by: dawg <code@dawg.eu>
(cherry picked from commit 7b4ac886621b71abb9356bce6c44b3c36b2c0ee2)

4 months agoMerge pull request #62266 from zdover23/wip-doc-2025-03-13-backport-62249-to-reef
Anthony D'Atri [Thu, 13 Mar 2025 12:08:13 +0000 (08:08 -0400)]
Merge pull request #62266 from zdover23/wip-doc-2025-03-13-backport-62249-to-reef

reef: doc/monitoring: Improve index.rst

4 months agoMerge pull request #59697 from rhcs-dashboard/wip-67928-reef
afreen23 [Thu, 13 Mar 2025 10:39:23 +0000 (16:09 +0530)]
Merge pull request #59697 from rhcs-dashboard/wip-67928-reef

reef: qa/mgr/dashboard: fix test race condition

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agomgr: fix subuser creation via dashboard 62087/head
Hannes Baum [Wed, 6 Nov 2024 08:46:09 +0000 (09:46 +0100)]
mgr: fix subuser creation via dashboard

Subusers couldn't be created through the dashboard, because the get call was overwritten with Python magic due to it being the function under the HTTP call.
The get function was therefore split into an "external" and "internal" function, whereas one
can be used by functions without triggering the magic. Since the user object was then returned correctly, json.loads could be removed.

Signed-off-by: Hannes Baum <hannes.baum@cloudandheat.com>
(cherry picked from commit 90e221d0b53ad137e912b8cbd84935a8755f1fe7)

4 months agoqa/tests: retry the api call after making the request 59697/head
Nizamudeen A [Mon, 10 Feb 2025 18:18:56 +0000 (23:48 +0530)]
qa/tests: retry the api call after making the request

based on the pointer from Bill in https://tracker.ceph.com/issues/62972#note-75

Fixes: https://tracker.ceph.com/issues/62972
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1588712b558f229d54fdfab744f2480f15333067)

4 months agoqa/dashboard: fix test_list_enabled_module failure
Nizamudeen A [Wed, 30 Oct 2024 14:01:10 +0000 (19:31 +0530)]
qa/dashboard: fix test_list_enabled_module failure

Check the ports availability and go for a new port if the current one is
not available

Fixes: https://tracker.ceph.com/issues/62972
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit a2a4a3415c0e5ceef2cb01d3bcdf5eb1fff23803)

4 months agoqa/dashboard: fix tasks.mgr.dashboard.test_health.HealthTest
Nizamudeen A [Mon, 28 Oct 2024 05:45:25 +0000 (11:15 +0530)]
qa/dashboard: fix tasks.mgr.dashboard.test_health.HealthTest

as per: https://tracker.ceph.com/issues/47612#note-14

Fixes: https://tracker.ceph.com/issues/47612
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 79d61bbb58cb34f9da678e37b4373fc84bd393f5)

4 months agoqa/tests: fix test_list_enabled_modules timeout error
Nizamudeen A [Fri, 30 Aug 2024 11:46:57 +0000 (17:16 +0530)]
qa/tests: fix test_list_enabled_modules timeout error

This test deals with enabling/disabling the modules. The assumption I
have is after enabling the
module test will wait for an active mgr but its not able to find it in
time and it fails. so taking inspiration from https://github.com/ceph/ceph/pull/58995/commits/6c7253be6f6fbfa6faed7a539cb78847fec04580 adding retries and logs to see if that's the case

Fixes: https://tracker.ceph.com/issues/62972
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit b2da7394ee02abd6525372d94cab090818cd6c8e)

4 months agoqa/mgr/dashboard: fix test race condition
Ernesto Puerta [Thu, 1 Aug 2024 23:39:40 +0000 (01:39 +0200)]
qa/mgr/dashboard: fix test race condition

Fixes: https://tracker.ceph.com/issues/66844
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 6c7253be6f6fbfa6faed7a539cb78847fec04580)

4 months agoMerge pull request #62256 from rhcs-dashboard/wip-70424-reef
Nizamudeen A [Thu, 13 Mar 2025 05:50:30 +0000 (11:20 +0530)]
Merge pull request #62256 from rhcs-dashboard/wip-70424-reef

reef: mgr/dashboard: pin lxml to fix run-dashboard-tox-make-check failure

4 months agodoc/monitoring: Improve index.rst 62266/head
Anthony D'Atri [Wed, 12 Mar 2025 13:31:19 +0000 (09:31 -0400)]
doc/monitoring: Improve index.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 1bc67295c8b75475455ff702998ae4d7fb2ec749)

4 months agomgr/dashboard: pin lxml to fix run-dashboard-tox-make-check failure 62256/head
Nizamudeen A [Wed, 12 Mar 2025 07:06:42 +0000 (12:36 +0530)]
mgr/dashboard: pin lxml to fix run-dashboard-tox-make-check failure

xmlsec had an upgrade yesterday night and python3-saml might need to
adapt its library accordingly I suppose. Testing a fix by pinning lxml

Another approach is being tried out separately
https://github.com/ceph/ceph/pull/62239, but that is failing with some
other errors.

Fixes: https://tracker.ceph.com/issues/70411
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1f84505f1232dd8445df1a2a819fa000062d3934)

 Conflicts:
src/pybind/mgr/dashboard/requirements.txt
 - only kept the lxml pinning. didn't add the newer deps that are
   present in main

4 months agoMerge pull request #57590 from NitzanMordhai/wip-66141-reef
Yuri Weinstein [Wed, 12 Mar 2025 14:33:48 +0000 (07:33 -0700)]
Merge pull request #57590 from NitzanMordhai/wip-66141-reef

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

Reviewed-by: Laura Flores <lflores@redhat.com>
4 months agoMerge pull request #62124 from ifed01/wip-ifed-fragmentation-command-reef
Igor Fedotov [Wed, 12 Mar 2025 09:19:06 +0000 (12:19 +0300)]
Merge pull request #62124 from ifed01/wip-ifed-fragmentation-command-reef

reef: tool/ceph-bluestore-tool: fix wrong keyword for 'free-fragmentation' …

Reviewed-by: akupczyk@ibm.com
4 months agoMerge pull request #62209 from aaSharma14/wip-67936-reef
Aashish Sharma [Wed, 12 Mar 2025 07:12:05 +0000 (12:42 +0530)]
Merge pull request #62209 from aaSharma14/wip-67936-reef

reef: mgr/dashboard: Fix variable capitalization in embedded rbd-details panel

Reviewed-by: Naman Munet <naman.munet@ibm.com>
4 months agoMerge pull request #61892 from k0ste/wip-70068-reef
Adam Kupczyk [Tue, 11 Mar 2025 18:33:12 +0000 (19:33 +0100)]
Merge pull request #61892 from k0ste/wip-70068-reef

reef: os/bluestore: fix the problem that _estimate_log_size_N calculates the log size incorrectly

4 months agoqa/workunits/rbd: wait for resize to be applied in rbd-nbd 62218/head
Ilya Dryomov [Sun, 9 Mar 2025 21:10:08 +0000 (22:10 +0100)]
qa/workunits/rbd: wait for resize to be applied in rbd-nbd

Implement the same logic as in commit 6f3d0f570f1a ("test/librbd/fsx:
wait for resize to propagate in krbd_resize()").

Fixes: https://tracker.ceph.com/issues/66419
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit bedc75fff2876d2edd4e5af2e008467fa480b4c6)

4 months agomgr/dashboard: Fix variable capitalization in embedded rbd-details panel 62209/head
Juan Ferrer Toribio [Tue, 3 Sep 2024 09:02:42 +0000 (11:02 +0200)]
mgr/dashboard: Fix variable capitalization in embedded rbd-details panel

Fix capitalization of image and pool variables in embedded grafana rbd-details panel

Fixes: https://tracker.ceph.com/issues/67849
Signed-off-by: Juan Ferrer Toribio <22457707+juan-ferrer-toribio@users.noreply.github.com>
(cherry picked from commit dfca044b6466d599fc4eb50f31bc40949e91e70e)

4 months agoMerge pull request #62162 from phlogistonjohn/wip-70345-reef
Adam King [Mon, 10 Mar 2025 20:02:05 +0000 (16:02 -0400)]
Merge pull request #62162 from phlogistonjohn/wip-70345-reef

reef: build-with-container: fixes and enhancements

Reviewed-by: Adam King <adking@redhat.com>
4 months agoMerge pull request #62175 from idryomov/wip-64063-reef
Yuri Weinstein [Mon, 10 Mar 2025 15:04:56 +0000 (11:04 -0400)]
Merge pull request #62175 from idryomov/wip-64063-reef

reef: rbd-nbd: use netlink interface by default

Reviewed-by: Ramana Raja <rraja@redhat.com>
4 months agoMerge pull request #61379 from vshankar/wip-reef-client-secfix
Venky Shankar [Mon, 10 Mar 2025 12:17:17 +0000 (17:47 +0530)]
Merge pull request #61379 from vshankar/wip-reef-client-secfix

reef: client: disallow unprivileged users to escalate root privileges

Reviewed-by: Milind Changire <mchangir@redhat.com>
4 months agoMerge pull request #62193 from zdover23/wip-doc-2025-03-10-backport-62176-to-reef
Anthony D'Atri [Mon, 10 Mar 2025 04:41:43 +0000 (00:41 -0400)]
Merge pull request #62193 from zdover23/wip-doc-2025-03-10-backport-62176-to-reef

reef: doc/releases: Add ordering comment to releases.yml

4 months agodoc/releases: Add ordering comment to releases.yml 62193/head
Anthony D'Atri [Sat, 8 Mar 2025 15:58:37 +0000 (10:58 -0500)]
doc/releases: Add ordering comment to releases.yml

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 2290a904bd6a3194f77b76d7deb0c9d24c8b4b93)

4 months agoMerge pull request #62065 from dmick/wip-70241-reef
Dan Mick [Sat, 8 Mar 2025 00:17:31 +0000 (16:17 -0800)]
Merge pull request #62065 from dmick/wip-70241-reef

reef: container/build.sh: remove local container images

4 months agoMerge pull request #62129 from idryomov/wip-65720-reef
Yuri Weinstein [Fri, 7 Mar 2025 20:24:43 +0000 (15:24 -0500)]
Merge pull request #62129 from idryomov/wip-65720-reef

reef: librbd: add rbd_diff_iterate3() API to take source snapshot by ID

Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
4 months agoMerge pull request #62127 from idryomov/wip-70190-reef
Yuri Weinstein [Fri, 7 Mar 2025 20:23:19 +0000 (15:23 -0500)]
Merge pull request #62127 from idryomov/wip-70190-reef

reef: librbd: fix a deadlock on image_lock caused by Mirror::image_disable()

Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
4 months agoRevert "test/librbd/fsx: switch to netlink interface for rbd-nbd" 62175/head
Ilya Dryomov [Fri, 7 Mar 2025 20:07:49 +0000 (21:07 +0100)]
Revert "test/librbd/fsx: switch to netlink interface for rbd-nbd"

This reverts commit 1a128a8d8c5cc4313fa301db5381af9963940383.

With commit fcbf7367d285 ("rbd-nbd: map using netlink interface by
default") backported to reef, this reef-only fixup limited to fsx is no
longer needed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 months agorbd-nbd: map using netlink interface by default
Ramana Raja [Wed, 17 Jan 2024 18:24:36 +0000 (13:24 -0500)]
rbd-nbd: map using netlink interface by default

Mapping rbd images to nbd devices using ioctl interface is not
robust. It was discovered that the device size or the md5 checksum
of the nbd device was incorrect immediately after mapping using
ioctl method. When using the nbd netlink interface to map RBD images
the issue was not encountered. Switch to using nbd netlink interface
for mapping.

Fixes: https://tracker.ceph.com/issues/64063
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit fcbf7367d285629b382e3d9d32ac354319d1cc66)

Conflicts:
PendingReleaseNotes [ moved to >=18.2.5 section ]

4 months agoMerge pull request #62037 from ceph/template-reef
David Galloway [Fri, 7 Mar 2025 19:42:36 +0000 (14:42 -0500)]
Merge pull request #62037 from ceph/template-reef

Links to Jenkins jobs in PR comment commands / Remove deprecated commands

4 months agotest/pybind/rbd: fix read offset in write zeroes tests 62129/head
Ilya Dryomov [Mon, 3 Mar 2025 16:59:35 +0000 (17:59 +0100)]
test/pybind/rbd: fix read offset in write zeroes tests

Random data is written and write zeroes is invoked on 0~256, but the
read is done on 256~256.  This means that if write zeroes malfunctions
the test wouldn't catch it (especially in the thick provision case).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit d41f0fa01f59a8d056dc28934b92212c78a05a62)

4 months agolibrbd: add rbd_diff_iterate3() API to take source snapshot by ID
VinayBhaskar-V [Tue, 26 Nov 2024 11:18:51 +0000 (16:48 +0530)]
librbd: add rbd_diff_iterate3() API to take source snapshot by ID

Allow a diff to start from a non-user snapshot.  This would be used by
"rbd du" command to account for non-user snapshots which are currently
just skipped potentially resulting in underreported space usage and in
other places.

Fixes: https://tracker.ceph.com/issues/65720
Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Vinay Bhaskar Varada <vvarada@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 54f47cc28ffd2d29b4f8cfaf56a5a5be2909bde7)

Conflicts:
src/include/rbd/librbd.h [ commit e5ccce14c4b0 ("rbd: add group
  snap info command") not in reef ]
src/test/pybind/test_rbd.py [ commit d7fd66ec9944 ("librbd: add
  rbd_clone4() API to take parent snapshot by ID") not in reef ]

4 months agodoc: document the new container build tool and link to it in README 62162/head
John Mulligan [Fri, 14 Feb 2025 19:51:03 +0000 (14:51 -0500)]
doc: document the new container build tool and link to it in README

Add a new markdown file in the root of the tree, ContainerBuild.md, that
can serve as a basic introduction to the new container build tools
recently merged to ceph.
Add a small 'breadcrumb' section to the project README.md to help find
this new document.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 313546146c429e784ec291b686907f47b33c595c)

4 months agoscript/build-with-container: add support for overlay dir
John Mulligan [Thu, 20 Feb 2025 00:17:30 +0000 (19:17 -0500)]
script/build-with-container: add support for overlay dir

The source dir (aka homedir, default /ceph) is mounted in the container
read-write. This is needed as the various ceph build scripts expect to
write things into the tree - often this is in the build directory - but
not always. This can lead to small messes and/or situations that are
confusing to debug, especially if one is jumping between distros often.
Add an option to use an overlay volume for the homedir - by default we
enable a persistent overlay with a supplied "upper dir" where files that
were written will appear. One can also enable a temporary overlay that
forgets the writes when the container exits - maybe useful when doing
experiments in 'interactive' mode.

To use this option run the command with the `--overlay=<dir>` option.
For example: `./src/script/build-with-container.py -b build.inner
--overlay-dir build.ovr`. This will create a directory
`build.ovr/content` automatically and all new files will appear there.
For example the build directory will appear at
`build.ovr/content/build.inner`.

To use the temporary overlay use a `-` as the directory name. For
example: `./src/script/build-with-container.py -b build.inner
--overlay-dir -`

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 794e3d0b25a05e019e549eb51ba0ddba1268d5a6)

4 months agoscript/build-with-container: skip dnf cache dir volume mounts on docker
John Mulligan [Thu, 20 Feb 2025 14:50:49 +0000 (09:50 -0500)]
script/build-with-container: skip dnf cache dir volume mounts on docker

When using docker the --volume option is not available during build
(docker [buildx] build), unlike podman. Since passing these volumes must
be conditional on them being set up I see no way to handle this short of
just disabling the option on docker. Log the fact that it's being
skipped - the only other issue is that we pointlessly set up some dirs
and the build may be a bit slower.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 4208a736652190fdaad3006c435f6c068e81a093)

4 months agoscript/build-with-container: remove default --volume arg from ctr build
John Mulligan [Wed, 19 Feb 2025 18:20:36 +0000 (13:20 -0500)]
script/build-with-container: remove default --volume arg from ctr build

On the original github pr #59841 user fayak kindly informed us that the
--volume option was not supported by docker build. Since this section
was a leftover from a previous way of constructing the builder image and
was no longer needed we simply removed it.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 612a9d6808f4f1d4f93aeca055acba064e7a1209)

4 months agoscript/build-with-container.py: build builder image with --pull=always
John Mulligan [Wed, 19 Feb 2025 18:20:01 +0000 (13:20 -0500)]
script/build-with-container.py: build builder image with --pull=always

Construct the builder image using the --pull=always flag to initiate a
pull of the base image (centos, ubuntu, etc) in order to avoid using a
stale base image. Since the script automatically (by default) avoids
building if a matching tag is in local container storage it is handy to
use a fresh base when it *is* time to build something. Otherwise, you
end up in a situation like I sometimes do - using a months old base
unintentionally.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit f6e6188e30a9d765e86bd2d710666cfbdeb0818c)

4 months agoscript/build-with-container: add a common packages target
John Mulligan [Fri, 14 Feb 2025 19:50:42 +0000 (14:50 -0500)]
script/build-with-container: add a common packages target

Add a `packages` target to build-with-container.py that requests a build
of packages, whatever package type is native to the distro selected.
For example `./src/script/build-with-container.py -d ubuntu22.04 -e
packages` will automatically select a deb packages build where
`./src/script/build-with-container.py -d centos9 -e packages` will
trigger rpm packages to be built. The underlying package-type specific
targets remain unchanged.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 37b7d509c59348ae11badd6673cb49ce9ce303fa)

4 months agoscript/build-with-container: support custom tag suffixes
John Mulligan [Fri, 14 Feb 2025 16:44:35 +0000 (11:44 -0500)]
script/build-with-container: support custom tag suffixes

Previously, one could use the `--tag` option to completely override the
container tag generated by the script. However, there are cases where
one may want to add information to the tag rather than override it.
Allow the tag value to start with a plus (+) character that indicates
that the remainder of the string is to be suffixed to the generated tag.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 30836c4ed4b9332f22b31897ce4ece0ad4da6fc0)

4 months agoscript/build-with-container: add --base-branch cli option
John Mulligan [Fri, 14 Feb 2025 16:37:04 +0000 (11:37 -0500)]
script/build-with-container: add --base-branch cli option

Add a command line option --base-branch that allows the user to supply a
custom base branch name. git doesn't make determining this easy so we
always assume a base branch of 'main' by default - but this option lets
one change that.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit ff34bf7241f1a1072f74494cc8f50156e0076019)

4 months agosrc/script: rename CEPH_BRANCH to CEPH_BASE_BRANCH for build container
John Mulligan [Fri, 14 Feb 2025 16:24:29 +0000 (11:24 -0500)]
src/script: rename CEPH_BRANCH to CEPH_BASE_BRANCH for build container

Previously, we were passing build argument of CEPH_BRANCH, but that was
a bit misleading as we expect the current branch to vary a bit (as users
will be using branches to develop and test the code). What we actually
care about is the base branch ('main', 'squid', etc) as that is fed into
our bootstrap script and we want the option to simple variations based
on the name of said base branch.
Rename CEPH_BRANCH to CEPH_BASE_BRANCH for clarity.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit a1d49d557cfcc75bab6121e652350a6bfec3409f)

4 months agoscript/build-with-container: add --current-branch cli option
John Mulligan [Fri, 14 Feb 2025 16:24:06 +0000 (11:24 -0500)]
script/build-with-container: add --current-branch cli option

Add a new --current-branch argument that lets the user supply a name for
the current branch. This allows the automatic tag generation to avoid
calling git - something useful if the tree is not using a git checkout
(like a tarball). It also allows you to pull a temporary branch in git
but ignore it and act like the temporary branch is the base branch.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit c1713c5bc37b7e31bd84555066c06a72bb0f025b)

4 months agoscript/build-with-container: add more distro aliases
John Mulligan [Tue, 11 Feb 2025 23:36:13 +0000 (18:36 -0500)]
script/build-with-container: add more distro aliases

Add a system to define distro name aliases and use that to define some
additional aliases, primarily to match ubuntu codenames rather than
version numbers. Requested by Zack.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 65f055f0d8390b9787007433d16cf3a1737584ff)

4 months agoscript/build-with-container: apply black formatting to file
John Mulligan [Thu, 20 Feb 2025 00:21:27 +0000 (19:21 -0500)]
script/build-with-container: apply black formatting to file

After the last set of fixes and enhancements I forgot to reformat the
file. This applies standard `black` formatting to the file.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit de855aec1c7a483ca5f0971a149860e8aaee8f7f)

4 months agoMerge pull request #61531 from soumyakoduri/wip-skoduri-reef
Adam Emerson [Thu, 6 Mar 2025 05:21:33 +0000 (00:21 -0500)]
Merge pull request #61531 from soumyakoduri/wip-skoduri-reef

reef: rgw: Fix LC process stuck issue

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #55431 from adk3798/reef-mcltf-true
Yuri Weinstein [Wed, 5 Mar 2025 18:43:20 +0000 (10:43 -0800)]
Merge pull request #55431 from adk3798/reef-mcltf-true

reef: qa/tasks/cephadm: enable mon_cluster_log_to_file

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
4 months agoMerge pull request #61434 from idryomov/wip-57864-reef
NitzanMordhai [Wed, 5 Mar 2025 16:53:57 +0000 (18:53 +0200)]
Merge pull request #61434 from idryomov/wip-57864-reef

reef: qa/tasks: Include stderr on tasks badness check.

4 months agolibrbd: fix a deadlock on image_lock caused by Mirror::image_disable() 62127/head
Ilya Dryomov [Sun, 2 Mar 2025 08:24:52 +0000 (09:24 +0100)]
librbd: fix a deadlock on image_lock caused by Mirror::image_disable()

With Mirror::image_disable() taking image_lock for write and calling
list_children() under it, the following deadlock is possible:

1. Mirror::image_disable() takes image_lock for write and calls
   list_children()
2. AbstractWriteLog::periodic_stats() timer fires (it runs every
   5 seconds) and ImageCacheState::write_image_cache_state() is called
   under a global timer_lock
3. ImageCacheState::write_image_cache_state() successfully takes
   owner_lock and blocks attempting to take image_lock for read because
   it's already held for write by Mirror::image_disable()
4. list_children() blocks inside of a call to ImageState::close() on
   a descendant image
5. The descendant image close can't proceed because TokenBucketThrottle
   requires a global timer_lock to complete QosImageDispatch shutdown
6. safe_timer thread which is holding timer_lock can't proceed because
   ImageCacheState::write_image_cache_state() is effectively blocked on
   the descendant image close through Mirror::image_disable()

Until commit 281a64acf920 ("librbd: remove snapshot mirror image-meta
when disabling"), Mirror::image_disable() was taking image_lock only for
read meaning that this deadlock wasn't possible.  The only other change
that commit 281a64acf920 made to the code block protected by image_lock
was using child_mirror_image_internal for cls_client::mirror_image_get()
call on descendant images instead of mirror_image_internal to preserve
the value of mirror_image_internal for later.  Both are local variables
that have nothing to do with image_lock, so I'm going back and making
Mirror::image_disable() take image_lock only for read again.

Fixes: https://tracker.ceph.com/issues/70190
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit ff9aa20bc358775bf372052787322b1452886c13)

4 months agotool/ceph-bluestore-tool: fix wrong keyword for 'free-fragmentation' command. 62124/head
Igor Fedotov [Mon, 14 Mar 2022 18:12:01 +0000 (21:12 +0300)]
tool/ceph-bluestore-tool: fix wrong keyword for 'free-fragmentation' command.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 33037eccf07ded85ba9127bde333184a4de8f060)

4 months agoMerge pull request #62104 from cbodley/wip-70152
Yuri Weinstein [Tue, 4 Mar 2025 21:50:26 +0000 (13:50 -0800)]
Merge pull request #62104 from cbodley/wip-70152

reef: qa/rgw: avoid 'user rm' of keystone users

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoqa/rgw: avoid 'user rm' of keystone users 62104/head
Casey Bodley [Tue, 4 Mar 2025 14:43:27 +0000 (09:43 -0500)]
qa/rgw: avoid 'user rm' of keystone users

partial backport of 2390788b89037bf5121adf4251b980dc20a8f269 did not
include a nearby change from ff81a31ad678472e6847ad39f57e14efd89b0ead

Fixes: https://tracker.ceph.com/issues/70152
Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 months agoMerge pull request #61575 from zdover23/wip-doc-2025-01-30-backport-61566-to-reef
Zac Dover [Tue, 4 Mar 2025 11:57:19 +0000 (21:57 +1000)]
Merge pull request #61575 from zdover23/wip-doc-2025-01-30-backport-61566-to-reef

reef: doc/cephadm: simplify confusing math proposition

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #56408 from batrick/wip-65082-reef
SrinivasaBharathKanta [Mon, 3 Mar 2025 22:44:45 +0000 (04:14 +0530)]
Merge pull request #56408 from batrick/wip-65082-reef

reef: mon: do not log MON_DOWN if monitor uptime is less than threshold

4 months agoMerge pull request #62046 from pritha-srivastava/wip-69257-reef
Yuri Weinstein [Mon, 3 Mar 2025 21:31:17 +0000 (13:31 -0800)]
Merge pull request #62046 from pritha-srivastava/wip-69257-reef

reef: rgw/sts: fix to disallow unsupported JWT algorithms

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 months agoMerge pull request #62045 from nbalacha/wip-70098-reef
Yuri Weinstein [Mon, 3 Mar 2025 21:30:38 +0000 (13:30 -0800)]
Merge pull request #62045 from nbalacha/wip-70098-reef

reef: librbd: fix a crash in get_rollback_snap_id

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
4 months agoMerge pull request #62043 from nbalacha/wip-69983-reef
Yuri Weinstein [Mon, 3 Mar 2025 18:18:10 +0000 (10:18 -0800)]
Merge pull request #62043 from nbalacha/wip-69983-reef

reef: rbd-mirror: fix possible recursive lock of ImageReplayer::m_lock

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
4 months agoMerge pull request #61595 from yuvalif/wip-63630-reef
Casey Bodley [Mon, 3 Mar 2025 17:07:56 +0000 (12:07 -0500)]
Merge pull request #61595 from yuvalif/wip-63630-reef

reef: rgw/test/kafka: let consumer read events from the beginning

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
4 months agoMerge pull request #61973 from rhcs-dashboard/wip-70122-reef
afreen23 [Mon, 3 Mar 2025 05:34:26 +0000 (11:04 +0530)]
Merge pull request #61973 from rhcs-dashboard/wip-70122-reef

reef: mgr/dashboard: disable deleting bucket with objects

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #62078 from zdover23/wip-doc-2025-03-03-backport-62076-to-reef
Anthony D'Atri [Sun, 2 Mar 2025 21:10:40 +0000 (16:10 -0500)]
Merge pull request #62078 from zdover23/wip-doc-2025-03-03-backport-62076-to-reef

reef: doc/rados/operations: Clarify stretch mode vs device class

4 months agodoc/rados/operations: Clarify stretch mode vs device class 62078/head
Anthony D'Atri [Sun, 2 Mar 2025 15:43:18 +0000 (10:43 -0500)]
doc/rados/operations: Clarify stretch mode vs device class

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 75be0272e8469ed214302b8f354bed675cdcaed6)

4 months agoMerge pull request #61403 from ronen-fr/wip-rf-61289-reef
Ronen Friedman [Sat, 1 Mar 2025 07:43:09 +0000 (09:43 +0200)]
Merge pull request #61403 from ronen-fr/wip-rf-61289-reef

reef: common: fix md_config_cacher_t

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 months agocontainer/build.sh: remove local container images 62065/head
Dan Mick [Thu, 27 Feb 2025 00:16:26 +0000 (16:16 -0800)]
container/build.sh: remove local container images

Optionally, for those that want to run build.sh locally and
use the images.  The default is to remove, for Jenkins builders,
which will build, push, and rmi.

Fixes: https://tracker.ceph.com/issues/70196
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 642e5f2da00ad7382393c2b721078bccb9f823c0)

4 months agoqa/workunits/rbd: add a test for force promote with a user snapshot 62045/head
Ilya Dryomov [Thu, 20 Feb 2025 15:38:41 +0000 (16:38 +0100)]
qa/workunits/rbd: add a test for force promote with a user snapshot

Add a reproducer for the crash on a bad variant access which was fixed
in commit 7d75161051da ("librbd: fix a crash in get_rollback_snap_id").

The reproducer deliberately works around many other issues with force
promote in snapshot-based mirroring: stopping rbd-mirror daemon
shouldn't be necessary (let alone with SIGKILL), get_rollback_snap_id()
and its caller can_create_primary_snapshot() are flawed and can pick
the wrong snapshot to roll back to or skip rollback when it's actually
required, the user snapshot in this scenario should be removed as part
of force promoting because it's incomplete and won't be usable after
the image is promoted, etc.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 0f4a37dd9f28070d0d421379385a5f2912cc9627)

Conflicts:
qa/workunits/rbd/rbd_mirror_journal.sh [ commits 3fd8a0388735
  ("qa/workunits/rbd: merge journal and snapshot test scripts")
  and 3fdbc160bb21 ("rbd-mirror: allow mirroring to a different
  namespace") not in reef ]
qa/workunits/rbd/rbd_mirror_snapshot.sh [ duplicated/cloned for
  snapshot-based mirroring ]

4 months agoMerge pull request #62057 from zdover23/wip-doc-2025-02-28-backport-61626-to-reef
Anthony D'Atri [Fri, 28 Feb 2025 15:30:23 +0000 (10:30 -0500)]
Merge pull request #62057 from zdover23/wip-doc-2025-02-28-backport-61626-to-reef

reef: doc/rados: improve pg_num/pgp_num info

4 months agodoc/rados: improve pg_num/pgp_num info 62057/head
Zac Dover [Mon, 3 Feb 2025 13:37:34 +0000 (23:37 +1000)]
doc/rados: improve pg_num/pgp_num info

Improve the guidance around setting pg_num, and clear up confusion
around whether pgp_num should be set manually or, indeed, if it even can
be set manually.

This PR was raised in response to Mark Schouten's email here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/CBDJTLTTIEZVG7GVZBX37UAWGYNSSMPD/

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit c43e7337212fe38e8db63d00345fa9858b3cb10a)

4 months agomgr/dashboard: disable deleting bucket with objects 61973/head
Naman Munet [Wed, 19 Feb 2025 15:14:26 +0000 (20:44 +0530)]
mgr/dashboard: disable deleting bucket with objects

Fixes: https://tracker.ceph.com/issues/70078
Signed-off-by: Naman Munet <naman.munet@ibm.com>
(cherry picked from commit 11677c29ee6ee60d9191edfdbfbe37b5308eb45e)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts

4 months agoMerge pull request #61980 from rhcs-dashboard/wip-70139-reef
afreen23 [Fri, 28 Feb 2025 08:18:44 +0000 (13:48 +0530)]
Merge pull request #61980 from rhcs-dashboard/wip-70139-reef

reef: mgr/dashboard: critical confirmation modal changes

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months ago[CVE-2024-48916] rgw/sts: fix to disallow unsupported JWT algorithms 62046/head
Pritha Srivastava [Tue, 5 Nov 2024 06:33:00 +0000 (12:03 +0530)]
[CVE-2024-48916] rgw/sts: fix to disallow unsupported JWT algorithms
while authenticating AssumeRoleWithWebIdentity using JWT obtained
from an external IDP.

fixes: https://tracker.ceph.com/issues/68836

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 919da3696668a07c6810dfa39301950c81c2eba4)

4 months agolibrbd: fix a crash in get_rollback_snap_id
N Balachandran [Wed, 19 Feb 2025 16:10:29 +0000 (21:40 +0530)]
librbd: fix a crash in get_rollback_snap_id

get_rollback_snap_id() did not check if the snapshot it was
accessing was a mirror snapshot, causing it to crash if it wasn't.

Fixes: https://tracker.ceph.com/issues/70075
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
(cherry picked from commit 7d75161051dad8047925259555d7ddd1a3e98de2)

4 months agorbd-mirror: fix possible recursive lock of ImageReplayer::m_lock 62043/head
N Balachandran [Sat, 15 Feb 2025 13:26:31 +0000 (18:56 +0530)]
rbd-mirror: fix possible recursive lock of ImageReplayer::m_lock

If periodic status update (LambdaContext which is queued from
handle_update_mirror_image_replay_status()) races with shutdown and
ends up being the last in-flight operation that shutdown was pending
on, we attempt to recursively acquire m_lock in shut_down() because
m_in_flight_op_tracker.finish_op() is called with m_lock (and also
m_threads->timer_lock) held.  These locks are needed only for the call
to schedule_update_mirror_image_replay_status() and should be unlocked
immediately.

Fixes: https://tracker.ceph.com/issues/69978
Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: N Balachandran <nithya.balachandran@ibm.com>
(cherry picked from commit c60514087bc29540d3babd7855c5a4e28f2bf1b0)

4 months agoMerge PR #57190 into reef
Patrick Donnelly [Fri, 28 Feb 2025 00:29:26 +0000 (19:29 -0500)]
Merge PR #57190 into reef

* refs/pull/57190/head:
pybind/mgr/mgr_module: turn off all automatic transactions
pybind/mgr: disable sqlite3/python autocommit
qa/tasks/mgr: add tests for sqlite autocommit
qa/tasks/vstart_runner: run daemons in foreground
qa/tasks/vstart_runner: add missing poll method
qa/suites/rados/mgr: add cli/devicehealth tasks
qa: reorganize mgr unit tests
qa: use position-independent link
qa: add missing terminating newline
pybind/mgr: add killpoint for sqlite3 database setup
mgr: allow specifying module option level
mon/MgrMonitor: promote standby when unsetting down flag
mon/MgrMonitor: only drop active if exists

Reviewed-by: Laura Flores <lflores@redhat.com>
4 months agodoc: PR Template - Remove non-functional trigger phrases 62037/head
David Galloway [Wed, 26 Feb 2025 21:32:19 +0000 (16:32 -0500)]
doc: PR Template - Remove non-functional trigger phrases

Signed-off-by: David Galloway <david.galloway@ibm.com>
4 months agodoc: PR Template - Add Jenkins job URLs to commands
David Galloway [Wed, 26 Feb 2025 21:31:37 +0000 (16:31 -0500)]
doc: PR Template - Add Jenkins job URLs to commands

Signed-off-by: David Galloway <david.galloway@ibm.com>
4 months agoMerge pull request #61831 from idryomov/wip-69911-reef
Yuri Weinstein [Wed, 26 Feb 2025 15:59:50 +0000 (07:59 -0800)]
Merge pull request #61831 from idryomov/wip-69911-reef

reef: librbd: fix mirror image status summary in a namespace

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
4 months agoMerge pull request #61916 from adk3798/wip-68158-reef
Adam King [Wed, 26 Feb 2025 15:01:14 +0000 (10:01 -0500)]
Merge pull request #61916 from adk3798/wip-68158-reef

reef: cephadm: Support Docker Live Restore

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
4 months agoMerge pull request #62005 from zdover23/wip-doc-2025-02-26-backport-62001-to-reef
Zac Dover [Wed, 26 Feb 2025 13:17:01 +0000 (23:17 +1000)]
Merge pull request #62005 from zdover23/wip-doc-2025-02-26-backport-62001-to-reef

reef: doc: fix incorrect radosgw-admin subcommand

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc: fix incorrect radosgw-admin subcommand 62005/head
Toshikuni Fukaya [Wed, 26 Feb 2025 04:34:23 +0000 (04:34 +0000)]
doc: fix incorrect radosgw-admin subcommand

Signed-off-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
(cherry picked from commit c3b7d6f19360af90ead61cd5ef8bc73ca1c7fe8f)

4 months agopybind/mgr/mgr_module: turn off all automatic transactions 57190/head
Patrick Donnelly [Wed, 12 Feb 2025 02:28:40 +0000 (21:28 -0500)]
pybind/mgr/mgr_module: turn off all automatic transactions

I misunderstood autocommit=False in prior patches. The sqlite3 binding will
still create transactions automatically which confused newer bindings using
autocommit.

So, turn off automatic transaction management completely to maintain backwards
compatibility.

Fixes: https://tracker.ceph.com/issues/69912
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit df49652987019d5eeec31c86332d8e69995d931a)

4 months agopybind/mgr: disable sqlite3/python autocommit
Patrick Donnelly [Wed, 17 Apr 2024 19:52:36 +0000 (15:52 -0400)]
pybind/mgr: disable sqlite3/python autocommit

SQLite3 and python's binding were both committing transactions at unintended
points. Turn it off and stop using executescript.

Fixes: https://tracker.ceph.com/issues/65494
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 6eacfe96625e272fdb9094ab8753e70ec163c04d)

4 months agoqa/tasks/mgr: add tests for sqlite autocommit
Patrick Donnelly [Fri, 19 Apr 2024 03:35:05 +0000 (23:35 -0400)]
qa/tasks/mgr: add tests for sqlite autocommit

That autocommit is properly turned off and that commits via context managers
work as expected.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit fb82b6d35a734cbf3c27e4dbc5e6eb2eceb30759)

4 months agoqa/tasks/vstart_runner: run daemons in foreground
Patrick Donnelly [Fri, 19 Apr 2024 03:34:16 +0000 (23:34 -0400)]
qa/tasks/vstart_runner: run daemons in foreground

This mirrors teuthology and makes it possible to check the exit status of a
daemon.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit e2e2144a56bc71de739e7bc531b253a04a122b00)

4 months agoqa/tasks/vstart_runner: add missing poll method
Patrick Donnelly [Fri, 19 Apr 2024 03:31:07 +0000 (23:31 -0400)]
qa/tasks/vstart_runner: add missing poll method

Otherwise you cannot use LocalDaemon.check_status.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 9748d0c465f88a5118bf3c694fc5e33116229d12)

4 months agoqa/suites/rados/mgr: add cli/devicehealth tasks
Patrick Donnelly [Thu, 18 Apr 2024 20:58:56 +0000 (16:58 -0400)]
qa/suites/rados/mgr: add cli/devicehealth tasks

These should have been part of the commit adding the tests.

Fixes: 9ebcbdbed0fbaf37d60fbd8db321742ee5721d8c
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 440f25e1eca4c3ffbe5c8451cfa0bae0502362da)

4 months agoqa: reorganize mgr unit tests
Patrick Donnelly [Tue, 23 Apr 2024 14:39:10 +0000 (10:39 -0400)]
qa: reorganize mgr unit tests

Refactor common tasks and allow loading mgrmodules before unittests start.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 2f48dc9a0034f28d06640fb6eb375aaf30d6b87d)

4 months agoqa: use position-independent link
Patrick Donnelly [Tue, 23 Apr 2024 14:26:11 +0000 (10:26 -0400)]
qa: use position-independent link

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 1749edd668060d8453933c5dbfc779f27640043c)

4 months agoqa: add missing terminating newline
Patrick Donnelly [Tue, 23 Apr 2024 14:22:00 +0000 (10:22 -0400)]
qa: add missing terminating newline

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8ac4bbc682b2e77a6402c10eca821b1c7412d631)

4 months agopybind/mgr: add killpoint for sqlite3 database setup
Patrick Donnelly [Wed, 17 Apr 2024 19:44:30 +0000 (15:44 -0400)]
pybind/mgr: add killpoint for sqlite3 database setup

To catch unintentional autocommit by sqlite3.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit fdd0dde62bbc4d84c6d77247315a5cf8eabfa13c)

4 months agomgr: allow specifying module option level
Patrick Donnelly [Fri, 19 Apr 2024 18:31:09 +0000 (14:31 -0400)]
mgr: allow specifying module option level

Some are for development purposes and should be filtered out by the dashboard.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 0d94eebb0dd1b3e2afdde92e1c1051affded46f2)

4 months agomon/MgrMonitor: promote standby when unsetting down flag
Patrick Donnelly [Fri, 19 Apr 2024 02:18:57 +0000 (22:18 -0400)]
mon/MgrMonitor: promote standby when unsetting down flag

In the same epoch, to simplify testing.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit e0441402d6691f68c3ea95ce60b6e3ba101a0a1e)

4 months agomon/MgrMonitor: only drop active if exists
Patrick Donnelly [Thu, 18 Apr 2024 19:40:19 +0000 (15:40 -0400)]
mon/MgrMonitor: only drop active if exists

This avoids an assertion in ::drop_active.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 3fca1187460cdd05c08879b19840d78d787da9b0)

4 months agoMerge pull request #61953 from zdover23/wip-doc-2025-02-21-backport-61948-to-reef
Mike Perez [Tue, 25 Feb 2025 00:44:57 +0000 (16:44 -0800)]
Merge pull request #61953 from zdover23/wip-doc-2025-02-21-backport-61948-to-reef

reef: doc/cephadm/services: Re-improve osd.rst

4 months agoMerge pull request #61923 from adk3798/wip-69821-reef
Adam King [Mon, 24 Feb 2025 22:09:00 +0000 (17:09 -0500)]
Merge pull request #61923 from adk3798/wip-69821-reef

reef: mgr/cephadm: create OSD daemon deploy specs through make_daemon_spec

Reviewed-by: John Mulligan <jmulligan@redhat.com>