]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years ago18.1.2 52260/head v18.1.2
Ceph Release Team [Tue, 27 Jun 2023 19:59:59 +0000 (19:59 +0000)]
18.1.2

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agoMerge pull request #51608 from vshankar/tr-61234
Yuri Weinstein [Tue, 27 Jun 2023 14:47:13 +0000 (10:47 -0400)]
Merge pull request #51608 from vshankar/tr-61234

reef: mds: rdlock_path_xlock_dentry supports returning auth target inode

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #51606 from vshankar/tr-59723
Yuri Weinstein [Tue, 27 Jun 2023 14:46:39 +0000 (10:46 -0400)]
Merge pull request #51606 from vshankar/tr-59723

reef: qa: run scrub post file system recovery

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #51515 from dparmar18/wip-61187-reef
Yuri Weinstein [Tue, 27 Jun 2023 14:45:46 +0000 (10:45 -0400)]
Merge pull request #51515 from dparmar18/wip-61187-reef

reef: qa: ignore cluster warning when fs flag refuse_client_session is set

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #51041 from vshankar/tr-59412
Yuri Weinstein [Tue, 27 Jun 2023 14:45:17 +0000 (10:45 -0400)]
Merge pull request #51041 from vshankar/tr-59412

reef: client, mds: update mtime and change attr for snapdir when snaps are created, deleted and renamed

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #51040 from vshankar/tr-59409
Yuri Weinstein [Tue, 27 Jun 2023 14:44:46 +0000 (10:44 -0400)]
Merge pull request #51040 from vshankar/tr-59409

reef: mgr/volumes: avoid returning -ESHUTDOWN back to cli

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #50997 from lxbsz/wip-59404
Yuri Weinstein [Tue, 27 Jun 2023 14:44:08 +0000 (10:44 -0400)]
Merge pull request #50997 from lxbsz/wip-59404

reef: mds: force replay sessionmap version

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #50990 from lxbsz/wip-59399
Yuri Weinstein [Tue, 27 Jun 2023 14:43:33 +0000 (10:43 -0400)]
Merge pull request #50990 from lxbsz/wip-59399

reef: qa: enable kclient test for newop test

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #50987 from lxbsz/wip-59267
Yuri Weinstein [Tue, 27 Jun 2023 14:42:39 +0000 (10:42 -0400)]
Merge pull request #50987 from lxbsz/wip-59267

reef: client: clear the suid/sgid in fallocate path

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #50984 from lxbsz/wip-59384
Yuri Weinstein [Tue, 27 Jun 2023 14:42:04 +0000 (10:42 -0400)]
Merge pull request #50984 from lxbsz/wip-59384

reef: mds: wait for unlink operation to finish

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge pull request #52148 from idryomov/wip-61616-reef
Yuri Weinstein [Mon, 26 Jun 2023 21:32:53 +0000 (17:32 -0400)]
Merge pull request #52148 from idryomov/wip-61616-reef

reef: librbd: avoid object map corruption in snapshots taken under I/O

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #52116 from cbodley/wip-61729-reef
Yuri Weinstein [Mon, 26 Jun 2023 21:32:10 +0000 (17:32 -0400)]
Merge pull request #52116 from cbodley/wip-61729-reef

reef: librados: aio operate functions can set times

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #52041 from cbodley/wip-61665-reef
Yuri Weinstein [Mon, 26 Jun 2023 19:16:48 +0000 (15:16 -0400)]
Merge pull request #52041 from cbodley/wip-61665-reef

reef: qa: suppress SyscallParam error during startup on jammy

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #52183 from zdover23/wip-doc-2023-06-25-backport-52181-to-reef
zdover23 [Sun, 25 Jun 2023 23:23:10 +0000 (09:23 +1000)]
Merge pull request #52183 from zdover23/wip-doc-2023-06-25-backport-52181-to-reef

reef: doc/radosgw: remove pipes from s3select.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/radosgw: remove pipes from s3select.rst 52183/head
Zac Dover [Sun, 25 Jun 2023 09:03:07 +0000 (19:03 +1000)]
doc/radosgw: remove pipes from s3select.rst

Remove strange formatting introduced in
61d6813726fc08980903c6a6c50b0a5797ba7193.

Note to the documentation team: This is not a line-edit. This commit
includes nothing but the removal of pipes added to the left of much of
the text in this file. Several future commits will line-edit this file
and correct its formatting.

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

2 years agoMerge pull request #52179 from zdover23/wip-doc-2023-06-24-backport-52167-to-reef
Anthony D'Atri [Sat, 24 Jun 2023 14:06:23 +0000 (10:06 -0400)]
Merge pull request #52179 from zdover23/wip-doc-2023-06-24-backport-52167-to-reef

reef: doc/rados: edit crush-map-edits.rst (1 of x)

2 years agodoc/rados: edit crush-map-edits.rst (1 of x) 52179/head
Zac Dover [Fri, 23 Jun 2023 00:59:10 +0000 (10:59 +1000)]
doc/rados: edit crush-map-edits.rst (1 of x)

Edit doc/rados/operations/crush-map-edits.rst.

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

2 years agoMerge pull request #52108 from mkogan1/wip-58911-reef
Yuri Weinstein [Fri, 23 Jun 2023 16:17:46 +0000 (12:17 -0400)]
Merge pull request #52108 from mkogan1/wip-58911-reef

reef: RGW: Pass and check destination zone trace when fetching object

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #52053 from trociny/wip-61432-reef
Yuri Weinstein [Fri, 23 Jun 2023 16:17:16 +0000 (12:17 -0400)]
Merge pull request #52053 from trociny/wip-61432-reef

reef: rgw: multisite data log flag not used

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #52119 from cbodley/wip-61380-reef
Yuri Weinstein [Fri, 23 Jun 2023 16:13:00 +0000 (12:13 -0400)]
Merge pull request #52119 from cbodley/wip-61380-reef

reef: Fix FTBFS on gcc 13

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #52168 from zdover23/wip-doc-2023-06-23-backport-45746-to-reef 52101/head
zdover23 [Fri, 23 Jun 2023 03:26:37 +0000 (13:26 +1000)]
Merge pull request #52168 from zdover23/wip-doc-2023-06-23-backport-45746-to-reef

reef: doc,test: clean up crush rule min/max_size leftovers

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2 years agodoc,test: clean up crush rule min/max_size leftovers 52168/head
Ilya Dryomov [Mon, 28 Mar 2022 18:35:35 +0000 (20:35 +0200)]
doc,test: clean up crush rule min/max_size leftovers

These fields were removed in quincy in commit f95eb04411cd ("crush:
eliminate min_size and max_size").

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

2 years agoMerge pull request #52152 from zdover23/wip-doc-2023-06-22-backport-52123-to-reef
Anthony D'Atri [Thu, 22 Jun 2023 12:29:48 +0000 (08:29 -0400)]
Merge pull request #52152 from zdover23/wip-doc-2023-06-22-backport-52123-to-reef

reef: doc/rados: edit control.rst (1 of x)

2 years agodoc/rados: edit control.rst (1 of x) 52152/head
Zac Dover [Tue, 20 Jun 2023 02:12:44 +0000 (12:12 +1000)]
doc/rados: edit control.rst (1 of x)

Edit doc/rados/operations/control.rst.

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

2 years agoqa/workunits/rbd: make continuous export-diff test actually work 52148/head
Ilya Dryomov [Fri, 16 Jun 2023 12:01:52 +0000 (14:01 +0200)]
qa/workunits/rbd: make continuous export-diff test actually work

The current version is pretty useless:

- "rbd bench" writes the same byte (0xff) over and over again, so
  almost all checksumming is in vain
- snapshots are taken in a steady state (i.e. not under I/O), so no
  race conditions can get exposed
- even with these caveats, it's not wired up into the suite

Redo this workunit to be a reliable reproducer for the issue fixed
in the previous commit and wire it up for both krbd and rbd-nbd.

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

2 years agolibrbd: stop passing IOContext to image dispatch write methods
Ilya Dryomov [Tue, 13 Jun 2023 11:36:02 +0000 (13:36 +0200)]
librbd: stop passing IOContext to image dispatch write methods

This is a major footgun since any value passed e.g. at the API layer
may be stale by the time we get to object dispatch.  All callers are
passing the IOContext returned by get_data_io_context() for their
ImageCtx anyway, highlighting that the parameter is fictitious.

Only the read method can meaningfully take IOContext.

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

2 years agolibrbd: use an up-to-date snap context when owning the exclusive lock
Ilya Dryomov [Mon, 12 Jun 2023 19:45:03 +0000 (21:45 +0200)]
librbd: use an up-to-date snap context when owning the exclusive lock

By effectively moving capturing of the snap context to the API layer,
commit 1d0a3b17f590 ("librbd: pass IOContext to image-extent IO
dispatch methods") introduced a nasty regression.  The snap context can
be captured only after exclusive lock is safely held for the duration
of dealing with the image request and even then must be refreshed if
a snapshot creation request is accepted from a peer.  This is needed to
ensure correctness of the object map in general and fast-diff states in
particular (OBJECT_EXISTS vs OBJECT_EXISTS_CLEAN) and object deltas
computed based off of them.  Otherwise the object map that is forked
for the snapshot isn't guaranteed to accurately reflect the contents of
the snapshot when the snapshot is taken under I/O (as in disabling the
object map may lead to different results being returned for reads).

The regression affects mainly differential backup and snapshot-based
mirroring use cases with object-map and/or fast-diff enabled: since
some object deltas may be incomplete, the destination image may get
corrupted.

This commit represents a reasonable minimal fix: IOContext passed
through to ImageDispatch is effected only for reads and just gets
ignored for writes.  The next commit cleans up further by undoing the
passing of IOContext through the image dispatch layers for writes.

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

2 years agoMerge pull request #52139 from zdover23/wip-doc-2023-06-21-backport-52104-to-reef
Anthony D'Atri [Tue, 20 Jun 2023 23:04:17 +0000 (19:04 -0400)]
Merge pull request #52139 from zdover23/wip-doc-2023-06-21-backport-52104-to-reef

reef: doc/rados/operations: Improve formatting in crush-map.rst

2 years agoMerge pull request #52141 from zdover23/wip-doc-2023-06-21-backport-52105-to-reef
Anthony D'Atri [Tue, 20 Jun 2023 23:02:26 +0000 (19:02 -0400)]
Merge pull request #52141 from zdover23/wip-doc-2023-06-21-backport-52105-to-reef

reef: doc/mgr/dashboard: fix a typo

2 years agodoc/mgr/dashboard: fix a typo 52141/head
gsantella [Sat, 17 Jun 2023 13:49:15 +0000 (09:49 -0400)]
doc/mgr/dashboard: fix a typo

Signed-off-by: Guido Santella <gsantella@southhills.edu>
(cherry picked from commit d64c52150c48c993a214bb80b3802652d0685174)

2 years agodoc/rados/operations: Improve formatting in crush-map.rst 52139/head
Anthony D'Atri [Sat, 17 Jun 2023 10:37:58 +0000 (06:37 -0400)]
doc/rados/operations: Improve formatting in crush-map.rst

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

2 years agobump rocksdb submodule to latest ceph-reef-v7.9.2 52119/head
Casey Bodley [Wed, 24 May 2023 20:09:50 +0000 (16:09 -0400)]
bump rocksdb submodule to latest ceph-reef-v7.9.2

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

2 years agoosd: use fmt::format_to(...) to fix FTBFS on gcc 13
Tim Serong [Wed, 8 Mar 2023 02:45:57 +0000 (13:45 +1100)]
osd: use fmt::format_to(...) to fix FTBFS on gcc 13

Without this the build will fail on gcc 13 with errors like:

src/osd/scrubber/scrub_backend.cc:1309:14: error: call of overloaded 'format_to(std::back_insert_iterator<fmt::v9::basic_memory_buffer<char> >, const char [35], const char*, const uint64_t&, const uint64_t&, pg_shard_t&)' is ambiguous
  1309 |     format_to(std::back_inserter(out),
       |     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  1310 |               "{}size {} != size {} from shard {}",
       |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1311 |               sep(error),
       |               ~~~~~~~~~~~
  1312 |               candidate.size,
       |               ~~~~~~~~~~~~~~~
  1313 |               auth.size,
       |               ~~~~~~~~~~
  1314 |               auth_shard);
       |               ~~~~~~~~~~~
 /usr/include/fmt/core.h:3233:17: note: candidate: 'OutputIt fmt::v9::format_to(OutputIt, format_string<T ...>, T&& ...) [with OutputIt = std::back_insert_iterator<basic_memory_buffer<char> >; T = {const char*, const long unsigned int&, const long unsigned int&, pg_shard_t&}; typename std::enable_if<detail::is_output_iterator<OutputIt, char>::value, int>::type <anonymous> = 0; format_string<T ...> = basic_format_string<char, const char*, const long unsigned int&, const long unsigned int&, pg_shard_t&>]'
 3233 | FMT_INLINE auto format_to(OutputIt out, format_string<T...> fmt, T&&... args)
      |                 ^~~~~~~~~
 /usr/include/c++/13/format:3761:5: note: candidate: '_Out std::format_to(_Out, format_string<_Args ...>, _Args&& ...) [with _Out = back_insert_iterator<fmt::v9::basic_memory_buffer<char> >; _Args = {const char*, const long unsigned int&, const long unsigned int&, pg_shard_t&}; format_string<_Args ...> = basic_format_string<char, const char*, const long unsigned int&, const long unsigned int&, pg_shard_t&>]'
  3761 |     format_to(_Out __out, format_string<_Args...> __fmt, _Args&&... __args)
       |     ^~~~~~~~~

Fixes: https://tracker.ceph.com/issues/58477
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit 1ae8eb68c21b7df0bc7c38035176f2447dffaed2)

2 years agocommon, librbd, msg, test: fix FTBFS on gcc 13
Tim Serong [Wed, 8 Mar 2023 02:53:29 +0000 (13:53 +1100)]
common, librbd, msg, test: fix FTBFS on gcc 13

This is based on 0024-gcc-13.patch from https://tracker.ceph.com/issues/58477
but with an extra #include <cstdint> to avoid dropping std:: prefixes on
integer types.

Fixes: https://tracker.ceph.com/issues/58477
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit 796ce63667b460ba9b8d40891f30e45981ba237a)

2 years agotest/librados: test ability to set mtimes with aio_operate 52116/head
Casey Bodley [Tue, 23 May 2023 17:53:32 +0000 (13:53 -0400)]
test/librados: test ability to set mtimes with aio_operate

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

2 years agolibrados: add rados_aio_write_op_operate2() for high-resolution timestamps
Casey Bodley [Tue, 23 May 2023 17:24:42 +0000 (13:24 -0400)]
librados: add rados_aio_write_op_operate2() for high-resolution timestamps

expose the aio version of rados_write_op_operate2() for mtimes in timespec form

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

2 years agolibrados: rados_write_op_operate() uses ObjectOperationImpl for mtime
Casey Bodley [Tue, 23 May 2023 16:56:34 +0000 (12:56 -0400)]
librados: rados_write_op_operate() uses ObjectOperationImpl for mtime

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

2 years agolibrados: rados_aio_write_op_operate() propagates mtime
Casey Bodley [Tue, 23 May 2023 16:56:03 +0000 (12:56 -0400)]
librados: rados_aio_write_op_operate() propagates mtime

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

2 years agolibrados: use ObjectOperationImpl for rados_write_op_t
Casey Bodley [Tue, 23 May 2023 16:31:54 +0000 (12:31 -0400)]
librados: use ObjectOperationImpl for rados_write_op_t

the c++ api uses ObjectOperationImpl to wrap ObjectOperation with
additional storage for an optional mtime. the c api now reuses
ObjectOperationImpl for its write operations only - the mtime isn't
needed for read ops

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

2 years agolibrados: aio_operate() supports ObjectWriteOperation::mtime2()
Casey Bodley [Mon, 22 May 2023 21:36:43 +0000 (17:36 -0400)]
librados: aio_operate() supports ObjectWriteOperation::mtime2()

copy the optional mtime logic from operate(), so that mtimes set on the
ObjectOperation are propagated through aio_operate() as well

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

2 years agorgw: Pass and check destination zone trace when fetching object 52108/head
Alex Wojno [Mon, 22 May 2023 20:13:06 +0000 (16:13 -0400)]
rgw: Pass and check destination zone trace when fetching object

Fixes: https://tracker.ceph.com/issues/58911
Signed-off-by: Alex Wojno <awojno@bloomberg.net>
(cherry picked from commit e70fcf9b0a5c03d10415fb91e76a62229397ef82)

Conflicts:
src/rgw/rgw_rest_s3.cc

2 years agorgw/rados: pass source zone trace into fetch_remote_obj()
Casey Bodley [Mon, 1 May 2023 16:32:08 +0000 (12:32 -0400)]
rgw/rados: pass source zone trace into fetch_remote_obj()

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

2 years agorgw: fetch_remote_obj() adds x-rgw-replicated-from headers
Casey Bodley [Mon, 22 Aug 2022 20:48:27 +0000 (16:48 -0400)]
rgw: fetch_remote_obj() adds x-rgw-replicated-from headers

adds x-rgw-replicated-from headers for each zone in the object's
replication path. the RGW_ATTR_OBJ_REPLICATION_TRACE attribute is stored
as a vector instead of a set to preserve the replication order

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

2 years agoMerge pull request #52102 from zdover23/wip-doc-2023-06-17-backport-52100-to-reef
Anthony D'Atri [Sat, 17 Jun 2023 10:39:53 +0000 (06:39 -0400)]
Merge pull request #52102 from zdover23/wip-doc-2023-06-17-backport-52100-to-reef

reef: doc/rados: edit firefly tunables section

2 years agodoc/rados: edit firefly tunables section 52102/head
Zac Dover [Sat, 17 Jun 2023 00:51:51 +0000 (10:51 +1000)]
doc/rados: edit firefly tunables section

Edit the firefly tunables section in
/doc/rados/operations/crush-map.rst.

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

2 years agoMerge pull request #52098 from zdover23/wip-doc-2023-06-17-backport-52092-to-reef
Anthony D'Atri [Fri, 16 Jun 2023 22:50:53 +0000 (18:50 -0400)]
Merge pull request #52098 from zdover23/wip-doc-2023-06-17-backport-52092-to-reef

reef: doc/rados: edit crush-map.rst (4 of x)

2 years agodoc/rados: edit crush-map.rst (4 of x) 52098/head
Zac Dover [Fri, 16 Jun 2023 08:49:09 +0000 (18:49 +1000)]
doc/rados: edit crush-map.rst (4 of x)

Edit doc/rados/operations/crush-map.rst.

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

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

2 years agoMerge pull request #52093 from zdover23/wip-doc-2023-06-16-backport-52067-to-reef
Anthony D'Atri [Fri, 16 Jun 2023 21:28:04 +0000 (17:28 -0400)]
Merge pull request #52093 from zdover23/wip-doc-2023-06-16-backport-52067-to-reef

reef: doc/rados: edit crush-map.rst (3 of x)

2 years agodoc/rados: edit crush-map.rst (3 of x) 52093/head
Zac Dover [Thu, 15 Jun 2023 03:36:45 +0000 (13:36 +1000)]
doc/rados: edit crush-map.rst (3 of x)

Edit doc/rados/operations/crush-map.rst.

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

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

2 years agoMerge pull request #51977 from sseshasa/wip-61625-reef
Sridhar Seshasayee [Fri, 16 Jun 2023 07:45:20 +0000 (13:15 +0530)]
Merge pull request #51977 from sseshasa/wip-61625-reef

reef: PendingReleaseNotes: Document mClock scheduler fixes and enhancements

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #51969 from rhcs-dashboard/wip-61619-reef
Yuri Weinstein [Thu, 15 Jun 2023 22:14:50 +0000 (18:14 -0400)]
Merge pull request #51969 from rhcs-dashboard/wip-61619-reef

reef: qa/workunits: fix test_dashboard_e2e.sh: no spec files found

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51951 from rhcs-dashboard/wip-61281-reef
Yuri Weinstein [Thu, 15 Jun 2023 22:14:09 +0000 (18:14 -0400)]
Merge pull request #51951 from rhcs-dashboard/wip-61281-reef

reef: mgr/dashboard: SSO error: AttributeError: 'str' object has no attribute 'decode'

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51918 from rosinL/wip-51746-reef
Yuri Weinstein [Thu, 15 Jun 2023 22:09:50 +0000 (18:09 -0400)]
Merge pull request #51918 from rosinL/wip-51746-reef

reef: crimson/osd/ops_executer: fix double apply_stats() when writing

Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
2 years agoMerge pull request #51808 from rhcs-dashboard/wip-61486-reef
Yuri Weinstein [Thu, 15 Jun 2023 22:09:12 +0000 (18:09 -0400)]
Merge pull request #51808 from rhcs-dashboard/wip-61486-reef

reef: mgr/dashboard: fix issues with read-only user on landing page

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 years agoMerge pull request #51800 from NitzanMordhai/wip-61452-reef
Yuri Weinstein [Thu, 15 Jun 2023 22:07:31 +0000 (18:07 -0400)]
Merge pull request #51800 from NitzanMordhai/wip-61452-reef

reef: test: monitor thrasher wait until quorum

Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2 years agoMerge pull request #51336 from adk3798/reef-orch-spelling
Yuri Weinstein [Thu, 15 Jun 2023 22:06:45 +0000 (18:06 -0400)]
Merge pull request #51336 from adk3798/reef-orch-spelling

reef: orchestrator: fix spelling errors

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agoMerge pull request #52015 from ljflores/wip-61605-reef
Laura Flores [Thu, 15 Jun 2023 22:02:58 +0000 (17:02 -0500)]
Merge pull request #52015 from ljflores/wip-61605-reef

reef: qa/suites/rados: remove rook coverage from the rados suite

2 years agoMerge pull request #52026 from rhcs-dashboard/wip-61656-reef
Nizamudeen A [Thu, 15 Jun 2023 15:28:22 +0000 (20:58 +0530)]
Merge pull request #52026 from rhcs-dashboard/wip-61656-reef

reef: mgr/dashboard: add popover to cluster status card

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #52065 from zdover23/wip-doc-2023-06-15-backport-52040-to-reef
Anthony D'Atri [Thu, 15 Jun 2023 14:07:12 +0000 (10:07 -0400)]
Merge pull request #52065 from zdover23/wip-doc-2023-06-15-backport-52040-to-reef

reef: doc/rados: fix list in crush-map.rst

2 years agoMerge pull request #52069 from zdover23/wip-doc-2023-06-15-backport-52039-to-reef
Anthony D'Atri [Thu, 15 Jun 2023 13:38:28 +0000 (09:38 -0400)]
Merge pull request #52069 from zdover23/wip-doc-2023-06-15-backport-52039-to-reef

reef: doc/rados: edit crush-map.rst (2 of x)

2 years agodoc/rados: edit crush-map.rst (2 of x) 52069/head
Zac Dover [Tue, 13 Jun 2023 15:41:09 +0000 (01:41 +1000)]
doc/rados: edit crush-map.rst (2 of x)

Edit doc/rados/operations/crush-map.rst.

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

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

2 years agodoc/rados: fix list in crush-map.rst 52065/head
Zac Dover [Tue, 13 Jun 2023 16:11:53 +0000 (02:11 +1000)]
doc/rados: fix list in crush-map.rst

Correct the numbering and formatting of an ordered list in
doc/rados/operations/crush-map.rst.

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

2 years agorgw: multisite data logging flag controls data logging 52053/head
J. Eric Ivancich [Tue, 16 May 2023 15:30:15 +0000 (11:30 -0400)]
rgw: multisite data logging flag controls data logging

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 33ce64ca64f468883e3fec9530d243fb51074b5c)

2 years agoMerge pull request #52013 from ljflores/reef-release
Laura Flores [Tue, 13 Jun 2023 22:45:56 +0000 (17:45 -0500)]
Merge pull request #52013 from ljflores/reef-release

v18.1.0

2 years agoqa: suppress SyscallParam error during startup on jammy 52041/head
Casey Bodley [Mon, 12 Jun 2023 17:38:03 +0000 (13:38 -0400)]
qa: suppress SyscallParam error during startup on jammy

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

2 years agoMerge pull request #52037 from zdover23/wip-doc-2023-06-14-backport-52009-to-reef
zdover23 [Tue, 13 Jun 2023 17:31:24 +0000 (03:31 +1000)]
Merge pull request #52037 from zdover23/wip-doc-2023-06-14-backport-52009-to-reef

reef: doc/rados: add math markup to placement-groups.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #52030 from zdover23/wip-doc-2023-06-13-backport-52018-to-reef
zdover23 [Tue, 13 Jun 2023 17:30:54 +0000 (03:30 +1000)]
Merge pull request #52030 from zdover23/wip-doc-2023-06-13-backport-52018-to-reef

reef: doc/rados: edit crush-map.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #52034 from zdover23/wip-doc-2023-06-14-backport-52028-to-reef
Anthony D'Atri [Tue, 13 Jun 2023 15:21:54 +0000 (11:21 -0400)]
Merge pull request #52034 from zdover23/wip-doc-2023-06-14-backport-52028-to-reef

reef: doc/dev: fix "deploying dev cluster" link

2 years agodoc/rados: add math markup to placement-groups.rst 52037/head
Zac Dover [Mon, 12 Jun 2023 11:32:14 +0000 (21:32 +1000)]
doc/rados: add math markup to placement-groups.rst

Add some math markup to some of the mathematical expressions in
doc/rados/operations/placement-groups.rst.

This change has advantages as well as disadvantages. On the one hand,
the mathematical expressions look nicer and are easier to read.  On the
other hand, the rendered mathematical expressions are not searchable as
a part of the text, which makes CTRL+F searches useless in finding them.

This PR is offered as an RFC on the matter of whether mathematical
expressions should be rendered with the :math: extension.

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

2 years agodoc/dev: fix "deploying dev cluster" link 52034/head
Zac Dover [Tue, 13 Jun 2023 11:51:26 +0000 (21:51 +1000)]
doc/dev: fix "deploying dev cluster" link

Fix a link to "Deploying a Development Cluster" that had been broken
since the transition from master to main.

This is the first part of an initiative to improve the vstart
documentation.

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

2 years agodoc/rados: edit crush-map.rst (1 of x) 52030/head
Zac Dover [Mon, 12 Jun 2023 20:02:59 +0000 (06:02 +1000)]
doc/rados: edit crush-map.rst (1 of x)

Edit doc/rados/operations/crush-map.rst.

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

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

2 years agomgr/dashboard: add popover to cluster status card 52026/head
Nizamudeen A [Wed, 7 Jun 2023 08:17:56 +0000 (13:47 +0530)]
mgr/dashboard: add popover to cluster status card

Previous dashboard has a popover for the status when there are some
warnings in the Cluster Health. Introducing the same behaviour on the
new landing page

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

2 years agoqa/suites/rados: remove rook coverage from the rados suite 52015/head
Laura Flores [Mon, 5 Jun 2023 20:23:42 +0000 (15:23 -0500)]
qa/suites/rados: remove rook coverage from the rados suite

The rook team relies on a daily CI system to validate
rook changes. It doesn't seem that the teuthology tests
are maintained, so it makes sense to remove them from the
rados suite.

By removing this symlink, rook test coverage will remain
in the orch suite, and coverage will only be removed from the
rados suite.

Workaround for: https://tracker.ceph.com/issues/58585
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit c26674ef4c6cbbdd94c54cafbd66e98704f044d7)

2 years agoMerge pull request #52001 from zdover23/wip-doc-2023-06-12-backport-51994-to-reef
Anthony D'Atri [Sun, 11 Jun 2023 22:04:49 +0000 (18:04 -0400)]
Merge pull request #52001 from zdover23/wip-doc-2023-06-12-backport-51994-to-reef

reef: doc/rados: edit placement-groups.rst (3 of x)

2 years agodoc/rados: edit placement-groups.rst (3 of x) 52001/head
Zac Dover [Sat, 10 Jun 2023 23:00:38 +0000 (09:00 +1000)]
doc/rados: edit placement-groups.rst (3 of x)

Edit doc/rados/operations/placement-groups.rst.

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

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

2 years agoMerge pull request #51998 from zdover23/wip-doc-2023-06-11-backport-51992-to-reef
Anthony D'Atri [Sun, 11 Jun 2023 13:56:02 +0000 (09:56 -0400)]
Merge pull request #51998 from zdover23/wip-doc-2023-06-11-backport-51992-to-reef

reef: doc/rados: edit change-mon-elections

2 years agodoc/rados: edit change-mon-elections 51998/head
Zac Dover [Sat, 10 Jun 2023 02:08:41 +0000 (12:08 +1000)]
doc/rados: edit change-mon-elections

Edit doc/rados/operations/change-mon-elections.rst.

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

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

2 years agoMerge pull request #51996 from zdover23/wip-doc-2023-06-11-backport-51991-to-reef
Anthony D'Atri [Sun, 11 Jun 2023 00:57:55 +0000 (20:57 -0400)]
Merge pull request #51996 from zdover23/wip-doc-2023-06-11-backport-51991-to-reef

reef: doc/rados: edit placement-groups.rst (2 of x)

2 years agodoc/rados: edit placement-groups.rst (2 of x) 51996/head
Zac Dover [Sat, 10 Jun 2023 01:44:33 +0000 (11:44 +1000)]
doc/rados: edit placement-groups.rst (2 of x)

Edit doc/rados/operations/placement-groups.rst.

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

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

2 years agoMerge pull request #51984 from zdover23/wip-doc-2023-06-09-backport-51975-to-reef
Anthony D'Atri [Fri, 9 Jun 2023 13:50:59 +0000 (09:50 -0400)]
Merge pull request #51984 from zdover23/wip-doc-2023-06-09-backport-51975-to-reef

reef: doc/rados: edit placement-groups.rst (1 of x)

2 years agodoc/rados: edit placement-groups.rst (1 of x) 51984/head
Zac Dover [Thu, 8 Jun 2023 18:53:34 +0000 (04:53 +1000)]
doc/rados: edit placement-groups.rst (1 of x)

Edit doc/rados/operations/placement-groups.rst.

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

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

2 years agoPendingReleaseNotes: Document mClock scheduler fixes and enhancements 51977/head
Sridhar Seshasayee [Mon, 5 Jun 2023 08:11:28 +0000 (13:41 +0530)]
PendingReleaseNotes: Document mClock scheduler fixes and enhancements

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 49aad118aa41a8e66ab65f229c5633ee18c6a3b2)

Conflicts:
   PendingReleaseNotes
- Modified doc URL to point to reef

2 years agoMerge pull request #51862 from yuvalif/wip-61520-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:06:54 +0000 (12:06 -0400)]
Merge pull request #51862 from yuvalif/wip-61520-reef

reef: test/rgw/notifications: fix kafka consumer shutdown issue

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #51878 from idryomov/wip-61382-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:06:23 +0000 (12:06 -0400)]
Merge pull request #51878 from idryomov/wip-61382-reef

reef: osd/OSDCap: allow rbd.metadata_list method under rbd-read-only profile

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #51855 from petrutlucian94/wip-61526-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:05:42 +0000 (12:05 -0400)]
Merge pull request #51855 from petrutlucian94/wip-61526-reef

reef: librbd: avoid decrementing iterator before first element

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #51599 from alimaredia/wip-61173-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:04:57 +0000 (12:04 -0400)]
Merge pull request #51599 from alimaredia/wip-61173-reef

reef: rgw/swift: check position of first slash in slo manifest files

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #51970 from zdover23/wip-doc-2023-06-08-backport-51958-to-reef
zdover23 [Thu, 8 Jun 2023 14:06:23 +0000 (00:06 +1000)]
Merge pull request #51970 from zdover23/wip-doc-2023-06-08-backport-51958-to-reef

reef: doc/rados: edit pools.rst (4 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit pools.rst (4 of x) 51970/head
Zac Dover [Wed, 7 Jun 2023 10:32:03 +0000 (20:32 +1000)]
doc/rados: edit pools.rst (4 of x)

Edit doc/operations/rados/pools.rst.

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

Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 92cf93b1fe185ec8b4c77cf2dcd0b21b25931d5d)

2 years agoqa/workunits: fix test_dashboard_e2e.sh: no spec files found 51969/head
Nizamudeen A [Wed, 7 Jun 2023 08:34:33 +0000 (14:04 +0530)]
qa/workunits: fix test_dashboard_e2e.sh: no spec files found

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

2 years ago18.1.0 52013/head v18.1.0
Ceph Release Team [Wed, 7 Jun 2023 20:22:57 +0000 (20:22 +0000)]
18.1.0

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agoMerge pull request #51815 from rhcs-dashboard/wip-61491-reef
Nizamudeen A [Wed, 7 Jun 2023 16:43:57 +0000 (22:13 +0530)]
Merge pull request #51815 from rhcs-dashboard/wip-61491-reef

reef: mgr/dashboard: fix the rgw roles page

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #51802 from NitzanMordhai/wip-61447-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:12:33 +0000 (11:12 -0400)]
Merge pull request #51802 from NitzanMordhai/wip-61447-reef

reef: test: correct osd pool default size

Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
2 years agoMerge pull request #51776 from k0ste/wip-61467-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:11:48 +0000 (11:11 -0400)]
Merge pull request #51776 from k0ste/wip-61467-reef

reef: os/bluestore: Add bluefs write op count metrics.

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #51775 from ifed01/wip-ifed-fix-bluefs-prealloc-ree
Yuri Weinstein [Wed, 7 Jun 2023 15:11:06 +0000 (11:11 -0400)]
Merge pull request #51775 from ifed01/wip-ifed-fix-bluefs-prealloc-ree

reef: os/bluestore: proper override rocksdb::WritableFile::Allocate

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #51841 from idryomov/wip-61495-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:08:53 +0000 (11:08 -0400)]
Merge pull request #51841 from idryomov/wip-61495-reef

reef: Revert "test: adjust rbd test case guards to handle new defaults"

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #51833 from dang/wip-61509-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:08:07 +0000 (11:08 -0400)]
Merge pull request #51833 from dang/wip-61509-reef

reef: RGW - Use correct multipart upload time

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51796 from yuvalif/wip-61479-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:07:36 +0000 (11:07 -0400)]
Merge pull request #51796 from yuvalif/wip-61479-reef

reef: rgw/kafka: remove potential race condition between creation and deletion of endpoint

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51411 from ifed01/wip-ifed-fix-fit-to-fast-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:06:41 +0000 (11:06 -0400)]
Merge pull request #51411 from ifed01/wip-ifed-fix-fit-to-fast-reef

reef: os/bluestore: allow 'fit_to_fast' selector for single-volume osd

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50937 from ifed01/wip-ifed-fix-prefixed-kv-iterator-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:06:07 +0000 (11:06 -0400)]
Merge pull request #50937 from ifed01/wip-ifed-fix-prefixed-kv-iterator-reef

reef: kv/RocksDBStore: don't use real wholespace iterator for prefixed access

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50929 from ifed01/wip-ifed-bound-rm-range-keys-ree
Yuri Weinstein [Wed, 7 Jun 2023 15:05:20 +0000 (11:05 -0400)]
Merge pull request #50929 from ifed01/wip-ifed-bound-rm-range-keys-ree

reef: kv/RocksDBStore: cumulative backport for rm_range_keys and around

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>