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

Retry replication controller rolling updates on version mismatch. #6194

Merged
1 commit merged into from Apr 3, 2015
Merged

Retry replication controller rolling updates on version mismatch. #6194

1 commit merged into from Apr 3, 2015

Conversation

ghost
Copy link

@ghost ghost commented Mar 30, 2015

When kubectl does rolling updates of replication controllers, retry updates that
fail due to version mismatches (caused by concurrent updates by other clients).
These failed rolling updates were causing intermittent e2e test failures
(e.g. issue 5821)

@roberthbailey
Copy link
Contributor

/cc @jlowdermilk

@j3ffml j3ffml assigned j3ffml and bprashanth and unassigned bprashanth and j3ffml Mar 30, 2015
@j3ffml
Copy link
Contributor

j3ffml commented Mar 30, 2015

lgtm

@ghost
Copy link
Author

ghost commented Mar 30, 2015

Good idea. Will do.

@ghost
Copy link
Author

ghost commented Apr 1, 2015

Hi Prashanth

Refactored as discussed. PTAL.

Q

@bprashanth
Copy link
Contributor

just the one nit about the 4 time fields

@bprashanth
Copy link
Contributor

please also update your commit msg no reup, it seems to have unwanted gendocs stuff in it

When kubectl does rolling updates of replication controllers, retry updates that
fail due to version mismatches (caused by concurrent updates by other clients).
These failed rolling updates were causing intermittent e2e test failures
(e.g. issue 5821)
@ghost
Copy link
Author

ghost commented Apr 3, 2015

Thanks for the feedback Prashanth. All issues addressed. Ready for merge.

@bprashanth
Copy link
Contributor

LGTM, though I don't know if i missed a comment of yours across rebase or you have a use case for specifying 2 pairs of timeouts (one for the wait and one for the general retry)

@bprashanth bprashanth added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 3, 2015
@bprashanth
Copy link
Contributor

LGTM, not sure if you're still waiting on e2e

ghost pushed a commit that referenced this pull request Apr 3, 2015
Retry replication controller rolling updates on version mismatch.
@ghost ghost merged commit fd966b7 into kubernetes:master Apr 3, 2015
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants