]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 months agomgr/dashboard: nfs export enhancement for CEPHFS 58303/head
Avan Thakkar [Thu, 27 Jun 2024 10:06:42 +0000 (15:36 +0530)]
mgr/dashboard: nfs export enhancement for CEPHFS

Fixes: https://tracker.ceph.com/issues/66718
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
12 months agoMerge pull request #58395 from pereman2/scrapper-replayer
Pere Diaz Bou [Thu, 4 Jul 2024 08:49:04 +0000 (10:49 +0200)]
Merge pull request #58395 from pereman2/scrapper-replayer

test/allocsim: osd op scraper replayer

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
12 months agoMerge pull request #58344 from guits/fix-log-errors
Guillaume Abrioux [Thu, 4 Jul 2024 06:17:44 +0000 (08:17 +0200)]
Merge pull request #58344 from guits/fix-log-errors

qa: fix log errors for cephadm tests

12 months agoMerge pull request #55076 from linuxbox2/wip-rgw-cksum
Matt Benjamin [Wed, 3 Jul 2024 22:25:26 +0000 (18:25 -0400)]
Merge pull request #55076 from linuxbox2/wip-rgw-cksum

rgw: implement S3 additional checksum support

12 months agocmake: use BLAKE3's cmake 55076/head
Casey Bodley [Tue, 25 Jun 2024 17:55:20 +0000 (13:55 -0400)]
cmake: use BLAKE3's cmake

Added EXCLUDE_FROM_ALL to prevent gristing files in
the subdir.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw_cksum: introduce attribute caching in RadosMultipartUpload
Daniel Gryniewicz [Wed, 26 Jun 2024 14:30:42 +0000 (10:30 -0400)]
rgw_cksum: introduce attribute caching in RadosMultipartUpload

Allow MultipartUpload::complete() to have previously called
Upload::get_info() without an additional round-trip to fetch
attributes.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw_cksum: address review comments
Matt Benjamin [Sat, 22 Jun 2024 20:12:54 +0000 (16:12 -0400)]
rgw_cksum: address review comments

* remove rgw_cksum_pipe state enum, not needed [Casey review]
* remove a format that just took a single string substitution
  and passed it to an iostream [Casey review]
* use boost::to_upper* [Casey review]
* remove unused RGW_ATTR_CKSUM_ALGORITHM decl [Casey review]
* negate error code values in two places [Casey review]
* split cksum digests from base type decls
* resolve comment when checksum requested but not available
* remove redundant memset
* remove junk from rgw_blake3_digest.h
* s/ldpp_dout + fmt::format/ldpp_dout_fmt/g;
* fix conditional return of parts_count
      from RGWRados::Object::prepare().  A value for parts_count should
      be returned iff a *multipart* object manifest exists.
* remove /tmp output test
* finish moving ceph_crypto headers out of rgw_cksum.h
* consume the optional in multipart_parts_count
* target_attrs can be a reference (but not const)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw_cksum: implement POST upload checksums
Matt Benjamin [Mon, 15 Apr 2024 20:44:58 +0000 (16:44 -0400)]
rgw_cksum: implement POST upload checksums

* properly transform pseudo headers in PostObj
* enable cksum verify in PostObj
* match checksum headers in match_policy_vars
* fixup add POST headers to environment

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw_cksum: fix ReadOp comment
Matt Benjamin [Sun, 5 May 2024 18:27:06 +0000 (14:27 -0400)]
rgw_cksum: fix ReadOp comment

parts_count now returns a value for parts_count whenever the
target object is a multipart upload.  this has no additional
overhead, since this can be read off the manifest

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agoreturn parts_count from read_op::prepare whenever applicable
Matt Benjamin [Sat, 27 Apr 2024 14:24:25 +0000 (10:24 -0400)]
return parts_count from read_op::prepare whenever applicable

* fix to deal with parts_count == 1 asymmetry

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw_cksum: upload->get_info() fails when !cksum (why?)
Matt Benjamin [Tue, 30 Apr 2024 19:27:28 +0000 (15:27 -0400)]
rgw_cksum: upload->get_info() fails when !cksum (why?)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw_cksum: multipart upload checksums
Matt Benjamin [Wed, 10 Apr 2024 21:58:15 +0000 (17:58 -0400)]
rgw_cksum: multipart upload checksums

includes commits:

* fixes init-multipart header return
* introduce checksum to SAL MultipartPart interface
* thread optional checksum through DataProcessor
* code complete multipart checksum verify
* fix formatter
* fix ckecksum format for multipart objects in GET/HEAD ops
* always return parts_count from ReadOp::prepare() if applicable
      This behavior is used when returning the checksum of a multipart
      upload object.
* tweak conditional multipart_parts_count
* add checksum output to ListMultipart
* fix nil-return from GetHeaderCksumResult
* re-arm truncated if re-entering list-parts
* complete-multipart w/list-parts
* validate supplied checksum in CompleteMultipart
* verify checksum type against initial checksum algorithm
* rgw_op: suppress more x-amz headers
* final fixes and cleanups
* remove unused t0

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw_cksum: test round-trip constructor (armored)
Matt Benjamin [Thu, 18 Apr 2024 19:26:00 +0000 (15:26 -0400)]
rgw_cksum: test round-trip constructor (armored)

I.e., prove cksum == Cksum(cksum.to_armor().c_str())

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months ago* forward pipe continuation in RGWPutObj_Cksum::process()
Casey Bodley [Mon, 29 Apr 2024 15:10:04 +0000 (11:10 -0400)]
* forward pipe continuation in RGWPutObj_Cksum::process()

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agorgw: add checksum and digest machinery
Matt Benjamin [Tue, 24 Sep 2019 21:12:02 +0000 (17:12 -0400)]
rgw: add checksum and digest machinery

Adds new Blake3 digest format (native), a concrete type to
represent digests, and static_visitor machinery to unify varying
checksum computations.

This framework, together with new trailing checksum header support,
is used to implement S3 additional checksum verification.  Parts of
the AWS content checksum API work build on a prior contribution from
imtzw <tongzhiwei_yewu@cmss.chinamobile.com>.
Thank you!

Fixes: https://tracker.ceph.com/issues/42080
Fixes: https://tracker.ceph.com/issues/63951
squashed commits:
* rgw_cksum: add trival test vectors for sha-format digests
      Computed digests match those produced by sha1sum, sha256sum,
      and sha512sum utilities.
* rgw_cksum: add test vectors for blake3
      Tests the same input strings with digests validated by
      b3sum (https://crates.io/crates/b3sum).
* rgw_ckum: switch to accel crc32c
      The internal Ceph convention appears to be to omit a final
      xor where ceph_crc32c is used, but it's required for compatibility
      with AWS implementations.
* rgw_cksum: add XXH3 digest
* rgw_cksum: write class encoder for rgw::digest::Cksum
* rgw_cksum: also reverse crc32c (REBASEME)
      Mark noticed that the crc32c output was being tested against a
      byteswapped value (crc32c also needs byteswap on LE).
* rgw_cksum: add digest::Cksum serde tests
* rgw_cksum: fix main(...) linkage
      (so we run our main unit and not the one in gmock
* rgw_cksum: convenience extensions for integration with RGW/S3
* introduce rgw_cksum unique_ptr factory
* rgw_cksum: mark string transform accessors const
* rgw_cksum: fixup unittest_rgw_chksum compilation--all existing tests pass
* rgw_cksum: hook up put-object checksum workflow
* tweaks to report on content checksum mismatch
* rgw_cksum: match SDK as well as general checksum header
* make it more efficient
* initialize RGWPutObj_Cksum::digest
* rgw_cksum:  write parse_cksum_type w/const char* arg
* initialize _type correctly; doing armored wrong
* fix expected checksum header name, clean up verify
* fix output on checksum verify fail, cleanup
* introduce Cksum::to_armor();  all AWS cases pass
* oops, extra 0-byte at end of to_armor() result
* use to_armor() with decoded checksums (i.e., for all S3 presentation)
* remove unnecessary finalize() in RGWPutObj_Cksum dtor
* RGWPutObj_Cksum::Factory fixes
* fixes test_object_checksum_sha256
* choose preferred checksum algorithm header if both are present
* log verified checksums in RGWPutObj::execute at 16
* checksum not needed in policy condition
* fix checksum trailing header format
* move Blake3 to rgw_digest_blake3.h

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agocommon/rgw: add BLAKE3 submodule
Matt Benjamin [Tue, 25 Jun 2024 15:45:35 +0000 (11:45 -0400)]
common/rgw: add BLAKE3 submodule

Fast, cryptographic hash functions suitable for block checksums.
BLAKE3 is the faster, more portable successor to Blake2(b,s),
now with 4x throughput.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agocommon: update xxHash submodule to v082
Matt Benjamin [Thu, 15 Feb 2024 23:24:58 +0000 (18:24 -0500)]
common: update xxHash submodule to v082

Among other things, provides XXH128 and XXH3.  Includes
compile fixes for gcc-13.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agoMerge pull request #58407 from nbalacha/wip-nbalacha-rbd-qa-fixes
Ilya Dryomov [Wed, 3 Jul 2024 16:36:48 +0000 (18:36 +0200)]
Merge pull request #58407 from nbalacha/wip-nbalacha-rbd-qa-fixes

qa/workunits/rbd: minor rbd_mirror_helpers.sh fixes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
12 months agoMerge pull request #58403 from ivancich/wip-fix-bucket-sync-thread
Casey Bodley [Wed, 3 Jul 2024 16:13:47 +0000 (17:13 +0100)]
Merge pull request #58403 from ivancich/wip-fix-bucket-sync-thread

rgw: fix bucket sync thread waiting inordinate amount of time

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoMerge pull request #58378 from YaZasnyal/fix/discard_buffer_size
Casey Bodley [Wed, 3 Jul 2024 14:58:20 +0000 (15:58 +0100)]
Merge pull request #58378 from YaZasnyal/fix/discard_buffer_size

rgw: DoS when QuotaExceeded

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoqa: fix log errors for cephadm tests 58344/head
Guillaume Abrioux [Thu, 27 Jun 2024 08:12:10 +0000 (10:12 +0200)]
qa: fix log errors for cephadm tests

This fixes a lot of errors induced by the log scrapper check.

Fixes: https://tracker.ceph.com/issues/66751
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
12 months agoMerge pull request #58119 from Suyashd999/fix-uam8
Casey Bodley [Wed, 3 Jul 2024 14:08:33 +0000 (15:08 +0100)]
Merge pull request #58119 from Suyashd999/fix-uam8

rgw_user: 'keys' is in undefined state after being moved.

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoMerge pull request #58339 from clwluvw/s3website-no-host
Casey Bodley [Wed, 3 Jul 2024 14:04:15 +0000 (15:04 +0100)]
Merge pull request #58339 from clwluvw/s3website-no-host

rgw: use s3website REST when higher priority and no host header

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoMerge pull request #58399 from cbodley/wip-rgw-deshard-encoding
Casey Bodley [Wed, 3 Jul 2024 14:03:34 +0000 (15:03 +0100)]
Merge pull request #58399 from cbodley/wip-rgw-deshard-encoding

cls/rgw: bump cls_rgw_reshard_entry decode version to match encode

Reviewed-by: Adam Emerson <aemerson@redhat.com>
12 months agoMerge pull request #57060 from awojno-bloomberg/wip-awojno-status-header
Casey Bodley [Wed, 3 Jul 2024 14:02:55 +0000 (15:02 +0100)]
Merge pull request #57060 from awojno-bloomberg/wip-awojno-status-header

rgw: implement x-amz-replication-status for PENDING & COMPLETED

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agotest/allocsim: trim bufferlist before sending 58395/head
Pere Diaz Bou [Wed, 3 Jul 2024 13:55:36 +0000 (15:55 +0200)]
test/allocsim: trim bufferlist before sending

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agotest/allocsim: worker threads, op hashed by client
Pere Diaz Bou [Wed, 3 Jul 2024 10:59:20 +0000 (12:59 +0200)]
test/allocsim: worker threads, op hashed by client

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agoqa/workunits/rbd: minor fixes 58407/head
N Balachandran [Wed, 3 Jul 2024 10:46:13 +0000 (16:16 +0530)]
qa/workunits/rbd: minor fixes

Corrected paths and added missing spaces.

Signed-off-by: N Balachandran <nibalach@redhat.com>
12 months agotest/allocsim: mmap threaded parser
Pere Diaz Bou [Wed, 3 Jul 2024 10:21:46 +0000 (12:21 +0200)]
test/allocsim: mmap threaded parser

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agotest/allocsim: comment running op cout
Pere Diaz Bou [Wed, 3 Jul 2024 08:52:28 +0000 (10:52 +0200)]
test/allocsim: comment running op cout

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agotest/allocsim: comment parssing cout
Pere Diaz Bou [Wed, 3 Jul 2024 08:36:05 +0000 (10:36 +0200)]
test/allocsim: comment parssing cout

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agotest/allocsim: truncate,zero,writefull replay operations
Pere Diaz Bou [Wed, 3 Jul 2024 08:26:23 +0000 (10:26 +0200)]
test/allocsim: truncate,zero,writefull replay operations

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agoMerge pull request #57985 from thotz/add-storage-adminops-api
Casey Bodley [Tue, 2 Jul 2024 19:55:25 +0000 (20:55 +0100)]
Merge pull request #57985 from thotz/add-storage-adminops-api

rgw/adminops: add option to provide storageclass adminops user apis

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
12 months agoMerge pull request #57858 from adamemerson/wip-66340
Casey Bodley [Tue, 2 Jul 2024 19:46:47 +0000 (20:46 +0100)]
Merge pull request #57858 from adamemerson/wip-66340

rgw/multisite: Fix use-after-move in retry logic in logbacking

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
Reviewed-by: Suyash Dongre <suyashd999@gmail.com>
12 months agorgw: fix bucket sync thread waiting inordinate amount of time 58403/head
J. Eric Ivancich [Tue, 2 Jul 2024 17:50:27 +0000 (13:50 -0400)]
rgw: fix bucket sync thread waiting inordinate amount of time

A signed value was read in as an unsigned value, so -1 was interpreted
as a very large value. This made the thread wait period in the bucket
sync thread inordinately long, preventing bucket sync and dynamic
resharding (unless values appropriate for debugging were set).

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
12 months agoMerge pull request #58388 from sseshasa/wip-fix-perf-basic-failure
Sridhar Seshasayee [Tue, 2 Jul 2024 15:07:54 +0000 (20:37 +0530)]
Merge pull request #58388 from sseshasa/wip-fix-perf-basic-failure

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

Reviewed-by: Neha Ojha <nojha@redhat.com>
12 months agoMerge PR #58375 into main
Patrick Donnelly [Tue, 2 Jul 2024 14:42:50 +0000 (10:42 -0400)]
Merge PR #58375 into main

* refs/pull/58375/head:
qa/crontab: convert fs main run to monthly at higher priority

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agocls/rgw: bump cls_rgw_reshard_entry decode version to match encode 58399/head
Casey Bodley [Tue, 2 Jul 2024 13:07:51 +0000 (09:07 -0400)]
cls/rgw: bump cls_rgw_reshard_entry decode version to match encode

9302fbb3f5416871c1978af5d45f3bf568c2c190 bumped the version in
ENCODE_START() but missed DECODE_START(). i don't think that would cause
any decode failures, unless we later raise ENCODE_START's compat_v above
2

Signed-off-by: Casey Bodley <cbodley@redhat.com>
12 months agoMerge pull request #58081 from sajibreadd/wip-65861
Casey Bodley [Tue, 2 Jul 2024 12:41:14 +0000 (13:41 +0100)]
Merge pull request #58081 from sajibreadd/wip-65861

notifications: report an error when persistent queue deletion failed

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
12 months agoMerge pull request #57537 from kchheda3/wip_fix_notification_caching
Casey Bodley [Tue, 2 Jul 2024 12:40:58 +0000 (13:40 +0100)]
Merge pull request #57537 from kchheda3/wip_fix_notification_caching

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

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
12 months agotest/allocsim: osd op scraper replayer
Pere Diaz Bou [Tue, 2 Jul 2024 10:56:51 +0000 (12:56 +0200)]
test/allocsim: osd op scraper replayer

For now this is a simple single threaded replayer with a 64 iodepth
where we load all ops from a file and try to push them in order as soon
as we can.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
12 months agoqa/tasks: Initialize 'monitoring_profiles' spec to an empty dict 58388/head
Sridhar Seshasayee [Tue, 2 Jul 2024 07:45:56 +0000 (13:15 +0530)]
qa/tasks: Initialize 'monitoring_profiles' spec to an empty dict

Initialize 'monitoring_profiles' to an empty python dictionary instead of
'None' to prevent the cbt task from failing due to the TypeError exception
when attempting to iterate a 'NoneType'.

The bug was introduced as part of https://github.com/ceph/ceph/pull/51438
and commit e174c6e2cf6c90bd130320eb1f251b62d4b4d6c2.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
Fixes: https://tracker.ceph.com/issues/66799
12 months agoMerge pull request #55564 from adk3798/cephadm-cert-store
Adam King [Mon, 1 Jul 2024 21:57:39 +0000 (17:57 -0400)]
Merge pull request #55564 from adk3798/cephadm-cert-store

mgr/cephadm: Add Cert/Key Store

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
12 months agoMerge pull request #58092 from zdover23/wip-doc-2024-06-18-start-os-recs
Ilya Dryomov [Mon, 1 Jul 2024 21:04:11 +0000 (23:04 +0200)]
Merge pull request #58092 from zdover23/wip-doc-2024-06-18-start-os-recs

doc/start: remove mention of Centos 8 support

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
12 months agoMerge pull request #58230 from rkachach/fix_secure_monitoring_check
Adam King [Mon, 1 Jul 2024 20:03:19 +0000 (16:03 -0400)]
Merge pull request #58230 from rkachach/fix_secure_monitoring_check

mgr/cephadm: redeploy when some dependency daemon is add/removed

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #58154 from tengjie5/tmp3
Adam King [Mon, 1 Jul 2024 20:01:58 +0000 (16:01 -0400)]
Merge pull request #58154 from tengjie5/tmp3

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

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #57975 from dvanders/dvanders_ipv4
Adam King [Mon, 1 Jul 2024 20:00:05 +0000 (16:00 -0400)]
Merge pull request #57975 from dvanders/dvanders_ipv4

cephadm: disable ms_bind_ipv4 if we will enable ms_bind_ipv6

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #57848 from thegreenbear/cephadm-haproxy-bugged-config
Adam King [Mon, 1 Jul 2024 19:55:16 +0000 (15:55 -0400)]
Merge pull request #57848 from thegreenbear/cephadm-haproxy-bugged-config

cephadm/services/ingress: fixed keepalived config bug

Reviewed-by: Adam King <adking@rehat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57338 from phlogistonjohn/jjm-mgr-module-cleanups
Adam King [Mon, 1 Jul 2024 19:53:43 +0000 (15:53 -0400)]
Merge pull request #57338 from phlogistonjohn/jjm-mgr-module-cleanups

pybind/mgr: mgr_module.py pep8/flake8 cleanups & tox updates

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #57394 from phlogistonjohn/jjm-smb-module-testing
Adam King [Mon, 1 Jul 2024 19:52:29 +0000 (15:52 -0400)]
Merge pull request #57394 from phlogistonjohn/jjm-smb-module-testing

smb: improve smb module test coverage

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
12 months agodoc/start: remove mention of Centos 8 support 58092/head
Zac Dover [Mon, 17 Jun 2024 15:09:44 +0000 (01:09 +1000)]
doc/start: remove mention of Centos 8 support

Remove information so that it is clear that Centos 8 will no longer be
supported by Ceph.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agorgw: Changed discard buffer size 58378/head
Artem Vasiliev [Mon, 1 Jul 2024 16:39:58 +0000 (19:39 +0300)]
rgw: Changed discard buffer size

Signed-off-by: Artem Vasilev <art.a.vasilev@tbank.ru>
12 months agoqa/crontab: convert fs main run to monthly at higher priority 58375/head
Patrick Donnelly [Mon, 1 Jul 2024 16:24:57 +0000 (12:24 -0400)]
qa/crontab: convert fs main run to monthly at higher priority

The lab can't keep up with current nightly load; reduce fs runs on main branch
to once a month but raise priority so we have a reliable baseline.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agoMerge pull request #57238 from rhcs-dashboard/lifecycle-policies
Nizamudeen A [Mon, 1 Jul 2024 14:29:45 +0000 (19:59 +0530)]
Merge pull request #57238 from rhcs-dashboard/lifecycle-policies

mgr/dashboard: add RGW lifecycle management

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58366 from zdover23/wip-doc-2024-07-01-cephfs-mount-prereqs
Zac Dover [Mon, 1 Jul 2024 11:13:20 +0000 (21:13 +1000)]
Merge pull request #58366 from zdover23/wip-doc-2024-07-01-cephfs-mount-prereqs

doc/cephfs: update cephfs-shell link

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agoMerge pull request #58260 from rhcs-dashboard/rgw-sync-policy
Nizamudeen A [Mon, 1 Jul 2024 10:11:43 +0000 (15:41 +0530)]
Merge pull request #58260 from rhcs-dashboard/rgw-sync-policy

mgr/dashborad: RGW sync policy

Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #56150 from xxhdx1985126/wip-seastore-teuthology
Matan Breizman [Mon, 1 Jul 2024 09:02:57 +0000 (12:02 +0300)]
Merge pull request #56150 from xxhdx1985126/wip-seastore-teuthology

qa/suites/crimson-rados: add seastore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 months agomgr/dashboard: add RGW lifecycle management 57238/head
Pedro Gonzalez Gomez [Thu, 2 May 2024 14:37:38 +0000 (16:37 +0200)]
mgr/dashboard: add RGW lifecycle management

Fixes: https://tracker.ceph.com/issues/50327
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
12 months agomgr/dashborad: RGW sync policy 58260/head
Naman Munet [Tue, 25 Jun 2024 11:54:51 +0000 (17:24 +0530)]
mgr/dashborad: RGW sync policy

Fixes: https://tracker.ceph.com/issues/66576
Signed-off-by: Naman Munet <nmunet@redhat.com>
12 months agodoc/cephfs: update cephfs-shell link 58366/head
Zac Dover [Mon, 1 Jul 2024 05:57:40 +0000 (15:57 +1000)]
doc/cephfs: update cephfs-shell link

Repair the link to cephfs-shell.rst in doc/cephfs/cephfs-shell.rst that
was broken in https://github.com/ceph/ceph/pull/41165/ when
doc/cephfs/cephfs-shell.rst was moved to doc/man/8/cephfs-shell.rst.

This commit is made in response to a request by Lander Duncan that was
made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agoMerge pull request #58363 from zdover23/wip-doc-2024-07-01-start-hardware-recs
Anthony D'Atri [Mon, 1 Jul 2024 04:16:07 +0000 (00:16 -0400)]
Merge pull request #58363 from zdover23/wip-doc-2024-07-01-start-hardware-recs

doc/start: s/overprovsioning/overprovisioning/

12 months agodoc/start: s/overprovsioning/overprovisioning/ 58363/head
Zac Dover [Mon, 1 Jul 2024 03:27:40 +0000 (13:27 +1000)]
doc/start: s/overprovsioning/overprovisioning/

Restore a missing "i" in "overprovisioning" in
doc/start/hardware-recommendations.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agoMerge pull request #58102 from yuvalif/wip-yuval-64690
Casey Bodley [Sun, 30 Jun 2024 14:58:01 +0000 (15:58 +0100)]
Merge pull request #58102 from yuvalif/wip-yuval-64690

rgw/amqp: fix valgrind errors on uninitialized memory

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoqa/suites/crimson-rados: disable seastore with default thrash 56150/head
Matan Breizman [Sun, 30 Jun 2024 09:15:03 +0000 (12:15 +0300)]
qa/suites/crimson-rados: disable seastore with default thrash

Currently we have 2 types of thrash tests: default and simple.
Seastore passes only the simple one.

The 2 types are seperated to diffrent dirs. `thrash` dir
will be tested with bluestore only.
`thrash_simple` will be tested with both backend.

Once Seastore passes default ones, we can merge back the two dirs

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 months agoMerge pull request #58124 from myoungwon/wip-fix-66368
Kefu Chai [Sun, 30 Jun 2024 09:05:55 +0000 (17:05 +0800)]
Merge pull request #58124 from myoungwon/wip-fix-66368

debian: add ceph-dedup-daemon to the ceph-test package

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
12 months agoMerge pull request #58358 from zdover23/wip-doc-2024-06-29-cephfs-fs-vols
Anthony D'Atri [Sat, 29 Jun 2024 14:22:01 +0000 (10:22 -0400)]
Merge pull request #58358 from zdover23/wip-doc-2024-06-29-cephfs-fs-vols

doc/cephfs: take Anthony's suggestion

12 months agodoc/cephfs: take Anthony's suggestion 58358/head
Zac Dover [Sat, 29 Jun 2024 12:11:55 +0000 (22:11 +1000)]
doc/cephfs: take Anthony's suggestion

Incorporate Anthony's suggestion in
https://github.com/ceph/ceph/pull/57567#discussion_r1607016050 into
doc/cephfs/fs-volumes.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agoMerge pull request #58133 from TRYTOBE8TME/wip-rgw-null-ver-final
Shilpa Jagannath [Fri, 28 Jun 2024 23:06:23 +0000 (16:06 -0700)]
Merge pull request #58133 from TRYTOBE8TME/wip-rgw-null-ver-final

src/rgw: Deleting an object with null version fix

12 months agorgw: correct tag checking logic in bucket_exports_object 57060/head
Alex Wojno [Fri, 28 Jun 2024 18:32:55 +0000 (14:32 -0400)]
rgw: correct tag checking logic in bucket_exports_object

Signed-off-by: Alex Wojno <awojno@bloomberg.net>
12 months agoMerge pull request #55945 from lxbsz/wip-64679-new
Venky Shankar [Fri, 28 Jun 2024 17:12:17 +0000 (22:42 +0530)]
Merge pull request #55945 from lxbsz/wip-64679-new

mds/client: return -ENODATA when xattr doesn't exist for removexattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agorgw/multisite: use bilog_flags in cls_rgw_bucket_unlink_instance as well. 58133/head
Shilpa Jagannath [Thu, 27 Jun 2024 20:58:53 +0000 (16:58 -0400)]
rgw/multisite: use bilog_flags in cls_rgw_bucket_unlink_instance as well.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
12 months agorgw: PubObj uses RGWObjTags by value
Casey Bodley [Fri, 28 Jun 2024 17:02:12 +0000 (13:02 -0400)]
rgw: PubObj uses RGWObjTags by value

stop wrapping RGWObjTags in a unique_ptr, and just use empty() or count() to determine whether any tags are present

Signed-off-by: Casey Bodley <cbodley@redhat.com>
12 months agoMerge pull request #58300 from idryomov/wip-66300-test-fixup
Ilya Dryomov [Fri, 28 Jun 2024 11:40:32 +0000 (13:40 +0200)]
Merge pull request #58300 from idryomov/wip-66300-test-fixup

test/librbd: avoid caching effects TestGroup.add_snapshot{,PP}

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agorgw: use s3website REST when higher priority and no host header 58339/head
Seena Fallah [Fri, 28 Jun 2024 10:30:54 +0000 (12:30 +0200)]
rgw: use s3website REST when higher priority and no host header

If the Host header is missing, but the s3website API is enabled and
has a higher priority than the regular S3 API, then we should still
treat the request as a website request.

Fixes: https://tracker.ceph.com/issues/66748
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
12 months agoMerge pull request #58290 from guits/fix_nvme_loop
Guillaume Abrioux [Fri, 28 Jun 2024 10:25:32 +0000 (12:25 +0200)]
Merge pull request #58290 from guits/fix_nvme_loop

tests: make sure nvmetcli and nvme-cli are up to date

12 months agoMerge pull request #58201 from idryomov/wip-66570
Ilya Dryomov [Fri, 28 Jun 2024 09:56:34 +0000 (11:56 +0200)]
Merge pull request #58201 from idryomov/wip-66570

librbd: make diff-iterate in fast-diff mode aware of encryption

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58265 from idryomov/wip-rbd-pybind-utc-timestamps
Ilya Dryomov [Fri, 28 Jun 2024 09:54:41 +0000 (11:54 +0200)]
Merge pull request #58265 from idryomov/wip-rbd-pybind-utc-timestamps

pybind/rbd: change to return "aware" datetime objects

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58286 from rhcs-dashboard/clone-validation
Nizamudeen A [Fri, 28 Jun 2024 06:57:03 +0000 (12:27 +0530)]
Merge pull request #58286 from rhcs-dashboard/clone-validation

mgr/dashboard: fix clone async validators with different groups

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
12 months agotest/libcephfs: add ceph_test_libcephfs_vxattr 55945/head
Xiubo Li [Tue, 5 Mar 2024 04:38:05 +0000 (12:38 +0800)]
test/libcephfs: add ceph_test_libcephfs_vxattr

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agotest/libcephfs: add removexattr test support
Xiubo Li [Tue, 5 Mar 2024 00:59:32 +0000 (08:59 +0800)]
test/libcephfs: add removexattr test support

There have two ways to remove xattrs, removexattr() and setxattr()
with the XATTR_REPLACE flags set.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agotest/libcephfs: move FsCrypt xattr test to dedicated test file
Xiubo Li [Tue, 5 Mar 2024 00:32:34 +0000 (08:32 +0800)]
test/libcephfs: move FsCrypt xattr test to dedicated test file

Switch to use XATTR_CREATE.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agomds/client: return -ENODATA when xattr doesn't exist for removexattr
Xiubo Li [Mon, 4 Mar 2024 03:38:28 +0000 (11:38 +0800)]
mds/client: return -ENODATA when xattr doesn't exist for removexattr

The POSIX says we should return -ENODATA when the corresponding
attribute doesn't exist when removing it. While there is one
exception for the acl ones in the local filesystems, for exmaple
for xfs, which will treat it as success.

While in the MDS side there have two ways to remove the xattr:
sending a CEPH_MDS_OP_SETXATTR request by setting the 'flags' with
CEPH_XATTR_REMOVE and just issued a CEPH_MDS_OP_RMXATTR request
directly.

For the first one it will always return 0 when the corresponding
xattr doesn't exist, while for the later one it will return
-ENODATA instead, this should be fixed in MDS to make them to be
consistent.

Added a CEPH_XATTR_REMOVE2 new flags and will return -ENODATA errno
directly when the crresponding xattr doesn't exist. Just keeps the
old CEPH_XATTR_REMOVE flags to make it to be compatible with old
clients.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
12 months agosrc/test/rgw: Adding a test for check
Kalpesh Pandya [Mon, 15 Apr 2024 03:23:54 +0000 (08:53 +0530)]
src/test/rgw: Adding a test for check

Addition of a test to rgw_multi to check the
working of deleting an object with null version.

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
12 months agorgw/multisite: add a flag to bilog_flags and use it to set/unset null version
Shilpa Jagannath [Thu, 18 Jan 2024 18:47:49 +0000 (13:47 -0500)]
rgw/multisite: add a flag to bilog_flags and use it to set/unset null version

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
12 months agoMerge PR #57619 into main
Venky Shankar [Thu, 27 Jun 2024 16:34:37 +0000 (22:04 +0530)]
Merge PR #57619 into main

* refs/pull/57619/head:
qa/cephfs: use wait_for_daemon() instead of sleep()-ing
qa/cephfs: mark file system joinable for fs rename tests before unmounting clients

Reviewed-by: Rishabh Dave <ridave@redhat.com>
12 months agoMerge pull request #57271 from tj90241/a-better-crc32c
Yuri Weinstein [Thu, 27 Jun 2024 15:53:16 +0000 (08:53 -0700)]
Merge pull request #57271 from tj90241/a-better-crc32c

common: Leverage a better CRC32C implementation

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
12 months agoMerge pull request #57107 from ifed01/wip-ifed-async-compact
Yuri Weinstein [Thu, 27 Jun 2024 15:51:34 +0000 (08:51 -0700)]
Merge pull request #57107 from ifed01/wip-ifed-async-compact

os/bluestore: enable async manual compactions

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
12 months agoMerge pull request #56334 from NitzanMordhai/wip-nitzan-wathcnotify3-timout-increase
Yuri Weinstein [Thu, 27 Jun 2024 15:50:54 +0000 (08:50 -0700)]
Merge pull request #56334 from NitzanMordhai/wip-nitzan-wathcnotify3-timout-increase

test/librados: WatchNotify3 increase timeout

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
12 months agoMerge pull request #57581 from adamemerson/wip-boost-1.85
Casey Bodley [Thu, 27 Jun 2024 15:35:32 +0000 (16:35 +0100)]
Merge pull request #57581 from adamemerson/wip-boost-1.85

build: Bump boost version to 1.85

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agoqa/suites/crimson-rados: add seastore
Xuehan Xu [Wed, 13 Mar 2024 06:37:36 +0000 (14:37 +0800)]
qa/suites/crimson-rados: add seastore

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 months agoMerge PR #53755 into main
Venky Shankar [Thu, 27 Jun 2024 14:28:50 +0000 (19:58 +0530)]
Merge PR #53755 into main

* refs/pull/53755/head:
PendingReleaseNotes: add note about CephFS set_vxattrs
doc/cephfs: Update docs to match remove functionality and respective vxattrs
qa: Add test coverage for vxattr behavior
qa: Add removexattr to support setfattr removal.
mds: Implement remove for ceph vxattrs

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
12 months agoMerge PR #56476 into main
Venky Shankar [Thu, 27 Jun 2024 14:26:29 +0000 (19:56 +0530)]
Merge PR #56476 into main

* refs/pull/56476/head:
qa: add README to every fs:upgrade sub-suite
qa: upgrade sub-suite mds_upgrade_sequence from n-1 and n-2 releases

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agoMerge pull request #57632 from cbodley/wip-http-mgr-locking
Casey Bodley [Thu, 27 Jun 2024 14:07:06 +0000 (15:07 +0100)]
Merge pull request #57632 from cbodley/wip-http-mgr-locking

rgw/http: check 'done' under mutex

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
12 months agotests: make sure nvmetcli and nvme-cli are up to date 58290/head
Guillaume Abrioux [Wed, 26 Jun 2024 10:35:43 +0000 (10:35 +0000)]
tests: make sure nvmetcli and nvme-cli are up to date

Otherwise jobs end up with the following failure:

```
2024-06-25T14:22:18.659 INFO:teuthology.orchestra.run.smithi098.stderr:Failed to write to /dev/nvme-fabrics: Invalid argument
```

Also, the output of nvme list has changed so we have to update
qa/tasks/nvme_loop.py accordingly.

Fixes: https://tracker.ceph.com/issues/66707
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
12 months agoMerge pull request #58287 from pereman2/libradospp-example-doc
Zac Dover [Thu, 27 Jun 2024 12:21:08 +0000 (22:21 +1000)]
Merge pull request #58287 from pereman2/libradospp-example-doc

doc/rados: update how to install c++ header files

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoMerge pull request #58299 from nbalacha/wip-nbalacha-doc-typos
Zac Dover [Thu, 27 Jun 2024 12:16:42 +0000 (22:16 +1000)]
Merge pull request #58299 from nbalacha/wip-nbalacha-doc-typos

doc/dev: Fix typos in encoding.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58036 from Suyashd999/core-false-positives
Ronen Friedman [Thu, 27 Jun 2024 12:01:24 +0000 (15:01 +0300)]
Merge pull request #58036 from Suyashd999/core-false-positives

osd: suppressing two false clang-tidy detections

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
12 months ago'keys' used after being moved. 58119/head
Suyash Dongre [Tue, 18 Jun 2024 17:37:29 +0000 (23:07 +0530)]
'keys' used after being moved.

Fixes: https://tracker.ceph.com/issues/66553
Signed-off-by: Suyash Dongre <suyashd999@gmail.com>
12 months agoMerge pull request #58279 from rhcs-dashboard/cephfs-nav-fix
afreen23 [Thu, 27 Jun 2024 09:14:57 +0000 (14:44 +0530)]
Merge pull request #58279 from rhcs-dashboard/cephfs-nav-fix

mgr/dashboard: fix nav urls for cephfs and nfs

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
12 months agotest/librbd: avoid caching effects TestGroup.add_snapshot{,PP} 58300/head
Ilya Dryomov [Wed, 26 Jun 2024 16:24:30 +0000 (18:24 +0200)]
test/librbd: avoid caching effects TestGroup.add_snapshot{,PP}

After rollback started being tested in commit b3977c53c930
("test/librbd: make rollback in TestGroup.add_snapshot{,PP}
meaningful"), these tests can fail on comparing post-rollback
data to expected data if run with exclusive lock disabled.
This doesn't occur with exclusive lock enabled because the RBD
cache gets invalidated implicitly before releasing the lock.

While at it, pass LIBRADOS_OP_FLAG_FADVISE_FUA to avoid relying
on any cache settings that happen to be in effect.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>