]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Manish M Yathnalli [Wed, 21 Jun 2023 07:59:41 +0000 (13:29 +0530)]
cephfs-journal-tool: disambiguate usage of all keyword (in tool help).
The fs:all for rank option description was confusing. It seemd
like the fs was optional, but it is mandatory. This change modifies the
help message to reflect the correct way to use all in the --rank option.
Fixes: https://tracker.ceph.com/issues/61753
Signed-off-by: Manish M Yathnalli <myathnal@redhat.com>
Matan [Thu, 22 Jun 2023 07:17:47 +0000 (10:17 +0300)]
Merge pull request #51961 from Matan-B/wip-matanb-crimson-single-mosdmap-handling
Crimson/osd: Disable concurrent MOSDMap handling
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Yuri Weinstein [Wed, 21 Jun 2023 21:16:00 +0000 (17:16 -0400)]
Merge pull request #52072 from NitzanMordhai/wip-nitzan-add-ec-clay-teuthology-tests
qa: adding clay test to thrash erasure code big
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Wed, 21 Jun 2023 21:12:38 +0000 (17:12 -0400)]
Merge pull request #51667 from Matan-B/wip-matanb-share-osdmap
osd/OSD: cleanup OSDService::maybe_share_map()
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Wed, 21 Jun 2023 21:12:08 +0000 (17:12 -0400)]
Merge pull request #51450 from batrick/i59716
pybind/rados: keep byte representation if decode fails
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Casey Bodley [Wed, 21 Jun 2023 18:52:20 +0000 (14:52 -0400)]
Merge pull request #50206 from TRYTOBE8TME/wip-rgw-yield-work
rgw: replace null_yields with optional ones
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
zdover23 [Wed, 21 Jun 2023 13:34:55 +0000 (23:34 +1000)]
Merge pull request #52123 from zdover23/wip-doc-2023-06-20-rados-operations-control-1-of-x
doc/rados: edit control.rst (1 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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>
Ilya Dryomov [Wed, 21 Jun 2023 09:43:26 +0000 (11:43 +0200)]
Merge pull request #52109 from idryomov/wip-61616
librbd: avoid object map corruption in snapshots taken under I/O
Reviewed-by: Mykola Golub <mgolub@suse.com>
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>
Matan Breizman [Tue, 20 Jun 2023 17:51:52 +0000 (17:51 +0000)]
crimson/osd/osd_operations/pg_advance_map: 'from' epoch may vary between PGS explanation
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 28 May 2023 10:31:37 +0000 (10:31 +0000)]
crimson/osd/osdmap_gate: got_map() assert increase of current epoch
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Samuel Just [Tue, 20 Jun 2023 18:06:31 +0000 (11:06 -0700)]
Merge pull request #51827 from liu-chunmei/get_assert
crimson: fix RefCountedObject::_get() assert
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Matan Breizman [Wed, 24 May 2023 15:36:10 +0000 (15:36 +0000)]
crimson/osd/shard_services: get_or_create_pg() remove unused variable
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Wed, 10 May 2023 13:54:17 +0000 (13:54 +0000)]
crimson/osd/shard_services: Refactor OSDSingletonState::load_map
Added logs
If case reconstructed - epoch is unsigned.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Wed, 10 May 2023 13:53:18 +0000 (13:53 +0000)]
crimson/osd/osd_meta: Abort instead of throwing runtime_error
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Wed, 10 May 2023 13:52:23 +0000 (13:52 +0000)]
crimson/osd: Add logs around handling of osdmaps
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Wed, 24 May 2023 12:52:40 +0000 (12:52 +0000)]
crimson/osd/pg: Fix assert of osd_debug_verify_cached_snaps
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Anthony D'Atri [Tue, 20 Jun 2023 12:38:04 +0000 (08:38 -0400)]
Merge pull request #52104 from anthonyeleven/anthonyeleven/fixfft
doc/rados/operations: Improve formatting in crush-map.rst
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>
Venky Shankar [Tue, 20 Jun 2023 10:04:30 +0000 (15:34 +0530)]
Merge PR #51500 into main
* refs/pull/51500/head:
test/libcephfs: add test case for revoking caps
client: issue a cap release immediately if no cap exists
mds: add the revoking caps back to _revokes list
mds: move confirm_receipt() to Capability.cc
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Tue, 20 Jun 2023 04:35:31 +0000 (10:05 +0530)]
Merge PR #51655 into main
* refs/pull/51655/head:
mds: display sane hex value (0x0) for empty feature bit
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Kalpesh Pandya [Thu, 23 Feb 2023 11:09:25 +0000 (16:39 +0530)]
src/rgw: Additional changes based on comments
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Kalpesh Pandya [Tue, 21 Feb 2023 11:56:41 +0000 (17:26 +0530)]
src/rgw: Changing null_yield to optional_yield
Changing null_yield in rgw_sal_rados.cc
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Kalpesh Pandya [Mon, 20 Feb 2023 20:22:16 +0000 (01:52 +0530)]
src/rgw: Changing null_yield to optional_yield
Changing null_yield in rgw_reshard.cc
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Kalpesh Pandya [Thu, 16 Feb 2023 22:30:30 +0000 (04:00 +0530)]
src/rgw: Changing null_yield to optional_yield
Passing optional_yield to rgw_rados.cc
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Kalpesh Pandya [Thu, 16 Feb 2023 07:55:39 +0000 (13:25 +0530)]
src/rados: Changing null_yield to optional_yield
Passing optional_yield at all places in rgw_bucket.cc
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Kalpesh Pandya [Thu, 16 Feb 2023 07:31:30 +0000 (13:01 +0530)]
src/rgw: Changing null_yield to optional_yield
Focused on rgw_rados_operate() and passing null_yield in
rgw_lc.cc, rgw_gc.cc, rgw_object_expirer_core.cc
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Yehuda Sadeh [Wed, 1 Dec 2021 19:35:27 +0000 (11:35 -0800)]
rgw: pubsub: pass yield context
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 1 Dec 2021 21:26:27 +0000 (13:26 -0800)]
rgw: rados: pass yield context in a few places
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Mon, 19 Jun 2023 18:10:19 +0000 (14:10 -0400)]
Merge pull request #51681 from cbodley/wip-61349
librados: aio operate functions can set mtimes
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Yuri Weinstein [Mon, 19 Jun 2023 17:31:23 +0000 (13:31 -0400)]
Merge pull request #51737 from cbodley/wip-rocksdb-44
bump rocksdb submodule to latest ceph-reef-v7.9.2
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Ronen Friedman [Mon, 19 Jun 2023 17:29:50 +0000 (20:29 +0300)]
Merge pull request #51669 from ronen-fr/wip-rf-max-scrub-3
osd/scrub: increasing max_osd_scrubs to 3
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Mon, 19 Jun 2023 17:29:21 +0000 (13:29 -0400)]
Merge pull request #48209 from kamoltat/wip-ksirivad-fix-tracker-57570
osd/OSDMap: Check for uneven weights & != 2 buckets post stretch mode
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Jos Collin [Mon, 22 May 2023 04:31:39 +0000 (10:01 +0530)]
mds: display sane hex value (0x0) for empty feature bit
Print a valid hex (0x0) during empty feature bit, so that the clients could recognize it.
When the _vec size becomes 0, print() function creates an invalid hex (0x) and 'perf stats'
crashes with the below error:
"
File "/opt/ceph/src/pybind/mgr/stats/fs/perf_stats.py", line 177, in notify_cmd
metric_features = int(metadata[CLIENT_METADATA_KEY]["metric_spec"]["metric_flags"]["feature_bits"], 16)
ValueError: invalid literal for int() with base 16: '0x'
"
This patch creates a valid hex (0x0), when _vec size is 0.
Fixes: https://tracker.ceph.com/issues/59551
Signed-off-by: Jos Collin <jcollin@redhat.com>
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>
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>
Anthony D'Atri [Sat, 17 Jun 2023 16:50:03 +0000 (12:50 -0400)]
Merge pull request #52105 from gsantella/patch-update-typo-on-dashboard
doc/mgr/dashboard: fix a typo
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>
zdover23 [Sat, 17 Jun 2023 09:54:40 +0000 (19:54 +1000)]
Merge pull request #52100 from zdover23/wip-doc-2023-06-17-rados-operations-crush-map-firefly-tunables
doc/rados: edit firefly tunables section
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
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>
zdover23 [Fri, 16 Jun 2023 22:17:41 +0000 (08:17 +1000)]
Merge pull request #52092 from zdover23/wip-doc-2023-06-16-rados-operations-crush-map-4-of-x
doc/rados: edit crush-map.rst (4 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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>
Rishabh Dave [Fri, 16 Jun 2023 17:27:02 +0000 (22:57 +0530)]
Merge pull request #50874 from rishabh-d-dave/mds-log-variable
mds: use variable g_ceph_context directly in MDSAuthCaps
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Ernesto Puerta [Fri, 16 Jun 2023 15:23:07 +0000 (17:23 +0200)]
Merge pull request #52095 from rhcs-dashboard/jsonschema-fix
mgr/dashboard: fix the jsonschema issue in install-deps
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Yuval Lifshitz [Fri, 16 Jun 2023 15:15:56 +0000 (18:15 +0300)]
Merge pull request #51549 from vedanshbhartia/coverity_1517658
rgw: modify RGWRados::cls_bucket_list_ordered to store dirent key before move
Yuval Lifshitz [Fri, 16 Jun 2023 15:15:28 +0000 (18:15 +0300)]
Merge pull request #51719 from vedanshbhartia/coverity_1510555
rgw: Use a unique_ptr when creating a D3nCacheAioWriteRequest instance
Nizamudeen A [Fri, 16 Jun 2023 14:48:12 +0000 (20:18 +0530)]
Merge pull request #52076 from rhcs-dashboard/cephfs-no-mds-clients
mgr/dashboard: empty list of fs clients with no mds
Reviewed-by: Nizamudeen A <nia@redhat.com>
Daniel Gryniewicz [Fri, 16 Jun 2023 14:20:59 +0000 (10:20 -0400)]
Merge pull request #52089 from samarahu/d4n-cmake-fix
RGW: Place D4N files under cmake conditional
Rishabh Dave [Tue, 28 Feb 2023 16:39:44 +0000 (22:09 +0530)]
mds: use variable g_ceph_context directly in MDSAuthCaps
Variable g_ceph_context is global, therefore use it directly instead of
passing it as a parameter to method.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Ilya Dryomov [Fri, 16 Jun 2023 12:43:45 +0000 (14:43 +0200)]
Merge pull request #52010 from pkalever/fix-ImageMap
rbd-mirror: don't refer to (remote) mirror_uuid as peer_uuid
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Rishabh Dave [Fri, 16 Jun 2023 12:22:00 +0000 (17:52 +0530)]
Merge pull request #51132 from lxbsz/wip-59349
qa: wait for 100 seconds to make sure the quota to be enforced
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Nizamudeen A [Fri, 16 Jun 2023 09:08:52 +0000 (14:38 +0530)]
mgr/dashboard: fix the jsonschema issue in install-deps
Fixes: https://tracker.ceph.com/issues/61690
Signed-off-by: Nizamudeen A <nia@redhat.com>
zdover23 [Fri, 16 Jun 2023 09:05:15 +0000 (19:05 +1000)]
Merge pull request #52067 from zdover23/wip-doc-2023-06-15-rados-operations-crush-map-3-of-x
doc/rados: edit crush-map.rst (3 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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>
Pere Diaz Bou [Thu, 15 Jun 2023 09:38:44 +0000 (11:38 +0200)]
mgr/dashboard: empty list of fs clients with no mds
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
Fixes: https://tracker.ceph.com/issues/61708
NitzanMordhai [Thu, 15 Dec 2022 08:42:04 +0000 (08:42 +0000)]
qa: adding clay test to thrash erasure code big
Currently we don't have any clay test in the erasure code big tests
adding also clay tests.
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
Prasanna Kumar Kalever [Mon, 12 Jun 2023 11:37:30 +0000 (17:07 +0530)]
rbd-mirror: don't refer to (remote) mirror_uuid as peer_uuid
peer_uuid and mirror_uuid are different identifiers, we should not use
peer_uuid naming for remote mirror_uuid.
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Samarah [Thu, 15 Jun 2023 17:10:41 +0000 (13:10 -0400)]
RGW: Place D4N files under cmake conditional
Signed-off-by: Samarah <samarah.uriarte@ibm.com>
Ilya Dryomov [Thu, 15 Jun 2023 20:22:09 +0000 (22:22 +0200)]
Merge pull request #52064 from ajarr/wip-61688
mgr/rbd_support: add user-friendly stderr message when module is not ready
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Yuval Lifshitz [Thu, 15 Jun 2023 16:13:44 +0000 (19:13 +0300)]
Merge pull request #51962 from vedanshbhartia/coverity_1511072
rgw: pass boost intrusive_ptr to DataLogBackends flat_map
Yuval Lifshitz [Thu, 15 Jun 2023 16:13:09 +0000 (19:13 +0300)]
Merge pull request #51676 from vedanshbhartia/coverity_move
rgw: Do not forward functor objects in rgw_iam_policy.h
Yuval Lifshitz [Thu, 15 Jun 2023 16:11:22 +0000 (19:11 +0300)]
Merge pull request #51965 from vedanshbhartia/coverity_1510687
rgw: Fix use after move in cls_fifo_legacy.cc
Yuval Lifshitz [Thu, 15 Jun 2023 16:10:31 +0000 (19:10 +0300)]
Merge pull request #50330 from mohamedawnallah/fix-RGWEnv.get()-nullptr-default-value-to-the-default-returned-value
src/rgw/rgw_env.cc: Fix potential null pointer dereference in RGWEnv::get()
Matan Breizman [Thu, 15 Jun 2023 15:33:37 +0000 (15:33 +0000)]
osd/OSD: maybe_share_map()- edit log messages
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Thu, 15 Jun 2023 15:12:27 +0000 (15:12 +0000)]
osd/OSD: maybe_share_map() use scope guard
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Thu, 15 Jun 2023 14:40:34 +0000 (14:40 +0000)]
osd/Session: rename last_sent_epoch to projected_epoch
We always update last_sent_epoch to reflect the highest map
we think the peer will have, whether because we are sending
the incremental or due to the map_epoch on the MOSDPing.
last_epoch_sent was a confusing name since we also update it
when an MOSDPing from the peer reflects a higher epoch.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Tue, 23 May 2023 15:20:59 +0000 (15:20 +0000)]
osd/OSD: maybe_share_map()- avoid locking `sent_epoch_lock` twice
Invoking `send_incremental_map()` doesn't wait until the replica
actually receives the map, so marking `last_epoch_sent` prior to
invoking it is just as correct.
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Ramana Raja [Wed, 14 Jun 2023 21:41:48 +0000 (17:41 -0400)]
mgr/rbd_support: log number of images
... that have one snapshot request pending when the
mirror_snapshot_schedule handler is shutting down.
Signed-off-by: Ramana Raja <rraja@redhat.com>
Guillaume Abrioux [Thu, 15 Jun 2023 11:44:00 +0000 (13:44 +0200)]
Merge pull request #52058 from guits/tracker_61673
ceph-volume: set lvm membership for mpath type devices
Venky Shankar [Thu, 15 Jun 2023 07:31:39 +0000 (13:01 +0530)]
Merge PR #52029 into main
* refs/pull/52029/head:
debian: install cephfs-mirror systemd unit files and man page
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
zdover23 [Thu, 15 Jun 2023 05:28:30 +0000 (15:28 +1000)]
Merge pull request #52039 from zdover23/wip-doc-2023-06-14-operations-crush-map-2-of-x
doc/rados: edit crush-map.rst (2 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Jos Collin [Tue, 13 Jun 2023 11:54:34 +0000 (17:24 +0530)]
debian: install cephfs-mirror systemd unit files and man page
Fixes: https://tracker.ceph.com/issues/59682
Signed-off-by: Jos Collin <jcollin@redhat.com>
Venky Shankar [Thu, 15 Jun 2023 03:53:40 +0000 (09:23 +0530)]
Merge PR #50862 into main
* refs/pull/50862/head:
mon/MDSMonitor: batch last_metadata update with pending
mon/MDSMonitor: add debugging for update_metadata
Reviewed-by: Venky Shankar <vshankar@redhat.com>
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>
zdover23 [Thu, 15 Jun 2023 01:22:06 +0000 (11:22 +1000)]
Merge pull request #52040 from zdover23/wip-doc-2023-06-14-operations-crush-map-ordered-list-fix
doc/rados: fix list in crush-map.rst
Ramana Raja [Wed, 14 Jun 2023 20:17:09 +0000 (16:17 -0400)]
mgr/rbd_support: add user-friendly stderr message
... when the rbd_support module is not ready.
Fixes: https://tracker.ceph.com/issues/61688
Signed-off-by: Ramana Raja <rraja@redhat.com>
Adam King [Wed, 14 Jun 2023 18:27:16 +0000 (14:27 -0400)]
Merge pull request #51946 from phlogistonjohn/jjm-cephadm-write-new
cephadm: add write_new function for robust file writes
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Wed, 14 Jun 2023 18:25:56 +0000 (14:25 -0400)]
Merge pull request #51924 from adk3798/limit-policy-log-level
python-common/drive_selection: lower log level of limit policy message
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Wed, 14 Jun 2023 18:24:51 +0000 (14:24 -0400)]
Merge pull request #51861 from adk3798/spec-no-spec-validate
python-common/drive_group: handle fields outside of 'spec' even when 'spec' is provided
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Wed, 14 Jun 2023 18:23:27 +0000 (14:23 -0400)]
Merge pull request #51267 from phlogistonjohn/jjm-cephadm-versioning
Support cephadm "binary" versioning
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 14 Jun 2023 16:51:14 +0000 (12:51 -0400)]
Merge pull request #51832 from rkachach/fix_issue_61499
cephadm: adding support for ipv6 when deploying ceph-exporter
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 14 Jun 2023 16:49:58 +0000 (12:49 -0400)]
Merge pull request #51817 from rkachach/fix_issue_61494
mgr/cephadm: validate host label before removing
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 14 Jun 2023 16:48:04 +0000 (12:48 -0400)]
Merge pull request #51070 from adk3798/reconfig-firewall-ports
cephadm: allow ports to be opened in firewall during adoption, reconfig, redeploy
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Guillaume Abrioux [Wed, 14 Jun 2023 14:08:07 +0000 (14:08 +0000)]
ceph-volume: set lvm membership for mpath type devices
If any lvs is present, self.lvs should be set accordingly for mpath
type devices as well.
Otherwise, when re-running a command like following:
```
ceph-volume lvm batch --bluestore --no-auto /dev/mapper/mpatha /dev/mapper/mpathb
```
fails with error : "Device /dev/mapper/mpatha has a filesystem."
where the expected behavior is:
```
--> passed data devices: 2 physical, 0 LVM
--> relative data size: 1.0
--> All data devices are unavailable
Total OSDs: 0
Type Path LV Size % of device
```
Fixes: https://tracker.ceph.com/issues/61673
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Yuval Lifshitz [Wed, 14 Jun 2023 09:01:32 +0000 (12:01 +0300)]
Merge pull request #52044 from vedanshbhartia/coverity_fix_tags
rgw: user correct tags for coverity annotations and add the SUPPRESS keyword
Vedansh Bhartia [Tue, 13 Jun 2023 18:17:48 +0000 (23:47 +0530)]
rgw: user correct tags for coverity annotations and add the SUPPRESS
keyword
Signed-off-by: Vedansh Bhartia <vedanshbhartia@gmail.com>
Casey Bodley [Tue, 13 Jun 2023 17:42:05 +0000 (13:42 -0400)]
Merge pull request #52012 from cbodley/wip-61428
qa: suppress SyscallParam error during startup on jammy
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
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>
Casey Bodley [Tue, 13 Jun 2023 15:54:43 +0000 (11:54 -0400)]
Merge pull request #52014 from cbodley/wip-test-cls-refcount-rename
test/cls: rename cls_refcount tests
Reviewed-by: Ali Maredia <amaredia@redhat.com>
zdover23 [Tue, 13 Jun 2023 15:08:47 +0000 (01:08 +1000)]
Merge pull request #52009 from zdover23/wip-doc-2023-06-12-rados-operations-placement-groups-math-markup
doc/rados: add math markup to placement-groups.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuval Lifshitz [Tue, 13 Jun 2023 14:25:48 +0000 (17:25 +0300)]
Merge pull request #52011 from samarahu/d4n-warning-cleanup
RGW: Cleanup D4N unit test warning
zdover23 [Tue, 13 Jun 2023 14:14:43 +0000 (00:14 +1000)]
Merge pull request #52028 from zdover23/wip-doc-2023-06-13-dev-deploying-dev-cluster-link
doc/dev: fix "deploying dev cluster" link
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Daniel Gryniewicz [Tue, 13 Jun 2023 13:29:00 +0000 (09:29 -0400)]
Merge pull request #51989 from samarahu/remove-trace-comment
RGW: Replace trace with d4n in yaml long desc
zdover23 [Tue, 13 Jun 2023 11:59:25 +0000 (21:59 +1000)]
Merge pull request #52018 from zdover23/wip-doc-2023-06-13-operations-crush-map-1-of-x
doc/rados: edit crush-map.rst (1 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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>
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>
Nizamudeen A [Tue, 13 Jun 2023 08:40:58 +0000 (14:10 +0530)]
Merge pull request #51966 from rhcs-dashboard/grafana-url-deprecated
mgr/dashboard: change deprecated grafana URL in daemon logs
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Nizamudeen A [Tue, 13 Jun 2023 08:32:28 +0000 (14:02 +0530)]
Merge pull request #51953 from rhcs-dashboard/dashboard-status-popover
mgr/dashboard: add popover to cluster status card
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Matan Breizman [Wed, 7 Jun 2023 14:36:37 +0000 (14:36 +0000)]
crimson/osd/osd: handle_osd_map() remove unused ConnectionRef conn
Signed-off-by: Matan Breizman <mbreizma@redhat.com>