Bug 1856714: Adding checks for rescued tasks during reconciliation#3727
Bug 1856714: Adding checks for rescued tasks during reconciliation#3727jmrodri merged 7 commits intooperator-framework:v0.19.xfrom VenkatRamaraju:v0.19.x
Conversation
|
@VenkatRamaraju: This pull request references Bugzilla bug 1856714, which is invalid:
Comment DetailsIn response to this:
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. |
| @@ -186,7 +186,7 @@ func (r *AnsibleOperatorReconciler) Reconcile(request reconcile.Request) (reconc | |||
| return reconcile.Result{}, err | |||
There was a problem hiding this comment.
It is missing the fragment with the bug fix which will be used to gen the CHANGELOG.
if it was not added in master we also need a PR with it there as well.
There was a problem hiding this comment.
Oh ok. I'll make that change here & open a PR on master as well then. Thanks.
| Added checks for rescued tasks during reconciliation | ||
| to avoid adding rescued tasks to the list of failures. |
There was a problem hiding this comment.
| Added checks for rescued tasks during reconciliation | |
| to avoid adding rescued tasks to the list of failures. | |
| Stop to reconcile tasks when the event raised is a rescue for Ansible-based Operators. More info: [Bugzilla 1856714](https://bugzilla.redhat.com/show_bug.cgi?id=1856714) |
| Added checks for rescued tasks during reconciliation | ||
| to avoid adding rescued tasks to the list of failures. | ||
|
|
||
| kind: "addition" |
There was a problem hiding this comment.
| kind: "addition" | |
| kind: "bugfix" |
There was a problem hiding this comment.
Same changes to the master one.
There was a problem hiding this comment.
/lgtm
/approve
after fixing the broken links. See: https://github.com/operator-framework/operator-sdk/pull/3727/checks?check_run_id=977264096#step:4:445
| if !goModOn { | ||
| return fmt.Errorf(`using go modules requires GO111MODULE="on", "auto", or unset.` + | ||
| ` More info: https://sdk.operatorframework.io/docs/golang/quickstart/#a-note-on-dependency-management`) | ||
| ` More info: https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/`) |
There was a problem hiding this comment.
| ` More info: https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/`) | |
| ` More info: https://v0-19-x.sdk.operatorframework.io/docs/golang/quickstart/#a-note-on-dependency-management`) |
There was a problem hiding this comment.
we need to point out for the doc of this branch 0.19. Also, this is the places where has the info ^
|
|
||
| - Add "panic" level for --zap-stacktrace-level (allows "debug", "info", "error", "panic"). ([#3040](https://github.com/operator-framework/operator-sdk/pull/3040)) | ||
| - The `operator-sdk` binary has a new CLI workflow and project layout for scaffolding Go operators that is aligned with Kubebuilder's CLI and project layout. See the new [Quickstart Guide](https://sdk.operatorframework.io/docs/golang/quickstart/) and the new [CLI reference](https://v0-19-x.sdk.operatorframework.io/docs/new-cli/) for more details. ([#3190](https://github.com/operator-framework/operator-sdk/pull/3190)) | ||
| - The `operator-sdk` binary has a new CLI workflow and project layout for scaffolding Go operators that is aligned with Kubebuilder's CLI and project layout. See the new [Quickstart Guide](https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/) and the new [CLI reference](https://v0-19-x.sdk.operatorframework.io/docs/new-cli/) for more details. ([#3190](https://github.com/operator-framework/operator-sdk/pull/3190)) |
There was a problem hiding this comment.
| depMsg := "Operator SDK has a new CLI and project layout that is aligned with Kubebuilder.\n" + | ||
| "See `operator-sdk init -h` and the following doc on how to scaffold a new project:\n" + | ||
| "https://sdk.operatorframework.io/docs/golang/quickstart/\n" + | ||
| "https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/\n" + |
There was a problem hiding this comment.
|
@VenkatRamaraju: All pull requests linked via external trackers have merged: operator-framework/operator-sdk#3650. Bugzilla bug 1856714 has been moved to the MODIFIED state. DetailsIn response to this:
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. |
Description of the change:
Added a check to determine whether or not a task has been rescued.
Motivation for the change:
Avoid adding rescued tasks to the list of failures during reconciliation.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1856714
Backporting the PR #3650