cluster-api icon indicating copy to clipboard operation
cluster-api copied to clipboard

🐛 Strip control plane creation error of unique name

Open killianmuldoon opened this issue 2 years ago • 2 comments

Signed-off-by: killianmuldoon [email protected]

Ensure we always remove the name of the reconciled object from the resulting error message. The current function works for MachineTemplates, but not for e.g. KubeadmControl plane and can result in infinite reconciles as a result. This is related to the change made in https://github.com/kubernetes-sigs/cluster-api/pull/5971 and solves the same issue, but for a wider range of objects and error messages.

killianmuldoon avatar Aug 10 '22 19:08 killianmuldoon

@killianmuldoon: This issue is currently awaiting triage.

If CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Aug 10 '22 19:08 k8s-ci-robot

Nice catch!

/cherry-pick release-1.2

sbueringer avatar Aug 17 '22 11:08 sbueringer

@sbueringer: once the present PR merges, I will cherry-pick it on top of release-1.2 in a new PR and assign it to you.

In response to this:

Nice catch!

/cherry-pick release-1.2

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Thx! /lgtm

sbueringer avatar Aug 17 '22 11:08 sbueringer

/retest

killianmuldoon avatar Aug 17 '22 11:08 killianmuldoon

cc @ykakarap

sbueringer avatar Aug 22 '22 12:08 sbueringer

/lgtm

/assign @ykakarap for a final review

sbueringer avatar Aug 23 '22 12:08 sbueringer

/approve

sbueringer avatar Aug 25 '22 13:08 sbueringer

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbueringer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Aug 25 '22 13:08 k8s-ci-robot

@sbueringer: new pull request created: #7124

In response to this:

Nice catch!

/cherry-pick release-1.2

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.