]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 months agoRGW|BN: fix lifecycle test and http server issue 58747/head
Ali Masarwa [Thu, 18 Jul 2024 12:24:05 +0000 (15:24 +0300)]
RGW|BN: fix lifecycle test and http server issue

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
12 months agoMerge pull request #58173 from ronen-fr/wip-rf-targets-j13
Ronen Friedman [Thu, 18 Jul 2024 11:15:04 +0000 (14:15 +0300)]
Merge pull request #58173 from ronen-fr/wip-rf-targets-j13

osd/scrub: no shared scrub-job ownership between PGs and the scrub queue

Reviewed-by: Samuel Just <sjust@redhat.com>
12 months agoMerge pull request #58555 from rhcs-dashboard/rgw-multisite-sync-pipe
Pedro Gonzalez Gomez [Thu, 18 Jul 2024 10:32:10 +0000 (12:32 +0200)]
Merge pull request #58555 from rhcs-dashboard/rgw-multisite-sync-pipe

 mgr/dashboard: RGW multisite sync pipe

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
12 months agoMerge pull request #58648 from afreen23/wip-nvmeof-listener
Nizamudeen A [Thu, 18 Jul 2024 06:48:09 +0000 (12:18 +0530)]
Merge pull request #58648 from afreen23/wip-nvmeof-listener

Allow listeners creation and deletion

Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58551 from xxhdx1985126/wip-66924
Yingxin [Thu, 18 Jul 2024 06:09:54 +0000 (14:09 +0800)]
Merge pull request #58551 from xxhdx1985126/wip-66924

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

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
12 months agoMerge pull request #58441 from rhcs-dashboard/add-nfs-export-route
Ankush Behl [Thu, 18 Jul 2024 05:49:59 +0000 (11:19 +0530)]
Merge pull request #58441 from rhcs-dashboard/add-nfs-export-route

mgr/dashboard: add NFS export button for subvolume/ grp

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #57591 from aclamk/wip-aclamk-denc-compat-check
Radoslaw Zarzynski [Wed, 17 Jul 2024 23:52:42 +0000 (01:52 +0200)]
Merge pull request #57591 from aclamk/wip-aclamk-denc-compat-check

common, os/bluestore: Fix lack of checking for compat on DENC_START

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
12 months agomgr/dashboard: Create and delete listeners 58648/head
Afreen Misbah [Wed, 17 Jul 2024 10:16:23 +0000 (15:46 +0530)]
mgr/dashboard: Create and delete listeners

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

- list listener under subsystems
- delete listener
- create listener

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
12 months agomgr/dashboard: RGW multisite sync pipe 58555/head
Naman Munet [Thu, 11 Jul 2024 18:40:51 +0000 (00:10 +0530)]
mgr/dashboard: RGW multisite sync pipe

Fixes: https://tracker.ceph.com/issues/66926
Signed-off-by: Naman Munet <nmunet@redhat.com>
12 months agomgr/dashboard: add NFS export route from subvolume/subvolume grp 58441/head
Avan Thakkar [Fri, 5 Jul 2024 09:29:13 +0000 (14:59 +0530)]
mgr/dashboard: add NFS export route from subvolume/subvolume grp

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
12 months agoMerge pull request #57722 from sajibreadd/wip-62500
Adam Kupczyk [Wed, 17 Jul 2024 09:57:45 +0000 (11:57 +0200)]
Merge pull request #57722 from sajibreadd/wip-62500

os/bluestore: Warning added for slow operations and stalled read

12 months agoMerge pull request #58571 from zdover23/wip-doc-2024-07-13-cephfs-mount-using-fuse
Zac Dover [Wed, 17 Jul 2024 07:24:43 +0000 (17:24 +1000)]
Merge pull request #58571 from zdover23/wip-doc-2024-07-13-cephfs-mount-using-fuse

doc/cephfs: improve mount-using-fuse

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agodoc/cephfs: improve mount-using-fuse 58571/head
Zac Dover [Sat, 13 Jul 2024 00:32:31 +0000 (10:32 +1000)]
doc/cephfs: improve mount-using-fuse

Improve the first twenty percent of doc/cephfs/mount-using-fuse.rst.
This commit changes the text so that it is clearer that FUSE is an
alternative to mounting CephFS with the kernel driver. This commit also
links to the kernel driver page from the "FUSE-mount" page.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agocrimson/os/seastore/transaction_manager: consider inconsistency between 58551/head
Xuehan Xu [Fri, 12 Jul 2024 10:14:53 +0000 (18:14 +0800)]
crimson/os/seastore/transaction_manager: consider inconsistency between
backrefs and lbas acceptable when cleaning segments

Consider the following scene:
1. Trans.A writes the final record of Segment S, in which it overwrite
   another extent E in the same segment S;
2. Before Trans.A "complete_commit", Trans.B tries to rewrite new
   records and roll the segments, which closes Segment S;
3. Before Trans.A "complete_commit", a new cleaner Transaction C tries
   to clean the segment;

In this scenario, C might see a part of extent E's laddr space mapped
to another location within the same segment S. This is actually a valid
case.

Fixes: https://tracker.ceph.com/issues/66924
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agoMerge pull request #57169 from jagombar/fixCpatch
Josh Durgin [Tue, 16 Jul 2024 22:54:41 +0000 (15:54 -0700)]
Merge pull request #57169 from jagombar/fixCpatch

cpatch: Search base image when patching files.

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
12 months agoMerge pull request #57906 from kamoltat/wip-ksirivad-stretch-mode-netsplit-test
Yuri Weinstein [Tue, 16 Jul 2024 22:08:20 +0000 (15:08 -0700)]
Merge pull request #57906 from kamoltat/wip-ksirivad-stretch-mode-netsplit-test

mon/ElectionLogic: tie-breaker mon ignore proposal from marked down mon

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
12 months agoMerge pull request #57592 from Svelar/asan_ec_shec_t
Yuri Weinstein [Tue, 16 Jul 2024 22:07:14 +0000 (15:07 -0700)]
Merge pull request #57592 from Svelar/asan_ec_shec_t

ec: free plugin memory when it destructs and repeated loads

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
12 months agoMerge pull request #57201 from NitzanMordhai/wip-nitzan-standalone-pg-split-merge...
Yuri Weinstein [Tue, 16 Jul 2024 22:06:23 +0000 (15:06 -0700)]
Merge pull request #57201 from NitzanMordhai/wip-nitzan-standalone-pg-split-merge-daemon-commands

test: ceph daemon command with asok path

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
12 months agoMerge pull request #56982 from NitzanMordhai/wip-nitzan-neorados-watch-notify-test...
Yuri Weinstein [Tue, 16 Jul 2024 22:05:00 +0000 (15:05 -0700)]
Merge pull request #56982 from NitzanMordhai/wip-nitzan-neorados-watch-notify-test-reconnect

test/neorados: timeout test won't reconnect at timeout

Reviewed-by: Adam Emerson <aemerson@redhat.com>
12 months agoMerge pull request #56605 from myoungwon/wip-65241
Yuri Weinstein [Tue, 16 Jul 2024 22:03:53 +0000 (15:03 -0700)]
Merge pull request #56605 from myoungwon/wip-65241

osd: fix use-after-free before calling finish_unreadable_object()

Reviewed-by: Samuel Just <sjust@redhat.com>
12 months agoMerge pull request #58354 from ivancich/wip-appropriate-min-objs-shard
J. Eric Ivancich [Tue, 16 Jul 2024 18:43:56 +0000 (14:43 -0400)]
Merge pull request #58354 from ivancich/wip-appropriate-min-objs-shard

rgw: make sure min objs per shard is appropriate

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoMerge pull request #58442 from clwluvw/getlocation-contenttype
J. Eric Ivancich [Tue, 16 Jul 2024 18:42:56 +0000 (14:42 -0400)]
Merge pull request #58442 from clwluvw/getlocation-contenttype

rgw: add missing content-type for RGWGetBucketLocation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoMerge pull request #57640 from cbodley/wip-rgw-beast-realm-reload
J. Eric Ivancich [Tue, 16 Jul 2024 16:27:22 +0000 (12:27 -0400)]
Merge pull request #57640 from cbodley/wip-rgw-beast-realm-reload

rgw/beast: realm reload closes connections so requests drain quickly

Reviewed-by: Oguzhan Ozmen <oozmen@bloomberg.net>
12 months agoMerge pull request #58567 from ivancich/wip-reshard-cleanups
J. Eric Ivancich [Tue, 16 Jul 2024 16:25:45 +0000 (12:25 -0400)]
Merge pull request #58567 from ivancich/wip-reshard-cleanups

rgw: add reshard status to bucket stats plus minor misc items

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agomgr/dashboard: nvmf apis broken for insecure channel
Nizamudeen A [Tue, 16 Jul 2024 14:33:24 +0000 (20:03 +0530)]
mgr/dashboard: nvmf apis broken for insecure channel

because when no certificate, it raises an exception which stops the api call
abruptly.

Signed-off-by: Nizamudeen A <nia@redhat.com>
12 months agoosd/scrub: fix job requeue conditions 58173/head
Ronen Friedman [Wed, 10 Jul 2024 07:06:09 +0000 (02:06 -0500)]
osd/scrub: fix job requeue conditions

Previous commits handled the following two cases correctly:
- requeueing a scrub job while the OSD is still the primary, and
- not restoring the scrub job to the queue if the PG is not there;
Here we handle the missed scenario: the PG is there (we were able to
lock it), but is no longer the primary.

Also - a configuration change must not cause a re-queue of a
scrub-job for a PG that is in the middle of scrubbing.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agotest/osd: delete test_scrub_sched (for now)
Ronen Friedman [Sun, 7 Jul 2024 10:19:39 +0000 (05:19 -0500)]
test/osd: delete test_scrub_sched (for now)

removing this unit-test, as it must be rewritten to match the
changes in the implementation of the scrub scheduling mechanism,
and that implementation is still in flux.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: making osd_scrub_sched.cc compatible with Clang-14
Ronen Friedman [Thu, 4 Jul 2024 15:37:09 +0000 (10:37 -0500)]
osd/scrub: making osd_scrub_sched.cc compatible with Clang-14

Removing the use of C++ ranges, as
Clang versions below 16 are buggy when libstd++ ranges are used.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoqa/standalone/scrub: fix osd-scrub-test.sh
Ronen Friedman [Wed, 26 Jun 2024 15:02:19 +0000 (10:02 -0500)]
qa/standalone/scrub: fix osd-scrub-test.sh

following changes in scrub code

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: scheduling the next scrub following scrub completion
Ronen Friedman [Thu, 20 Jun 2024 13:04:41 +0000 (08:04 -0500)]
osd/scrub: scheduling the next scrub following scrub completion

or after an aborted scrub.

To note: one of the important changes in this commit:
merging the functionality of adjust_target_time() &
update_schedule() into a single function - adjust_schedule().

Regarding the handling of aborts:

Most of the time - all that is required following a scrub abort is to
requeue the scrub job - the one that triggered the aborted scrub -
with just a delay added to its n.b..

But we must take into account scenarios where "something" caused the
parameters prepared for the *next* scrub to show higher urgency or
priority. "Something" - as in an operator command requiring immediate
scrubbing, or a change in the pool/cluster configuration.
In such cases - the current requested flags and the parameters of
the aborted scrub must be merged.

Note that the current implementation is a temporary solution, to be
replaced by a per-level updating of the relevant target.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: improve update_scrub_job()
Ronen Friedman [Mon, 1 Jul 2024 14:06:54 +0000 (09:06 -0500)]
osd/scrub: improve update_scrub_job()

...and on_scrub_schedule_input_change()
by accepting a parameter to control whether the scheduled time for
periodic scrubs that are already due should be updated.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: passing the scrub-job copy through the scrubber
Ronen Friedman [Sun, 16 Jun 2024 15:49:27 +0000 (10:49 -0500)]
osd/scrub: passing the scrub-job copy through the scrubber

moving the scrubbed sjob copy thru the scrubber - from scrub
session initiation to its termination (or abort - where we use the
handed "old version" of the sjob to update the new one).

Note that in this version - not all the information that was used to
determine the specifics of the initiated scrub is passed to the
scrubber and back. In this half-baked stage of the refactoring,
the resulting implementation handling of corner cases, still using
the "planned scrub" flags, is less than optimal.

The next step (dual targets, replacing the 'planned scrub' flags with
specific attributes in the scheduling target) fixes this.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: fix adjust_target_time()
Ronen Friedman [Sat, 15 Jun 2024 12:58:30 +0000 (07:58 -0500)]
osd/scrub: fix adjust_target_time()

... to use populate_config_params() output

Also: fix determine_scrub_time() to use the same already-available
data. determine_scrub_time() renamed to determine_initial_schedule(),
to better reflect its purpose.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: modify scrub registration implementation details
Ronen Friedman [Sat, 15 Jun 2024 12:29:30 +0000 (07:29 -0500)]
osd/scrub: modify scrub registration implementation details

following the change to the queue into holding a copy of the
ScrubJob, the registration process - initiated by
schedule_scrub_with_osd() - can now be simplified.

adjust_target_time() is relocated as is. It will be refactored
in the next commit.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: the scrub queue now holds a copy of the ScrubJob
Ronen Friedman [Thu, 13 Jun 2024 10:38:29 +0000 (05:38 -0500)]
osd/scrub: the scrub queue now holds a copy of the ScrubJob

... and not a shared pointer to it.
The PG's entry in the scrub queue and the scrub-job object that
is part of the scrubber are now separate entities, that can be
modified separately - each with its own locking mechanism.

the interaction between OsdScrub (the OSD's scrub scheduler
object) and the scrub queue during scrub initiation is simplified:
instead of fetching from the queue a list of scrub targets
possibly ready to be scrubbed, the OsdScrub now picks only one
candidate - the top of the queue.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoosd/scrub: Modify osd_scrub_sched.h high-level diagram
Ronen Friedman [Thu, 13 Jun 2024 10:33:00 +0000 (05:33 -0500)]
osd/scrub: Modify osd_scrub_sched.h high-level diagram

to convey the change in the scheduling data ownership: no longer
a scrub-job object shared between the Scrubber and the OSD
scrub queue. Instead - the scrub queue holds a copied snapshot
of the scheduling data.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
12 months agoinclude/denc.h: Review fixes 57591/head
Adam Kupczyk [Tue, 16 Jul 2024 13:15:38 +0000 (13:15 +0000)]
include/denc.h: Review fixes

- Added note to release-checklist
- Created specialized DENC_START_OSD_REQID
- Use CEPH_RELEASE_SQUID (19) value

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
12 months agoMerge pull request #57120 from NUABO/tancz
Adam Kupczyk [Tue, 16 Jul 2024 11:38:53 +0000 (13:38 +0200)]
Merge pull request #57120 from NUABO/tancz

os/bluestore: allow use BtreeAllocator

12 months agoMerge pull request #58544 from rhcs-dashboard/rgw-multisite-sync-pipe-and-flow
Nizamudeen A [Tue, 16 Jul 2024 11:20:00 +0000 (16:50 +0530)]
Merge pull request #58544 from rhcs-dashboard/rgw-multisite-sync-pipe-and-flow

mgr/dashboard: RGW multisite sync flow

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58334 from aclamk/wip-aclamk-patch-bluerocksenv
Adam Kupczyk [Tue, 16 Jul 2024 10:46:36 +0000 (12:46 +0200)]
Merge pull request #58334 from aclamk/wip-aclamk-patch-bluerocksenv

os/bluestore: Fix BlueRocksEnv attempts to use POSIX

12 months agomgr/dashboard: RGW multisite sync flow 58544/head
Naman Munet [Thu, 11 Jul 2024 18:40:51 +0000 (00:10 +0530)]
mgr/dashboard: RGW multisite sync flow

Fixes: https://tracker.ceph.com/issues/66915
Signed-off-by: Naman Munet <nmunet@redhat.com>
12 months agoMerge pull request #57715 from rhcs-dashboard/add-rgw-multisite-wizard
Aashish Sharma [Tue, 16 Jul 2024 06:02:58 +0000 (11:32 +0530)]
Merge pull request #57715 from rhcs-dashboard/add-rgw-multisite-wizard

mgr/dashboard: add a wizard to setup rgw multisite replication

Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58596 from batrick/superuser-doc
Zac Dover [Tue, 16 Jul 2024 04:49:28 +0000 (14:49 +1000)]
Merge pull request #58596 from batrick/superuser-doc

doc: clarify superuser note for ceph-fuse

Reviewed-by: Zac Dover <zac.dover@proton.me>
12 months agoMerge pull request #55265 from vshankar/wip-58878
Venky Shankar [Tue, 16 Jul 2024 04:14:54 +0000 (09:44 +0530)]
Merge pull request #55265 from vshankar/wip-58878

osdc/Journaler: derr log when header update get (possibly) overwritten out-of-order

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
12 months agoMerge pull request #58517 from phlogistonjohn/jjm-cephadm-ranked-by-spec
Adam King [Mon, 15 Jul 2024 22:13:49 +0000 (18:13 -0400)]
Merge pull request #58517 from phlogistonjohn/jjm-cephadm-ranked-by-spec

mgr/cephadm: allow services to be conditionally ranked

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #58514 from phlogistonjohn/jjm-smb-fix-show-no-shares
Adam King [Mon, 15 Jul 2024 22:12:31 +0000 (18:12 -0400)]
Merge pull request #58514 from phlogistonjohn/jjm-smb-fix-show-no-shares

mgr/smb: fix ceph smb show when a cluster has not associated shares

Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
12 months agoMerge pull request #58379 from adk3798/no-cgroups-split-bootstrap
Adam King [Mon, 15 Jul 2024 22:10:06 +0000 (18:10 -0400)]
Merge pull request #58379 from adk3798/no-cgroups-split-bootstrap

cephadm: turn off cgroups_split setting  when bootstrapping with --no-cgroups-split

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57853 from rhcs-dashboard/cache-subvol-smb
Adam King [Mon, 15 Jul 2024 22:08:43 +0000 (18:08 -0400)]
Merge pull request #57853 from rhcs-dashboard/cache-subvol-smb

mgr/smb: cache subvolume (& subvolume group) path lookups

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #58566 from ljflores/wip-tracker-66881
Laura Flores [Mon, 15 Jul 2024 14:59:23 +0000 (09:59 -0500)]
Merge pull request #58566 from ljflores/wip-tracker-66881

qa/workunits/cephtool: add extra privileges to cephtool script

12 months agoMerge pull request #58374 from kamoltat/wip-ksirivad-fix-65824
Kamoltat (Junior) Sirivadhna [Mon, 15 Jul 2024 14:18:23 +0000 (10:18 -0400)]
Merge pull request #58374 from kamoltat/wip-ksirivad-fix-65824

qa/suites/rados/thrash-old-clients: Add noscrub, nodeep-scrub to ignorelist
Reviewed by: Laura Flores <lflores@ibm.com>

12 months agodoc: elide superuser discussion from mount prereq 58596/head
Patrick Donnelly [Mon, 15 Jul 2024 14:18:15 +0000 (10:18 -0400)]
doc: elide superuser discussion from mount prereq

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agodoc: clarify superuser note for ceph-fuse
Patrick Donnelly [Mon, 15 Jul 2024 14:12:24 +0000 (10:12 -0400)]
doc: clarify superuser note for ceph-fuse

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agoMerge pull request #57775 from rhcs-dashboard/add-urls
Ankush Behl [Mon, 15 Jul 2024 14:02:18 +0000 (19:32 +0530)]
Merge pull request #57775 from rhcs-dashboard/add-urls

mgr/dashboard: adds links to the services

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58143 from rhcs-dashboard/add-ec-profile-fields
Pedro Gonzalez Gomez [Mon, 15 Jul 2024 13:44:50 +0000 (15:44 +0200)]
Merge pull request #58143 from rhcs-dashboard/add-ec-profile-fields

mgr/dashboard: add fields to EC profile form

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58581 from rkhudov/src-test-rgw-test_multi-update-documentation
Casey Bodley [Mon, 15 Jul 2024 12:55:54 +0000 (13:55 +0100)]
Merge pull request #58581 from rkhudov/src-test-rgw-test_multi-update-documentation

src/test/rgw/test_multlti.md:update documentation for multi tests run

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
12 months agoMerge pull request #49974 from neesingh-rh/wip-58619
Venky Shankar [Mon, 15 Jul 2024 10:25:20 +0000 (15:55 +0530)]
Merge pull request #49974 from neesingh-rh/wip-58619

mds: fix session/client evict command.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agoMerge pull request #56193 from joscollin/wip-B64927-test_cephfs_mirror_blocklist...
Venky Shankar [Mon, 15 Jul 2024 09:55:19 +0000 (15:25 +0530)]
Merge pull request #56193 from joscollin/wip-B64927-test_cephfs_mirror_blocklist-fail

cephfs_mirror, qa: fix mirror daemon doesn't restart when blocklisted or failed

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agoMerge pull request #57859 from vshankar/wip-debug-reclaim-noaddrs
Venky Shankar [Mon, 15 Jul 2024 09:54:09 +0000 (15:24 +0530)]
Merge pull request #57859 from vshankar/wip-debug-reclaim-noaddrs

mds: derr log and dump sessionmap when reclaim session uuid isn't found

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agoMerge pull request #58216 from hit1943/56288_fix
Venky Shankar [Mon, 15 Jul 2024 09:41:44 +0000 (15:11 +0530)]
Merge pull request #58216 from hit1943/56288_fix

client: retry readdir if dir is invalidated

Reviewed-by: Venky Shankar <vshankar@redhat.com>
12 months agomgr/dashboard: add fields to EC profile form 58143/head
Pedro Gonzalez Gomez [Wed, 19 Jun 2024 20:23:11 +0000 (22:23 +0200)]
mgr/dashboard: add fields to EC profile form

Fixes: https://tracker.ceph.com/issues/66571
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
12 months agomgr/dashboard: add url links to services 57775/head
Pedro Gonzalez Gomez [Wed, 29 May 2024 18:35:15 +0000 (20:35 +0200)]
mgr/dashboard: add url links to services

Fixes: https://tracker.ceph.com/issues/66736
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
12 months agoMerge pull request #58167 from rhcs-dashboard/multi-cluster-cleanup
Nizamudeen A [Mon, 15 Jul 2024 05:45:01 +0000 (11:15 +0530)]
Merge pull request #58167 from rhcs-dashboard/multi-cluster-cleanup

mgr/dashboard: Multi-cluster cleanup

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58241 from afreen23/wip-nvmeof-subsystems
Nizamudeen A [Mon, 15 Jul 2024 05:44:42 +0000 (11:14 +0530)]
Merge pull request #58241 from afreen23/wip-nvmeof-subsystems

mgr/dashboard: Configure subsystems from dashboard

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agomgr/dashboard: add a wizard to setup rgw multisite replication 57715/head
Aashish Sharma [Tue, 7 May 2024 03:47:24 +0000 (09:17 +0530)]
mgr/dashboard: add a wizard to setup rgw multisite replication

Fixes: https://tracker.ceph.com/issues/66227
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
12 months agoMerge pull request #58357 from xxhdx1985126/wip-seastore-btree-interruptible-bug-fix
Yingxin [Mon, 15 Jul 2024 01:57:10 +0000 (09:57 +0800)]
Merge pull request #58357 from xxhdx1985126/wip-seastore-btree-interruptible-bug-fix

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

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
12 months agoMerge pull request #58467 from cyx1231st/wip-seastore-track-outstanding
Yingxin [Mon, 15 Jul 2024 01:54:30 +0000 (09:54 +0800)]
Merge pull request #58467 from cyx1231st/wip-seastore-track-outstanding

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

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
12 months agoMerge pull request #58250 from cyx1231st/wip-seastore-optimize-ool-padding
Yingxin [Mon, 15 Jul 2024 01:53:16 +0000 (09:53 +0800)]
Merge pull request #58250 from cyx1231st/wip-seastore-optimize-ool-padding

crimson/os/seastore: write ool extents without padding

Reviewed-by: Samuel Just <sjust@redhat.com>
12 months agosrc/test/rgw/test_multlti.md:update documentation for multi tests run 58581/head
rkhudov [Sun, 14 Jul 2024 16:46:27 +0000 (17:46 +0100)]
src/test/rgw/test_multlti.md:update documentation for multi tests run

Signed-off-by: rkhudov <rhudov@gmail.com>
12 months agoMerge pull request #58574 from zdover23/wip-doc-2024-07-13-cephfs-mount-using-kernel...
Zac Dover [Sun, 14 Jul 2024 14:03:06 +0000 (00:03 +1000)]
Merge pull request #58574 from zdover23/wip-doc-2024-07-13-cephfs-mount-using-kernel-driver

doc/cephfs: edit "is mount helper present"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58451 from zdover23/wip-doc-2024-07-07-dev-encoding
Zac Dover [Sun, 14 Jul 2024 07:45:25 +0000 (17:45 +1000)]
Merge pull request #58451 from zdover23/wip-doc-2024-07-07-dev-encoding

doc/dev: edit "Principles for format change"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agodoc/dev: edit "Principles for format change" 58451/head
Zac Dover [Sun, 7 Jul 2024 03:59:15 +0000 (13:59 +1000)]
doc/dev: edit "Principles for format change"

Improve "Principles for format change" in doc/dev/encoding.rst. This
commit started as a response to Anthony D'Atri's suggestion here: https://github.com/ceph/ceph/pull/58299/files#r1656985564

Review of this section suggested to me that certain minor English usage
improvements would be of benefit. The numbered lists in this section
could still be made a bit clearer.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agodoc/cephfs: edit "is mount helper present" 58574/head
Zac Dover [Sun, 14 Jul 2024 06:40:14 +0000 (16:40 +1000)]
doc/cephfs: edit "is mount helper present"

Edit the section called "Is mount helper present?", the title of which
prior to this commit was "Is mount helper is present?". Other small
disambiguating improvements have been made to the text in the section.
An unselectable prompt has been added before a command.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agorgw: add reshard status to bucket stats plus minor misc items 58567/head
J. Eric Ivancich [Fri, 12 Jul 2024 18:39:18 +0000 (14:39 -0400)]
rgw: add reshard status to bucket stats plus minor misc items

Adds reshard status to `radosgw-admin bucket stats ...`. Renames the
variable max_entries to max_op_entries to clarify that it's not the
maximum number of entries wanted in a bucket index shard. Does some
other minor clean-ups.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
12 months agoMerge pull request #58324 from kamoltat/wip-ksirivad-fix-63784
Laura Flores [Fri, 12 Jul 2024 18:43:12 +0000 (13:43 -0500)]
Merge pull request #58324 from kamoltat/wip-ksirivad-fix-63784

qa/standalone/mon: Fix mkfs  test & TEST_LOG failures

12 months agoqa/workunits/cephtool: add extra privileges to cephtool script 58566/head
Laura Flores [Thu, 11 Jul 2024 22:20:50 +0000 (17:20 -0500)]
qa/workunits/cephtool: add extra privileges to cephtool script

This is more of a workaround to an issue in the infrastructure
where files are made with root privileges, causing permission
issues when operations are used on them without sudo.

Fixes: https://tracker.ceph.com/issues/66881
Signed-off-by: Laura Flores <lflores@ibm.com>
12 months agoMerge pull request #58554 from ceph/wip-yuriw-release-process-main
Yuri Weinstein [Fri, 12 Jul 2024 15:12:49 +0000 (08:12 -0700)]
Merge pull request #58554 from ceph/wip-yuriw-release-process-main

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

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

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
12 months agoMerge pull request #58416 from cbodley/wip-cmake-zfs
Casey Bodley [Fri, 12 Jul 2024 12:44:45 +0000 (13:44 +0100)]
Merge pull request #58416 from cbodley/wip-cmake-zfs

cmake/os: remove WITH_ZFS option

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
12 months agoMerge pull request #58311 from rishabh-d-dave/fs-auth-nonalpha-test
Rishabh Dave [Fri, 12 Jul 2024 10:53:47 +0000 (16:23 +0530)]
Merge pull request #58311 from rishabh-d-dave/fs-auth-nonalpha-test

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
12 months agoMerge pull request #58386 from YiteGu/dashboard-rename-api
Nizamudeen A [Fri, 12 Jul 2024 07:24:47 +0000 (12:54 +0530)]
Merge pull request #58386 from YiteGu/dashboard-rename-api

mgr/dashboard: add cephfs rename REST API

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58531 from rhcs-dashboard/fix-66901-main
Nizamudeen A [Fri, 12 Jul 2024 07:23:39 +0000 (12:53 +0530)]
Merge pull request #58531 from rhcs-dashboard/fix-66901-main

mgr/dashboard: fix rgw configuration e2e test

Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #57989 from rhcs-dashboard/multicluster-e2e
Nizamudeen A [Fri, 12 Jul 2024 07:19:29 +0000 (12:49 +0530)]
Merge pull request #57989 from rhcs-dashboard/multicluster-e2e

mgr/dashboard: multicluster management e2e tests

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
12 months agoMerge pull request #57712 from rhcs-dashboard/dashboard-nvmf-mtls-conf
Nizamudeen A [Fri, 12 Jul 2024 05:10:02 +0000 (10:40 +0530)]
Merge pull request #57712 from rhcs-dashboard/dashboard-nvmf-mtls-conf

mgr/dashboard: use secure_channel for grpc requests

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: baum <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
12 months agoMerge pull request #58101 from rishabh-d-dave/async-clone-race
Rishabh Dave [Fri, 12 Jul 2024 03:55:26 +0000 (09:25 +0530)]
Merge pull request #58101 from rishabh-d-dave/async-clone-race

mgr/vol: handle case where clone index entry goes missing

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
12 months agocrimson/os/seastore: report outstanding ios for each shard 58467/head
Yingxin Cheng [Tue, 9 Jul 2024 03:01:44 +0000 (11:01 +0800)]
crimson/os/seastore: report outstanding ios for each shard

Detailed outstanding ios might reflect some issues, remove if it is no
longer a problem.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
12 months agocrimson/os/seastar: report transaction iops/conflicts/outstanding
Yingxin Cheng [Mon, 8 Jul 2024 08:53:26 +0000 (16:53 +0800)]
crimson/os/seastar: report transaction iops/conflicts/outstanding

Also report details in shard 0.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
12 months agocrimson/os/seastore: track shard io stats below transaction manager
Yingxin Cheng [Fri, 5 Jul 2024 09:03:38 +0000 (17:03 +0800)]
crimson/os/seastore: track shard io stats below transaction manager

Including background transactions.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
12 months agoqa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname 58311/head
Rishabh Dave [Wed, 26 Jun 2024 13:35:35 +0000 (19:05 +0530)]
qa/cephfs: fix test_single_path_authorize_on_nonalphanumeric_fsname

This test deletes the CephFS already present on the cluster at the very
beginning and unmounts the first client beforehand. But it leaves the
second client mounted on this deleted CephFS that doesn't exist for the
rest of the test. And then at the very end of this test it attempts to
remount the second client (during tearDown()) which hangs and causes
test runner to crash.

Unmount the second client beforehand to prevent the bug and delete
mount_b object to avoid confusion for the readers in future about
whether or not 2nd mountpoint exists.

Fixes: https://tracker.ceph.com/issues/66077
Signed-off-by: Rishabh Dave <ridave@redhat.com>
12 months agomgr/vol: handle case where clone index entry goes missing 58101/head
Rishabh Dave [Mon, 17 Jun 2024 19:03:28 +0000 (00:33 +0530)]
mgr/vol: handle case where clone index entry goes missing

In `async_cloner.py`, clone index entry is fetched to get next clone job
that needs to be executed. It might happen that the clone job was
cancelled just when it was going to be picked for execution (IOW, when
it was about to move from pending state to in-progress state).

Currently, MGR hangs in such a case because exception `ObjectNotFound`
from CephFS Python bindings is raised and is left uncaught. To prevent
this issue catch the exception, log it and return None to tell
`get_job()` of `async_job.py` to look for next job in the queue.

Increase the scope of try-except in method `get_oldest_clone_entry()` of
`async_cloner.py` so that when exception `cephfs.Error` or any exception
under it is thrown by `self.fs.lstat()` is not left uncaught.

FS object is also passed to the method `list_one_entry_at_a_time()`, so
increasing scope of try-except is useful as it will not allow exceptions
raised in other calls to CephFS Python binding methods to be left
uncaught.

Fixes: https://tracker.ceph.com/issues/66560
Signed-off-by: Rishabh Dave <ridave@redhat.com>
12 months agoMerge pull request #58491 from cbodley/wip-66880
Casey Bodley [Thu, 11 Jul 2024 14:33:21 +0000 (15:33 +0100)]
Merge pull request #58491 from cbodley/wip-66880

rgw/datalog: fix LazyFIFO race fix

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
12 months agoMerge pull request #58530 from zdover23/wip-doc-2024-07-11-radosgw-s3-authentication
Anthony D'Atri [Thu, 11 Jul 2024 12:06:29 +0000 (08:06 -0400)]
Merge pull request #58530 from zdover23/wip-doc-2024-07-11-radosgw-s3-authentication

doc/radosgw: s/http/HTTP/

12 months agoMerge pull request #58507 from idryomov/wip-66886
Ilya Dryomov [Thu, 11 Jul 2024 12:03:16 +0000 (14:03 +0200)]
Merge pull request #58507 from idryomov/wip-66886

qa: account for rbd_trash object in krbd_data_pool.sh + related ceph{,adm} task fixes

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: N Balachandran <nibalach@redhat.com>
12 months agomgr/dashboard: Configure subsystems from dashboard 58241/head
Afreen Misbah [Sat, 22 Jun 2024 12:00:49 +0000 (17:30 +0530)]
mgr/dashboard: Configure subsystems from dashboard

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

- adds subsytems tab
- adds subsystem listing view
- adds create subsystem modal
- adds delete subsystem
- adds unit tests

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
12 months agoMerge pull request #57492 from rishabh-d-dave/qa-fs-mds-fail-improve
Rishabh Dave [Thu, 11 Jul 2024 11:07:16 +0000 (16:37 +0530)]
Merge pull request #57492 from rishabh-d-dave/qa-fs-mds-fail-improve

qa/cephfs: improvements for "mds fail" and "fs fail"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agoMerge pull request #58225 from guojidan/fix-mem-leak
Matan Breizman [Thu, 11 Jul 2024 09:13:58 +0000 (12:13 +0300)]
Merge pull request #58225 from guojidan/fix-mem-leak

crimson/osd/osd_operation: fix dump_historic_slow_ops command works

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 months agoMerge pull request #58396 from NitzanMordhai/wip-nitzan-crimson-stat-pybind-test
Matan Breizman [Thu, 11 Jul 2024 08:47:29 +0000 (11:47 +0300)]
Merge pull request #58396 from NitzanMordhai/wip-nitzan-crimson-stat-pybind-test

suite/crimson: enable stats tests

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 months agomgr/dashboard: fix rgw configuration e2e test 58531/head
Aashish Sharma [Thu, 11 Jul 2024 07:05:59 +0000 (12:35 +0530)]
mgr/dashboard: fix rgw configuration e2e test

Fixes: https://tracker.ceph.com/issues/66901
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
12 months agomgr/dashboard: multicluster management e2e tests 57989/head
Nizamudeen A [Wed, 12 Jun 2024 08:28:17 +0000 (13:58 +0530)]
mgr/dashboard: multicluster management e2e tests

auth, edit, reconnect and disconnect another cluster

Signed-off-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58224 from Serrini/fix-66490-main
Nizamudeen A [Thu, 11 Jul 2024 06:19:30 +0000 (11:49 +0530)]
Merge pull request #58224 from Serrini/fix-66490-main

mgr/dashboard: add restful api for creating crush rule with type of 'erasure'

Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agodoc/radosgw: s/http/HTTP/ 58530/head
Zac Dover [Thu, 11 Jul 2024 03:48:39 +0000 (13:48 +1000)]
doc/radosgw: s/http/HTTP/

s/http/HTTP/ in doc/radosgw/s3/authentication.rst, as suggested by
Anthony D'Atri in the location linked in the "Fixes:" line below.

Fixes: https://github.com/ceph/ceph/pull/58436#discussion_r1667088045
Signed-off-by: Zac Dover <zac.dover@proton.me>