]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 months agomgr/cephadm: add "original_weight" parameter to OSD class 59410/head
Adam King [Mon, 19 Aug 2024 16:30:24 +0000 (12:30 -0400)]
mgr/cephadm: add "original_weight" parameter to OSD class

Fixes: https://tracker.ceph.com/issues/67329
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 04330f5df92994882efcd4879d5c37279138e97b)

10 months agoMerge pull request #59294 from zdover23/wip-doc-2024-08-19-backport-59256-to-squid
Zac Dover [Wed, 21 Aug 2024 14:12:01 +0000 (00:12 +1000)]
Merge pull request #59294 from zdover23/wip-doc-2024-08-19-backport-59256-to-squid

squid: doc/cephfs: s/mountpoint/mount point/

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #59010 from AliMasarweh/wip-67308-squid
Yuri Weinstein [Tue, 20 Aug 2024 17:55:10 +0000 (10:55 -0700)]
Merge pull request #59010 from AliMasarweh/wip-67308-squid

squid: RGW|BN: fix lifecycle test issue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #59055 from yuvalif/wip-67364-squid
Yuri Weinstein [Tue, 20 Aug 2024 14:59:38 +0000 (07:59 -0700)]
Merge pull request #59055 from yuvalif/wip-67364-squid

squid: common/dout: fix FTBFS on GCC 14

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #59041 from NitzanMordhai/wip-67349-squid
Yuri Weinstein [Tue, 20 Aug 2024 14:59:01 +0000 (07:59 -0700)]
Merge pull request #59041 from NitzanMordhai/wip-67349-squid

squid: Test: osd-recovery-space.sh extends the wait time for "recovery toofull"

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #58816 from Svelar/wip-67134-squid
Yuri Weinstein [Tue, 20 Aug 2024 14:56:07 +0000 (07:56 -0700)]
Merge pull request #58816 from Svelar/wip-67134-squid

squid: bluestore/bluestore_types: avoid heap-buffer-overflow in another way to keep code uniformity

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
11 months agoMerge pull request #59298 from Matan-B/wip-57782-squid-v2
Matan Breizman [Tue, 20 Aug 2024 11:22:29 +0000 (14:22 +0300)]
Merge pull request #59298 from Matan-B/wip-57782-squid-v2

squid: crimson/os/seastore: add checksum offload to RBM

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
11 months agocrimson/os/seastore/cbj: skip crc calculation for cbj header if device supports the... 59298/head
myoungwon oh [Thu, 18 Jul 2024 07:41:05 +0000 (07:41 +0000)]
crimson/os/seastore/cbj: skip crc calculation for cbj header if device supports the checksum offload

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 07d066346fce744dbe95a4325c394f5f01f4f031)

11 months agocrimson/os/seastore: disable crc calculation if end to end data protection is enabled
Myoungwon Oh [Thu, 4 Jul 2024 09:04:38 +0000 (18:04 +0900)]
crimson/os/seastore: disable crc calculation if end to end data protection is enabled

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit e92273a4f15987d08b9e342b18e67dc310329887)

11 months agocrimson/os/seastore/rbm: add handle_exception() to pass_through_io()
myoungwon oh [Fri, 12 Jul 2024 04:13:13 +0000 (04:13 +0000)]
crimson/os/seastore/rbm: add handle_exception() to pass_through_io()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 169a81ee51bd62f120dff5d4618f1a9eeec12fd9)

11 months agocrimson/os/seastore: remove multistream related codes
myoungwon oh [Thu, 13 Jun 2024 06:07:56 +0000 (06:07 +0000)]
crimson/os/seastore: remove multistream related codes

Current codes allow the device to allocate multiple namespace without specific policy
if the nvme device report that it is capable of mutistream functionality.
So, this commit removes the multistream related code, leaving it as a TODO.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit cc5b4a25155dea919b5a939063370b4f13a992ec)

11 months agocrimson/os/seastore: add nvme_read and nvme_write to be used when end to end data...
myoungwon oh [Tue, 28 May 2024 10:35:45 +0000 (10:35 +0000)]
crimson/os/seastore: add nvme_read and nvme_write to be used when end to end data protection is enabled

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 5f86c84118e6b60f9e5d23d4e5dea8efab6b858a)

11 months agocrimson/os/seastore/rbm: turn on end-to-end-data-protection during mkfs if possible
myoungwon oh [Mon, 27 May 2024 09:32:56 +0000 (09:32 +0000)]
crimson/os/seastore/rbm: turn on end-to-end-data-protection during mkfs if possible

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 71398e2d4fe4fe38bee1ff16db08c8977127273a)

11 months agocrimson/os/seastore: replace rbm_metadata_header_t with rbm_superblock_t
myoungwon oh [Thu, 20 Jun 2024 05:32:15 +0000 (05:32 +0000)]
crimson/os/seastore: replace rbm_metadata_header_t with rbm_superblock_t

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 364fb38669fdada3cf78d74efeacdd311c53c20d)

11 months agoMerge pull request #58957 from Matan-B/wip-58367-squid
Matan Breizman [Mon, 19 Aug 2024 09:41:42 +0000 (12:41 +0300)]
Merge pull request #58957 from Matan-B/wip-58367-squid

squid: crimson/os/seastore/cached_extent: add the "refresh" ability to lba mappings

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
11 months agoMerge pull request #57494 from lxbsz/wip-66052
Rishabh Dave [Mon, 19 Aug 2024 07:59:06 +0000 (13:29 +0530)]
Merge pull request #57494 from lxbsz/wip-66052

squid: mds: find a new head for the batch ops when the head is dead

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
11 months agodoc/cephfs: s/mountpoint/mount point/ 59294/head
Zac Dover [Sat, 17 Aug 2024 03:37:58 +0000 (13:37 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486
in which page 345 of The IBM Style Guide is referenced to back up this
change.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 57ed73eaa6945c69059d299ea5310eaac57e2299)

11 months agoMerge pull request #58788 from batrick/wip-67120-squid
Rishabh Dave [Mon, 19 Aug 2024 07:00:09 +0000 (12:30 +0530)]
Merge pull request #58788 from batrick/wip-67120-squid

squid: qa/cephfs: ignore variant of MDS_UP_LESS_THAN_MAX

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58790 from batrick/wip-67153-squid
Rishabh Dave [Mon, 19 Aug 2024 06:57:13 +0000 (12:27 +0530)]
Merge pull request #58790 from batrick/wip-67153-squid

squid: qa: suppress __trans_list_add valgrind warning

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58808 from lxbsz/wip-67117
Rishabh Dave [Mon, 19 Aug 2024 06:54:38 +0000 (12:24 +0530)]
Merge pull request #58808 from lxbsz/wip-67117

squid: qa: ignore container checkpoint/restore related selinux denials for c…

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #59291 from zdover23/wip-doc-2024-08-19-backport-59290-to-squid
Anthony D'Atri [Sun, 18 Aug 2024 15:59:40 +0000 (08:59 -0700)]
Merge pull request #59291 from zdover23/wip-doc-2024-08-19-backport-59290-to-squid

squid: doc: Harmonize 'mountpoint'

11 months agodoc: Harmonize 'mountpoint' 59291/head
Anthony D'Atri [Sun, 18 Aug 2024 15:23:39 +0000 (11:23 -0400)]
doc: Harmonize 'mountpoint'

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

11 months agoMerge pull request #59179 from zdover23/wip-doc-2024-08-13-backport-59177-to-squid
Anthony D'Atri [Sun, 18 Aug 2024 15:17:04 +0000 (08:17 -0700)]
Merge pull request #59179 from zdover23/wip-doc-2024-08-13-backport-59177-to-squid

squid: doc/radosgw: improve qat-accel.rst

11 months agoMerge pull request #59289 from zdover23/wip-doc-2024-08-18-backport-59257-to-squid
Anthony D'Atri [Sun, 18 Aug 2024 13:53:57 +0000 (06:53 -0700)]
Merge pull request #59289 from zdover23/wip-doc-2024-08-18-backport-59257-to-squid

squid: doc/cephfs: s/mountpoint/mount point/

11 months agodoc/cephfs: s/mountpoint/mount point/ 59289/head
Zac Dover [Sat, 17 Aug 2024 03:44:30 +0000 (13:44 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486 in
which page 345 of The IBM Style Guide is referenced to back up this
change.

This commit alters only English-language text and example commands in
which the string "{mount point}" is meant to be replaced. No commands
meant for cutting-and-pasting have been altered in this commit.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a0f81cfb5094164630f55a717efbbcdce45bce58)

11 months agoMerge pull request #59250 from zdover23/wip-doc-2024-08-16-backport-59167-to-squid
Anthony D'Atri [Fri, 16 Aug 2024 22:54:04 +0000 (15:54 -0700)]
Merge pull request #59250 from zdover23/wip-doc-2024-08-16-backport-59167-to-squid

squid: doc/cephfs: improve "layout fields" text

11 months agodoc/cephfs: improve "layout fields" text 59250/head
Zac Dover [Mon, 12 Aug 2024 12:38:14 +0000 (22:38 +1000)]
doc/cephfs: improve "layout fields" text

Improve "layout fields" text in doc/cephfs/file-layouts.rst, as suggesed
by Anthony D'Atri in these comments:

https://github.com/ceph/ceph/pull/59021#discussion_r1704108581
https://github.com/ceph/ceph/pull/59021#discussion_r1704112320

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

11 months agoMerge pull request #59021 from zdover23/wip-doc-2024-08-05-backport-58891-to-squid
Zac Dover [Fri, 16 Aug 2024 09:26:32 +0000 (19:26 +1000)]
Merge pull request #59021 from zdover23/wip-doc-2024-08-05-backport-58891-to-squid

squid: doc/cephfs: edit "Layout Fields" text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #59232 from idryomov/wip-67353-squid
Ilya Dryomov [Fri, 16 Aug 2024 07:08:38 +0000 (09:08 +0200)]
Merge pull request #59232 from idryomov/wip-67353-squid

squid: qa: adjust expected io_opt in krbd_discard_granularity.t

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #59233 from zdover23/wip-doc-2024-08-15-backport-59219-to-squid
Anthony D'Atri [Thu, 15 Aug 2024 23:27:29 +0000 (16:27 -0700)]
Merge pull request #59233 from zdover23/wip-doc-2024-08-15-backport-59219-to-squid

squid: doc/rgw/notification: persistent notification queue full behavior

11 months agoMerge pull request #58820 from Matan-B/wip-57818-squid
Matan Breizman [Thu, 15 Aug 2024 12:38:30 +0000 (15:38 +0300)]
Merge pull request #58820 from Matan-B/wip-57818-squid

squid: crimson/os/seastore/lba_manager: do batch mapping allocs when remapping multiple mappings

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agodoc/rgw/notification: persistent notification queue full behavior 59233/head
Yuval Lifshitz [Wed, 14 Aug 2024 11:02:09 +0000 (11:02 +0000)]
doc/rgw/notification: persistent notification queue full behavior

Fixes: https://tracker.ceph.com/issues/50610
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit d12ba11741dc749bcce315bf467078595fa95b24)

11 months agoqa: cover a custom object size in krbd_discard_granularity.t 59232/head
Ilya Dryomov [Thu, 8 Aug 2024 20:01:47 +0000 (22:01 +0200)]
qa: cover a custom object size in krbd_discard_granularity.t

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

11 months agoqa: adjust expected io_opt in krbd_discard_granularity.t
Ilya Dryomov [Thu, 8 Aug 2024 19:50:40 +0000 (21:50 +0200)]
qa: adjust expected io_opt in krbd_discard_granularity.t

With linux.git commit a00d4bfce7c6 ("rbd: increase io_opt again"),
io_opt is set to object set size.

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

11 months agoMerge pull request #58607 from ljflores/wip-fix-squid-thrash-old-clients
Laura Flores [Wed, 14 Aug 2024 21:40:41 +0000 (16:40 -0500)]
Merge pull request #58607 from ljflores/wip-fix-squid-thrash-old-clients

squid: qa/suites/rados/thrash-old-clients: test with N-2 releases on centos 9

11 months agoMerge pull request #59196 from guits/cv-backport-tpm2
Adam King [Wed, 14 Aug 2024 17:18:18 +0000 (13:18 -0400)]
Merge pull request #59196 from guits/cv-backport-tpm2

squid: ceph-volume: add TPM2 token enrollment support for encrypted OSDs

Reviewed-by: Adam King <adking@redhat.com>
11 months agoMerge pull request #59214 from zdover23/wip-doc-2024-08-14-backport-59168-to-squid
Anthony D'Atri [Wed, 14 Aug 2024 13:19:02 +0000 (06:19 -0700)]
Merge pull request #59214 from zdover23/wip-doc-2024-08-14-backport-59168-to-squid

squid: doc/cephfs: improve cache-configuration.rst

11 months agoMerge pull request #58905 from Matan-B/wip-57977-squid
Matan Breizman [Wed, 14 Aug 2024 10:45:29 +0000 (13:45 +0300)]
Merge pull request #58905 from Matan-B/wip-57977-squid

squid: crimson: simplify obc loading by locking excl for load and demoting to needed lock

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agodoc/cephfs: improve cache-configuration.rst 59214/head
Zac Dover [Mon, 12 Aug 2024 12:47:08 +0000 (22:47 +1000)]
doc/cephfs: improve cache-configuration.rst

Improve the text in the section about dealing with cache-pressure alerts
that was added in https://github.com/ceph/ceph/pull/59077. The changes
in this commit were suggested by Anthony D'Atri.

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

11 months agoceph-volume: refactor device path handling for LVM lookups 59196/head
Guillaume Abrioux [Tue, 6 Aug 2024 13:37:30 +0000 (13:37 +0000)]
ceph-volume: refactor device path handling for LVM lookups

This consolidates the conditional checks for device paths to
reduce redundancy and improve readability and adds logic to
handle both '/dev/mapper' and '/dev/dm-' paths uniformly by
introducing a utility function `get_lvm_mapper_path_from_dm()`.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit fec896b301f0e72b7085e3b164bab48c4140603a)

11 months agoceph-volume: add TPM2 token enrollment support for encrypted OSDs
Guillaume Abrioux [Thu, 16 May 2024 15:47:19 +0000 (11:47 -0400)]
ceph-volume: add TPM2 token enrollment support for encrypted OSDs

This adds the required changes to ceph-volume and cephadm in order to support
deploying tpm2 token enrolled encrypted OSDs.

Adding `--with-tpm` when deploying with `--dmcrypt` will enroll a tpm2
token to the corresponding LUKS2 devices.

Example of a osd service spec:

```
service_type: osd
service_id: tpm2_osds
placement:
  host_pattern: '*'
spec:
  data_devices:
    paths:
      - /dev/sdb
  encrypted: true
  tpm2: true
```

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 88836135fd03d28131c58a7440f51de244076166)

11 months agocrimson/common/tri_mutex: avoid hobject_t formatting 58905/head
Matan Breizman [Sun, 28 Jul 2024 14:49:27 +0000 (17:49 +0300)]
crimson/common/tri_mutex: avoid hobject_t formatting

```
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1756:3: error: static_assert failed due to requirement 'formattable' "Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt"
  static_assert(
  ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1777:10: note: in instantiation of function template specialization 'fmt::detail::make_value<fmt::basic_format_context<fmt::appender, char>, const hobject_t &>' requested here
  return make_value<Context>(val);
         ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1899:23: note: in instantiation of function template specialization 'fmt::detail::make_arg<true, fmt::basic_format_context<fmt::appender, char>, fmt::detail::type::custom_type, const hobject_t &, 0>' requested here
        data_{detail::make_arg<

                   ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1918:10: note: in instantiation of function template specialization 'fmt::format_arg_store<fmt::basic_format_context<fmt::appender, char>, hobject_t, unsigned int, unsigned int, bool, unsigned long>::format_arg_store<const hobject_t &, unsigned int &, unsigned int &, const bool &, unsigned long &>' requested here
  return {FMT_FORWARD(args)...};
         ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:3206:28: note: in instantiation of function template specialization 'fmt::make_format_args<fmt::basic_format_context<fmt::appender, char>, const hobject_t &, unsigned int &, unsigned int &, const bool &, unsigned long &>' requested here
  return vformat(fmt, fmt::make_format_args(args...));
                           ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/crimson/common/tri_mutex.h:136:14: note: in instantiation of function template specialization 'fmt::format<const hobject_t &, unsigned int, unsigned int, const bool &, unsigned long>' requested here
  os << fmt::format("tri_mutex {} writers {} readers {}"
             ^
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 1251345231fc96150bdab73059eb060de7c8f615)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
11 months agodoc/radosgw: improve qat-accel.rst 59179/head
Anthony D'Atri [Tue, 13 Aug 2024 01:38:52 +0000 (21:38 -0400)]
doc/radosgw: improve qat-accel.rst

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

11 months agoMerge pull request #58830 from Matan-B/wip-58356-squid
Matan Breizman [Mon, 12 Aug 2024 08:17:34 +0000 (11:17 +0300)]
Merge pull request #58830 from Matan-B/wip-58356-squid

squid: crimson/os/seastore/onode: add hobject_t into Onode

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #59148 from zdover23/wip-doc-2024-08-11-backport-59077-to-squid
Anthony D'Atri [Sun, 11 Aug 2024 15:37:25 +0000 (08:37 -0700)]
Merge pull request #59148 from zdover23/wip-doc-2024-08-11-backport-59077-to-squid

squid: doc/cephfs: add cache pressure information

11 months agodoc/cephfs: add cache pressure information 59148/head
Zac Dover [Wed, 7 Aug 2024 13:11:11 +0000 (23:11 +1000)]
doc/cephfs: add cache pressure information

Add information to doc/cephfs/cache-configuration.rst about how to deal
with a message that reads "clients failing to respond to cache
pressure". This procedure explains how to slow the growth of the
recall_caps value so that it does not exceed the
mds_recall_warning_threshold.

The information in this commit was developed by Eugen Block. See
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/5ROH5CWKKOEIQMVXOVRT5OO7CWK2HPM3/#J65DFUPP4BY57MICPANXKI7KAXSZ5Z5P
and https://www.spinics.net/lists/ceph-users/msg73188.html.

Fixes: https://tracker.ceph.com/issues/57115
Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit bf26274ae4737417193f8c2b56bea20eb2a358aa)

11 months agoMerge pull request #58887 from Matan-B/wip-58592-squid
Matan Breizman [Sun, 11 Aug 2024 10:38:26 +0000 (13:38 +0300)]
Merge pull request #58887 from Matan-B/wip-58592-squid

squid: mgr/client: validate connection before sending

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58263 from amathuria/wip-66689-squid
Kamoltat (Junior) Sirivadhna [Sat, 10 Aug 2024 18:11:55 +0000 (14:11 -0400)]
Merge pull request #58263 from amathuria/wip-66689-squid

squid: qa/tasks/mgr/test_progress.py: deal with pre-exisiting pool
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
11 months agoMerge pull request #58629 from kamoltat/wip-ksirivad-backport-squid-58374
Kamoltat (Junior) Sirivadhna [Fri, 9 Aug 2024 21:04:46 +0000 (17:04 -0400)]
Merge pull request #58629 from kamoltat/wip-ksirivad-backport-squid-58374

squid: qa/suites/rados/thrash-old-clients: Add noscrub, nodeep-scrub to ignorelist
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
11 months agoMerge pull request #59099 from zdover23/wip-doc-2024-08-09-backport-59807-to-squid
Anthony D'Atri [Fri, 9 Aug 2024 01:02:35 +0000 (18:02 -0700)]
Merge pull request #59099 from zdover23/wip-doc-2024-08-09-backport-59807-to-squid

squid: docs/rados/operations/stretch-mode: warn device class is not supported

11 months agodocs/rados/operations/stretch-mode: warn device class is not supported 59099/head
Kamoltat Sirivadhna [Wed, 7 Aug 2024 19:20:41 +0000 (19:20 +0000)]
docs/rados/operations/stretch-mode: warn device class is not supported

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
(cherry picked from commit aa1d8cf4fa321e24e850bd5f687a6ddad3ce05e3)

11 months agoMerge pull request #58958 from Matan-B/wip-58504-squid
Matan Breizman [Thu, 8 Aug 2024 10:34:07 +0000 (13:34 +0300)]
Merge pull request #58958 from Matan-B/wip-58504-squid

squid: crimson/osd/pg_recovery: push the iteration forward after finding unfound objects when starting primary recoveries

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58955 from Matan-B/wip-58452-squid
Matan Breizman [Thu, 8 Aug 2024 10:33:19 +0000 (13:33 +0300)]
Merge pull request #58955 from Matan-B/wip-58452-squid

squid: seastar: update submodule

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58885 from Matan-B/wip-58471-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:55 +0000 (13:32 +0300)]
Merge pull request #58885 from Matan-B/wip-58471-squid

squid: src/crimson/osd/scrub: fix the null pointer error

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58841 from Matan-B/wip-58766-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:42 +0000 (13:32 +0300)]
Merge pull request #58841 from Matan-B/wip-58766-squid

squid: crimson: access coll_map under alien tp with a lock

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58839 from Matan-B/wip-58463-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:21 +0000 (13:32 +0300)]
Merge pull request #58839 from Matan-B/wip-58463-squid

squid: crimson: audit and correct epoch captured by IOInterruptCondition

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58837 from Matan-B/wip-58551-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:00 +0000 (13:32 +0300)]
Merge pull request #58837 from Matan-B/wip-58551-squid

squid: crimson/os/seastore/transaction_manager: consider inconsistency between backrefs and lbas acceptable when cleaning segments

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58835 from Matan-B/wip-58467-squid
Matan Breizman [Thu, 8 Aug 2024 10:31:14 +0000 (13:31 +0300)]
Merge pull request #58835 from Matan-B/wip-58467-squid

squid: crimson/os/seastore: track transactions/conflicts/outstanding periodically

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58828 from Matan-B/wip-58083-squid
Matan Breizman [Thu, 8 Aug 2024 10:30:31 +0000 (13:30 +0300)]
Merge pull request #58828 from Matan-B/wip-58083-squid

squid: crimson/os/seastore: add writer level stats to RBM

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58638 from aaSharma14/wip-66396-squid
Aashish Sharma [Thu, 8 Aug 2024 05:27:13 +0000 (10:57 +0530)]
Merge pull request #58638 from aaSharma14/wip-66396-squid

squid: mgr/dashboard: provide option to enable pool based mirroring mode while creating a pool

Reviewed-by: Nizamudeen A <nia@redhat.com>
11 months agoMerge pull request #59020 from ronen-fr/wip-rf-58929-to-squid
Yuri Weinstein [Thu, 8 Aug 2024 00:59:31 +0000 (17:59 -0700)]
Merge pull request #59020 from ronen-fr/wip-rf-58929-to-squid

squid: osd/scrub: exempt only operator scrubs from max_scrubs limit

Reviewed-by: Laura Flores <lflores@redhat.com>
11 months agoMerge pull request #59078 from zdover23/wip-doc-2024-08-07-backport-59040-to-squid
Anthony D'Atri [Wed, 7 Aug 2024 19:26:01 +0000 (15:26 -0400)]
Merge pull request #59078 from zdover23/wip-doc-2024-08-07-backport-59040-to-squid

squid: doc: documenting the feature that scrub clear the entries from damage…

11 months agodoc: documenting the feature that scrub clear the entries from damage table on repair 59078/head
neeraj pratap singh [Mon, 5 Aug 2024 19:50:35 +0000 (01:20 +0530)]
doc: documenting the feature that scrub clear the entries from damage table on repair

Fixes: https://tracker.ceph.com/issues/67337
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 140e77638dc95fefcf62f01fe7e45bc0729439be)

11 months agoMerge pull request #59062 from zdover23/wip-doc-2024-08-07-backport-59060-to-squid
Anthony D'Atri [Wed, 7 Aug 2024 00:16:03 +0000 (20:16 -0400)]
Merge pull request #59062 from zdover23/wip-doc-2024-08-07-backport-59060-to-squid

squid: doc/dev/peering: Change acting set num

11 months agodoc/dev/peering: Change acting set num 59062/head
qn2060 [Tue, 6 Aug 2024 16:40:42 +0000 (00:40 +0800)]
doc/dev/peering: Change acting set num

This commit updates the peering doc page with the changed [2,1,2] to [3,1,2]

Signed-off-by: qn2060 <qn2060@users.noreply.github.com>
(cherry picked from commit 103d65ea6787ab16d1824f71578264e0abb9820c)

11 months agocommon/dout: fix FTBFS on GCC 14 59055/head
Radoslaw Zarzynski [Wed, 24 Jan 2024 17:22:44 +0000 (17:22 +0000)]
common/dout: fix FTBFS on GCC 14

The following problem has been reported by Kaleb Keithley:

```
/builddir/build/BUILD/ceph-18.2.1/src/osd/osd_types.h: In lambda function:
/builddir/build/BUILD/ceph-18.2.1/src/common/dout.h:184:73: error: call to non-‘constexpr’ function ‘virtual unsigned int DoutPrefixProvider::get_subsys() const’
  184 |     dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
      |                                                         ~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/ceph-18.2.1/src/common/dout.h:155:58: note: in definition of macro ‘dout_impl’
  155 |       return (cctX->_conf->subsys.template should_gather<sub, v>());    \
      |                                                          ^~~
/builddir/build/BUILD/ceph-18.2.1/src/osd/osd_types.h:3617:3: note: in expansion of macro ‘ldpp_dout’
 3617 |   ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl;
      |   ^~~~~~~~~
```

For details of the problem and the idea behind the fix,
please refer to the comment this commit brings to `dout.h`.

The minimized replicator that the facilitated Goldbot-based
investigation:

```cpp
namespace ceph::dout {

template<typename T>
struct dynamic_marker_t {
  T value;
  // constexpr ctor isn't needed as it's an aggregate type
  constexpr operator T() const { return value; }
};

template<typename T>
constexpr dynamic_marker_t<T> need_dynamic(T&& t) {
  return dynamic_marker_t<T>{ std::forward<T>(t) };
}

template<typename T>
struct is_dynamic : public std::false_type {};

template<typename T>
struct is_dynamic<dynamic_marker_t<T>> : public std::true_type {};

} // ceph::dout

struct subsys_t {
  template <unsigned SubV, int LvlV>
  bool should_gather() const {
    return true;
  }
  bool should_gather(const unsigned sub, int level) const {
    return false;
  }
};

static subsys_t subsys;

  do {                                                                  \
  const bool should_gather = [&](const auto cctX) {                     \
    if constexpr (ceph::dout::is_dynamic<decltype(sub)>::value ||       \
                  ceph::dout::is_dynamic<decltype(v)>::value) {         \
      std::cout << "the dynamic path" << std::endl;                     \
      return subsys.should_gather(sub, v);                              \
    } else {                                                            \
      /* The parentheses are **essential** because commas in angle      \
       * brackets are NOT ignored on macro expansion! A language's      \
       * limitation, sorry. */                                          \
      std::cout << "the static path" << std::endl;                      \
      /*return subsys.should_gather(sub, v);*/                              \
      return (subsys.template should_gather<sub, v>());             \
    }                                                                   \
  }(cct);                                                               \
  } while (0)

  if (decltype(auto) pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for 'this' */ \
    dout_impl(42, sub, v)

  if (decltype(auto) pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for 'this' */ \
    dout_impl(42, ceph::dout::need_dynamic(42), v)

int main() {
    std::random_device dev;
    std::mt19937 rng(dev());
    std::uniform_int_distribution<std::mt19937::result_type> dist6(1,6); // distribution in range [1, 6]

    int sub = dist6(rng);
    ldpp_dout("mocked out", sub);
    //ldpp_subdout("mocked out", 4, 3);
}
```

Fixes: https://tracker.ceph.com/issues/64050
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 0eace4ea9ea42412d4d6a16d24a8660642e41173)

11 months agoMerge pull request #58967 from ronen-fr/wip-rf-58931-to-squid
Ronen Friedman [Tue, 6 Aug 2024 12:19:52 +0000 (15:19 +0300)]
Merge pull request #58967 from ronen-fr/wip-rf-58931-to-squid

squid: qa/standalone/scrub: fix the searched-for text for snaps decode errors

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoTest: osd-recovery-space.sh extends the wait time for "recovery toofull". 59041/head
Nitzan Mordechai [Tue, 30 Apr 2024 10:06:16 +0000 (10:06 +0000)]
Test: osd-recovery-space.sh extends the wait time for "recovery toofull".

The osd-recovery-space test involves writing objects and expecting to receive
the "toofull" flag.
If we don't wait long enough, we might check the "toofull" flag before all objects
have completed writing, and the "toofull" status hasn't been activated yet.

The change will extend the waiting time and will also incorporate additional
checks for the return code from the status wait.

Fixes: https://tracker.ceph.com/issues/44510
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit a7bd91dafb5736d2e3cae987e6164cdc14a0792a)

11 months agoMerge pull request #59031 from zdover23/wip-doc-2024-08-05-backport-57905-to-squid
Anthony D'Atri [Tue, 6 Aug 2024 03:20:04 +0000 (23:20 -0400)]
Merge pull request #59031 from zdover23/wip-doc-2024-08-05-backport-57905-to-squid

squid: doc/mgr/dashboard: fix TLS typo

11 months agodoc/mgr/dashboard: fix TLS typo 59031/head
Mindy Preston [Wed, 5 Jun 2024 16:58:35 +0000 (11:58 -0500)]
doc/mgr/dashboard: fix TLS typo

Change "SSL/TSL" to "SSL/TLS"

Signed-off-by: Mindy Preston <mcpreston@icecube.wisc.edu>
(cherry picked from commit e63b967aeb00a667ab5c91b9b526c7a19a9539ec)

11 months agodoc/cephfs: edit "Layout Fields" text 59021/head
Zac Dover [Sun, 28 Jul 2024 13:35:21 +0000 (23:35 +1000)]
doc/cephfs: edit "Layout Fields" text

Improve the English in the "Layout Fields" section of
doc/cephfs/file-layouts.rst.

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

11 months agoosd/scrub: exempt only operator scrubs from max_scrubs limit 59020/head
Ronen Friedman [Mon, 29 Jul 2024 14:11:50 +0000 (09:11 -0500)]
osd/scrub: exempt only operator scrubs from max_scrubs limit

Existing code exempts all 'high priority' scrubs, including for example
'after_repair' and 'mandatory on invalid history' scrubs from the limit.

PGs that do not have valid last-scrub data (which is what we have when
a pool is first created) - are set to shallow-scrub immediately.
Unfortunately - this type of scrub is (in the low granularity implemented
in existing code) is 'high priority'.
Which means that a newly created pool will have all its PGs start
scrubbing, regardless of concurrency (or any other) limits.

Fixes: https://tracker.ceph.com/issues/67253
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit babd65e412266f5c734f7a2b57d87657d3470c47)
conflict resolution:
- eliminating irrelevant 'main' code that was picked into this branch.
- the code to set the scrub_job's flag moved to osd_scrub_sched.cc,
  where the corresponding function is.

11 months agoMerge pull request #58804 from lxbsz/wip-67149
Rishabh Dave [Mon, 5 Aug 2024 10:32:33 +0000 (16:02 +0530)]
Merge pull request #58804 from lxbsz/wip-67149

squid: cephfs: Fixed a bug in the readdir_cache_cb function that may have us…

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #56887 from dparmar18/wip-65316-squid
Rishabh Dave [Mon, 5 Aug 2024 10:31:58 +0000 (16:01 +0530)]
Merge pull request #56887 from dparmar18/wip-65316-squid

squid: mds: CInode::item_caps used in two different lists

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58727 from neesingh-rh/wip-67078-squid
Rishabh Dave [Mon, 5 Aug 2024 10:31:35 +0000 (16:01 +0530)]
Merge pull request #58727 from neesingh-rh/wip-67078-squid

squid: mds: fix session/client evict command.

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58810 from lxbsz/wip-67113
Rishabh Dave [Mon, 5 Aug 2024 10:31:18 +0000 (16:01 +0530)]
Merge pull request #58810 from lxbsz/wip-67113

squid: cephfs-shell: excute cmd 'rmdir_helper' reported error

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #59007 from zdover23/wip-doc-2024-08-04-backport-59006-to-squid
Anthony D'Atri [Sun, 4 Aug 2024 13:33:17 +0000 (09:33 -0400)]
Merge pull request #59007 from zdover23/wip-doc-2024-08-04-backport-59006-to-squid

squid: doc/glossary: add "ceph-ansible"

11 months agoRGW|BN: fix lifecycle test and http server issue 59010/head
Ali Masarwa [Thu, 18 Jul 2024 12:24:05 +0000 (15:24 +0300)]
RGW|BN: fix lifecycle test and http server issue

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
(cherry picked from commit cb421a466365e8dff6c2b80fc9e6b2ec5c3aa111)

11 months agodoc/glossary: add "ceph-ansible" 59007/head
Zac Dover [Fri, 2 Aug 2024 20:51:32 +0000 (06:51 +1000)]
doc/glossary: add "ceph-ansible"

Add a "ceph-ansible" entry to the glossary.

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

11 months agoMerge pull request #58874 from zdover23/wip-doc-2024-07-27-backport-58641-to-squid
Zac Dover [Sat, 3 Aug 2024 05:23:43 +0000 (15:23 +1000)]
Merge pull request #58874 from zdover23/wip-doc-2024-07-27-backport-58641-to-squid

squid: doc/radosgw/qat-accel: Update and Add QATlib information

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #58482 from guits/wip-66028-squid
Guillaume Abrioux [Fri, 2 Aug 2024 10:59:03 +0000 (12:59 +0200)]
Merge pull request #58482 from guits/wip-66028-squid

squid: node-proxy: make the daemon discover endpoints

11 months agoMerge pull request #58954 from guits/wip-67287-squid
Guillaume Abrioux [Fri, 2 Aug 2024 10:57:58 +0000 (12:57 +0200)]
Merge pull request #58954 from guits/wip-67287-squid

squid: ceph-volume: do not convert LVs's symlink to real path

11 months agoceph-volume: tests shouldn't require lvm2 to pass 58954/head
Guillaume Abrioux [Mon, 17 Jun 2024 13:14:56 +0000 (15:14 +0200)]
ceph-volume: tests shouldn't require lvm2 to pass

some tests are currently failing when `lvm2` isn't installed:

```
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestList::test_empty_device_json_zero_exit_status - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestList::test_empty_device_zero_exit_status - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestFullReport::test_no_ceph_lvs - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestFullReport::test_ceph_data_lv_reported - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestFullReport::test_ceph_journal_lv_reported - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestFullReport::test_ceph_wal_lv_reported - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestFullReport::test_physical_2nd_device_gets_reported[journal] - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestFullReport::test_physical_2nd_device_gets_reported[db] - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestFullReport::test_physical_2nd_device_gets_reported[wal] - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_not_a_ceph_lv - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_a_ceph_lv - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_a_ceph_journal_device - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_by_osd_id_for_just_block_dev - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_by_osd_id_for_just_data_dev - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_by_osd_id_for_just_block_wal_and_db_dev - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_by_osd_id_for_data_and_journal_dev - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_by_nonexistent_osd_id - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_listing.py::TestSingleReport::test_report_a_ceph_lv_with_no_matching_devices - FileNotFoundError: [Errno 2] No such file or directory: 'pvs'
FAILED ceph_volume/tests/devices/lvm/test_migrate.py::TestNew::test_newdb_not_target_lvm - FileNotFoundError: [Errno 2] No such file or directory: 'lvs'
FAILED ceph_volume/tests/devices/lvm/test_zap.py::TestEnsureAssociatedLVs::test_nothing_is_found - FileNotFoundError: [Errno 2] No such file or directory: 'lvs'
FAILED ceph_volume/tests/devices/lvm/test_zap.py::TestEnsureAssociatedLVs::test_multiple_journals_are_found - FileNotFoundError: [Errno 2] No such file or directory: 'lvs'
FAILED ceph_volume/tests/devices/lvm/test_zap.py::TestEnsureAssociatedLVs::test_multiple_dbs_are_found - FileNotFoundError: [Errno 2] No such file or directory: 'lvs'
FAILED ceph_volume/tests/devices/lvm/test_zap.py::TestEnsureAssociatedLVs::test_multiple_wals_are_found - FileNotFoundError: [Errno 2] No such file or directory: 'lvs'
FAILED ceph_volume/tests/devices/lvm/test_zap.py::TestEnsureAssociatedLVs::test_multiple_backing_devs_are_found - FileNotFoundError: [Errno 2] No such file or directory: 'lvs'
FAILED ceph_volume/tests/objectstore/test_lvmbluestore.py::TestLvmBlueStore::test_activate_all_osd_is_active - FileNotFoundError: [Errno 2] No such file or directory: 'lvs'
```

Everything should be actually mocked. This commit addresses that.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit c68fbf01c333e58a79cca0736e8c4379eb2b7414)

11 months agoceph-volume: do not convert LVs's symlink to real path
Guillaume Abrioux [Thu, 4 Jul 2024 11:59:37 +0000 (11:59 +0000)]
ceph-volume: do not convert LVs's symlink to real path

This commit:
- Adds a new function `get_lvm_mappers` in `ceph_volume/util/disk.py`
  to retrieve a list of LVM device mappers.
- Updates the `is_lv` property in `ceph_volume/util/device.py`
  to use the new `get_lvm_mappers` function for better accuracy.
- Modifies the symlink handling in `Device` class to properly
  identify LVM logical volumes.
- Adds a new test `test_reject_lv_symlink_to_device` to ensure
  LVM symlinks are correctly identified and handled.
- Updates relevant tests to cover the changes in LVM device detection.

These changes improve the reliability and accuracy of LVM device detection
and handling, ensuring that symlinks to LVM logical volumes are
correctly processed.

Fixes: https://tracker.ceph.com/issues/61597
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Co-Authored-by: Jerry Pu <jerrypu@qnap.com>
(cherry picked from commit 729c5de4f852f1a1ee90e76b71157e9070af7d99)

11 months agoMerge pull request #58964 from guits/wip-66448-squid
Guillaume Abrioux [Fri, 2 Aug 2024 05:35:01 +0000 (07:35 +0200)]
Merge pull request #58964 from guits/wip-66448-squid

squid: ceph-volume: do source devices zapping if they're detached.

11 months agoMerge pull request #58932 from cbodley/wip-67267-squid
Casey Bodley [Thu, 1 Aug 2024 19:07:39 +0000 (15:07 -0400)]
Merge pull request #58932 from cbodley/wip-67267-squid

squid: rgw/auth: RemoteApplier respects implicit tenants

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
11 months agoMerge pull request #58933 from cbodley/wip-67269-squid
Casey Bodley [Thu, 1 Aug 2024 15:38:05 +0000 (16:38 +0100)]
Merge pull request #58933 from cbodley/wip-67269-squid

squid: rgw/rgw_rados: fix server side-copy orphans tail-objects

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
11 months agoMerge pull request #58977 from zdover23/wip-doc-2024-08-01-backport-58899-to-squid
Anthony D'Atri [Thu, 1 Aug 2024 12:17:06 +0000 (08:17 -0400)]
Merge pull request #58977 from zdover23/wip-doc-2024-08-01-backport-58899-to-squid

squid: doc/glossary: add "Prometheus"

11 months agoMerge pull request #58973 from zdover23/wip-doc-2024-08-01-backport-58972-to-squid
Anthony D'Atri [Thu, 1 Aug 2024 12:05:57 +0000 (08:05 -0400)]
Merge pull request #58973 from zdover23/wip-doc-2024-08-01-backport-58972-to-squid

squid: doc: Improve doc/radosgw/placement.rst

11 months agodoc/radosgw/qat-accel: Update and Add QATlib information 58874/head
Feng, Hualong [Wed, 17 Jul 2024 06:53:32 +0000 (06:53 +0000)]
doc/radosgw/qat-accel: Update and Add QATlib information

Signed-off-by: Feng, Hualong <hualong.feng@intel.com>
(cherry picked from commit 98723d51b969041a672d505a26d4e0a8df4115d3)

11 months agodoc/glossary: add "Prometheus" 58977/head
Zac Dover [Mon, 29 Jul 2024 10:19:02 +0000 (20:19 +1000)]
doc/glossary: add "Prometheus"

Add a glossary entry for "Prometheus".

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

11 months agodoc: Improve doc/radosgw/placement.rst 58973/head
Anthony D'Atri [Wed, 31 Jul 2024 22:41:53 +0000 (18:41 -0400)]
doc: Improve doc/radosgw/placement.rst

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

11 months agoMerge pull request #58401 from sseshasa/wip-66807-squid
Yuri Weinstein [Wed, 31 Jul 2024 22:52:18 +0000 (15:52 -0700)]
Merge pull request #58401 from sseshasa/wip-66807-squid

squid: qa/tasks: Initialize 'monitoring_profiles' spec to an empty dict

Reviewed-by: Neha Ojha <nojha@redhat.com>
11 months agoMerge pull request #58314 from cbodley/wip-66724
Yuri Weinstein [Wed, 31 Jul 2024 22:51:17 +0000 (15:51 -0700)]
Merge pull request #58314 from cbodley/wip-66724

squid: build: Make boost_url a list

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
11 months agoqa/standalone/scrub: fix the searched-for text for snaps decode errors 58967/head
Ronen Friedman [Tue, 30 Jul 2024 14:43:00 +0000 (09:43 -0500)]
qa/standalone/scrub: fix the searched-for text for snaps decode errors

to match the updated error log, as modified by commit ebd8283

Fixes: https://tracker.ceph.com/issues/67228
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 872adf5ac5e8aa2671b654594de25ac2833c36fb)

11 months agoceph-volume: fix TestMigrate tests 58964/head
Guillaume Abrioux [Mon, 17 Jun 2024 12:02:11 +0000 (14:02 +0200)]
ceph-volume: fix TestMigrate tests

ae5ef432845 broke some unit tests.
This commit fixes that.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 9390592c343cd55dfb7943cdc8d7970f6ce024cb)

11 months agoMerge pull request #58890 from Matan-B/wip-matanb-logentry-string-1
Casey Bodley [Wed, 31 Jul 2024 13:34:28 +0000 (14:34 +0100)]
Merge pull request #58890 from Matan-B/wip-matanb-logentry-string-1

squid: common: fix string creation from '0' in LogEntry

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoceph-volume: do source devices zapping if they're detached.
Igor Fedotov [Fri, 31 May 2024 14:05:29 +0000 (17:05 +0300)]
ceph-volume: do source devices zapping if they're detached.

One needs to zap source device(s) after DB/WAL migration.
Original imlementation removes LVM tags only which leaves device(s) in a
state where "ceph-volume raw activate" still reconginizes them as
attached to OSD due to information preserved in bdev label.
Hence the need to do more zapping.
Fixes: https://tracker.ceph.com/issues/66315
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit ae5ef432845dcf9b061258357ffd97f4eae59a63)

11 months agocrimson/osd/pg_recovery: push the iteration forward after finding 58958/head
Xuehan Xu [Wed, 10 Jul 2024 06:54:31 +0000 (14:54 +0800)]
crimson/osd/pg_recovery: push the iteration forward after finding
unfound objects when starting primary recoveries

Fixes: https://tracker.ceph.com/issues/66885
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit acb66c1665937923ebb4b45b3e58364b26a51621)

11 months agocrimson/os/seastore/btree: drop unused lines 58957/head
Xuehan Xu [Thu, 18 Jul 2024 13:17:53 +0000 (21:17 +0800)]
crimson/os/seastore/btree: drop unused lines

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit 98f2da079b458ab564b22ae067f14fb1c3d0246d)