docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.97k forks source link

Hanging on "Waiting for VMware Tools to come online..." #4653

Open JavaCS3 opened 5 years ago

JavaCS3 commented 5 years ago

docker-machine always get stuck on vphere vm creation

docker-machine version 0.16.0, build 702c267f vsphere version 6.7.0 Update 1 (Build 10302608)

➜  ~ docker-machine --debug create  --driver vmwarevsphere --vmwarevsphere-username=root --vmwarevsphere-password=**** --vmwarevsphere-vcenter=**** --vmwarevsphere-datastore=**** --vmwarevsphere-network=**** --vmwarevsphere-boot2docker-url=https://github.com/boot2docker/boot2docker/releases/download/v18.09.1/boot2docker.iso  --engine-storage-driver=overlay2 test-docker-machine
Docker Machine Version:  0.16.0, build 702c267f
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver vmwarevsphere
Plugin server listening at address 127.0.0.1:51769
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver vmwarevsphere
Plugin server listening at address 127.0.0.1:51778
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(test-docker-machine) Calling .GetMachineName
(test-docker-machine) Calling .DriverName
(test-docker-machine) Calling .GetCreateFlags
(test-docker-machine) Calling .SetConfigFromFlags
Reading certificate data from /Users/****/.docker/machine/certs/ca.pem
Decoding PEM data...
Parsing certificate...
Reading certificate data from /Users/****/.docker/machine/certs/cert.pem
Decoding PEM data...
Parsing certificate...
Running pre-create checks...
(test-docker-machine) Calling .PreCreateCheck
(test-docker-machine) DBG | Connecting to vSphere for pre-create checks...
(test-docker-machine) Calling .GetConfigRaw
Creating machine...
(test-docker-machine) Calling .Create
(test-docker-machine) Boot2Docker URL was explicitly set to "https://github.com/boot2docker/boot2docker/releases/download/v18.09.1/boot2docker.iso" at create time, so Docker Machine cannot upgrade this machine to the latest version.
(test-docker-machine) Downloading /Users/****/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v18.09.1/boot2docker.iso...
(test-docker-machine) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
(test-docker-machine) Generating SSH Keypair...
(test-docker-machine) Creating VM...
(test-docker-machine) Uploading Boot2docker ISO ...
(test-docker-machine) adding network: ****
(test-docker-machine) Reconfiguring VM
(test-docker-machine) Waiting for VMware Tools to come online...
XasaKura commented 5 years ago

same error

XasaKura commented 5 years ago

using rancheros resolves this problem

docker-machine \
--debug \
create \
--driver vmwarevsphere \
...
--vmwarevsphere-boot2docker-url https://releases.rancher.com/os/latest/rancheros-vmware.iso \
--engine-install-url https://releases.rancher.com/install-docker/17.03.2.sh \
vm
kataliyst commented 4 years ago

Hi. While that maybe so - I want to use Ubuntu Linux (18.04) and I am at this same point - cloud-init finished and then rancher logs show:

Waiting for VMware Tools to come online…

There's no more info as to what can be wrong. Any ideas? ubuntu is using open-vm-tools.

dechristopher commented 4 years ago

I'm in the same place currently. Any ideas here?