Skip to content

[Bug]: Grammar errors in PhaseUpgradeDelayed status messages #10781

Closed

Description

@colbydarmody

Is there an existing issue already for this bug?

  • I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

  • I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

  • I have read the troubleshooting guide and I think this is a new bug.

Contact Details

[email protected]

Version

1.29 (latest patch)

What version of Kubernetes are you using?

1.33

What is your Kubernetes environment?

Cloud: Google GKE

How did you install the operator?

Helm

What happened?

Two adjacent strings in the cluster controller have the same subject/verb agreement error. They're rendered verbatim in the Cluster CR's status, so they surface in ArgoCD's Health Details panel and in kubectl describe cluster for anyone inspecting a delayed upgrade.

ArgoCD UI shows:

"The cluster need to be update, but the operator is configured to delay the operation"

Should be: "The cluster needs to be updated, but the operator is configured to delay the operation"

And the warning logged immediately before it:

"A Pod need to be rolled out, but the rollout is being delayed"

Should be: "A Pod needs to be rolled out, but the rollout is being delayed"

Both live in internal/controller/cluster_controller.go around lines 1196 and 1202 on main:
https://github.com/cloudnative-pg/cloudnative-pg/blob/main/internal/controller/cluster_controller.go#L1196-L1204

Argo:
Image

kubectl describe cluster/my-cluster :
Image

Cluster resource

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. dosubot commented on May 26, 2026

    @dosubot

    Hi @colbydarmody! I'm Dosu and I’m helping the cloudnative-pg team.

    Confirmed — both grammar errors are present in internal/controller/cluster_controller.go at lines 1196–1203 [1]. They were introduced in commit af6b367a0 (Sep 2024) as part of PR #5391 (the "spread Pod rollout" feature) and remain unfixed on main.

    The fix is straightforward — two string literal changes:

    -"A Pod need to be rolled out, but the rollout is being delayed"
    +"A Pod needs to be rolled out, but the rollout is being delayed"
    
    -"The cluster need to be update, but the operator is configured to delay the operation"
    +"The cluster needs to be updated, but the operator is configured to delay the operation"

    No existing PR addresses this yet, so a contribution here would be welcome.

    To reply, just mention @dosu.


    Share context across your team and agents. Try Dosu.

    Leave Feedback Learn about cloudnative-pg with Dosu Add Dosu to your team

  2. Utkarsh-sharma47 commented on Jun 18, 2026

    @Utkarsh-sharma47
    Contributor

    Hi @colbydarmody,

    I'd like to work on this issue and submit a fix unless someone is already working on it.

  3. added
    bug 🐛
    and removed on Jun 21, 2026
  4. Utkarsh-sharma47 commented on Jun 27, 2026

    @Utkarsh-sharma47
    Contributor

    Opened PR #11064 to address this issue.

    The fix updates the two user-facing PhaseUpgradeDelayed messages with the correct grammar while leaving behavior unchanged.

    Thanks!

  5. added a commit that references this issue on Aug 18, 2026
    b5a027b
  6. added 3 commits that reference this issue on Aug 18, 2026
    e5a5347
    7a22515
    5efa729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐛triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions