Skip to content
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

Uses patch instead of update to mark nodes (un)schedulable #12486

Merged
merged 1 commit into from
Jan 16, 2017

Conversation

fabianofranz
Copy link
Member

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1279303

Avoid race conditions when using oadm manage-node --schedulable by applying a PATCH in the desired attribute instead of a full update of the node object.

@fabianofranz
Copy link
Member Author

[test]

@marun @pravisankar PTAL

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 7ab32ff

@fabianofranz
Copy link
Member Author

fyi @smarterclayton

@smarterclayton
Copy link
Contributor

Generating patches by hand is generally not a great idea, but it's ok for here.

@marun
Copy link
Contributor

marun commented Jan 13, 2017

Interesting. Is there anywhere else this strategy could be applied to minimize contention?

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test ABORTED (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12860/) (Base Commit: b7ed175)

@fabianofranz
Copy link
Member Author

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 7ab32ff

@openshift-bot
Copy link
Contributor

openshift-bot commented Jan 16, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12917/) (Base Commit: 4bae8ee) (Image: devenv-rhel7_5692)

@openshift-bot openshift-bot merged commit a3e2498 into openshift:master Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants