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

Fix kubernetes-worker charm hook failure when applying labels #50633

Merged
merged 1 commit into from Aug 15, 2017
Merged

Fix kubernetes-worker charm hook failure when applying labels #50633

merged 1 commit into from Aug 15, 2017

Conversation

Cynerva
Copy link
Contributor

@Cynerva Cynerva commented Aug 14, 2017

What this PR does / why we need it:

This fixes a failure that can occur in the kubernetes-worker charm when trying to apply node labels.

The failure is rare, and can occur in two situations that I've seen:

  1. kube-apiserver is not up yet
  2. kubelet has not registered itself as a node yet

Rather than give up right away, let's give the services a minute to come up.

Release note:

Fix kubernetes-worker charm hook failure when applying labels

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 14, 2017
@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Aug 14, 2017
@Cynerva
Copy link
Contributor Author

Cynerva commented Aug 14, 2017

/approve no-issue

1 similar comment
@ktsakalozos
Copy link
Contributor

/approve no-issue

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 14, 2017
@ktsakalozos
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 14, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Cynerva, ktsakalozos

Associated issue requirement bypassed by: ktsakalozos

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

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@Cynerva
Copy link
Contributor Author

Cynerva commented Aug 14, 2017

/retest

@ktsakalozos
Copy link
Contributor

/test pull-kubernetes-unit

@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 50302, 50573, 50500, 50633, 50617)

@k8s-github-robot k8s-github-robot merged commit 7097b64 into kubernetes:master Aug 15, 2017
@Cynerva Cynerva deleted the gkk/fix-labels-flake branch August 15, 2017 14:07
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants