]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 months agoosd/OSDMap: require CRUSH_MSR if any rule is msr, even if used by no pool
Samuel Just [Wed, 28 Aug 2024 01:54:04 +0000 (18:54 -0700)]
osd/OSDMap: require CRUSH_MSR if any rule is msr, even if used by no pool

OSDMap::get_features is used by
OSDMonitor::validate_crush_against_features via
OSDMap::get_min_compat_client() to check whether changes to the crushmap
will require newer features than the existing require_min_compat_client
field.

Monitor commands which create rules from ec profiles may result in msr
rules.  While it might be harmless to allow msr rules to exist as long
as there aren't any pools actually using the rule, it's probably simpler
to disallow their creation in the first place until
require_min_compat_client is updated.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 2130115ec2252e37403a377c482e9599a5c81a66)
(cherry picked from commit c275ad87e7a48bb68fa36991ed23e72898eeff9c)

10 months agomon: validate everybody understands MSR on set-require-min-compat-client
Radoslaw Zarzynski [Fri, 31 May 2024 12:41:27 +0000 (12:41 +0000)]
mon: validate everybody understands MSR on set-require-min-compat-client

Unit testing
------------
```
[rzarzynski@o06 build]$ bin/unittest_features
...
[ RUN      ] features.release_features
1 argonaut features 0x40000 looks like argonaut
2 bobtail features 0x40000 looks like argonaut
3 cuttlefish features 0x40000 looks like argonaut
4 dumpling features 0x42040000 looks like dumpling
5 emperor features 0x42040000 looks like dumpling
6 firefly features 0x20842040000 looks like firefly
7 giant features 0x20842040000 looks like firefly
8 hammer features 0x1020842040000 looks like hammer
9 infernalis features 0x1020842040000 looks like hammer
10 jewel features 0x401020842040000 looks like jewel
11 kraken features 0xc01020842040000 looks like kraken
12 luminous features 0xe01020842240000 looks like luminous
13 mimic features 0xe01020842240000 looks like luminous
14 nautilus features 0xe01020842240000 looks like luminous
15 octopus features 0xe01020842240000 looks like luminous
16 pacific features 0xe01020842240000 looks like luminous
17 quincy features 0xe01020842240000 looks like luminous
18 reef features 0xe010208d2240000 looks like reef
19 squid features 0xe010248d2240000 looks like squid
[       OK ] features.release_features (0 ms)
```

Manual testing
--------------
\### `reef` client present in `squid` cluster
```
[rzarzynski@o06 build]$ bin/ceph daemon mon.a sessions | jq  -jr '.[] | .name, "\t", .con_features, "\t", .con_features_hex, "\n"' | grep client
client.?        4540701547738038271     3f03cffffffdffff
client.?        4540138322906710015     3f01cfbffffdffff
[rzarzynski@o06 build]$ bin/ceph osd get-require-min-compat-client
luminous
[rzarzynski@o06 build]$ bin/ceph osd set-require-min-compat-client squid
Error EPERM: cannot set require_min_compat_client to squid: 1 connected client(s) look like reef (missing 0x4000000000); add --yes-i-really-mean-it to do it anyway
```

\### only `squid` clients and `squid` cluster
```
[rzarzynski@o06 build]$ bin/ceph daemon mon.a sessions | jq  -jr '.[] | .name, "\t", .con_features, "\t", .con_features_hex, "\n"' | grep client
client.?        4540701547738038271     3f03cffffffdffff
client.?        4540701547738038271     3f03cffffffdffff
[rzarzynski@o06 build]$ bin/ceph osd set-require-min-compat-client squid
set require_min_compat_client to squid
```

Fixes: https://tracker.ceph.com/issues/66297
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 4b54b07640b56e387716f2e73d9004fa7757f4e3)
(cherry picked from commit f79b799b138b7658a501f97211d4b570c0e6fae0)

10 months agosrc/ceph_release, doc: mark squid stable
Neha Ojha [Fri, 30 Aug 2024 16:17:57 +0000 (16:17 +0000)]
src/ceph_release, doc: mark squid stable

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit 7f0eea2b3d39876252ac6e1793dbd871fcf8ff2a)

10 months agoclient: calls to _ll_fh_exists() should hold client_lock
Venky Shankar [Mon, 19 Aug 2024 10:03:23 +0000 (10:03 +0000)]
client: calls to _ll_fh_exists() should hold client_lock

Credit to Brad Hubbard for grabbing the stack trace.

Fixes: https://tracker.ceph.com/issues/67565
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit c37ad2b43738e5f07904cd272cc5417eb617dfa3)
(cherry picked from commit 576f0e40ca4bcc767134fce289b13ba12809cba7)

10 months agoqa/s3tests: configure tenant name for 's3 tenant' section
Casey Bodley [Tue, 13 Aug 2024 17:06:32 +0000 (13:06 -0400)]
qa/s3tests: configure tenant name for 's3 tenant' section

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

10 months agorgw: revert account-related changes to get_iam_policy_from_attr()
Casey Bodley [Fri, 9 Aug 2024 16:49:05 +0000 (12:49 -0400)]
rgw: revert account-related changes to get_iam_policy_from_attr()

while bucket ARNs in iam policies don't include account names, policy
evaluation does need to differentiate between buckets in different
tenant namespaces

when requests pass bucket/object ARNs into
verify_bucket/object_permission(), those do include the bucket's tenant
name. to match against those ARNs, we also need to pass the requested
bucket's tenant name into get_iam_policy_from_attr()

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

10 months agoqa/distros: reinstall nvme-cli on centos 9 nodes
Adam King [Thu, 22 Aug 2024 17:53:38 +0000 (13:53 -0400)]
qa/distros: reinstall nvme-cli on centos 9 nodes

To work around a potential linking issue between
nvme-cli ad libnvme that prevents nvme-cli from
correctly generating a hostnqn, causing

nvme_fabrics: found same hostid edb4e426-766f-44c6-b127-da2a5b7446ef but different hostnqn hostnqn

messages in dmesg and the inability to setup nvme
loop devices

Fixes: https://tracker.ceph.com/issues/67684
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 4e5f269c01dd94741fbddaa7f76ebe4ac155e650)
(cherry picked from commit fb50eaa18b03dcec3b3770553447a86c746b8b9f)

10 months agotest/rgw: include --rgw-realm/zonegroup/zone args for 'account create'
Casey Bodley [Fri, 23 Aug 2024 19:55:44 +0000 (15:55 -0400)]
test/rgw: include --rgw-realm/zonegroup/zone args for 'account create'

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

10 months agotest/rgw: test_multi.py creates realm with --default
Casey Bodley [Fri, 23 Aug 2024 19:54:18 +0000 (15:54 -0400)]
test/rgw: test_multi.py creates realm with --default

mstart.sh relies on default realm/zonegroup/zone configuration, because
it doesn't supply them to radosgw as config options

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

10 months agorgw: ignore zoneless default realm when not configured
Casey Bodley [Fri, 23 Aug 2024 19:03:31 +0000 (15:03 -0400)]
rgw: ignore zoneless default realm when not configured

"default" zone/zonegroup deployments without a realm can be broken by
the creation of an unrelated realm, because that realm is (was)
automatically set as the default

when startup detects an incomplete default realm (one that doesn't have
a default zone), fall back to the realmless "default" zone/zonegroup
instead

Fixes: https://tracker.ceph.com/issues/67697
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 902cc0a71e91faf6d6e3685c036d346251e4f77f)
(cherry picked from commit 358a197370b8ce527e28800246003d3e6c00027d)

10 months agoradosgw-admin: add 'realm default rm' command
Casey Bodley [Fri, 23 Aug 2024 18:53:46 +0000 (14:53 -0400)]
radosgw-admin: add 'realm default rm' command

the 'realm default' command could only set a different realm as the
default, and provided no way to clear the default

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

10 months agorgw: realm create only sets default realm on --default
Casey Bodley [Fri, 23 Aug 2024 18:49:32 +0000 (14:49 -0400)]
rgw: realm create only sets default realm on --default

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

10 months agomgr/cephadm: add "original_weight" parameter to OSD class
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)
(cherry picked from commit 44914fafdd2dbf4a2a9296989bb3e151ed2c8967)

10 months ago19.1.1 59364/head v19.1.1
Ceph Release Team [Tue, 20 Aug 2024 16:51:15 +0000 (12:51 -0400)]
19.1.1

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
11 months agoqa/suites/rados/thrash-old-clients: test with N-2 releases on centos 9
Laura Flores [Mon, 15 Jul 2024 22:04:41 +0000 (17:04 -0500)]
qa/suites/rados/thrash-old-clients: test with N-2 releases on centos 9

It was recently decided to stop building and releasing ubuntu focal
packages for squid. This decision extended to the Shaman builds.

When we stopped building focal for squid in Shaman, this failure
started happening, because the test was looking for nonexistent
squid focal packages:
```
no results found at https://shaman.ceph.com/api/search/?project=ceph&distros=ubuntu%2F20.04%2Fx86_64&flavor=default&sha1=81127b728ce57cc8b876f0f2dd3e436633549a67
```

After a discussion in Slack, we agreed the best option going forward
would be to test on centos 9 and drop pacific from the mix, since pacific
does not have centos 9 packages. To later incorprate pacific, we will work
on a contanierized solution.

-----
Slack thread (may be expired):
https://ceph-storage.slack.com/archives/C1HFJ4VTN/p1721078395083699

Laura Flores
  4:19 PM
@Dan Mick
 I see we stopped building focal for squid on Shaman via Jenkins. I
know this is intended since we no longer plan to release squid focal
packages, but now the thrash-old-clients tests are failing on squid:
https://pulpito.ceph.com/teuthology-2024-07-14_21:00:02-rados-squid-distro-default-smithi/7801302/
These tests use an older client, i.e. reef, in a squid cluster. These
older clients go as far back as N-3 (so we test pacific, reef, and
quincy clients against a squid cluster). We need a distro that is shared
between all these releases in order to do that, which up until recently
was focal. Can we reintroduce focal shaman builds? We can put a note in
https://docs.ceph.com/en/latest/start/os-recommendations/#platforms to
explain that these packages are not released for squid, but are used to
test old clients.

Laura Flores
  4:21 PM
In the above scenario, we could consider switching to centos 9 since squid,
reef and quincy share these. But we also test against pacific clients, and
pacific of course does not build c9.

Casey Bodley
  41 minutes ago
it would be nice if those tests could eventually use containers for the upgraded
servers

Josh Durgin
  4:46 PM
centos 9 is the easiest path for now, for quincy and reef
4:46
agree with casey containerized servers would be better going forward anyway

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 2164873a6410e884f308209c39869137efe28878)

11 months agoosd/scrub: exempt only operator scrubs from max_scrubs limit
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.
(cherry picked from commit a3f16627fde5426b19b932b9ef41c167e029d30f)

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/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 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 agoMerge pull request #58840 from Matan-B/wip-58464-squid
Matan Breizman [Wed, 31 Jul 2024 08:39:22 +0000 (11:39 +0300)]
Merge pull request #58840 from Matan-B/wip-58464-squid

squid: crimson: peering event processing fixes,  wait for async operations started during peering events

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58826 from Matan-B/wip-57125-squid
Matan Breizman [Wed, 31 Jul 2024 08:38:34 +0000 (11:38 +0300)]
Merge pull request #58826 from Matan-B/wip-57125-squid

squid: crimson/osd/pg: reset the snap mapper's backend when pg interval changes

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58947 from zdover23/wip-doc-2024-07-31-backport-58946-to-squid
Anthony D'Atri [Wed, 31 Jul 2024 01:48:38 +0000 (21:48 -0400)]
Merge pull request #58947 from zdover23/wip-doc-2024-07-31-backport-58946-to-squid

squid: doc/rados/operations: remove vanity cluster name reference from crush…

11 months agodoc/rados/operations: remove vanity cluster name reference from crush-map.rst 58947/head
Anthony D'Atri [Wed, 31 Jul 2024 00:45:11 +0000 (20:45 -0400)]
doc/rados/operations: remove vanity cluster name reference from crush-map.rst

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

11 months agoMerge pull request #58940 from zdover23/wip-doc-2024-07-31-backport-58922-to-squid
Anthony D'Atri [Wed, 31 Jul 2024 00:50:03 +0000 (20:50 -0400)]
Merge pull request #58940 from zdover23/wip-doc-2024-07-31-backport-58922-to-squid

squid: doc/cephadm: edit "Using Custom Images"

11 months agoMerge pull request #58943 from zdover23/wip-doc-2024-07-31-backport-58908-to-squid
Anthony D'Atri [Wed, 31 Jul 2024 00:48:14 +0000 (20:48 -0400)]
Merge pull request #58943 from zdover23/wip-doc-2024-07-31-backport-58908-to-squid

squid: doc/glossary: add "ceph-fuse" entry

11 months agoMerge pull request #58937 from zdover23/wip-doc-2024-07-31-backport-58918-to-squid
Anthony D'Atri [Wed, 31 Jul 2024 00:38:25 +0000 (20:38 -0400)]
Merge pull request #58937 from zdover23/wip-doc-2024-07-31-backport-58918-to-squid

squid: doc/dev: improve basic-workflow.rst

11 months agodoc/glossary: add "ceph-fuse" entry 58943/head
Zac Dover [Mon, 29 Jul 2024 15:50:13 +0000 (01:50 +1000)]
doc/glossary: add "ceph-fuse" entry

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

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

11 months agodoc/cephadm: edit "Using Custom Images" 58940/head
Zac Dover [Tue, 30 Jul 2024 07:33:55 +0000 (17:33 +1000)]
doc/cephadm: edit "Using Custom Images"

Edit the section "Using Custom Images" in
doc/cephadm/services/monitoring.rst.

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

11 months agoMerge pull request #58763 from smanjara/wip-67025-squid
Casey Bodley [Tue, 30 Jul 2024 22:31:28 +0000 (23:31 +0100)]
Merge pull request #58763 from smanjara/wip-67025-squid

squid: rgw/multisite: don't retain RGW_ATTR_OBJ_REPLICATION_TRACE attr on copy_object

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agodoc/dev: improve basic-workflow.rst 58937/head
Zac Dover [Tue, 30 Jul 2024 06:07:04 +0000 (16:07 +1000)]
doc/dev: improve basic-workflow.rst

Make various improvements to doc/dev/developer_guide/basic-workflow.rst.

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

11 months agoMerge pull request #58658 from rzarzynski/wip-bug-66268-squid
Yuri Weinstein [Tue, 30 Jul 2024 18:14:40 +0000 (11:14 -0700)]
Merge pull request #58658 from rzarzynski/wip-bug-66268-squid

squid: mgr: Convert the last_event_detail data_type to std::string

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Saumay Agrawal <saumay.agrawal@gmail.com>
11 months agoMerge pull request #57805 from rzarzynski/wip-bug-61948-squid
Laura Flores [Tue, 30 Jul 2024 18:02:31 +0000 (13:02 -0500)]
Merge pull request #57805 from rzarzynski/wip-bug-61948-squid

squid: mon, osd, *: expose upmap-primary in OSDMap::get_features()

11 months agoshrink the object-size used for orphan-list test by a factor of 100 from 5100MB ... 58933/head
Gabriel BenHanokh [Tue, 23 Jul 2024 11:02:06 +0000 (11:02 +0000)]
shrink the object-size used for orphan-list test by a factor of 100 from 5100MB -> 51MB

Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
(cherry picked from commit 01a9cfba444f03f378113833a13fdbd40835886b)

11 months agoRGW - Fix copy_obj handling of obj_ctx
Daniel Gryniewicz [Thu, 27 Jun 2024 16:40:38 +0000 (12:40 -0400)]
RGW - Fix copy_obj handling of obj_ctx

Fixes: https://tracker.ceph.com/issues/66286
(Line added by Gabriel)

In RadosStore, the source and dest objects in the copy_object() call
used to share an obj_ctx.  When obj_ctx was removed from the SAL API,
they each got their own, but RGWRados::copy_obj() still assumed they
shared one.

Pass in each one separately, and use the correct one for further calls.

Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
(cherry picked from commit 111c54a19dc12b84cda785feddb0a0ba483b1f77)

11 months agoFixes: https://tracker.ceph.com/issues/66286
Gabriel BenHanokh [Sun, 23 Jun 2024 15:54:22 +0000 (15:54 +0000)]
Fixes: https://tracker.ceph.com/issues/66286
Improve display of ref_count in the rados commandline utility

New test cases were added to detect behavior after server side copy in the following cases:
1) delete original only
2) delete destination only
3) delete original then delete destination (this will lead to orphaned tail-objects without the changes made in this PR)
d) delete destination then delete original (this will lead to orphaned tail-objects without the changes made in this PR)

Add call to GC between tests to help control the used disk space since we keep writing huge files of 5GB each
Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
(cherry picked from commit d496d20c803590d41d711e446feab41476c0f20c)

11 months agorgw/auth: RemoteApplier respects implicit tenants 58932/head
Casey Bodley [Mon, 15 Jul 2024 19:39:26 +0000 (15:39 -0400)]
rgw/auth: RemoteApplier respects implicit tenants

RemoteApplier::load_acct_info() and create_account() decide whether to
add the implicit tenant. store the resulting rgw_user for use in
get_aclowner() and get_tenant()

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

11 months agoMerge pull request #58829 from Matan-B/wip-57709-squid
Matan Breizman [Tue, 30 Jul 2024 14:46:45 +0000 (17:46 +0300)]
Merge pull request #58829 from Matan-B/wip-57709-squid

squid: crimson/os/seastore: avoid getting wrong logical extents through "parent-invalid" lba mappings

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58827 from Matan-B/wip-56150-squid
Matan Breizman [Tue, 30 Jul 2024 14:46:03 +0000 (17:46 +0300)]
Merge pull request #58827 from Matan-B/wip-56150-squid

squid: qa/suites/crimson-rados: add seastore

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58643 from hualongfeng/wip_qat_zlib_data_format_squid
Casey Bodley [Tue, 30 Jul 2024 12:37:11 +0000 (13:37 +0100)]
Merge pull request #58643 from hualongfeng/wip_qat_zlib_data_format_squid

Squid Compressor: Add data format(QZ_DEFLATE_GZIP_EXT) for QAT Zlib

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58906 from Matan-B/wip-58256-squid
Matan Breizman [Tue, 30 Jul 2024 08:20:55 +0000 (11:20 +0300)]
Merge pull request #58906 from Matan-B/wip-58256-squid

squid: crimson/osd: adding osdmap subscribe

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58833 from Matan-B/wip-58225-squid
Matan Breizman [Tue, 30 Jul 2024 08:14:04 +0000 (11:14 +0300)]
Merge pull request #58833 from Matan-B/wip-58225-squid

squid: crimson/osd/osd_operation: fix dump_historic_slow_ops command works

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58691 from ljflores/wip-67055-squid
Laura Flores [Tue, 30 Jul 2024 03:05:38 +0000 (22:05 -0500)]
Merge pull request #58691 from ljflores/wip-67055-squid

squid: qa: suppress Leak_StillReachable mon leak in centos 9 jobs

11 months agoMerge pull request #58803 from ljflores/wip-67160-squid
Laura Flores [Tue, 30 Jul 2024 03:02:34 +0000 (22:02 -0500)]
Merge pull request #58803 from ljflores/wip-67160-squid

squid: mon: validate also mons and osds on {rm-,}pg-upmap-primary

11 months agoMerge pull request #58909 from zdover23/wip-doc-2024-07-30-backport-58904-to-squid
Anthony D'Atri [Tue, 30 Jul 2024 00:12:34 +0000 (20:12 -0400)]
Merge pull request #58909 from zdover23/wip-doc-2024-07-30-backport-58904-to-squid

squid: doc/cephfs: edit "Dynamic Subtree Partitioning"

11 months agoMerge pull request #58851 from yuvalif/wip-66805-squid
Shilpa Jagannath [Mon, 29 Jul 2024 20:55:41 +0000 (13:55 -0700)]
Merge pull request #58851 from yuvalif/wip-66805-squid

squid: rgw/notification: Fix the caching issues of notification brokers, where the cache was not invalidated if topic attributes were changed

11 months agoMerge pull request #58794 from ivancich/wip-67156-squid
Yuri Weinstein [Mon, 29 Jul 2024 19:54:42 +0000 (12:54 -0700)]
Merge pull request #58794 from ivancich/wip-67156-squid

squid: test/rgw: address potential race condition in reshard testing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58854 from idryomov/wip-67051-squid
Yuri Weinstein [Mon, 29 Jul 2024 19:34:47 +0000 (12:34 -0700)]
Merge pull request #58854 from idryomov/wip-67051-squid

squid: qa/workunits/rbd: avoid caching effects in luks-encryption.sh

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #58801 from ljflores/wip-67128-squid
Yuri Weinstein [Mon, 29 Jul 2024 19:32:48 +0000 (12:32 -0700)]
Merge pull request #58801 from ljflores/wip-67128-squid

squid: osd: bump versions of decoders for upmap-primary

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #58610 from adk3798/wip-66789-squid
Adam King [Mon, 29 Jul 2024 17:45:41 +0000 (13:45 -0400)]
Merge pull request #58610 from adk3798/wip-66789-squid

squid: cephadm: disable ms_bind_ipv4 if we will enable ms_bind_ipv6

Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 months agoMerge pull request #58609 from adk3798/wip-66787-squid
Adam King [Mon, 29 Jul 2024 17:44:45 +0000 (13:44 -0400)]
Merge pull request #58609 from adk3798/wip-66787-squid

squid: mgr: excute cmd 'ceph orch apply osd' returned without error info

Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 months agodoc/cephfs: edit "Dynamic Subtree Partitioning" 58909/head
Zac Dover [Mon, 29 Jul 2024 11:17:44 +0000 (21:17 +1000)]
doc/cephfs: edit "Dynamic Subtree Partitioning"

Edit the section "Dynamic Subtree Partitioning" in
doc/cephfs/multimds.rst.

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

11 months agoMerge pull request #58901 from zdover23/wip-doc-2024-07-29-backport-58554-to-squid
Anthony D'Atri [Mon, 29 Jul 2024 14:26:18 +0000 (10:26 -0400)]
Merge pull request #58901 from zdover23/wip-doc-2024-07-29-backport-58554-to-squid

squid: docs: removed centos 8 and added squid to the build matrix

11 months agosuites: crimson basic adding wait for test 58906/head
Nitzan Mordechai [Tue, 25 Jun 2024 09:12:09 +0000 (09:12 +0000)]
suites: crimson basic adding wait for test

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

11 months agocrimson/osd: adding osdmap subscribe
Nitzan Mordechai [Tue, 25 Jun 2024 09:06:45 +0000 (09:06 +0000)]
crimson/osd: adding osdmap subscribe

when committed osdmap is complete, it will check if should restart.
in case we shouldn't restart but we are still active, we need
the next osdmap to continue the process.

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

11 months agoMerge pull request #58832 from Matan-B/wip-58396-squid
Matan Breizman [Mon, 29 Jul 2024 12:50:21 +0000 (15:50 +0300)]
Merge pull request #58832 from Matan-B/wip-58396-squid

squid: suite/crimson: enable stats tests

Reviewed-by: NitzanMordhai <nmordech@redhat.com>
11 months agoMerge pull request #58821 from Matan-B/wip-57359-squid-v2
Matan Breizman [Mon, 29 Jul 2024 12:50:02 +0000 (15:50 +0300)]
Merge pull request #58821 from Matan-B/wip-57359-squid-v2

squid: vstart.sh: add options to set number of alien threads, and number of cpu cores for alien threads

Reviewed-by: NitzanMordhai <nmordech@redhat.com>
11 months agoMerge pull request #58886 from Matan-B/wip-58510-squid
Matan Breizman [Mon, 29 Jul 2024 12:44:03 +0000 (15:44 +0300)]
Merge pull request #58886 from Matan-B/wip-58510-squid

squid: crimson: PG stats are not synced between osds after object update

Reviewed-by: NitzanMordhai <nmordech@redhat.com>
11 months agoMerge pull request #58888 from Matan-B/wip-58694-squid
Matan Breizman [Mon, 29 Jul 2024 12:41:52 +0000 (15:41 +0300)]
Merge pull request #58888 from Matan-B/wip-58694-squid

squid: crimson/osd/recovery_backend: cleanup PGBackend::temp_contents when pg interval changes

Reviewed-by: NitzanMordhai <nmordech@redhat.com>
11 months agoMerge pull request #58702 from Matan-B/wip-66917-squid
Matan Breizman [Mon, 29 Jul 2024 12:31:00 +0000 (15:31 +0300)]
Merge pull request #58702 from Matan-B/wip-66917-squid

squid: seastar: fix makecheck error: missing 'typename'

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58836 from Matan-B/wip-58357-squid
Matan Breizman [Mon, 29 Jul 2024 12:25:37 +0000 (15:25 +0300)]
Merge pull request #58836 from Matan-B/wip-58357-squid

squid: crimson/os/seastore/btree: interrupt transactions immediately when getting children

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58834 from Matan-B/wip-58250-squid
Matan Breizman [Mon, 29 Jul 2024 12:23:59 +0000 (15:23 +0300)]
Merge pull request #58834 from Matan-B/wip-58250-squid

squid: crimson/os/seastore: write ool extents without padding

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58831 from Matan-B/wip-57828-squid
Matan Breizman [Mon, 29 Jul 2024 12:22:11 +0000 (15:22 +0300)]
Merge pull request #58831 from Matan-B/wip-57828-squid

squid: crimson/os/seastore/btree: improve lba pointer related UT checks

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58824 from Matan-B/wip-58099-squid
Matan Breizman [Mon, 29 Jul 2024 12:16:46 +0000 (15:16 +0300)]
Merge pull request #58824 from Matan-B/wip-58099-squid

squid: crimson: fix ObjectContext::_with_lock to only unlock if lock is taken

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58823 from Matan-B/wip-57691-squid
Matan Breizman [Mon, 29 Jul 2024 12:16:19 +0000 (15:16 +0300)]
Merge pull request #58823 from Matan-B/wip-57691-squid

squid: crimson/osd/osd_operations/client_request_common: `PeeringState::needs_recovery()` may fail if the object is under backfill

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58822 from Matan-B/wip-57147-squid
Matan Breizman [Mon, 29 Jul 2024 12:15:48 +0000 (15:15 +0300)]
Merge pull request #58822 from Matan-B/wip-57147-squid

squid: crimson/osd/pg_recovery: skip unfound objects when recovering the primary

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58819 from Matan-B/wip-57367-squid
Matan Breizman [Mon, 29 Jul 2024 12:13:39 +0000 (15:13 +0300)]
Merge pull request #58819 from Matan-B/wip-57367-squid

squid: crimson/osd/osd_operations/client_request: check "can_serve_replica_reads" before getting obc

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agodocs: removed centos 8 and added squid to the build matrix 58901/head
Yuri Weinstein [Fri, 12 Jul 2024 13:42:02 +0000 (06:42 -0700)]
docs: removed centos 8 and added squid to the build matrix

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 8761bbe16c2a6d19e136254c26d1d67ebe839e3b)

11 months agorgw: fixup compressor_message didn't store in some cases 58643/head
hualong feng [Fri, 14 Jun 2024 07:50:53 +0000 (15:50 +0800)]
rgw: fixup compressor_message didn't store in some cases

When I upload a object to RGW by multipart, the head object
xattr(user.rgw.compression) don't have compressor_message
when the value should be valid and part object xattr
have the value.

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

11 months agocompressor: Change data formt to QZ_DEFLATE_GZIP_EXT for QAT zlib
hualong feng [Thu, 6 Jun 2024 07:53:03 +0000 (15:53 +0800)]
compressor: Change data formt to QZ_DEFLATE_GZIP_EXT for QAT zlib

QAT zlib 'QZ_DEFLATE_RAW' data format cannot decompress
by QAT hardware. So here we replace 'QZ_DEFLATE_GZIP_EXT' data
format with 'QZ_DEFLATE_RAW'.

'QZ_DEFLATE_GZIP_EXT' data format need to add gz_header
by deflateSetHeader() in QATzip. And it leads multi stream
in one compression for hardware buffer. So the windows bit
is important information for decompression, which related to
if the inflate remove header.

Add busy_polling setting for reducing latency

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

11 months agoMerge pull request #58892 from zdover23/wip-doc-2024-07-28-backport-58884-to-squid
Anthony D'Atri [Sun, 28 Jul 2024 14:12:33 +0000 (10:12 -0400)]
Merge pull request #58892 from zdover23/wip-doc-2024-07-28-backport-58884-to-squid

squid: doc/cephfs: fix "OSD capabilities" link

11 months agodoc/cephfs: fix "OSD capabilities" link 58892/head
Zac Dover [Sun, 28 Jul 2024 07:27:53 +0000 (17:27 +1000)]
doc/cephfs: fix "OSD capabilities" link

Fix a broken link from the "OSD capabilites" reference on
doc/cephfs/client-auth.rst.

Fixes: https://tracker.ceph.com/issues/67218
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 74b03a8cb2f196171b10d8cbde27324240649e70)

11 months agocommon: fix string creation from '0' in LogEntry 58890/head
Ronen Friedman [Sun, 3 Mar 2024 14:30:59 +0000 (16:30 +0200)]
common: fix string creation from '0' in LogEntry

C++23 disallows conversion from 'int' to 'string'.
That includes returning '0' from a function that returns a string.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit b854bfcc70ff372cd087c068e0302d36ad86391f)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
11 months agocrimson/osd/recovery_backend: fix RecoveryBackend::temp_contents usage 58888/head
Xuehan Xu [Sat, 20 Jul 2024 08:17:47 +0000 (16:17 +0800)]
crimson/osd/recovery_backend: fix RecoveryBackend::temp_contents usage

All temp objects are added *only* to PGBackend::temp_content.
cleaning RecoveryBackend::temp_contents (which is always empty) instead
of PGBackend::temp_contents is wrong.

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

11 months agocrimson/osd/pg: update PG stats on handle_rep_op 58886/head
sajibreadd [Wed, 10 Jul 2024 12:27:02 +0000 (18:27 +0600)]
crimson/osd/pg: update PG stats on handle_rep_op
Fixes: https://tracker.ceph.com/issues/61761
Signed-off-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
(cherry picked from commit 82ae96fa86b7f83067ec42538ac48da0a77afffd)

11 months agoMerge pull request #58875 from zdover23/wip-doc-2024-07-27-backport-58867-to-squid
Anthony D'Atri [Sat, 27 Jul 2024 01:12:35 +0000 (21:12 -0400)]
Merge pull request #58875 from zdover23/wip-doc-2024-07-27-backport-58867-to-squid

squid: doc/cephfs: fix "file layouts" link

11 months agoMerge pull request #58782 from cbodley/wip-67098-squid
Shilpa Jagannath [Fri, 26 Jul 2024 22:06:36 +0000 (15:06 -0700)]
Merge pull request #58782 from cbodley/wip-67098-squid

squid: rgw/iam: CreateRole ignores EEXIST after forwarded request

11 months agoMerge pull request #58714 from Svelar/wip-67071-squid
Shilpa Jagannath [Fri, 26 Jul 2024 22:06:18 +0000 (15:06 -0700)]
Merge pull request #58714 from Svelar/wip-67071-squid

squid: rgw/amqp: lock erase and create connection before emplace

11 months agoMerge pull request #58197 from kchheda3/wip-66591-squid
Yuri Weinstein [Fri, 26 Jul 2024 17:13:46 +0000 (10:13 -0700)]
Merge pull request #58197 from kchheda3/wip-66591-squid

squid: rgw/lifecycle-notification: Do not block lc processing for notification errors.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58873 from afreen23/wip-67202-squid
Nizamudeen A [Fri, 26 Jul 2024 14:29:04 +0000 (19:59 +0530)]
Merge pull request #58873 from afreen23/wip-67202-squid

squid: mgr/dashboard: Add initiators

Reviewed-by: Nizamudeen A <nia@redhat.com>
11 months agodoc/cephfs: fix "file layouts" link 58875/head
Zac Dover [Fri, 26 Jul 2024 07:15:12 +0000 (17:15 +1000)]
doc/cephfs: fix "file layouts" link

Fix a broken link to the "File Layouts" page on
doc/cephfs/client-auth.rst.

Fixes: https://tracker.ceph.com/issues/67190
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 6bb5ce94c6a2cbfdf978a66d00f428ad4cd4c312)

11 months agomgr/dashboard: Add initiators add/update in dashboard 58873/head
Afreen Misbah [Wed, 10 Jul 2024 11:24:20 +0000 (16:54 +0530)]
mgr/dashboard: Add initiators add/update in dashboard

Fixes  https://tracker.ceph.com/issues/66907

- add one or more initiators
- remove one or more initiators
- introduces two new UI routers for the above two

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
(cherry picked from commit 1f82dc8b8f1b5ca17caa69fbbb99554b5a659591)

11 months agoMerge pull request #58857 from idryomov/wip-67097-squid
Ilya Dryomov [Fri, 26 Jul 2024 07:47:43 +0000 (09:47 +0200)]
Merge pull request #58857 from idryomov/wip-67097-squid

squid: qa/suites/krbd: stress test for recovering from watch errors for -o exclusive

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #58779 from aaSharma14/wip-67101-squid
Aashish Sharma [Fri, 26 Jul 2024 05:43:26 +0000 (11:13 +0530)]
Merge pull request #58779 from aaSharma14/wip-67101-squid

squid: mgr/dashboard: Add a new chart for replication delta per shard in rgw sync overview grafana dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
11 months agoMerge pull request #58849 from rhcs-dashboard/squid-expand-cluster-navigation-fix
naman munet [Fri, 26 Jul 2024 05:34:28 +0000 (11:04 +0530)]
Merge pull request #58849 from rhcs-dashboard/squid-expand-cluster-navigation-fix

squid: mgr/dashboard: expand-cluster back navigation fix

11 months agoMerge pull request #58848 from rhcs-dashboard/squid-multisite-e2e-fixes
naman munet [Fri, 26 Jul 2024 05:33:59 +0000 (11:03 +0530)]
Merge pull request #58848 from rhcs-dashboard/squid-multisite-e2e-fixes

squid: mgr/dashboard: multisite e2e test case fix

11 months agoMerge pull request #58863 from zdover23/wip-doc-2024-07-26-backport-58838-to-squid
Anthony D'Atri [Fri, 26 Jul 2024 00:35:39 +0000 (20:35 -0400)]
Merge pull request #58863 from zdover23/wip-doc-2024-07-26-backport-58838-to-squid

squid: doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks

11 months agodoc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks 58863/head
Ilya Dryomov [Thu, 25 Jul 2024 07:48:10 +0000 (09:48 +0200)]
doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks

This is due to both using the same name for the lock at the RADOS level
("rbd_lock").

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

11 months agoMerge pull request #58418 from ceph/squid-release
Josh Durgin [Thu, 25 Jul 2024 17:30:36 +0000 (10:30 -0700)]
Merge pull request #58418 from ceph/squid-release

v19.1.0

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
11 months agoqa/suites/krbd: override extra_system_packages directly on install task 58857/head
Ilya Dryomov [Wed, 24 Jul 2024 06:47:51 +0000 (08:47 +0200)]
qa/suites/krbd: override extra_system_packages directly on install task

Follow commit c61cb16223fa ("qa/suites/rbd: override
extra_system_packages directly on install task").

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

11 months agoqa/suites/krbd: stress test for recovering from watch errors for -o exclusive
Ilya Dryomov [Wed, 24 Jul 2024 06:44:46 +0000 (08:44 +0200)]
qa/suites/krbd: stress test for recovering from watch errors for -o exclusive

This is based on a test added in commit 237aa221ebad ("qa/suites/krbd:
stress test for recovering from watch errors") for regular mappings.

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

11 months agoqa/workunits/rbd: avoid caching effects in luks-encryption.sh 58854/head
Ilya Dryomov [Fri, 19 Jul 2024 17:35:28 +0000 (19:35 +0200)]
qa/workunits/rbd: avoid caching effects in luks-encryption.sh

Commit 40f6f5224bce ("qa/workunits/rbd: fix issues in
luks-encryption.sh") did the right thing for reads, which solved
most of the issue.  However, it actually made a step in the opposite
direction for writes -- depending on the RBD cache settings, rbd-nbd
virtual devices can behave as physical devices with a volatile write
cache, so fsync is required.

While at it, involving O_DIRECT for reads isn't needed outside of
test_encryption_format().

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

11 months agorgw/notification doc: doc: Update pendingreleasenotes for notification. 58851/head
kchheda3 [Mon, 3 Jun 2024 18:44:31 +0000 (14:44 -0400)]
rgw/notification doc: doc: Update pendingreleasenotes for notification.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
(cherry picked from commit 85fc96b0cd271b6c1de6db2e406586a6dda05248)

11 months agorgw/notification: Use topic attributes from topic rados object to create Pushendpoint...
kchheda3 [Tue, 28 May 2024 20:50:33 +0000 (16:50 -0400)]
rgw/notification: Use topic attributes from topic rados object to create Pushendpoint and stop calling RGWPubSubEndpoint::create for every event.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
(cherry picked from commit c8f7d311ecc24befe985dd39391b38f5f1b60510)

 Conflicts:
src/rgw/driver/rados/rgw_notify.cc

11 months agoFixes: https://tracker.ceph.com/issues/67074 58849/head
Naman Munet [Mon, 22 Jul 2024 09:52:55 +0000 (15:22 +0530)]
Fixes: https://tracker.ceph.com/issues/67074
Signed-off-by: Naman Munet <nmunet@redhat.com>
(cherry picked from commit 6241be164dc1f764b66bf63ca4e42a4f3931c07a)