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

vSphere provider pre-create check throws "SystemError" #3623

Open dayglo opened 8 years ago

dayglo commented 8 years ago

Im running:-

Here's the debug output from cmd. I can't work out how to get more detailed logs or error output. I looked at trying to recompile machine myself, but my golang skills are... limited :)

There's nothing in the vmware hostd.log that se3ems related.

I know that my credentials are working, because if i change the password to be wrong I get a nicer error message.

C:\Users\gee\code\deploy_swarm_on_vmware>docker-machine -D create -d vmwarevsphere  --vmwarevsphere-vcenter "10.41.0.17"  --vmwarevsphere-username "root"  --vmwarevsphere-password "i=ejkfheargufery"  --vmwarevsphere-datacenter "ha-datacenter"  --vmwarevsphere-datastore "Synology NAS"  --vmwarevsphere-network "VM Network" gcswarm02
Docker Machine Version:  0.8.0, build b85aac1
Found binary path at C:\Program Files\Docker\Docker\Resources\bin\docker-machine.exe
Launching plugin server for driver vmwarevsphere
Plugin server listening at address 127.0.0.1:53646
() 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 C:\Program Files\Docker\Docker\Resources\bin\docker-machine.exe
Launching plugin server for driver vmwarevsphere
Plugin server listening at address 127.0.0.1:53650
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(gcswarm02) Calling .GetMachineName
(gcswarm02) Calling .DriverName
(gcswarm02) Calling .GetCreateFlags
(gcswarm02) Calling .SetConfigFromFlags
Running pre-create checks...
(gcswarm02) Calling .PreCreateCheck
(gcswarm02) DBG | Connecting to vSphere for pre-create checks...
Error with pre-create check: "SystemError"
notifying bugsnag: [Error with pre-create check: "SystemError"]
dayglo commented 8 years ago

Just noticed in vsphere that I get a couple of events just before the failure:

User root@10.41.0.164 logged out (login time: 29
/07/2016 17:40:54, number of API invocations: 0
, user agent: Go-http-client/1.1)
info
29/07/2016 17:40:54
root

User root@10.41.0.164 logged in as 
Go-http-client/1.1
info
29/07/2016 17:40:54
root

...which proves it logs in, but looks like its some validation issue around the options Ive picked (it says API invocations: 0)