Skip to content

kubeletconfig: fix updates, add unit test, race condition fix - #437

Merged
openshift-merge-robot merged 2 commits into
openshift:masterfrom
rphillips:fixes/fix_for_update_kubelet_configs
Feb 16, 2019
Merged

openshift-merge-robot merged 2 commits into
openshift:masterfrom
rphillips:fixes/fix_for_update_kubelet_configs

Conversation

@rphillips

@rphillips rphillips commented Feb 15, 2019

Copy link
Copy Markdown
Contributor

- What I did

@umohnani8 found a bug in kubeletconfig updates. This PR adds a unit test and fixes the underlying validation.

- How to verify it

Unit test

- Description for the changelog

Fix KubeletConfig updates not being applied correctly to the MachineConfig.

Also fixes race conditions found in:
Close #417

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 15, 2019
@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/approve

/cc @sjenning

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 15, 2019
@rphillips

Copy link
Copy Markdown
Contributor Author

odd... failure in a different test.

@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

That's known #417

@rphillips

Copy link
Copy Markdown
Contributor Author

/retest

I'll take a look at the flaky test

@rphillips
rphillips force-pushed the fixes/fix_for_update_kubelet_configs branch 2 times, most recently from 18fbafe to f36769d Compare February 15, 2019 18:16
@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

@rphillips thanks for the flake test fixes ❤️ could you add "close #417" to the first comment as well?

@rphillips

Copy link
Copy Markdown
Contributor Author

go test -race is nice. The two test controllers seem to be using the same k8s cache. Hopefully this clears it up fully.

@rphillips
rphillips force-pushed the fixes/fix_for_update_kubelet_configs branch from f36769d to 57ff65d Compare February 15, 2019 18:22
@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/retest

@rphillips rphillips changed the title kubeletconfig: fix updates and add unit test kubeletconfig: fix updates, add unit test, race condition fix Feb 15, 2019
@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/retest

3 similar comments
@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/retest

@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/retest

@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/retest

@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 15, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rphillips, runcom

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@ashcrow

ashcrow commented Feb 16, 2019

Copy link
Copy Markdown
Member

/retest

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot
openshift-merge-robot merged commit 745693c into openshift:master Feb 16, 2019
ptalgulk01 pushed a commit to ptalgulk01/machine-config-operator that referenced this pull request May 15, 2026
…kubelet_configs

kubeletconfig: fix updates, add unit test, race condition fix
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TestKubeletConfigCreate flake?

6 participants