tentacle: osd/scrub: 'repairing' scrubs allowed at all times - #69160
Conversation
There was a problem hiding this comment.
Automated Backport Parity Review - Backport Deviation Alert
A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
Deviation in Backport e94c170 (cherry-pick of 4ac5a32)
Affected File(s)
src/osd/scrubber/scrub_job.h
Range Diff
Click to expand
--- Original (4ac5a321)
+++ Backport (e94c1700)
@@ -7,3 +7,5 @@
Fixes: https://tracker.ceph.com/issues/76811
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
+(cherry picked from commit 4ac5a3210ae55e33466ca867a8c1c4b5b0a18c64)
+Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
================================================================================
RANGE DIFF
================================================================================
1: 4ac5a3210ae ! 1: e94c1700554 osd/scrub: 'repairing' scrubs allowed at all times
@@ Commit message
Fixes: https://tracker.ceph.com/issues/76811
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
+ (cherry picked from commit 4ac5a3210ae55e33466ca867a8c1c4b5b0a18c64)
+ Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
## src/osd/scrubber/scrub_job.cc ##
@@ src/osd/scrubber/scrub_job.cc: bool ScrubJob::observes_noscrub_flags(urgency_t urgency)
@@ src/osd/scrubber/scrub_job.h: class ScrubJob {
* | limitation | must- | after-repair |repairing| operator | must-repair |
* | | scrub |(aft recovery)|(errors) | request | |
* +------------+---------+--------------+---------+----------+-------------+
-- * | reservation| yes! | no | no | no | no |
-- * | dow/time | yes | yes | no X | no | no |
+- * | reservation| yes! | no | no? | no | no |
+- * | dow/time | yes | yes | no | no | no |
+ * | reservation| yes | no | no | no | no |
+ * | dow/time | yes | yes | no | no | no |
* | ext-sleep | no | no | no | no | no |
* | load | yes | no | no | no | no |
- * | trims | yes | yes | no | no | no |
+ * | noscrub | yes | no | Yes | no | no |How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Missing Backport Tracker: Main tracker #76811 does not have a backport tracker for
tentacle. Please adjust the 'Backports' field on the main tracker appropriately and remove 'backport_processed' from 'Tags (freeform)'.
Commit Parity Visualizer
| BACKPORT PR #69160 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| e94c170 osd/scrub: 'repairing' scrubs allowed at all times | PR #69110 | 4ac5a32 osd/scrub: 'repairing' scrubs allowed at all times |
| e5379b0 osd/scrub: removed a misleading comment about 'overdue' scrubs | 787f2b0 osd/scrub: removed a misleading comment about 'overdue' scrubs |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
CI Run Log: View Workflow Details
Fix ScrubJob::observes_allowed_hours() to not block 'repairing' scrubs outside of the allowed hours. This allows repair scrubs to run at any time or day-of-week. The fixed behaviour matches the documented requirements. Fixes: https://tracker.ceph.com/issues/76811 Signed-off-by: Ronen Friedman <rfriedma@redhat.com> (cherry picked from commit 4ac5a32) CONFLICT (content): Merge conflict in src/osd/scrubber/scrub_job.h Resolved manually (comment lines only) Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Signed-off-by: Ronen Friedman <rfriedma@redhat.com> (cherry picked from commit 787f2b0)
e5379b0 to
ba71d31
Compare
|
RADOS Approved. |
There was a problem hiding this comment.
Automated Backport Parity Review - Backport Deviation Alert
A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
Deviation in Backport 53e4793 (cherry-pick of 4ac5a32)
Affected File(s)
src/osd/scrubber/scrub_job.h
Range Diff
Click to expand
--- Original (4ac5a321)
+++ Backport (53e4793d)
@@ -7,3 +7,7 @@
Fixes: https://tracker.ceph.com/issues/76811
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
+(cherry picked from commit 4ac5a3210ae55e33466ca867a8c1c4b5b0a18c64)
+CONFLICT (content): Merge conflict in src/osd/scrubber/scrub_job.h
+Resolved manually (comment lines only)
+Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
================================================================================
RANGE DIFF
================================================================================
1: 4ac5a3210ae ! 1: 53e4793dbd8 osd/scrub: 'repairing' scrubs allowed at all times
@@ Commit message
Fixes: https://tracker.ceph.com/issues/76811
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
+ (cherry picked from commit 4ac5a3210ae55e33466ca867a8c1c4b5b0a18c64)
+ CONFLICT (content): Merge conflict in src/osd/scrubber/scrub_job.h
+ Resolved manually (comment lines only)
+ Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
## src/osd/scrubber/scrub_job.cc ##
@@ src/osd/scrubber/scrub_job.cc: bool ScrubJob::observes_noscrub_flags(urgency_t urgency)
@@ src/osd/scrubber/scrub_job.h: class ScrubJob {
* | limitation | must- | after-repair |repairing| operator | must-repair |
* | | scrub |(aft recovery)|(errors) | request | |
* +------------+---------+--------------+---------+----------+-------------+
-- * | reservation| yes! | no | no | no | no |
-- * | dow/time | yes | yes | no X | no | no |
+- * | reservation| yes! | no | no? | no | no |
+- * | dow/time | yes | yes | no | no | no |
+ * | reservation| yes | no | no | no | no |
+ * | dow/time | yes | yes | no | no | no |
* | ext-sleep | no | no | no | no | no |
* | load | yes | no | no | no | no |
- * | trims | yes | yes | no | no | no |
+ * | noscrub | yes | no | Yes | no | no |How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
Commit Parity Visualizer
| BACKPORT PR #69160 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| 53e4793 osd/scrub: 'repairing' scrubs allowed at all times | PR #69110 | 4ac5a32 osd/scrub: 'repairing' scrubs allowed at all times |
| ba71d31 osd/scrub: removed a misleading comment about 'overdue' scrubs | 787f2b0 osd/scrub: removed a misleading comment about 'overdue' scrubs |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
CI Run Log: View Workflow Details
Fix ScrubJob::observes_allowed_hours() to not block 'repairing' scrubs outside of the allowed hours. This allows repair scrubs to run at any time or day-of-week.
The fixed behaviour matches the documented requirements.
Backport of #69110
Fixes: https://tracker.ceph.com/issues/77025
Original tracker: https://tracker.ceph.com/issues/76811