-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
cluster/gce/upgrade.sh fails to upgrade nodes when run from a mac #37474
Comments
More complete error output:
|
This is blocking test and per email I'm bumpting this to P0. |
Does it mean that "node-kube-env.yaml" is too large? It seems like that too me. If so, we should understand why those are different than on startup... |
This is broken for me too:
After an upgrade. |
The problem is that configure-vm.sh is too large. In my
You can see that the number of bytes in configure-vm.sh (33595) matches the output in the error message ( What is interesting is that configure-vm.sh in the repo is actually larger. In the 1.5 branch:
and in the 1.4 branch:
But we aren't seeing an error during new cluster creation in either release branch. |
In the
which is below the size limit. |
Here's the diff between the two configure-vm.sh scripts:
which makes it appear that #35516 is the culprit. |
This may be a mac issue -- when I manually run the
|
We should be able to do the same thing we do in this file https://github.com/kubernetes/kubernetes/blob/master/hack/make-rules/test-cmd.sh#L177 to fix it. |
I created #37562 but haven't had a chance to test it yet. |
(Master and) node upgrade worked for me on Ubuntu, so this does indeed seem to be Mac-specific. |
I tested #37562 and it looks like it fixed my issue. I suppose I'll need to cherry pick it into the 1.5 branch once it merges to master. |
Automatic merge from submit-queue Use gsed on the mac. **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**:
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): No
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Kubernetes version (use
kubectl version
): 1.5 beta 2Environment:
uname -a
):What happened: Step 6 of https://docs.google.com/document/d/19Q4AzWLD5jd2FNaPyKy2xdTN4JIGUUpvwDwg0tcBkyc/edit# fails
What you expected to happen: Node upgrade to succeed.
How to reproduce it (as minimally and precisely as possible): Follow the manual upgrade steps outlined in the linked document.
Anything else do we need to know: The error is because the metadata is too large for the new node instance template.
The text was updated successfully, but these errors were encountered: