-
Notifications
You must be signed in to change notification settings - Fork 531
Infinite reconciliation loop (rawstatuscollection) #1380
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
@cebernardi Did you manage to figure it out the issue with the tests ? |
tests are failing because of
I'm trying to retrigger the build.. |
@cebernardi I can do that for you. |
yes please @hectorj2f ... |
@cebernardi Done, we now need you to sign the cla. |
@hectorj2f let me check with my company, they should have already signed it, and they might be in the process of returning it.. will let you know asap |
@hectorj2f the CLA is signed.. is there a way to trigger again the check? |
@cebernardi No, I don't know it. Perhaps close-and-reopen the PR. I am not sure. |
/check-cla |
double checked again.. CLA was signed BUT not returned to Linux Foundation.. |
/check-cla |
Too many commits. I think you need to merge the commits into one. |
@cebernardi i tested your changes and they work. We need a proper commit log, and address your signing issues. |
/check-cla |
applied json marshalling to collectedRemoteStatus to make it comparable with remoteStatus on the federated resource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cebernardi, hectorj2f 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 |
/lgtm |
What this PR does / why we need it:
Federated resources that have target resources without status field are constantly evaluated as "changed", if RawStatusCollection is Enabled. This triggers an infinite loop when multiple FederatedResources are created at the same time in the cluster.
Also, this PR applies to collectedStatuses the same transformation that is applied to the FederatedResource status (json.Marshal - json.Unmarshall), so to prevent avoidable changes (and reconciliations) to the FederatedResources.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1373
Special notes for your reviewer: