machine icon indicating copy to clipboard operation
machine copied to clipboard

PSA: Upgrade from docker-machine 0.5.3 to 0.6.0 broke vmwarevsphere plugin for existing machines

Open ljrittle opened this issue 10 years ago • 5 comments

$ docker-machine version
docker-machine version 0.5.3, build 4d39a66
$ docker-machine ls
NAME                    ACTIVE   DRIVER          STATE     URL                       SWARM                DOCKER    ERRORS
arc-dev-00              *        vmwarevsphere   Running   tcp://10.26.67.187:2376                        v1.9.0    
[...]

Upgrade to docker-machine-0.6.0.

$ docker-machine version
docker-machine version 0.6.0, build e27fb87
$ NAME                    ACTIVE   DRIVER          STATE     URL                         SWARM                DOCKER    ERRORS
arc-dev-00              -        vmwarevsphere   Error                                                      Unknown   
[...]

Here is what I see with status post upgrade:

$ docker-machine status arc-dev-00
error getting state for host arc-dev-00: Post https://10.26.66.118:0/sdk: dial tcp 10.26.66.118:0: connect: can't assign requested address
Error

I am looking into how to manually touch the existing e.g. .docker/machine/machines/arc-dev-00/config.json to fix this without manually removing and recreating the machine. I will report the workaround if/when I find it.

ljrittle avatar Feb 09 '16 23:02 ljrittle

cc @frapposelli

nathanleclaire avatar Feb 10 '16 01:02 nathanleclaire

@ljrittle your problem seems to be related to the vCenter port (shown as 0 in the failed command).

@nathanleclaire was there any particular change in v0.6.0 related to provider configuration?

frapposelli avatar Feb 10 '16 14:02 frapposelli

@nathanleclaire was there any particular change in v0.6.0 related to provider configuration?

Hm, I'm not sure exactly what you mean. There were no config migrations and the host loading => plugin mechanic has been largely unchanged since the 0.5.* series of releases.

nathanleclaire avatar Feb 10 '16 20:02 nathanleclaire

@nathanleclaire that's what I've thought, I've tried to reproduce this issue to no avail.

@ljrittle do you have repro steps for this?

frapposelli avatar Feb 10 '16 20:02 frapposelli

Please post a minimally reproducible example on a new ticket if this problem is still occurring. Thanks!

nathanleclaire avatar Apr 22 '16 18:04 nathanleclaire