Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Changing errors in pause annotation functions from terminal to transient #1765

Conversation

adilGhaffarDev
Copy link
Member

What this PR does / why we need it:
Changing errors in pause annotation functions from terminal to transient. When BMH is rebooted there is a chance we get a terminal error from these functions which can cause machines to be in a failed state.

@metal3-io-bot metal3-io-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 13, 2024
@adilGhaffarDev adilGhaffarDev changed the title 🐛 Changing errors in pause annotation functions from terminal to tansient 🐛 Changing errors in pause annotation functions from terminal to transient Jun 13, 2024
@mboukhalfa
Copy link
Member

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mboukhalfa

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 13, 2024
@mboukhalfa
Copy link
Member

/cherry-pick release-1.7

@metal3-io-bot
Copy link
Contributor

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

In response to this:

/cherry-pick release-1.7

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.

@adilGhaffarDev
Copy link
Member Author

/test metal3-ubuntu-e2e-integration-test-main

Copy link
Member

@smoshiur1237 smoshiur1237 left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 13, 2024
@mboukhalfa
Copy link
Member

/override metal3-centos-e2e-integration-test-main

@metal3-io-bot
Copy link
Contributor

@mboukhalfa: Overrode contexts on behalf of mboukhalfa: metal3-centos-e2e-integration-test-main

In response to this:

/override metal3-centos-e2e-integration-test-main

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.

@metal3-io-bot metal3-io-bot merged commit e827f42 into metal3-io:main Jun 13, 2024
20 checks passed
@metal3-io-bot metal3-io-bot deleted the change-pause-annot-err-to-transient-main/adil branch June 13, 2024 15:03
@metal3-io-bot
Copy link
Contributor

@mboukhalfa: new pull request created: #1766

In response to this:

/cherry-pick release-1.7

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.

kashifest added a commit to Nordix/cluster-api-provider-metal3 that referenced this pull request Jun 14, 2024
kashifest added a commit to Nordix/cluster-api-provider-metal3 that referenced this pull request Jun 14, 2024
kashifest added a commit to Nordix/cluster-api-provider-metal3 that referenced this pull request Jun 14, 2024
kashifest added a commit to Nordix/cluster-api-provider-metal3 that referenced this pull request Jun 14, 2024
This is also a continuation of metal3-io#1765. Setting terminal error pushes CAPI machine to irrecoverable failed state. Hence we should throw a transient error and requeue here.
Signed-off-by: Kashif Khan <[email protected]>
kashifest added a commit to Nordix/cluster-api-provider-metal3 that referenced this pull request Jun 14, 2024
This is also a continuation of metal3-io#1765. Setting terminal error pushes CAPI machine to irrecoverable failed state. Hence we should throw a transient error and requeue here.
Signed-off-by: Kashif Khan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants