-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fix machine config update in sriovnetworkpoolconfig_controller #381
Fix machine config update in sriovnetworkpoolconfig_controller #381
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Investigating that foundMC.Spec.Config.Raw is never equal to mc.Spec.Config.Raw. Even though there are no changes to the machine config files. It is most likely metadata. Posting this PR (in draft state) such that developers with experience with the Machine Config API can take a look. EDIT: Found the issue was that the Raw JSON would rearrange some fields. We have to unmarshal the JSON and then compare. |
Pull Request Test Coverage Report for Build 3577759018
💛 - Coveralls |
These fixes only apply to Openshift clusters with the machine config operator. The controller was not detecting changes to the machine config files. Firstly if the existing MachineConfig's ignition JSON differs from the rendered MachineConfig's ignition JSON then we should update the MachineConfig. Then we should update the MachineConfig with the rendered MachineConfig. This logic had an incorrect implementation priorly.
1b85bb9
to
45257c4
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
/cc @SchSeba |
/lgtm |
These fixes only apply to Openshift clusters with the machine config operator.
The controller was not detecting changes to the machine config files. Firstly if the existing MachineConfig's ignition JSON differs from the rendered MachineConfig's ignition JSON then we should update the MachineConfig. Then we should update the MachineConfig with the rendered MachineConfig. This logic had an incorrect implementation priorly.