Repository navigation
tentacle: mon: Avoid false stuck peering warning - #71776
Conversation
The stuck peering warning currently depends on last_peered, however last_peered may be stale when a new primary takes over because only the primary updates this value. It can lead to false stuck peering warning even if the PG has only been peering for a few seconds. Use std::max(last_active, last_peered) when evaluating stuck peering. Updates pg stats during on activation, without this replicas may continue to report stale state. Fixes: https://tracker.ceph.com/issues/72462 Signed-off-by: Mohit Agrawal <[email protected]> (cherry picked from commit d15280b) Conflicts: qa/suites/upgrade/reef-x/stress-split/1-start.yaml qa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks$/centos-stream9.yaml These warnings were present in main but not backported to tentacle: - pg .* is stuck peering - Telemetry requires re-opt-in
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #71776 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 669931d mon: Avoid false stuck peering warning | PR #65390 | d15280b mon: Avoid false stuck peering warning |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or 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.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 669931d (cherry-pick of d15280b)
Affected File(s)
qa/suites/upgrade/reef-x/stress-split/1-start.yamlqa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks$/centos-stream9.yaml
Range Diff
Click to expand
--- Original (d15280be)
+++ Backport (669931dd)
@@ -14,3 +14,12 @@
Fixes: https://tracker.ceph.com/issues/72462
Signed-off-by: Mohit Agrawal <[email protected]>
+(cherry picked from commit d15280be9f183b47065c5c6f13df35829dd6b09f)
+
+Conflicts:
+ qa/suites/upgrade/reef-x/stress-split/1-start.yaml
+ qa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks$/centos-stream9.yaml
+
+These warnings were present in main but not backported to tentacle:
+ - pg .* is stuck peering
+ - Telemetry requires re-opt-in
================================================================================
RANGE DIFF
================================================================================
1: d15280be9f1 ! 1: 669931dd378 mon: Avoid false stuck peering warning
@@ Commit message
Fixes: https://tracker.ceph.com/issues/72462
Signed-off-by: Mohit Agrawal <[email protected]>
+ (cherry picked from commit d15280be9f183b47065c5c6f13df35829dd6b09f)
+
+ Conflicts:
+ qa/suites/upgrade/reef-x/stress-split/1-start.yaml
+ qa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks$/centos-stream9.yaml
+
+ These warnings were present in main but not backported to tentacle:
+ - pg .* is stuck peering
+ - Telemetry requires re-opt-in
## qa/cephfs/overrides/pg_health.yaml ##
@@ qa/cephfs/overrides/pg_health.yaml: overrides:
@@ qa/suites/upgrade/reef-x/stress-split/1-start.yaml: overrides:
- Reduced data availability
- Degraded data redundancy
- pg .* is stuck inactive
+- - pg .* is stuck undersized
- - pg .* is stuck peering
- pg .* is .*degraded
- FS_DEGRADED
- OSDMAP_FLAGS
- ## qa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks.yaml ##
-@@ qa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks.yaml: overrides:
+ ## qa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks$/centos-stream9.yaml ##
+@@ qa/suites/upgrade/telemetry-upgrade/reef-x/1-tasks$/centos-stream9.yaml: overrides:
- is down
- TELEMETRY_CHANGED
- pg .*? is .*?degraded.*?, acting
- - pg .* is stuck peering
+- - Telemetry requires re-opt-in
tasks:
- install:
branch: reef
- ## qa/suites/upgrade/telemetry-upgrade/squid-x/1-tasks.yaml ##
-@@ qa/suites/upgrade/telemetry-upgrade/squid-x/1-tasks.yaml: overrides:
+ ## qa/suites/upgrade/telemetry-upgrade/squid-x/1-tasks$/rockylinux-10.yaml ##
+@@ qa/suites/upgrade/telemetry-upgrade/squid-x/1-tasks$/rockylinux-10.yaml: overrides:
- is down
- TELEMETRY_CHANGED
- pg .*? is .*?degraded.*?, actingHow 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.
🛟 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.
|
✅ Audit Override Applied by @ljflores. |
|
Conflicts explained in the commit. |
|
This PR has been added to wip-yuri14-testing-20261021.151926-tentacle. |
|
jenkins test docs |
|
This PR has been removed from wip-yuri14-testing-20261021.151926-tentacle. |
backport tracker: https://tracker.ceph.com/issues/80516
backport of #65390
parent tracker: https://tracker.ceph.com/issues/72462
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh