]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 months agoMerge pull request #58461 from cbodley/wip-cls-rgw-index-async
Casey Bodley [Thu, 26 Sep 2024 18:49:26 +0000 (14:49 -0400)]
Merge pull request #58461 from cbodley/wip-cls-rgw-index-async

cls/rgw: warn about CLSRGWConcurrentIO use in asio threads

Reviewed-by: Adam Emerson <aemerson@redhat.com>
9 months agoMerge pull request #59726 from avanthakkar/earmark-nfs
Adam King [Thu, 26 Sep 2024 17:43:51 +0000 (13:43 -0400)]
Merge pull request #59726 from avanthakkar/earmark-nfs

mgr/nfs: earmark resolver for subvolume

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agoMerge PR #58936 into main
Patrick Donnelly [Thu, 26 Sep 2024 15:24:58 +0000 (11:24 -0400)]
Merge PR #58936 into main

* refs/pull/58936/head:
mds: do not duplicate journaler write heads
mds: use Journaler getters
osdc: properly acquire locks for getters
osdc: add print method for Journaler::Header
mds: do not trim segments after open file table commit
mds: delay expiry if LogSegment is ahead of committed oft seq
mds: do not write journal head twice on trim
mds: simplify and explain expiry finisher ctx
mds: add mds_lock asserts for journal flush
mds: skip second wait_for_safe
mds: trim only to the LogSegment created for flush
mds: allow passing explicit seq to trim to
mds: quiet unhelpful debug message
mds: add C_IO_Wrapper completion debugging
mds: add dout for new segment

Reviewed-by: Venky Shankar <vshankar@redhat.com>
9 months agoMerge pull request #59864 from cbodley/wip-68134
Casey Bodley [Thu, 26 Sep 2024 15:05:07 +0000 (11:05 -0400)]
Merge pull request #59864 from cbodley/wip-68134

rgw/rados: RGWRados::delete_objs_inline() uses AioThrottle

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
9 months agoMerge pull request #59536 from smanjara/rgw-full-sync-cr
Casey Bodley [Thu, 26 Sep 2024 14:58:23 +0000 (10:58 -0400)]
Merge pull request #59536 from smanjara/rgw-full-sync-cr

rg/multisite: handle errors properly in RGWDataFullSyncSingleEntryCR()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 months agoMerge pull request #57146 from kamoltat/wip-ksirivad-fix-connection-score-json
Kamoltat (Junior) Sirivadhna [Thu, 26 Sep 2024 14:15:04 +0000 (10:15 -0400)]
Merge pull request #57146 from kamoltat/wip-ksirivad-fix-connection-score-json

src/mon/ConnectionTracker.cc: Fix dump function
Reviewed-by Kamoltat Sirivadhna <ksirivad@redhat.com>

9 months agoMerge pull request #58472 from YiteGu/reinforce-mon-scrub-db-get-error
Kamoltat (Junior) Sirivadhna [Thu, 26 Sep 2024 14:14:36 +0000 (10:14 -0400)]
Merge pull request #58472 from YiteGu/reinforce-mon-scrub-db-get-error

mon/scrub: log error details of store access failures
Reviewed-by Kamoltat Sirivadhna <ksirivad@redhat.com>

9 months agoMerge pull request #59609 from cbodley/wip-rgw-dir-suggest-reshard
Casey Bodley [Thu, 26 Sep 2024 13:44:09 +0000 (09:44 -0400)]
Merge pull request #59609 from cbodley/wip-rgw-dir-suggest-reshard

rgw/rados: guard against dir suggest during reshard

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
9 months agoMerge pull request #59441 from ceph/wip-oozmen-67656-integration-test
Casey Bodley [Thu, 26 Sep 2024 13:07:26 +0000 (09:07 -0400)]
Merge pull request #59441 from ceph/wip-oozmen-67656-integration-test

test/rgw/notifications: integration test for the procedure of migrating an existing v2 topic to an account

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
9 months agoMerge pull request #59244 from cbodley/wip-rgw-notification-token-waiter
Casey Bodley [Thu, 26 Sep 2024 13:07:04 +0000 (09:07 -0400)]
Merge pull request #59244 from cbodley/wip-rgw-notification-token-waiter

rgw/notify: process_queue() constructs wait tokens when spawning

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
9 months agoMerge pull request #59981 from guits/fix_68231
Guillaume Abrioux [Thu, 26 Sep 2024 12:19:49 +0000 (14:19 +0200)]
Merge pull request #59981 from guits/fix_68231

node-proxy: fix a regression when processing the RedFish API

9 months agoMerge pull request #59946 from rhcs-dashboard/rbd-snapshot
afreen23 [Thu, 26 Sep 2024 07:53:57 +0000 (13:23 +0530)]
Merge pull request #59946 from rhcs-dashboard/rbd-snapshot

mgr/dashboard: Forbid snapshot name "." and any containing "/".

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59986 from nbalacha/wip-nbalacha-doc-typo
Zac Dover [Thu, 26 Sep 2024 07:17:21 +0000 (17:17 +1000)]
Merge pull request #59986 from nbalacha/wip-nbalacha-doc-typo

doc: fix typo

Reviewed-by: Zac Dover <zac.dover@proton.me>
9 months agoMerge pull request #59846 from rhcs-dashboard/usermanagment-roles
Nizamudeen A [Thu, 26 Sep 2024 06:42:44 +0000 (12:12 +0530)]
Merge pull request #59846 from rhcs-dashboard/usermanagment-roles

mgr/dashboard: carbonize user management-role form

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: nmunet <NOT@FOUND>
9 months agoMerge pull request #59194 from rhcs-dashboard/add-ssl-prometheus-federate
Aashish Sharma [Thu, 26 Sep 2024 06:03:46 +0000 (11:33 +0530)]
Merge pull request #59194 from rhcs-dashboard/add-ssl-prometheus-federate

mgr/dashboard: Add ssl prometheus federate

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
9 months agodoc: fix typo 59986/head
N Balachandran [Thu, 26 Sep 2024 04:16:56 +0000 (09:46 +0530)]
doc: fix typo

Fixed a typo in the jaeger traces documentation.

Signed-off-by: N Balachandran <nibalach@redhat.com>
9 months agoMerge pull request #58719 from rhcs-dashboard/add-progress-multisite-automation
Nizamudeen A [Thu, 26 Sep 2024 03:57:08 +0000 (09:27 +0530)]
Merge pull request #58719 from rhcs-dashboard/add-progress-multisite-automation

mgr/dashboard: Add progress step to multisite automation wizard

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge PR #56776 into main
Patrick Donnelly [Wed, 25 Sep 2024 21:03:09 +0000 (17:03 -0400)]
Merge PR #56776 into main

* refs/pull/56776/head:
client: fix d_reclen for readdir

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agoMerge PR #59467 into main
Patrick Donnelly [Wed, 25 Sep 2024 21:02:41 +0000 (17:02 -0400)]
Merge PR #59467 into main

* refs/pull/59467/head:
qa: correct daemon for warning conf
qa: print config dump after setting

Reviewed-by: Adam King <adking@redhat.com>
9 months agoMerge PR #59504 into main
Patrick Donnelly [Wed, 25 Sep 2024 21:02:13 +0000 (17:02 -0400)]
Merge PR #59504 into main

* refs/pull/59504/head:
mds: dump next_snap when checking dentry corruption

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agoMerge PR #59810 into main
Patrick Donnelly [Wed, 25 Sep 2024 21:01:38 +0000 (17:01 -0400)]
Merge PR #59810 into main

* refs/pull/59810/head:
client: remove hypertable

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 months agomds: do not duplicate journaler write heads 58936/head
Patrick Donnelly [Wed, 28 Aug 2024 03:07:48 +0000 (23:07 -0400)]
mds: do not duplicate journaler write heads

The MDS can unnecessarily write out the journaler head multiple times. Check
the last_written Header to see if it's necessary to write and gather waiters.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: use Journaler getters
Patrick Donnelly [Wed, 28 Aug 2024 03:07:00 +0000 (23:07 -0400)]
mds: use Journaler getters

To access the Journaler::Header safely.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agoosdc: properly acquire locks for getters
Patrick Donnelly [Wed, 28 Aug 2024 03:05:11 +0000 (23:05 -0400)]
osdc: properly acquire locks for getters

This was left as a TODO. : /

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agoosdc: add print method for Journaler::Header
Patrick Donnelly [Wed, 28 Aug 2024 03:03:33 +0000 (23:03 -0400)]
osdc: add print method for Journaler::Header

For dout prints.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: do not trim segments after open file table commit
Patrick Donnelly [Tue, 27 Aug 2024 21:07:06 +0000 (17:07 -0400)]
mds: do not trim segments after open file table commit

Previously, the trimming of expired segments would only occur if the open file
table's committed sequence number is past the segment to be trimmed. This is
now part of the expiry checks so it's no longer necessary to restart trimming
when the open file table commit completes.

Furthermore, this was confusing to `flush journal` as it was waiting for the
journal head write but the open file table commit already triggered the trim.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: delay expiry if LogSegment is ahead of committed oft seq
Patrick Donnelly [Tue, 27 Aug 2024 17:50:55 +0000 (13:50 -0400)]
mds: delay expiry if LogSegment is ahead of committed oft seq

And remove the misplaced conditional in ::trim_expiring_segments.

This is necessary as the `flush journal` command gets confused by missing a
wait_for_expiry on a LogSegment that is not actually expired.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: do not write journal head twice on trim
Patrick Donnelly [Wed, 14 Aug 2024 19:24:51 +0000 (15:24 -0400)]
mds: do not write journal head twice on trim

Add context to wait for MDLog::trim_expired_segments to write the journal head.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: simplify and explain expiry finisher ctx
Patrick Donnelly [Wed, 14 Aug 2024 18:45:53 +0000 (14:45 -0400)]
mds: simplify and explain expiry finisher ctx

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: add mds_lock asserts for journal flush
Patrick Donnelly [Tue, 30 Jul 2024 20:40:06 +0000 (16:40 -0400)]
mds: add mds_lock asserts for journal flush

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: skip second wait_for_safe
Patrick Donnelly [Tue, 30 Jul 2024 20:28:33 +0000 (16:28 -0400)]
mds: skip second wait_for_safe

Now that we only trim up to the segment created for the flush, this second wait
should no longer be necessary.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: trim only to the LogSegment created for flush
Patrick Donnelly [Tue, 30 Jul 2024 20:19:32 +0000 (16:19 -0400)]
mds: trim only to the LogSegment created for flush

This neatly avoids a situation where the MDS trims past the segment created for
the `flush journal` command.

Here's what it looks like:

    2024-07-30T20:15:51.679+0000 7f70a809a640  1 mds.d asok_command: flush journal {prefix=flush journal} (starting...)
    2024-07-30T20:15:51.679+0000 7f70a809a640 10 mds.1.26 handle_asok_command: flush journal
    2024-07-30T20:15:51.679+0000 7f70a809a640 20 mds.1.26 send
    2024-07-30T20:15:51.679+0000 7f70a809a640 20 mds.1.26 flush_mdlog
    2024-07-30T20:15:51.679+0000 7f70a809a640 10 mds.1.cache create_subtree_map 106 subtrees, 105 fullauth
    ...
    2024-07-30T20:15:51.680+0000 7f70a809a640 20 mds.1.log _submit_entry ESubtreeMap 105 subtrees , 0 ambiguous [metablob 0x101, 107 dirs]
    2024-07-30T20:15:51.680+0000 7f70a809a640 20 mds.1.log _start_new_segment: seq = 522843 starting new segment LogSegment(522843/0xffffffffffffffff events=0)
    ...
    2024-07-30T20:15:51.686+0000 7f709e887640 20 mds.1.26 handle_clear_mdlog: r=0
    2024-07-30T20:15:51.686+0000 7f709e887640  5 mds.1.26 trim_mdlog: beginning segment expiry
    2024-07-30T20:15:51.686+0000 7f709e887640 10 mds.1.log trim_to: 522843 23/0/0
    ...
    2024-07-30T20:15:51.858+0000 7f709e887640 20 mds.1.26 expire_segments
    2024-07-30T20:15:51.858+0000 7f709e887640  5 mds.1.26 expire_segments: waiting for 22 segments to expire
    ...
    2024-07-30T20:15:52.386+0000 7f70a008a640 20 mds.1.26 handle_expire_segments: r=0
    2024-07-30T20:15:52.386+0000 7f70a008a640 20 mds.1.26 trim_segments
    2024-07-30T20:15:52.386+0000 7f709e887640  5 mds.1.26 trim_expired_segments: expiry complete, expire_pos/trim_pos is now 22f4c774/22c00000
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(503314/0x22f4c774 events=649)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(503314/0x22f4c774 events=649)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(503963/0x230019e6 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(503963/0x230019e6 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(504987/0x23119d93 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(504987/0x23119d93 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(506011/0x23234d24 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(506011/0x23234d24 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(507035/0x23392678 events=397)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(507035/0x23392678 events=397)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(507432/0x23400db4 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(507432/0x23400db4 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(508456/0x2351c0af events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(508456/0x2351c0af events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(509480/0x23639df0 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(509480/0x23639df0 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(510504/0x2375912d events=607)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(510504/0x2375912d events=607)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(511111/0x2380290f events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(511111/0x2380290f events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(512135/0x2391b7f3 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(512135/0x2391b7f3 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(513159/0x23a6a15f events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(513159/0x23a6a15f events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(514183/0x23b855e7 events=442)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(514183/0x23b855e7 events=442)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(514625/0x23c01325 events=979)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(514625/0x23c01325 events=979)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(515604/0x23d0e086 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: expiring up to this major segment seq=515604
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(503314/0x22f4c774 events=649)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(503963/0x230019e6 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(504987/0x23119d93 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(506011/0x23234d24 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(507035/0x23392678 events=397)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(507432/0x23400db4 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(508456/0x2351c0af events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(509480/0x23639df0 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(510504/0x2375912d events=607)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(511111/0x2380290f events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(512135/0x2391b7f3 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(513159/0x23a6a15f events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(514183/0x23b855e7 events=442)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(514625/0x23c01325 events=979)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(515604/0x23d0e086 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(516628/0x23e2a879 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(516628/0x23e2a879 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(517652/0x23f47dbf events=665)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(517652/0x23f47dbf events=665)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(518317/0x240007be events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(518317/0x240007be events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(519341/0x2411af83 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(519341/0x2411af83 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(520365/0x24234a83 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(520365/0x24234a83 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(521389/0x24344292 events=691)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(521389/0x24344292 events=691)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(522080/0x24400e24 events=763)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: maybe expiring LogSegment(522080/0x24400e24 events=763)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: examining LogSegment(522843/0x244c4fda events=1)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments: expiring up to this major segment seq=522843
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(515604/0x23d0e086 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(516628/0x23e2a879 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(517652/0x23f47dbf events=665)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(518317/0x240007be events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(519341/0x2411af83 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(520365/0x24234a83 events=1024)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(521389/0x24344292 events=691)
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.log _trim_expired_segments: expiring LogSegment(522080/0x24400e24 events=763)
    2024-07-30T20:15:52.386+0000 7f709e887640 10 mds.1.log _trim_expired_segments waiting for expiry LogSegment(522843/0x244c4fda events=1)
    2024-07-30T20:15:52.386+0000 7f709e887640  1 -- [v2:127.0.0.1:6872/1197350146,v1:127.0.0.1:6873/1197350146] --> [v2:127.0.0.1:6850/2027314847,v1:127.0.0.1:6851/2027314847] -- osd_op(unknown.0.26:131573 2.7 2:ea85266a:::201.00000000:head [writefull 0~90 [fadvise_dontneed] in=90b] snapc 0=[] ondisk+write+known_if_redirected+full_force+supports_pool_eio e76) -- 0x555daee1ac00 con 0x555da2bc7180
    2024-07-30T20:15:52.386+0000 7f709e887640  5 mds.1.26 trim_expired_segments: trim complete, expire_pos/trim_pos is now 244c4fda/22c00000
    2024-07-30T20:15:52.386+0000 7f709e887640 20 mds.1.26 write_journal_head

Related-to: https://tracker.ceph.com/issues/59119
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: allow passing explicit seq to trim to
Patrick Donnelly [Tue, 30 Jul 2024 20:18:39 +0000 (16:18 -0400)]
mds: allow passing explicit seq to trim to

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: quiet unhelpful debug message
Patrick Donnelly [Tue, 27 Aug 2024 17:49:42 +0000 (13:49 -0400)]
mds: quiet unhelpful debug message

looks like

    2024-08-15T06:08:36.056+0000 7f29379f4640 10 mds.0.journal try_to_expire waiting for purge of []

Nothing to purge!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: add C_IO_Wrapper completion debugging
Patrick Donnelly [Tue, 27 Aug 2024 20:03:05 +0000 (16:03 -0400)]
mds: add C_IO_Wrapper completion debugging

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomds: add dout for new segment
Patrick Donnelly [Tue, 30 Jul 2024 20:17:54 +0000 (16:17 -0400)]
mds: add dout for new segment

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agomgr/dashboard: Forbid snapshot name "." and any containing "/". 59946/head
Dnyaneshwari [Tue, 24 Sep 2024 06:23:01 +0000 (11:53 +0530)]
mgr/dashboard: Forbid snapshot name "." and any containing "/".

Fixes: https://tracker.ceph.com/issues/68198
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
9 months agoMerge pull request #59959 from idryomov/wip-librbd-supports-group-snap-get-info-define
Ilya Dryomov [Wed, 25 Sep 2024 15:59:04 +0000 (17:59 +0200)]
Merge pull request #59959 from idryomov/wip-librbd-supports-group-snap-get-info-define

librbd: add LIBRBD_SUPPORTS_GROUP_SNAP_GET_INFO define

Reviewed-by: N Balachandran <nibalach@redhat.com>
9 months agoMerge pull request #59958 from adk3798/drop-py37-mgr-tox
Adam King [Wed, 25 Sep 2024 15:16:23 +0000 (11:16 -0400)]
Merge pull request #59958 from adk3798/drop-py37-mgr-tox

pybind/mgr: drop py37 test from  tox.ini

Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agonode-proxy: fix a regression when processing the RedFish API 59981/head
Guillaume Abrioux [Wed, 25 Sep 2024 14:28:01 +0000 (14:28 +0000)]
node-proxy: fix a regression when processing the RedFish API

ce360a4a5f6 introduced a regression.

`Endpoint()` doesn't take a `EndpointMgr` object as parameter.
The call `e = Endpoint(self, _url, self.client)` obviously throws the
following error:

```
TypeError: __init__() takes 3 positional arguments but 4 were given
```

This commit fixes it.

Fixes: https://tracker.ceph.com/issues/68231
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
9 months agoMerge pull request #57809 from kchheda3/wip-dont-print-passwords
Casey Bodley [Wed, 25 Sep 2024 14:12:43 +0000 (10:12 -0400)]
Merge pull request #57809 from kchheda3/wip-dont-print-passwords

rgw/notification: add logic to prevent logging password associated with topics

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
9 months agomgr/dashboard: adjust federate ssl code with mTLS 59194/head
Aashish Sharma [Tue, 13 Aug 2024 16:49:33 +0000 (22:19 +0530)]
mgr/dashboard: adjust federate ssl code with mTLS

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
9 months agorgw/rados: RGWRados::delete_objs_inline() uses AioThrottle 59864/head
Casey Bodley [Wed, 18 Sep 2024 17:31:54 +0000 (13:31 -0400)]
rgw/rados: RGWRados::delete_objs_inline() uses AioThrottle

use concurrent deletes to speed up inline garbage collection

Fixes: https://tracker.ceph.com/issues/68134
Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 months agocls/rgw: cls_rgw_obj_chain uses vector instead of list
Casey Bodley [Wed, 18 Sep 2024 16:31:09 +0000 (12:31 -0400)]
cls/rgw: cls_rgw_obj_chain uses vector instead of list

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 months agoearmarking: improve error handling when getxattr fails 59726/head
Avan Thakkar [Fri, 13 Sep 2024 14:11:47 +0000 (19:41 +0530)]
earmarking: improve error handling when getxattr fails

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
9 months agomgr/nfs: earmark resolver for subvolume
Avan Thakkar [Wed, 11 Sep 2024 10:49:41 +0000 (16:19 +0530)]
mgr/nfs: earmark resolver for subvolume

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
9 months agoMerge pull request #58952 from YiteGu/add-perfcounter-for-blk-discard
Igor Fedotov [Wed, 25 Sep 2024 09:18:59 +0000 (12:18 +0300)]
Merge pull request #58952 from YiteGu/add-perfcounter-for-blk-discard

blk/kerneldevice: add perfcounter for block async discard

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
9 months agomgr/dashboard: Add progress bar to rgw multisite automation wizard 58719/head
Aashish Sharma [Fri, 12 Jul 2024 10:50:15 +0000 (16:20 +0530)]
mgr/dashboard: Add progress bar to rgw multisite automation wizard

Fixes: https://tracker.ceph.com/issues/67829
Fixes: https://tracker.ceph.com/issues/67830
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
9 months agoMerge pull request #59918 from rhcs-dashboard/fix-68176-main
Aashish Sharma [Wed, 25 Sep 2024 08:19:56 +0000 (13:49 +0530)]
Merge pull request #59918 from rhcs-dashboard/fix-68176-main

mgr/dashboard: fix setting compression type while editing rgw zone

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59925 from baum/NvmeofServiceSpec-service_id
baum [Wed, 25 Sep 2024 08:15:30 +0000 (11:15 +0300)]
Merge pull request #59925 from baum/NvmeofServiceSpec-service_id

pybind/mgr/orchestrator/module.py: NvmeofServiceSpec service_id

9 months agoMerge pull request #59850 from aclamk/wip-aclamk-fix-67911-bdev-multi-label
Adam Kupczyk [Wed, 25 Sep 2024 07:34:16 +0000 (09:34 +0200)]
Merge pull request #59850 from aclamk/wip-aclamk-fix-67911-bdev-multi-label

os/bluestore: Fix BlueFS allocating bdev label reserved location.

9 months agoMerge pull request #58509 from sseshasa/wip-hdd-osd-shard-params-for-mclock
Sridhar Seshasayee [Wed, 25 Sep 2024 07:04:41 +0000 (12:34 +0530)]
Merge pull request #58509 from sseshasa/wip-hdd-osd-shard-params-for-mclock

common/options: Change HDD OSD shard configuration defaults for mClock

Reviewed-by: Mark Nelson <mark.a.nelson@gmail.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
9 months agoMerge pull request #59742 from guits/wip-guits-cv-cbt-zap-device
Guillaume Abrioux [Wed, 25 Sep 2024 06:43:17 +0000 (08:43 +0200)]
Merge pull request #59742 from guits/wip-guits-cv-cbt-zap-device

ceph-volume: add call to `ceph-bluestore-tool zap-device`

9 months agomgr/dashboard: carbonize user management-role form 59846/head
pujashahu [Tue, 17 Sep 2024 14:28:24 +0000 (19:58 +0530)]
mgr/dashboard: carbonize user management-role form

Fixes: https://tracker.ceph.com/issues/68123
Signed-off-by: Puja Shahu <pshahu@redhat.com>
Signed-off-by: pujashahu <pujashahu@li-37e364cc-2d5a-11b2-a85c-fd7027b8f826.ibm.com>
9 months agoMerge pull request #59944 from ronen-fr/wip-rf-standalone-query
Ronen Friedman [Wed, 25 Sep 2024 05:40:36 +0000 (08:40 +0300)]
Merge pull request #59944 from ronen-fr/wip-rf-standalone-query

qa/standalone/scrub: increase status updates frequency

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
9 months agoMerge pull request #59762 from aclamk/wip-aclamk-cbt-combined
Adam Kupczyk [Wed, 25 Sep 2024 05:24:45 +0000 (07:24 +0200)]
Merge pull request #59762 from aclamk/wip-aclamk-cbt-combined

ceph-bluestore-tool: Fixes for multilple bdev label

9 months agoMerge pull request #59820 from rhcs-dashboard/rgw-multisite-sync-policy-improvements
Nizamudeen A [Wed, 25 Sep 2024 04:32:57 +0000 (10:02 +0530)]
Merge pull request #59820 from rhcs-dashboard/rgw-multisite-sync-policy-improvements

mgr/dashboard: multisite sync policy improvements

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agolibrbd: add LIBRBD_SUPPORTS_GROUP_SNAP_GET_INFO define 59959/head
Ilya Dryomov [Tue, 24 Sep 2024 16:41:09 +0000 (18:41 +0200)]
librbd: add LIBRBD_SUPPORTS_GROUP_SNAP_GET_INFO define

Make it easier to test if rbd_group_snap_get_info() and by extension
also rbd_group_snap_list2() APIs are available at compile time.  This
wasn't done in commit e5ccce14c4b0 ("rbd: add group snap info command")
because backporting wasn't intended.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
9 months agoMerge pull request #59387 from avanthakkar/earmark-smb
Adam King [Tue, 24 Sep 2024 21:14:23 +0000 (17:14 -0400)]
Merge pull request #59387 from avanthakkar/earmark-smb

mgr/smb: earmark resolver for subvolume

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agopybind/mgr: drop py37 test from tox.ini 59958/head
Adam King [Tue, 24 Sep 2024 18:36:12 +0000 (14:36 -0400)]
pybind/mgr: drop py37 test from  tox.ini

Prior to this patch if you ran `tox` in src/pybind/mgr
it would include a test that runs the units tests using
python 3.7. These no longer pass and there is no longer
any reason to support python 3.7 on main.

Signed-off-by: Adam King <adking@redhat.com>
9 months agomgr/dashboard: multisite sync policy improvements 59820/head
Naman Munet [Tue, 17 Sep 2024 06:59:37 +0000 (12:29 +0530)]
mgr/dashboard: multisite sync policy improvements

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

Changes for this PR includes:
1) Populating the destination zones select option with a set of options to choose from, for flow and pipe so that user can't enter any invalid zone name
2) Provided zone option as 'All Zones (*)' in pipe, if user want to select all zones for source and destination zones
3) We are hiding the UniqueId column on sync policy table as we do not want to show it as this column is introduced just to uniquely identify a row in the table and should not be displayed to users as it is part of the internal logic to work.

Signed-off-by: Naman Munet <nmunet@redhat.com>
9 months agoMerge pull request #59891 from rhcs-dashboard/fix-68162-main
Aashish Sharma [Tue, 24 Sep 2024 11:30:37 +0000 (17:00 +0530)]
Merge pull request #59891 from rhcs-dashboard/fix-68162-main

mgr/dashboard: fix handling NaN values in dashboard charts

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59890 from rhcs-dashboard/fix-68161-main
Aashish Sharma [Tue, 24 Sep 2024 11:27:45 +0000 (16:57 +0530)]
Merge pull request #59890 from rhcs-dashboard/fix-68161-main

mgr/dashboard: update period after migrating to multi-site

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agomgr/dashboard: fix setting compression type while editing rgw zone 59918/head
Aashish Sharma [Mon, 23 Sep 2024 08:28:22 +0000 (13:58 +0530)]
mgr/dashboard: fix setting compression type while editing rgw zone

Fixes: https://tracker.ceph.com/issues/68176
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
9 months agodoc: update doc for subvolumes earmarking mentioning valid formats 59387/head
Avan Thakkar [Tue, 24 Sep 2024 07:01:01 +0000 (12:31 +0530)]
doc: update doc for subvolumes earmarking mentioning valid formats

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
9 months agomgr/smb: earmark resolver for subvolume
Avan Thakkar [Wed, 21 Aug 2024 20:08:03 +0000 (01:38 +0530)]
mgr/smb: earmark resolver for subvolume

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
9 months agoMerge pull request #59858 from anoopcs9/fix-unversioned-obsoletes
Venky Shankar [Tue, 24 Sep 2024 06:22:56 +0000 (11:52 +0530)]
Merge pull request #59858 from anoopcs9/fix-unversioned-obsoletes

ceph.spec.in: Fix unversioned Obsoletes: rpmbuild warning

Reviewed-by: Venky Shankar <vshankar@redhat.com>
9 months agoqa/standalone/scrub: increase status updates frequency 59944/head
Ronen Friedman [Tue, 24 Sep 2024 06:10:50 +0000 (01:10 -0500)]
qa/standalone/scrub: increase status updates frequency

To prevent test timeouts.
Also - remove a failing assertion on a specific 'pg query'
output, as it is not central to the test.

Fixes: https://tracker.ceph.com/issues/61385
Fixes: https://tracker.ceph.com/issues/64346
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
9 months agoMerge pull request #59728 from rhcs-dashboard/replace-hostname-addr-rgw
Aashish Sharma [Tue, 24 Sep 2024 06:05:49 +0000 (11:35 +0530)]
Merge pull request #59728 from rhcs-dashboard/replace-hostname-addr-rgw

mgr/cephadm: use host address while updating rgw zone endpoints

Reviewed-by: Adam King <adking@redhat.com>
9 months agoMerge pull request #59716 from rhcs-dashboard/fix-67897-main
Aashish Sharma [Tue, 24 Sep 2024 06:04:51 +0000 (11:34 +0530)]
Merge pull request #59716 from rhcs-dashboard/fix-67897-main

mgr/rgwam: use realm/zonegroup/zone method arguments for period update

Reviewed-by: Adam King <adking@redhat.com>
9 months agoMerge pull request #59723 from myoungwon/wip-remove-copy-overhead-ool-write
Yingxin [Tue, 24 Sep 2024 05:59:49 +0000 (13:59 +0800)]
Merge pull request #59723 from myoungwon/wip-remove-copy-overhead-ool-write

crimson/os/seastore: remove unnecessary memory copy during ool write

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
9 months agoMerge pull request #59746 from arm7star/main
Yingxin [Tue, 24 Sep 2024 05:47:04 +0000 (13:47 +0800)]
Merge pull request #59746 from arm7star/main

test/crimson/test_messenger_thrash: fix a local variable scope issue

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
9 months agoMerge pull request #59691 from rhcs-dashboard/cephadm-e2e-endless-fix
Nizamudeen A [Tue, 24 Sep 2024 05:23:34 +0000 (10:53 +0530)]
Merge pull request #59691 from rhcs-dashboard/cephadm-e2e-endless-fix

mgr/dashboard: fix indefinite loop in cephadm dashboard e2e

Reviewed-by: afreen23 <NOT@FOUND>
9 months agoMerge pull request #59595 from rhcs-dashboard/2269104-Clone-subgroup
Nizamudeen A [Tue, 24 Sep 2024 05:19:31 +0000 (10:49 +0530)]
Merge pull request #59595 from rhcs-dashboard/2269104-Clone-subgroup

mgr/dashboard: Cloning subvolume not listing _nogroup if no subvolume

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: nmunet <NOT@FOUND>
9 months agoMerge pull request #59854 from avanthakkar/fix-nfs-doc
Zac Dover [Tue, 24 Sep 2024 00:58:09 +0000 (10:58 +1000)]
Merge pull request #59854 from avanthakkar/fix-nfs-doc

doc: update nfs doc for Kerberos setup of ganesha in Ceph

Reviewed-by: Adam King <adking@redhat.com>
9 months agoMerge pull request #59640 from kshtsk/wip-jsonnetfmt-command-not-found
Kefu Chai [Mon, 23 Sep 2024 23:20:46 +0000 (07:20 +0800)]
Merge pull request #59640 from kshtsk/wip-jsonnetfmt-command-not-found

ceph.spec.in: we need jsonnet for all distroes for make check

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
9 months agoMerge pull request #59915 from guits/activate-lvm-tpm2
Guillaume Abrioux [Mon, 23 Sep 2024 17:19:30 +0000 (19:19 +0200)]
Merge pull request #59915 from guits/activate-lvm-tpm2

ceph-volume: fix OSD lvm/tpm2 activation

9 months agoMerge pull request #59912 from guits/drive-group-spec-bool-args-followup-qa-nvme_loop-fix
Guillaume Abrioux [Mon, 23 Sep 2024 17:14:11 +0000 (19:14 +0200)]
Merge pull request #59912 from guits/drive-group-spec-bool-args-followup-qa-nvme_loop-fix

qa: remove all bluestore signatures on devices

9 months agoMerge pull request #59843 from adk3798/cephadm-oauth2-image-variable-name
Adam King [Mon, 23 Sep 2024 15:57:21 +0000 (11:57 -0400)]
Merge pull request #59843 from adk3798/cephadm-oauth2-image-variable-name

mgr/cephadm: update oauth2 proxy image variable name

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: Ken Dreyer <kdreyer@ibm.com>
9 months agoMerge pull request #59860 from adk3798/cephadm-no-exception-cert-store-get
Adam King [Mon, 23 Sep 2024 15:51:18 +0000 (11:51 -0400)]
Merge pull request #59860 from adk3798/cephadm-no-exception-cert-store-get

mgr/cephadm: add --no-exception-when-missing flag to cert-store cert/key get

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #54334 from adk3798/cephadm-iscsi-teuth-extension
Adam King [Mon, 23 Sep 2024 15:08:25 +0000 (11:08 -0400)]
Merge pull request #54334 from adk3798/cephadm-iscsi-teuth-extension

qa/cephadm: extend iscsi teuth test

Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agoMerge pull request #59335 from mkogan1/wip-qat-logs
Mark Kogan [Mon, 23 Sep 2024 13:54:48 +0000 (16:54 +0300)]
Merge pull request #59335 from mkogan1/wip-qat-logs

warn when QAT switches to software [de]compression

9 months agoMerge pull request #59883 from idryomov/wip-group-snap-namespace-type-enum
Ilya Dryomov [Mon, 23 Sep 2024 12:54:34 +0000 (14:54 +0200)]
Merge pull request #59883 from idryomov/wip-group-snap-namespace-type-enum

librbd: introduce rbd_group_snap_namespace_type_t enum

Reviewed-by: N Balachandran <nibalach@redhat.com>
9 months agopybind/mgr/orchestrator/module.py: NvmeofServiceSpec service_id 59925/head
Alexander Indenbaum [Mon, 23 Sep 2024 08:47:47 +0000 (08:47 +0000)]
pybind/mgr/orchestrator/module.py: NvmeofServiceSpec service_id

- make service_id better alligned with default/empty group
  (https://github.com/ceph/ceph/commit/f6d552d7c777f1160545188dcffa6b685b05ca8a)
- fix service_id in nvmeof daemon add

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
9 months agomgr/dashboard: fix handling NaN values in dashboard charts 59891/head
Aashish Sharma [Fri, 20 Sep 2024 05:36:21 +0000 (11:06 +0530)]
mgr/dashboard: fix handling NaN values in dashboard charts

Fixes: https://tracker.ceph.com/issues/68162
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
9 months agomgr/rgwam: use realm/zonegroup/zone method arguments for period update 59716/head
Aashish Sharma [Wed, 11 Sep 2024 04:36:46 +0000 (10:06 +0530)]
mgr/rgwam: use realm/zonegroup/zone method arguments for period update

period update method currently uses default zonegroup/zone for period
update commit. This PR is to use realm/zg/zone provided in the arguments
for period update. Also make the realm default that is created using realm pull
if it is the only realm present

Fixes: https://tracker.ceph.com/issues/67897
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
9 months agoMerge pull request #59737 from Suyashd999/fix-tkm1
Yuval Lifshitz [Sun, 22 Sep 2024 17:56:55 +0000 (20:56 +0300)]
Merge pull request #59737 from Suyashd999/fix-tkm1

rgw_log_backing: error code not returned

Reviewed-By: Adam Emerson <aemerson@ibm.com>, Yuval Lifshitz <ylifshit@ibm.com>
9 months agoMerge pull request #59731 from Suyashd999/fix-ndf1
Yuval Lifshitz [Sun, 22 Sep 2024 17:56:29 +0000 (20:56 +0300)]
Merge pull request #59731 from Suyashd999/fix-ndf1

rgw/rgw_iam_policy: Checking for dereference of a null pointer (loaded from variable 't')

Reviewed-By: Adam Emerson <aemerson@ibm.com>, Yuval Lifshitz <ylifshit@ibm.com>
9 months agoMerge pull request #57272 from ronen-fr/wip-rf-cv
Ronen Friedman [Sun, 22 Sep 2024 13:10:52 +0000 (16:10 +0300)]
Merge pull request #57272 from ronen-fr/wip-rf-cv

osd/scrub: modify deep scrub interval randomization

Reviewed-by: Samuel Just <sjust@redhat.com>
9 months agoMerge pull request #59641 from ronen-fr/wip-rf-reduce-qprio
Ronen Friedman [Sun, 22 Sep 2024 05:39:53 +0000 (08:39 +0300)]
Merge pull request #59641 from ronen-fr/wip-rf-reduce-qprio

osd/scrub: disable high work-queue priority for high-prio scrubs

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
9 months agoMerge pull request #59437 from ronen-fr/wip-rf-early-command
Ronen Friedman [Sun, 22 Sep 2024 05:27:00 +0000 (08:27 +0300)]
Merge pull request #59437 from ronen-fr/wip-rf-early-command

test/scrub: only instruct clean PGs to scrub

Reviewed-by: Laura Flores <lflores@redhat.com>
9 months agoMerge pull request #59832 from NitzanMordhai/wip-nitzan-crimson-enable-gate-assertions
NitzanMordhai [Sun, 22 Sep 2024 04:50:11 +0000 (07:50 +0300)]
Merge pull request #59832 from NitzanMordhai/wip-nitzan-crimson-enable-gate-assertions

common/gated: enable ceph_assert on shard id

9 months agoosd/scrub: disable high work-queue priority for h.p. scrub 59641/head
Ronen Friedman [Fri, 6 Sep 2024 13:23:15 +0000 (16:23 +0300)]
osd/scrub: disable high work-queue priority for h.p. scrub

Prior to this fix, scrub-related messages were queued with
one of four priorities:

- if part of a regular, periodic scrub, the messages were queued
  with a very low priority (osd_scrub_priority. Default: 5), unless:
- if the pool configuration specified a higher priority for the
  scrub, the messages were queued with that priority
  (the SCRUB_PRIORITY pool configuration option);
- if a client operation was waiting for the scrub to complete,
  the messages were queued with the higher priority of the
  client ops (osd_client_op_priority. Default: 63);
  and if the scrub was a high-priority one, e.g. initiated by the
  operator, the messages were queued with the highest priority
  (osd_requested_scrub_priority. Default: 120).

That last priority is too high, as scrubs should not have
precedence over client ops. It is even more disruptive if the
cluster is set to have only manually initiated scrubs, and
all scrubs are high-priority ones.

This patch removes the osd_requested_scrub_priority. Instead,
all scrub messages are queued according to the first three
rules above.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
9 months agoceph-volume: fix OSD lvm/tpm2 activation 59915/head
Guillaume Abrioux [Thu, 19 Sep 2024 13:13:48 +0000 (15:13 +0200)]
ceph-volume: fix OSD lvm/tpm2 activation

After an OSD is successfully prepared, the activation step fails
because the mapper is left open which makes `systemd-cryptsetup attach`
complain about that and prompt for password.
In order to avoid any other potential issue that would make activation
step hang for ever, I'm adding `headless=true`.

Fixes: https://tracker.ceph.com/issues/68150
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
9 months agoqa: remove all bluestore signatures on devices 59912/head
Guillaume Abrioux [Wed, 18 Sep 2024 14:30:23 +0000 (16:30 +0200)]
qa: remove all bluestore signatures on devices

We must ensure BlueStore signatures are removed altogether since
multiple BlueStore label replications have been introduced.

Fixes: https://tracker.ceph.com/issues/68171
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
9 months agoMerge pull request #59904 from mcv21/patch-2
Zac Dover [Fri, 20 Sep 2024 16:55:49 +0000 (02:55 +1000)]
Merge pull request #59904 from mcv21/patch-2

Doc: Update "Getting Started" to link to start not install

Reviewed-by: Zac Dover <zac.dover@proton.me>
9 months agodoc: Update "Getting Started" to link to start not install 59904/head
Matthew Vernon [Fri, 20 Sep 2024 14:07:37 +0000 (15:07 +0100)]
doc: Update "Getting Started" to link to start not install

Currently the "Getting Started" link points at the install page, not the "Intro to Ceph" section, which seems more appropriate.

If you're happy with this, can it get backported to the still-supported releases, please?

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
9 months agoMerge PR #59566 into main
Venky Shankar [Fri, 20 Sep 2024 09:50:18 +0000 (15:20 +0530)]
Merge PR #59566 into main

* refs/pull/59566/head:
cephfs-top: fix exception on small sized windows
cephfs-top: fix exception on large sized windows

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
9 months agolibrbd: introduce rbd_group_snap_namespace_type_t enum 59883/head
Ilya Dryomov [Thu, 19 Sep 2024 12:07:47 +0000 (14:07 +0200)]
librbd: introduce rbd_group_snap_namespace_type_t enum

Commit e5ccce14c4b0 ("rbd: add group snap info command") added
a commented out field in rbd_group_snap_info2_t struct but didn't
define the corresponding enum, expecting it to be brought in with the
patchset that introduces mirror group snapshots.  That work is still
in progress, but there is already interest in the new command and APIs
that use rbd_group_snap_info2_t struct and even a backport request.

Finalize the struct definition to avoid a breaking change for those
users in the future.  RBD_GROUP_SNAP_NAMESPACE_TYPE_USER can be treated
as dummy in terms of meaning until RBD_GROUP_SNAP_NAMESPACE_TYPE_MIRROR
is added.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
9 months agoMerge pull request #59074 from rhcs-dashboard/NFS-export-form-fixes
Nizamudeen A [Fri, 20 Sep 2024 06:52:51 +0000 (12:22 +0530)]
Merge pull request #59074 from rhcs-dashboard/NFS-export-form-fixes

mgr/dashboard: NFS Export form fixes

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>