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

Use gsed on the mac. #37562

Merged
merged 1 commit into from
Nov 30, 2016
Merged

Conversation

roberthbailey
Copy link
Contributor

@roberthbailey roberthbailey commented Nov 28, 2016

What this PR does / why we need it: Fixes node upgrades when run from a mac

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #37474

Special notes for your reviewer:

Use gsed on the Mac

This change is Reviewable

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 28, 2016
@roberthbailey roberthbailey added this to the v1.5 milestone Nov 28, 2016
@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Nov 28, 2016
@roberthbailey roberthbailey added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Nov 28, 2016
@roberthbailey
Copy link
Contributor Author

I ran through https://docs.google.com/document/d/19Q4AzWLD5jd2FNaPyKy2xdTN4JIGUUpvwDwg0tcBkyc/edit# and was able to successfully upgrade my nodes when using upgrade.sh from this branch.

@roberthbailey
Copy link
Contributor Author

@saad-ali @davidopp

@davidopp
Copy link
Member

davidopp commented Nov 29, 2016

Can you add a comment explaining that you're doing this because sed doesn't work the expected way on Mac?

@roberthbailey
Copy link
Contributor Author

In the shell code?

@davidopp
Copy link
Member

yes

@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 29, 2016
@roberthbailey
Copy link
Contributor Author

@roberthbailey
Copy link
Contributor Author

@jessfraz this looks broken in the 1.4 release branch as well (https://github.com/kubernetes/kubernetes/blob/release-1.4/cluster/gce/util.sh#L1713) so I'll create a cherry pick for both 1.5 and 1.4 once it merges.

@davidopp davidopp assigned davidopp and unassigned eparis Nov 29, 2016
@davidopp
Copy link
Member

LGTM

@davidopp davidopp added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 29, 2016
@roberthbailey
Copy link
Contributor Author

@zmerlynn - can you look at the kops error?

@zmerlynn
Copy link
Member

@k8s-bot aws e2e test this

@roberthbailey: It's either the same low-grade flake I've been chasing, or it's a residual issue off this morning. I'll try to watch this space.

@davidopp davidopp added the priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. label Nov 29, 2016
@davidopp
Copy link
Member

Marking P0 because this is blocking manual upgrade testing on Mac.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

@roberthbailey roberthbailey modified the milestones: v1.4, v1.5 Nov 30, 2016
@jessfraz jessfraz added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Nov 30, 2016
jessfraz added a commit that referenced this pull request Dec 1, 2016
…-#37562-upstream-release-1.4

Automated cherry pick of #37562
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.4" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. 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. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. 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.

cluster/gce/upgrade.sh fails to upgrade nodes when run from a mac
8 participants