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

UPSTREAM: 32000: Update node status instead of node in kubelet #10790

Merged
merged 2 commits into from
Sep 4, 2016

Conversation

pmorie
Copy link
Contributor

@pmorie pmorie commented Sep 2, 2016

Needed to avoid changing the permissions of the node role.

@liggitt
Copy link
Contributor

liggitt commented Sep 2, 2016

LGTM

@liggitt liggitt added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 2, 2016
@liggitt liggitt added this to the 1.3.0 milestone Sep 2, 2016
@liggitt
Copy link
Contributor

liggitt commented Sep 2, 2016

actually, split the commit into an UPSTREAM and a <carry> for the line inside the carry bit... we'll drop the UPSTREAM bit on the next rebase

@@ -1242,7 +1242,7 @@ func (kl *Kubelet) tryRegisterWithApiServer(node *api.Node) bool {
// controller-managed attach detach annotation for this node.
requiresUpdate := kl.reconcileCMADAnnotationWithExistingNode(node, existingNode)
if requiresUpdate {
if _, err := kl.kubeClient.Core().Nodes().Update(existingNode); err != nil {
if _, err := kl.kubeClient.Core().Nodes().UpdateStatus(existingNode); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line needs to go in a commit titled: UPSTREAM: <carry>: Tolerate node ExternalID changes with no cloud provider

@pmorie pmorie force-pushed the attach-detach-picks branch from 7974b4a to d1bc56c Compare September 2, 2016 21:05
@pmorie
Copy link
Contributor Author

pmorie commented Sep 2, 2016

@liggitt updated

@liggitt
Copy link
Contributor

liggitt commented Sep 2, 2016

LGTM, [merge]

@liggitt
Copy link
Contributor

liggitt commented Sep 4, 2016

blocked by #10795

@liggitt
Copy link
Contributor

liggitt commented Sep 4, 2016

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to d1bc56c

@openshift-bot
Copy link
Contributor

openshift-bot commented Sep 4, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8693/) (Image: devenv-rhel7_4976)

@openshift-bot openshift-bot merged commit b56f5fd into openshift:master Sep 4, 2016
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants