This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Workaround for ssh timeouts on vmwarevsphere#4512
Open
zaubara wants to merge 1 commit intodocker-archive-public:masterfrom
Open
Workaround for ssh timeouts on vmwarevsphere#4512zaubara wants to merge 1 commit intodocker-archive-public:masterfrom
zaubara wants to merge 1 commit intodocker-archive-public:masterfrom
Conversation
|
Please sign your commits following these rules: $ git clone -b "master" git@github.com:zaubara/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -fAmending updates the existing PR. You DO NOT need to open a new one. |
…ved, for now this made vmwarevsphere work for me again Signed-off-by: Martin Puza <m.puza@zetes.at>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a hacky workaround for an issue me and others seem to have with not being able to connect via docker-machine to our vsphere machines. I didn't find relevant discussions about the underlying issue or possible fixes. I hope to get the ball rolling.
I'm using the vmwarevsphere driver, and since I added a second stack to docker, I was no longer able to connect to boot2docker via docker-machine (direct ssh and the docker images worked fine).
To get a static IP, we have to apply a dirty startup-script (via bootsync.sh), which kills udhcpc and applies a static ip. This is probably the root of all evil here.
Since the second stack however, vmware seems to no longer report about the ipv4 adresses on the network - only ipv6, which made the GetSSHHostname-call timeout.
Adding a second network card via vsphere (eth1, which by the way boot2docker complains about and seems to expect, even on a fresh install) again gets me a dynamic IP, which I can then use to ssh via docker-machine - but without aforementioned workaround still times out.
We should probably find out, why
Thanks!