Skip to content

tentacle: mon: Avoid false stuck peering warning - #71776

Merged
batrick merged 1 commit into
ceph:tentaclefrom
ljflores:wip-80516-tentacle
Nov 12, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
ljflores:wip-80516-tentacle

Conversation

@ljflores

Copy link
Copy Markdown
Member

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
@ljflores
ljflores requested a review from a team as a code owner September 14, 2026 20:13
@ljflores ljflores added this to the tentacle milestone Sep 14, 2026
@ljflores ljflores added the core label Sep 14, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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)

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.*?, acting

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.


🛟 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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 14, 2026

@pdvian pdvian left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Oct 20, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @ljflores.

View workflow run

@ljflores

Copy link
Copy Markdown
Member Author

Conflicts explained in the commit.

@yuriw

yuriw commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri14-testing-20261021.151926-tentacle.

@sseshasa

sseshasa commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

@yuriw yuriw added needs-merge QA-approved, awaiting merge window wip-yuri14-testing and removed wip-yuri14-testing needs-merge QA-approved, awaiting merge window labels Nov 11, 2026
@ljflores

Copy link
Copy Markdown
Member Author

jenkins test docs

@batrick batrick modified the milestones: tentacle, v20.2.6 Nov 12, 2026
@batrick
batrick merged commit 1520469 into ceph:tentacle Nov 12, 2026
28 of 29 checks passed
@yuriw

yuriw commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

This PR has been removed from wip-yuri14-testing-20261021.151926-tentacle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants