]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
2 weeks agoMerge PR #65808 into wip-jcollin-testing-20251009.082449-tentacle wip-jcollin-testing-20251009.082449-tentacle testing/wip-jcollin-testing-20251009.082449-tentacle
Jos Collin [Thu, 9 Oct 2025 08:25:05 +0000 (13:55 +0530)]
Merge PR #65808 into wip-jcollin-testing-20251009.082449-tentacle

* refs/pull/65808/head:
doc: added a note for damaged hard links in scrub documentation
qa: add a test to verify that a damage hard link id detected during scrub
mds: identify damaged hard links during scrub

2 weeks agoMerge PR #65812 into wip-jcollin-testing-20251009.082449-tentacle
Jos Collin [Thu, 9 Oct 2025 08:25:00 +0000 (13:55 +0530)]
Merge PR #65812 into wip-jcollin-testing-20251009.082449-tentacle

* refs/pull/65812/head:
src/common: add helper to prepend "..." to trimmed paths
mds/ScrubStack: avoid generating inode path since it is unused
mds: fix few log entries
client: trim path before logging it
mds: log trimmed path wherever generating full path is necessary
mds: for logging generate only 10 final components of dentry path
mds: for logging generate only 10 final components of inode path
qa, test: run unit tests for cephfs.pyx with non-root user
test/pybind: add unit tests for rmtree() in cephfs python bindings
pybind/cephfs, mgr/volumes: refactor purge() to be non-recursive

2 weeks agoMerge pull request #65843 from phlogistonjohn/jjm-bwc-backports-t
David Galloway [Thu, 9 Oct 2025 00:22:27 +0000 (20:22 -0400)]
Merge pull request #65843 from phlogistonjohn/jjm-bwc-backports-t

tentacle: sync build-with-container patches from main

2 weeks agoscript/build-with-container: improve error handling for invalid distros
John Mulligan [Wed, 8 Oct 2025 20:41:36 +0000 (16:41 -0400)]
script/build-with-container: improve error handling for invalid distros

Instead of throwing a long obnoxious traceback at the user if the value
supplied to -d/--distro is invalid do something nicer. For example:
```
$ ./src/script/build-with-container.py -d trixy  -e build
usage: build-with-container.py [-h] [--help-build-steps]
build-with-container.py: error: argument --distro/-d: unknown distro: 'trixy' not in centos10, centos10stream, centos8, centos9, centos9stream, rocky9, rockylinux9, rocky10, rockylinux10, fedora41, fc41, fedora42, fc42, fedora43, fc43, ubuntu20.04, ubuntu-focal, focal, ubuntu22.04, ubuntu-jammy, jammy, ubuntu24.04, ubuntu-noble, noble, debian12, debian-bookworm, bookworm, debian13, debian-trixie, trixie

```

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

2 weeks agoscript/build-with-container: add debian 13 (trixie)
John Mulligan [Wed, 8 Oct 2025 21:04:27 +0000 (17:04 -0400)]
script/build-with-container: add debian 13 (trixie)

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

2 weeks agoscript/build-with-container: add ubuntu 20.04 (focal)
John Mulligan [Wed, 8 Oct 2025 17:30:18 +0000 (13:30 -0400)]
script/build-with-container: add ubuntu 20.04 (focal)

Add ubuntu 20.04 (focal) to the available list of distro kinds.

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

2 weeks agoscript/build-with-container: add a pair of fedora distro versions
John Mulligan [Wed, 8 Oct 2025 14:28:30 +0000 (10:28 -0400)]
script/build-with-container: add a pair of fedora distro versions

Add fedora 42 and the soon-to-be-released fedora 43.

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

2 weeks agoscript/build-with-container: lightly organize the distro kind aliases
John Mulligan [Wed, 8 Oct 2025 14:26:58 +0000 (10:26 -0400)]
script/build-with-container: lightly organize the distro kind aliases

Do a tiny reorg of the distro kind aliases and container images to keep
the EL distros together and comment out each "section".

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

2 weeks agoscript/build-with-container: be consistent with naming in distro kinds
John Mulligan [Wed, 8 Oct 2025 14:23:25 +0000 (10:23 -0400)]
script/build-with-container: be consistent with naming in distro kinds

Update the DistroKind enum and related items so that the naming is
applied consistently. That is: the canonical (no pun indented) form
of the name is "<name><version>" and codenames, such as "jammy" or
"bookworm" are aliases. This matches the previously existing code.

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

2 weeks agosrc/script: add bookworm to build-with-container.py
Dan Mick [Tue, 7 Oct 2025 01:48:42 +0000 (18:48 -0700)]
src/script: add bookworm to build-with-container.py

..and its friend buildcontainer-setup.sh

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 34b497c2f3652e7d30c7b7476b711fd9f1f4ecac)

2 weeks agobuild-with-container: ensure npm dir is set up before configure
John Mulligan [Thu, 28 Aug 2025 23:39:06 +0000 (19:39 -0400)]
build-with-container: ensure npm dir is set up before configure

When the npm cache path option is passed the npm cache dir is passed
to all container `run` commands, ensure the dir has been created
before the first container command (configure) is used.

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

2 weeks agoMerge pull request #65816 from Hezko/wip-73400-tentacle
afreen23 [Wed, 8 Oct 2025 16:10:38 +0000 (21:40 +0530)]
Merge pull request #65816 from Hezko/wip-73400-tentacle

tentacle: mgr/dashboard: raise exception if both size and rbd_image_size are being passed in ns add

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 weeks agosrc/common: add helper to prepend "..." to trimmed paths wip-73391-tentacle
Rishabh Dave [Wed, 1 Oct 2025 19:21:20 +0000 (00:51 +0530)]
src/common: add helper to prepend "..." to trimmed paths

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit c38a9138ba8294ab1243cf03ad0c8b0df4901967)

2 weeks agomds/ScrubStack: avoid generating inode path since it is unused
Rishabh Dave [Mon, 22 Sep 2025 09:07:10 +0000 (14:37 +0530)]
mds/ScrubStack: avoid generating inode path since it is unused

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 10e4ccb104d84444f0047e166a9dff997c4e2736)

2 weeks agomds: fix few log entries
Rishabh Dave [Tue, 16 Sep 2025 14:18:19 +0000 (19:48 +0530)]
mds: fix few log entries

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit e4c301b9f0204b6a82490a68ec4c3a26db7b013f)

Conflicts:
src/mds/MDSAuthCaps.cc
- Same issue, region where patch is to be applied is slightly different
  compared to main leading to this conflict.

2 weeks agoclient: trim path before logging it
Rishabh Dave [Tue, 2 Sep 2025 17:37:36 +0000 (23:07 +0530)]
client: trim path before logging it

Path can be virtually infinitely long and logging a long long path
(imagine around 2000 path components) is un-useful as well as lowers
readability of the log. Therefore, trim before logging.

Fixes: https://tracker.ceph.com/issues/72993
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit bdc8aae400fbbdd61df811455d49176deab1f331)

Conflicts:

src/include/filepath.cc
- filepath.cc is absent in reef branches, patches for it are manually to
  filepath.h instead.

src/include/filepath.h
- This file was modified in one of the previous commits to have the
  defintion of set_trimmed() instead of declaration since filepath.cc is
  absent in this branch.

2 weeks agomds: log trimmed path wherever generating full path is necessary
Rishabh Dave [Tue, 23 Sep 2025 06:03:19 +0000 (11:33 +0530)]
mds: log trimmed path wherever generating full path is necessary

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 11de1e5772fa88125de10dc7972e0e31e33140d0)

Conflicts:
src/mds/MDSAuthCaps.cc
src/mds/Server.cc
src/test/mds/TestMDSAuthCaps.cc
- All three files were different from their main branch version which
  led to this conflict.

2 weeks agomds: for logging generate only 10 final components of dentry path
Rishabh Dave [Thu, 21 Aug 2025 11:51:48 +0000 (17:21 +0530)]
mds: for logging generate only 10 final components of dentry path

Generating full absolute path for dentries for printing in MDS logs
slows the down the FS to a great extent especially when the path is very
long (imagine a path with 2000 components). Printing such long paths in
MDS logs is not only pointless but also greatly reduces the readability
of MDS logs.

Therefore, generate only 10 final components of the dentry paths for logging.

Fixes: https://tracker.ceph.com/issues/72779
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 1430cd67d8f7bd7d98b241a7511fa3ceb7e5ba2e)

Conflicts:
src/include/filepath.cc
- this file is absent in tentacle so changes need to be moved to
  filepath.h.

2 weeks agomgr/dashboard: raise exception if both size and rbd_image_size are being passed in...
Tomer Haskalovitch [Thu, 18 Sep 2025 07:58:44 +0000 (10:58 +0300)]
mgr/dashboard: raise exception if both size and rbd_image_size are being passed in ns add

Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
(cherry picked from commit 3ff7d737bb1934dbfe26d86a819727d9456a6da6)

2 weeks agomds: for logging generate only 10 final components of inode path
Rishabh Dave [Sun, 17 Aug 2025 18:13:40 +0000 (23:43 +0530)]
mds: for logging generate only 10 final components of inode path

Generating full absolute path for inodes for printing in MDS logs slows
down the FS to a great extent especially when the path is very long
(imagine a path with 2000 components). Also printing such long paths in
MDS logs is not only pointless but also greatly reduces the readability
of the MDS logs.

Therefore, generate only 10 final components of inode paths for logging.

Fixes: https://tracker.ceph.com/issues/72779
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 1518690210f3a4473978c7a9274e902fccaad862)

Conflicts:
src/mds/CDir.cc
- the "else if" clause where changes were made in main's version is absent
  in tentacle.

2 weeks agoqa, test: run unit tests for cephfs.pyx with non-root user
Rishabh Dave [Fri, 25 Jul 2025 08:20:06 +0000 (13:50 +0530)]
qa, test: run unit tests for cephfs.pyx with non-root user

Run test_python.sh with non-root user. This makes it necessary to change
the owner user and group of file system root to be same as this non-root
user. This brings testing closer to the real-world scenario and also
allows exercising negative tests where an FS op would fail for a non-root
user but it would pass for root user.

There are few tests that exercise FS operations where root user is
needed. Group these tests under a separate class and add extra code for
this class that allows these tests to run with root UID and GID.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 6021dda7ed137445885979cd4d4b28c770abce13)

Conflicts:
src/test/pybind/test_cephfs.py
- minor conflict due slightly different file in tentacle vs main

2 weeks agotest/pybind: add unit tests for rmtree() in cephfs python bindings
Rishabh Dave [Thu, 3 Jul 2025 06:34:39 +0000 (12:04 +0530)]
test/pybind: add unit tests for rmtree() in cephfs python bindings

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 05082a932984bb6329481c14ee76ae033c019f4e)

2 weeks agopybind/cephfs, mgr/volumes: refactor purge() to be non-recursive
Rishabh Dave [Fri, 13 Jun 2025 07:13:51 +0000 (12:43 +0530)]
pybind/cephfs, mgr/volumes: refactor purge() to be non-recursive

Method purge() in trash.py calls rmtree() which is recursive method. To
avoid Python's recurision limit, switch to non-recursive approach.

Path to directory along directory handle are clubbed in to a tuple and
that tuple is stored on the stack. Storing directory handle reduces call
to opendir() dramatically.

Fixes: https://tracker.ceph.com/issues/71648
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit f9046ca052d10a884a59c1d928cb0c8f0235696b)

2 weeks agodoc: added a note for damaged hard links in scrub documentation
sajibreadd [Thu, 24 Apr 2025 13:32:12 +0000 (15:32 +0200)]
doc: added a note for damaged hard links in scrub documentation

Fixes: https://tracker.ceph.com/issues/69345
Signed-off-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
(cherry picked from commit ed00c818e7e9d7ecd0990a0de55b470e4ca87a72)

2 weeks agoqa: add a test to verify that a damage hard link id detected during scrub
sajibreadd [Thu, 24 Apr 2025 13:24:33 +0000 (15:24 +0200)]
qa: add a test to verify that a damage hard link id detected during scrub

Also update ignorelist with the expected cluster warning.

Fixes: https://tracker.ceph.com/issues/69345
Signed-off-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
(cherry picked from commit 13eb6c6ce9e6c8f5a4a8bcdc1bba64bb92393cf1)

2 weeks agomds: identify damaged hard links during scrub
sajibreadd [Thu, 24 Apr 2025 13:23:40 +0000 (15:23 +0200)]
mds: identify damaged hard links during scrub

For a remote link, try to open the dentry (this part of code
is copied from the mds path_traversal) which internally pushes
the dir_frag in the damage list if applicable.

Fixes: https://tracker.ceph.com/issues/69345
Signed-off-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
(cherry picked from commit a83787b5a85bb30a087cbe9843cfe35018f6c94d)

Conflicts:
src/mds/ScrubStack.cc

3 weeks agoMerge pull request #65647 from rhcs-dashboard/wip-73198-tentacle
Pedro Gonzalez Gomez [Mon, 6 Oct 2025 09:25:20 +0000 (11:25 +0200)]
Merge pull request #65647 from rhcs-dashboard/wip-73198-tentacle

tentacle: mgr/dashboard: fix total capacity value in dashboard

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
3 weeks agoMerge pull request #65005 from mchangir/wip-72562-tentacle
SrinivasaBharathKanta [Sun, 5 Oct 2025 10:33:40 +0000 (16:03 +0530)]
Merge pull request #65005 from mchangir/wip-72562-tentacle

tentacle: mgr: avoid explicit dropping of ref

3 weeks agoMerge pull request #65336 from abitdrag/wip-72818-tentacle
Ilya Dryomov [Fri, 3 Oct 2025 22:21:52 +0000 (00:21 +0200)]
Merge pull request #65336 from abitdrag/wip-72818-tentacle

tentacle: auth: msgr2 can return incorrect allowed_modes through AuthBadMethodFrame

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 weeks agoMerge pull request #65645 from ceph/wip-yuriw-upgardes-tentacle
Yuri Weinstein [Fri, 3 Oct 2025 15:05:52 +0000 (08:05 -0700)]
Merge pull request #65645 from ceph/wip-yuriw-upgardes-tentacle

qa/tests: added messages to the whitelist

Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 weeks agoqa/upgrade/squid-x: ignore pool quota warnings
Laura Flores [Thu, 2 Oct 2025 20:03:28 +0000 (15:03 -0500)]
qa/upgrade/squid-x: ignore pool quota warnings

Signed-off-by: Laura Flores <lflores@ibm.com>
3 weeks agoMerge pull request #65752 from cbodley/wip-72737-tentacle
David Galloway [Thu, 2 Oct 2025 14:36:00 +0000 (10:36 -0400)]
Merge pull request #65752 from cbodley/wip-72737-tentacle

tentacle: rpm: default to gcc-toolset-13, not just for crimson

3 weeks agoceph.spec.in: use rpm macro for python shebang pathfix
John Mulligan [Thu, 13 Feb 2025 20:59:42 +0000 (15:59 -0500)]
ceph.spec.in: use rpm macro for python shebang pathfix

To support EL 10 distros, update the source of the pathfix tool (on EL
9+ distros) and use the macro for updating python shebangs that has been
available since at least EL 9.

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

3 weeks agorpm: require gcc >= 13.3 regardless of gts_version
Casey Bodley [Tue, 19 Aug 2025 13:44:52 +0000 (09:44 -0400)]
rpm: require gcc >= 13.3 regardless of gts_version

when gts_version is not set, bump the required version of gcc-c++ >= 13.3.
move this into a `%if 0%{?gts_version} == 0` block to prevent that from
applying to builds using gts, because the distro probably doesn't
provide a recent enough gcc-c++

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit f9b9bf3c6a947a483cedc00399f9d370e5158d5b)

3 weeks agorpm: remove _lto_cflags logic for older distros
Casey Bodley [Tue, 19 Aug 2025 13:30:51 +0000 (09:30 -0400)]
rpm: remove _lto_cflags logic for older distros

none of these distros are supported anymore. gcc >= 13.3 should resolve
those lto issues

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 897188f157a8779b7da741601be7fc4849df28ed)

3 weeks agorpm: remove special cases for gts_version < 13
Casey Bodley [Tue, 19 Aug 2025 13:29:01 +0000 (09:29 -0400)]
rpm: remove special cases for gts_version < 13

now that we no longer set gts_version to 11, remove any special cases
for gts_version < 13

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 77c6ef8e3b3a92505b0ae787f30fb77bf57c77ba)

3 weeks agorpm: default to gcc-toolset-13, not just for crimson
Casey Bodley [Tue, 19 Aug 2025 13:26:49 +0000 (09:26 -0400)]
rpm: default to gcc-toolset-13, not just for crimson

Fixes: https://tracker.ceph.com/issues/72643
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 1b5f1ebbfc807f27541b18af75329daf16fd32f5)

3 weeks agoceph.spec.in: conditionalize crimson gts version on el10
John Mulligan [Fri, 27 Jun 2025 15:08:39 +0000 (11:08 -0400)]
ceph.spec.in: conditionalize crimson gts version on el10

EL10 distros come with GCC 14. When crimson was enabled it was always
trying to set gts_version to 13 (gcc-toolset version). Make the use of
gts version conditional on using el versions lower than 10.

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

3 weeks agovalgrind: wildcard glibc version for dlopen() leak suppression
Casey Bodley [Sat, 7 Jun 2025 01:43:33 +0000 (21:43 -0400)]
valgrind: wildcard glibc version for dlopen() leak suppression

the original suppression for "dlopen@@GLIBC_2.2.5" is very similar to
several later suppressions for "dlopen@@GLIBC_2.34". add a wildcard to
the original suppression so the rest can be removed

this also helps suppress a new leak, seen with gcc-13:
{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   fun:UnknownInlinedFun
   fun:decompose_rpath
   fun:_dl_map_object
   fun:dl_open_worker_begin
   fun:_dl_catch_exception
   fun:dl_open_worker
   fun:_dl_catch_exception
   fun:_dl_open
   fun:dlopen_doit
   fun:_dl_catch_exception
   fun:_dl_catch_error
   fun:_dlerror_run
   fun:dlopen@@GLIBC_2.34
   fun:_sub_I_65535_0.0
   fun:call_init
   fun:call_init
   fun:_dl_init
   obj:/usr/lib64/ld-linux-x86-64.so.2
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
   obj:*
}

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7ff53ade38fdee99f09f152530d596dab771ea2f)

3 weeks agovalgrind: update rocksdb ObjectLibrary leak suppression for gcc-13
Casey Bodley [Sat, 7 Jun 2025 01:27:20 +0000 (21:27 -0400)]
valgrind: update rocksdb ObjectLibrary leak suppression for gcc-13

the suppression for gcc-13 only differs on two lines, so add wildcards
to match either. the diff between the current suppression and the new
one follows:

diff --git a/qa/valgrind.supp b/qa/valgrind.supp
index 926d3d032a8..2f9650029ee 100644
--- a/qa/valgrind.supp
+++ b/qa/valgrind.supp
@@ -592,7 +592,7 @@
         rocksdb ObjectLibrary AddFactoryEntry centos 9 leak
         Memcheck:Leak
         match-leak-kinds: reachable
-        fun:_Znam
+        fun:_Znwm
         fun:UnknownInlinedFun
         fun:UnknownInlinedFun
         fun:UnknownInlinedFun
@@ -601,7 +601,7 @@
         fun:UnknownInlinedFun
         fun:_ZN7rocksdb13ObjectLibrary15AddFactoryEntryEPKcOSt10unique_ptrINS0_5EntryESt14default_deleteIS4_EE
         fun:UnknownInlinedFun
-        fun:_Z41__static_initialization_and_destruction_0ii.constprop.60
+        fun:_Z41__static_initialization_and_destruction_0v.lto_priv.83
         fun:_sub_I_65535_0.0
         fun:__libc_start_main@@GLIBC_2.34
         fun:(below main)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit eee03c25753f96d71bae3a33e697a7399e0ddf99)

3 weeks agorpm: reenable lto for gcc-toolset-13 by requiring 13.3
Casey Bodley [Fri, 26 Jul 2024 20:43:40 +0000 (16:43 -0400)]
rpm: reenable lto for gcc-toolset-13 by requiring 13.3

referenced gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113359
shows that it was resolved for 13.3. reenable lto for gcc-toolset-13 by
requiring 13.3 or later

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 75c94ffc568f9cac68d5146150a5225d71f7d5e5)

3 weeks agoMerge pull request #65696 from adk3798/tentacle-cephadm-support-custom-distro
David Galloway [Wed, 1 Oct 2025 16:10:54 +0000 (12:10 -0400)]
Merge pull request #65696 from adk3798/tentacle-cephadm-support-custom-distro

tentacle: cephadm: support custom distros by falling back to ID_LIKE

3 weeks agoMerge pull request #65737 from rhcs-dashboard/wip-73320-tentacle
Pedro Gonzalez Gomez [Wed, 1 Oct 2025 06:27:31 +0000 (08:27 +0200)]
Merge pull request #65737 from rhcs-dashboard/wip-73320-tentacle

tentacle: mgr/dashboard : Hide suppressed  alert on landing page

Reviewed-by: Dnyaneshwari <dnyaneshwari@ibm.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
3 weeks agomgr/dashboard : Hide suppressed alert on landing page
Abhishek Desai [Tue, 9 Sep 2025 18:53:05 +0000 (00:23 +0530)]
mgr/dashboard : Hide suppressed  alert on landing page
fixes : https://tracker.ceph.com/issues/72944

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit 280d8f66bf811bf6ca05da4703c4fdadcd89504a)

3 weeks agoMerge pull request #65493 from rhcs-dashboard/wip-72985-tentacle
afreen23 [Tue, 30 Sep 2025 15:34:06 +0000 (21:04 +0530)]
Merge pull request #65493 from rhcs-dashboard/wip-72985-tentacle

tentacle: mgr/dashboard: Group similar alerts

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 weeks agoMerge pull request #65680 from rhcs-dashboard/wip-73227-tentacle
afreen23 [Tue, 30 Sep 2025 13:35:35 +0000 (19:05 +0530)]
Merge pull request #65680 from rhcs-dashboard/wip-73227-tentacle

tentacle: mgr/dashboard: Handle pool creation in tiering local storage class creation.

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 weeks agomgr/dashboard: Group similar alerts
Abhishek Desai [Fri, 29 Aug 2025 14:29:09 +0000 (19:59 +0530)]
mgr/dashboard: Group similar alerts
fixes : https://tracker.ceph.com/issues/72788

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit cdd74a35103ecea7f8031aed494868fbd618d45b)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.scss
Accept the incoming changes

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.ts

3 weeks agoMerge pull request #65491 from rhcs-dashboard/wip-72986-tentacle
afreen23 [Tue, 30 Sep 2025 10:01:16 +0000 (15:31 +0530)]
Merge pull request #65491 from rhcs-dashboard/wip-72986-tentacle

tentacle: mgr/dashboard : Fixed mirrored image usage info bar

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 weeks agoMerge pull request #65490 from rhcs-dashboard/wip-72988-tentacle
afreen23 [Tue, 30 Sep 2025 10:01:00 +0000 (15:31 +0530)]
Merge pull request #65490 from rhcs-dashboard/wip-72988-tentacle

tentacle: mgr/dashboard : fix css for carbon input fields

Reviewed-by: Afreen Misbah <afreen@ibm.com>
3 weeks agomgr/dashboard: Local storage class creation via dashboard doesn't handle creation...
Dnyaneshwari [Fri, 5 Sep 2025 10:17:11 +0000 (15:47 +0530)]
mgr/dashboard: Local storage class creation via dashboard doesn't handle creation of pool.

Fixes: https://tracker.ceph.com/issues/72569
Signed-off-by: Dnyaneshwari <dtalweka@redhat.com>
mgr/dashboard: handle creation of new pool

Commit includes:
1) Provide link to create a new pool
2) Refactored validation on ACL mapping, removed required validator as default
3) fixed runtime error on console due to ACL length due to which the details section was not opening
4) Used rxjs operators to make API calls and making form ready once all data is available, fixing the form patch issues
5) Refactored some part of code to improve the performance
6) Added zone and pool information in details section for local storage class

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

src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-storage-class-form/rgw-storage-class-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts
src/pybind/mgr/dashboard/services/rgw_client.py

4 weeks agoMerge pull request #65719 from adk3798/tentacle-cephadm-default-image
Adam King [Mon, 29 Sep 2025 19:35:20 +0000 (15:35 -0400)]
Merge pull request #65719 from adk3798/tentacle-cephadm-default-image

tentacle: cephadm: set default image for tentacle release

Reviewed-by: John Mulligan <jmulligan@redhat.com>
4 weeks agoMerge pull request #65679 from Hezko/wip-73256-tentacle
afreen23 [Mon, 29 Sep 2025 18:48:36 +0000 (00:18 +0530)]
Merge pull request #65679 from Hezko/wip-73256-tentacle

tentacle: mgr/dashboard: fix None force param handling in ns add_host so it won't raise exceptions

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 weeks agoMerge pull request #65677 from Hezko/wip-73258-tentacle
afreen23 [Mon, 29 Sep 2025 18:48:05 +0000 (00:18 +0530)]
Merge pull request #65677 from Hezko/wip-73258-tentacle

tentacle: mgr/dashboard: add nsid param to ns add command

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 weeks agocephadm: set default image for tentacle release
Adam King [Mon, 29 Sep 2025 15:54:08 +0000 (11:54 -0400)]
cephadm: set default image for tentacle release

Signed-off-by: Adam King <adking@redhat.com>
4 weeks agoMerge pull request #65678 from Hezko/wip-73257-tentacle
Pedro Gonzalez Gomez [Mon, 29 Sep 2025 11:54:58 +0000 (13:54 +0200)]
Merge pull request #65678 from Hezko/wip-73257-tentacle

tentacle: mgr/dashboard: --no-group-append default value to False, aligned with old cli"

Reviewed-by: nizamial09 <nia@redhat.com>
4 weeks agoMerge pull request #65705 from rhcs-dashboard/wip-73275-tentacle
Pedro Gonzalez Gomez [Mon, 29 Sep 2025 11:50:54 +0000 (13:50 +0200)]
Merge pull request #65705 from rhcs-dashboard/wip-73275-tentacle

tentacle: mgr/dashboard: Blank entry for Storage Capacity in dashboard under Cluster > Expand Cluster > Review

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
4 weeks agoMerge pull request #65692 from aaSharma14/wip-73273-tentacle
Pedro Gonzalez Gomez [Mon, 29 Sep 2025 11:46:16 +0000 (13:46 +0200)]
Merge pull request #65692 from aaSharma14/wip-73273-tentacle

tentacle: ceph-mixin: Update monitoring mixin

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
4 weeks agoMerge pull request #65708 from aaSharma14/wip-73292-tentacle
Pedro Gonzalez Gomez [Mon, 29 Sep 2025 11:36:33 +0000 (13:36 +0200)]
Merge pull request #65708 from aaSharma14/wip-73292-tentacle

tentacle: monitoring: fix MTU Mismatch alert rule and expr

Reviewed-by: nizamial09 <nia@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
4 weeks agoMerge pull request #65672 from rhcs-dashboard/wip-73251-tentacle
Pedro Gonzalez Gomez [Mon, 29 Sep 2025 11:29:47 +0000 (13:29 +0200)]
Merge pull request #65672 from rhcs-dashboard/wip-73251-tentacle

tentacle: mgr/dashboard: fix data mismatch in Advance section in Tiering.

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
4 weeks agomonitoring: fix MTU Mismatch alert rule and expr
Aashish Sharma [Wed, 2 Jul 2025 11:05:14 +0000 (16:35 +0530)]
monitoring: fix MTU Mismatch alert rule and expr

Fixes: https://tracker.ceph.com/issues/73290
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit bee24dec441b9e6b263e4498c2ab333b0a60a52d)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.ts

4 weeks agoMerge pull request #65583 from VallariAg/wip-73109-tentacle
Vallari Agrawal [Mon, 29 Sep 2025 07:13:35 +0000 (12:43 +0530)]
Merge pull request #65583 from VallariAg/wip-73109-tentacle

tentacle: qa/suites/nvmeof: add upgrade sub-suite

4 weeks agomgr/dashboard: Blank entry for Storage Capacity in dashboard under Cluster > Expand...
Naman Munet [Wed, 24 Sep 2025 07:23:40 +0000 (12:53 +0530)]
mgr/dashboard: Blank entry for Storage Capacity in dashboard under Cluster > Expand Cluster > Review

https://tracker.ceph.com/issues/73220

Signed-off-by: Naman Munet <naman.munet@ibm.com>
(cherry picked from commit a01909e7588c7ff757079475e3ea6f1dc3054db7)

4 weeks agoMerge pull request #65587 from adamemerson/wip-perfcounters-unique-string-tentacle
Yuri Weinstein [Fri, 26 Sep 2025 19:56:11 +0000 (12:56 -0700)]
Merge pull request #65587 from adamemerson/wip-perfcounters-unique-string-tentacle

tentacle: common: Allow PerfCounters to return a provided service ID

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 weeks agoqa/tests: added messages to the whitelist
Yuri Weinstein [Tue, 23 Sep 2025 16:31:37 +0000 (09:31 -0700)]
qa/tests: added messages to the whitelist

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
4 weeks agoMerge pull request #65478 from pdvian/wip-72911-tentacle
Yuri Weinstein [Fri, 26 Sep 2025 15:11:55 +0000 (08:11 -0700)]
Merge pull request #65478 from pdvian/wip-72911-tentacle

tentacle: osd: stop scrub_purged_snaps() from ignoring osd_beacon_report_interval

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 weeks agoMerge pull request #65464 from pdvian/wip-72851-tentacle
Yuri Weinstein [Fri, 26 Sep 2025 15:11:10 +0000 (08:11 -0700)]
Merge pull request #65464 from pdvian/wip-72851-tentacle

tentacle: mgr/DaemonState: Minimise time we hold the DaemonStateIndex lock

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 weeks agocephadm: support custom distros by falling back to ID_LIKE
bachmanity1 [Fri, 19 Sep 2025 07:52:15 +0000 (16:52 +0900)]
cephadm: support custom distros by falling back to ID_LIKE

This change enables cephadm to work on custom or derivative distributions
that are based on supported distros without requiring code changes for
each new custom/derivative distro.

Signed-off-by: bachmanity1 <bachmanity138@gmail.com>
(cherry picked from commit 35323380403eebe69ad8650a2036afa87569d1a2)

4 weeks agoceph-mixin: reset auto_count to 10
Aashish Sharma [Wed, 17 Sep 2025 09:34:11 +0000 (15:04 +0530)]
ceph-mixin: reset auto_count to 10

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit ebca859c5d22740678baff0353b39c5642f1eb0b)

4 weeks agoceph-mixin: Update monitoring mixin
SuperQ [Mon, 21 Apr 2025 09:47:41 +0000 (11:47 +0200)]
ceph-mixin: Update monitoring mixin

Update `rate()` queries to be more accurate. The use of `irate()` leads
to misleading graphs because it only looks at the last 2 samples over
the selected time range step interval. Also use `$__rate_interval`
consistently in order to scale over short and long time ranges.
* Replace `irate()` with `rate()` to avoid sample bias.
* Use `$__rate_interval` consistently.
* Update auto_count/min to provide higher detail graphs.

Fixes: https://tracker.ceph.com/issues/72343
Signed-off-by: SuperQ <superq@gmail.com>
Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
(cherry picked from commit 9c4cd107a41292aba547fdd4a3721cbc554a6b6a)

4 weeks agoMerge pull request #65619 from aaSharma14/wip-73166-tentacle
Aashish Sharma [Fri, 26 Sep 2025 10:36:52 +0000 (16:06 +0530)]
Merge pull request #65619 from aaSharma14/wip-73166-tentacle

tentacle: mgr/dashboard: fix zone update API forcing STANDARD storage class

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agoMerge pull request #65622 from aaSharma14/wip-73168-tentacle
Aashish Sharma [Fri, 26 Sep 2025 10:33:24 +0000 (16:03 +0530)]
Merge pull request #65622 from aaSharma14/wip-73168-tentacle

tentacle: mgr/dashboard: Allow FQDN in Connect Cluster form -> Cluster API URL

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agoMerge pull request #65675 from rhcs-dashboard/wip-73234-tentacle
afreen23 [Fri, 26 Sep 2025 06:36:53 +0000 (12:06 +0530)]
Merge pull request #65675 from rhcs-dashboard/wip-73234-tentacle

tentacle: mgr/dashboard: FS - Attach Command showing undefined for MountData

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agoMerge pull request #65601 from kotreshhr/wip-73131-tentacle
Jos Collin [Fri, 26 Sep 2025 06:02:40 +0000 (11:32 +0530)]
Merge pull request #65601 from kotreshhr/wip-73131-tentacle

tentacle: cephfs-journal-tool: Journal trimming issue

Reviewed-by: Jos Collin <jcollin@redhat.com>
4 weeks agoMerge pull request #65670 from aaSharma14/wip-73229-tentacle
Aashish Sharma [Fri, 26 Sep 2025 05:11:33 +0000 (10:41 +0530)]
Merge pull request #65670 from aaSharma14/wip-73229-tentacle

tentacle: monitoring: fix "In" OSDs in Cluster-Advanced grafana panel. Also change units from decbytes to bytes wherever used in the panel

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agomgr/dashboard: fix None force param handling in ns add_host so it won't raise exceptions
Tomer Haskalovitch [Sun, 14 Sep 2025 06:10:22 +0000 (09:10 +0300)]
mgr/dashboard: fix None force param handling in ns add_host so it won't raise exceptions

Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
(cherry picked from commit 38f62c4a379bfbe0bc57ebee4fc1aa6661c75dca)

4 weeks agomgr/dashboard: --no-group-append default value to False, aligned with old CLI
Tomer Haskalovitch [Fri, 12 Sep 2025 00:58:44 +0000 (03:58 +0300)]
mgr/dashboard: --no-group-append default value to False, aligned with old CLI

Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
(cherry picked from commit 46b74faa763e7894e62558f14f786c870d740b29)

4 weeks agomgr/dashboard: add nsid param to ns add command
Tomer Haskalovitch [Wed, 10 Sep 2025 09:02:03 +0000 (12:02 +0300)]
mgr/dashboard: add nsid param to ns add command

Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
(cherry picked from commit ee37978e7341ad3c29f986f316d89cb76b26efb5)

4 weeks agomgr/dashboard: FS - Attach Command showing undefined for MountData
Dnyaneshwari [Fri, 19 Sep 2025 11:01:43 +0000 (16:31 +0530)]
mgr/dashboard: FS - Attach Command showing undefined for MountData

Fixes: https://tracker.ceph.com/issues/73137
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
(cherry picked from commit 50ef955207e7095578dc09820885a3dd0d6b3d52)

4 weeks agomgr/dashboard: fix data mismatch in Advance section in Tiering.
Dnyaneshwari [Thu, 21 Aug 2025 06:05:03 +0000 (11:35 +0530)]
mgr/dashboard: fix data mismatch in Advance section in Tiering.

Fixes: https://tracker.ceph.com/issues/72641
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit 300e5058a5e80f7d679fc1d1c0a646f03c5dcb1b)

4 weeks agoMerge pull request #65653 from rhcs-dashboard/wip-73224-tentacle
afreen23 [Thu, 25 Sep 2025 07:41:49 +0000 (13:11 +0530)]
Merge pull request #65653 from rhcs-dashboard/wip-73224-tentacle

tentacle: mgr/dashboard: Tiering form - Placement Target in Advanced Section

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agoMerge pull request #65650 from rhcs-dashboard/wip-73199-tentacle
afreen23 [Thu, 25 Sep 2025 07:36:41 +0000 (13:06 +0530)]
Merge pull request #65650 from rhcs-dashboard/wip-73199-tentacle

tentacle: mgr/dashboard:[NFS] add Subvolume Groups and Subvolumes in "Edit NFS Export form"

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agomonitoring/ceph_mixin: fix Cluster - Advanced OSD grafana panel
Aashish Sharma [Wed, 17 Sep 2025 06:58:16 +0000 (12:28 +0530)]
monitoring/ceph_mixin: fix Cluster - Advanced OSD grafana panel

1. Fixes the promql expr used to calculate "In" OSDs in
   ceph-cluster-advanced.json.
2. Fixes the color coding for the single state panels used in the OSDs
   grafana panel like "In", "Out" etc

Fixes: https://tracker.ceph.com/issues/72810
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 53a6856d603e0fe4ff31f76e19263a80359a9f1d)

4 weeks agoMerge pull request #65658 from rhcs-dashboard/wip-73239-tentacle
afreen23 [Thu, 25 Sep 2025 04:52:33 +0000 (10:22 +0530)]
Merge pull request #65658 from rhcs-dashboard/wip-73239-tentacle

tentacle: mgr/dashboard: add multiple ceph users deletion

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 weeks agoMerge pull request #65657 from rhcs-dashboard/wip-73213-tentacle
afreen23 [Thu, 25 Sep 2025 04:52:11 +0000 (10:22 +0530)]
Merge pull request #65657 from rhcs-dashboard/wip-73213-tentacle

tentacle: mgr/dashboard: fix smb button and table column

Reviewed-by: Nizamudeen A <nia@redhat.com>
4 weeks agomgr/dashboard: add multiple ceph users deletion
Pedro Gonzalez Gomez [Wed, 27 Aug 2025 14:41:41 +0000 (16:41 +0200)]
mgr/dashboard: add multiple ceph users deletion

Fixes: https://tracker.ceph.com/issues/72752
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
(cherry picked from commit 14ca16576d16de49c07725fb4b0feb112c8a1a43)

4 weeks agomgr/dashboard: fix SMB custom DNS button and linked_to_cluster col
Pedro Gonzalez Gomez [Tue, 26 Aug 2025 12:05:45 +0000 (14:05 +0200)]
mgr/dashboard: fix SMB custom DNS button and linked_to_cluster col

- The button 'add custom DNS' in smb cluster form should only appear for active directory where is relevant.

- The linked_to_cluster column data is missing from smb standalone

- Some refactoring to remove magic strings and use FormControl for publicAddrs field

Fixes: https://tracker.ceph.com/issues/73096
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
(cherry picked from commit 9ce943e21558d17b3a214840b39bb57eab0cbd85)

4 weeks agoMerge pull request #65292 from adk3798/tentacle-cephadm-build-el10rpm
Adam King [Wed, 24 Sep 2025 15:20:03 +0000 (11:20 -0400)]
Merge pull request #65292 from adk3798/tentacle-cephadm-build-el10rpm

tentacle: cephadm: fix building rpm-sourced cephadm zippapp on el10

Reviewed-by: John Mulligan <jmulligan@redhat.com>
4 weeks agoMerge pull request #65654 from rhcs-dashboard/wip-73223-tentacle
afreen23 [Wed, 24 Sep 2025 13:00:19 +0000 (18:30 +0530)]
Merge pull request #65654 from rhcs-dashboard/wip-73223-tentacle

tentacle: Form retains old data when switching from edit to create

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 weeks agoMerge pull request #65254 from joscollin/wip-72505-tentacle
Venky Shankar [Wed, 24 Sep 2025 08:50:28 +0000 (14:20 +0530)]
Merge pull request #65254 from joscollin/wip-72505-tentacle

tentacle: client: fix unmount hang after lookups

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
4 weeks agoMerge pull request #65362 from ifed01/wip-ifed-fix-snapdiff-fragment-tent
Venky Shankar [Wed, 24 Sep 2025 08:49:18 +0000 (14:19 +0530)]
Merge pull request #65362 from ifed01/wip-ifed-fix-snapdiff-fragment-tent

tentacle: mds: fix snapdiff result fragmentation

Reviewed-by: Venky Shankar <vshankar@redhat.com>
4 weeks agomgr/dashboard: Form retains old data when switching from edit to create mode
pujashahu [Thu, 11 Sep 2025 13:40:27 +0000 (19:10 +0530)]
mgr/dashboard: Form retains old data when switching from edit to create mode

Fixes: https://tracker.ceph.com/issues/72989
Signed-off-by: pujashahu <pshahu@redhat.com>
(cherry picked from commit 918dff407d912b3a5ac068e0050467396668163c)

4 weeks agomgr/dashboard: Tiering form - Placement Target in Advanced Section
Dnyaneshwari [Wed, 20 Aug 2025 04:46:21 +0000 (10:16 +0530)]
mgr/dashboard: Tiering form - Placement Target in Advanced Section

Fixes: https://tracker.ceph.com/issues/72545
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit aa3bb8adddac675ea3c6dcd0bd4e9143743124b8)

4 weeks agomgr/dashboard:[NFS] add Subvolume Groups and Subvolumes in "Edit NFS Export" form
Dnyaneshwari [Wed, 6 Aug 2025 09:42:43 +0000 (15:12 +0530)]
mgr/dashboard:[NFS] add Subvolume Groups and Subvolumes in "Edit NFS Export" form

Fixes: https://tracker.ceph.com/issues/72435
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit aa7a586c5690e26bfc99687a601f8c0c3c221aa7)

4 weeks agomgr/dashboard: fix total capacity value in dashboard
Nizamudeen A [Tue, 16 Sep 2025 07:02:45 +0000 (12:32 +0530)]
mgr/dashboard: fix total capacity value in dashboard

Regression from a different commit
https://github.com/ceph/ceph/commit/2609d4f62e9e3906cf3e3fcc042bfdf0bcc633bf#diff-caee5ab662130fe721d15eca7a6e2dc79b671df025bde3bfd78c3c3ca4c578d1R249

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

4 weeks agoMerge pull request #65261 from joscollin/wip-72149-tentacle
Jos Collin [Wed, 24 Sep 2025 01:08:50 +0000 (06:38 +0530)]
Merge pull request #65261 from joscollin/wip-72149-tentacle

tentacle: mon/FSCommands: avoid unreachable code triggering compiler warning

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
4 weeks agomon/FSCommands: avoid unreachable code triggering compiler warning
Patrick Donnelly [Sat, 31 May 2025 01:44:32 +0000 (21:44 -0400)]
mon/FSCommands: avoid unreachable code triggering compiler warning

    In file included from /home/pdonnell/ceph/src/mds/FSMap.h:31,
                     from /home/pdonnell/ceph/src/mon/PaxosFSMap.h:20,
                     from /home/pdonnell/ceph/src/mon/MDSMonitor.h:26,
                     from /home/pdonnell/ceph/src/mon/FSCommands.cc:17:
    /home/pdonnell/ceph/src/mds/MDSMap.h: In member function ‘int FileSystemCommandHandler::set_val(Monitor*, FSMap&, MonOpRequestRef, const cmdmap_t&, std::ostream&, FileSystemCommandHandler::fs_or_fscid, std::string, std::string)’:
    /home/pdonnell/ceph/src/mds/MDSMap.h:223:40: warning: ‘fsp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      223 |   bool test_flag(int f) const { return flags & f; }
          |                                        ^~~~~
    /home/pdonnell/ceph/src/mon/FSCommands.cc:417:21: note: ‘fsp’ was declared here
      417 |   const Filesystem* fsp;
          |                     ^~~

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 24acaaf766336466021caadba1facd2901775435)

4 weeks agoMerge pull request #65635 from adk3798/tentacle-cephadm-pin-cheroot
Adam King [Tue, 23 Sep 2025 12:56:14 +0000 (08:56 -0400)]
Merge pull request #65635 from adk3798/tentacle-cephadm-pin-cheroot

tentacle: pybind/mgr: pin cheroot version in requirements-required.txt

Reviewed-by: John Mulligan <jmulligan@redhat.com>
4 weeks agoMerge pull request #65628 from phlogistonjohn/jjm-t-65514
David Galloway [Tue, 23 Sep 2025 02:27:32 +0000 (19:27 -0700)]
Merge pull request #65628 from phlogistonjohn/jjm-t-65514

tentacle: build-with-container: add argument groups to organize options

4 weeks agopybind/mgr: pin cheroot version in requirements-required.txt
Adam King [Mon, 22 Sep 2025 21:05:07 +0000 (17:05 -0400)]
pybind/mgr: pin cheroot version in requirements-required.txt

With python 3.10 (didn't seem to happen with python 3.12) the
pybind/mgr/cephadm/tests/test_node_proxy.py test times out.
This appears to be related to a new release of the cheroot
package and a github issues describing the same problem
we're seeing has been opened by another user
https://github.com/cherrypy/cheroot/issues/769

It is worth noting that the workaround described in that
issue does also work for us. If you add

```
import cheroot
cheroot.server.HTTPServer._serve_unservicable = lambda: None
```

after the existing imports in test_node_proxy.py the
test hanging issue also disappears. Also worth noting the
particular pin of

cheroot~=10.0

was chosen as it matches the existing pin being used
in pybind/mgr/dashboard/constraints.txt

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 6231955b5d00ae6b3630ee94e85b2449092ef0fe)

5 weeks agoMerge pull request #65485 from tobias-urdin/tentacle-rgw-admin-bucket-pagination
Yuri Weinstein [Mon, 22 Sep 2025 18:16:14 +0000 (11:16 -0700)]
Merge pull request #65485 from tobias-urdin/tentacle-rgw-admin-bucket-pagination

tentacle: rgw/admin: Add max-entries and marker to bucket list

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>