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
Bug 1843950: remove infinite reconcile loop when fetching status annotation #75
Bug 1843950: remove infinite reconcile loop when fetching status annotation #75
Conversation
Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Add functions for marshalling and unmarshalling the data in the status annotation. These will be useful in test code. Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
If the status annotation is a partial version of the status struct it will not include the LastUpdated value. This results in an infinite loop, since hostHasStatus() only looks at the LastUpdated value to see if it is filled in. This change removes the loop condition by ensuring LastUpdated is set if the value from the annotation is empty. Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
@dhellmann: This pull request references Bugzilla bug 1843950, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhellmann, zaneb 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 |
@dhellmann: Some pull requests linked via external trackers have merged: openshift/baremetal-operator#75. The following pull requests linked via external trackers have not merged:
In 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. |
Backport fixes from metal3-io#546 to OCP 4.6