Open wallnerryan opened 7 years ago
Please upgrade to machine 0.12.2 and let us know if the issue persists.
I have similar issues. working recently with docker-machine 0.12.0 tried to upgrade to 0.12.2 to no avail
$ docker-machine -D ls Docker Machine Version: 0.12.2, build 9371605 Found binary path at /usr/local/bin/docker-machine Launching plugin server for driver openstack Plugin server listening at address 127.0.0.1:43209 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName timeout set to 10s (babel) Calling .GetURL (babel) DBG | Get status for OpenStack instance... map[MachineId:5828b4eb-c621-483b-94a8-3a3d23e37037] (babel) DBG | Authenticating... map[DomainID: DomainName:tst Username:dan TenantName: TenantID:53622768ad054d7a911f8f5034a4fb6c AuthUrl:https://cloud:5000/v3 Insecure:false CaCert:] (babel) Calling .GetState (babel) DBG | Get status for OpenStack instance... map[MachineId:5828b4eb-c621-483b-94a8-3a3d23e37037] (babel) DBG | panic: runtime error: invalid memory address or nil pointer dereference (babel) DBG | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb9e59e] (babel) DBG | (babel) DBG | goroutine 26 [running]: (babel) DBG | github.com/docker/machine/vendor/github.com/rackspace/gophercloud/openstack.NewComputeV2(0xc42024a120, 0x13de39b, 0x7, 0x0, 0x0, 0x0, 0x0, 0x13dd508, 0x6, 0xc42050a000, ...) (babel) DBG | /go/src/github.com/docker/machine/vendor/github.com/rackspace/gophercloud/openstack/client.go:213 +0x9e (babel) DBG | github.com/docker/machine/drivers/openstack.(GenericClient).InitComputeClient(0xc420174b00, 0xc4201783c0, 0x0, 0x0) (babel) DBG | /go/src/github.com/docker/machine/drivers/openstack/client.go:485 +0xf8 (babel) DBG | github.com/docker/machine/drivers/openstack.(Driver).initCompute(0xc4201783c0, 0x2, 0x2) (babel) DBG | /go/src/github.com/docker/machine/drivers/openstack/openstack.go:627 +0x77 (babel) DBG | github.com/docker/machine/drivers/openstack.(Driver).GetState(0xc4201783c0, 0x0, 0x0, 0x0) (babel) DBG | /go/src/github.com/docker/machine/drivers/openstack/openstack.go:353 +0x1b1 (babel) DBG | github.com/docker/machine/libmachine/drivers/rpc.(RPCServerDriver).GetState(0xc420174b20, 0x1d73f60, 0xc4203f2148, 0x0, 0x0) (babel) DBG | /go/src/github.com/docker/machine/libmachine/drivers/rpc/server_driver.go:191 +0x33 (babel) DBG | reflect.Value.call(0xc4200a7080, 0xc42008e398, 0x13, 0x13dad6e, 0x4, 0xc420513f20, 0x3, 0x3, 0x0, 0x0, ...) (babel) DBG | /usr/local/go/src/reflect/value.go:434 +0x91f (babel) DBG | reflect.Value.Call(0xc4200a7080, 0xc42008e398, 0x13, 0xc420471f20, 0x3, 0x3, 0x0, 0x0, 0x0) (babel) DBG | /usr/local/go/src/reflect/value.go:302 +0xa4 (babel) DBG | net/rpc.(service).call(0xc42015fc00, 0xc4200b9cc0, 0xc42000e320, 0xc4200bbe00, 0xc42000a7c0, 0x106e840, 0x1d73f60, 0x16, 0x110d340, 0xc4203f2148, ...) (babel) DBG | /usr/local/go/src/net/rpc/server.go:387 +0x144 (babel) DBG | created by net/rpc.(Server).ServeCodec (babel) DBG | /usr/local/go/src/net/rpc/server.go:481 +0x404 (babel) Calling .DriverName Error attempting call to get driver name: connection is shut down NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS babel - Error Unknown Expected HTTP response code [201 202] when accessing [POST https://cloud:5000/v3/auth/tokens], but got 401 instead {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} Making call to close driver server (babel) Calling .Close Failed to make call to close driver server: connection is shut down Making call to close connection to plugin binary
Maybe it has something to do with CaCert If I create a new machine and then try docker-machine ls, CaCert is set and it works
I dont know why CaCert was no longer set on my previous machine
This was working recently, gettings invald memory address now. The 401 seems false as I can use the openstack CLI just fine with current creds.