GithubHelp home page GithubHelp logo

Comments (23)

tintoy avatar tintoy commented on September 25, 2024

Ok, I can't actually test this, unfortunately - VPN keeps dropping out for me. Will you be able to give it a try when I get a build out @adrianvolpe?

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

Yes no probs! That would be fantastic!

From: Adam Friedman [email protected]
Reply-To: DimensionDataResearch/docker-machine-driver-ddcloud [email protected]
Date: Tuesday, 8 November 2016 at 4:54 pm
To: DimensionDataResearch/docker-machine-driver-ddcloud [email protected]
Cc: "Adrian Volpe (Group)" [email protected], Mention [email protected]
Subject: Re: [DimensionDataResearch/docker-machine-driver-ddcloud] Add support for using private IP addressing (#6)

Ok, I can't actually test this, unfortunately - VPN keeps dropping out for me. Will you be able to give it a try when I get a build out @adrianvolpehttps://protect-au.mimecast.com/s/aYD1BqimwXuD?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect-au.mimecast.com/s/2mp5BkHwkeuM, or mute the threadhttps://protect-au.mimecast.com/s/6eK3BwIN4bCd.

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Ok, 10 mins or so then :)

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Ok, @adrianvolpe, v0.4 should be good to go. Just use the --ddcloud-use-private-ip flag. If possible, use the --debug flag, too, just in case there are problems.

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

Looks like a ran into another error about a certificate.

Adrians-MacBook-Pro-2:darwin-amd64 adrian$ docker-machine -debug create  --driver ddcloud \
--ddcloud-region EU \
--ddcloud-datacenter EU7 \
--ddcloud-networkdomain 'Enterprise message routing (EMR) Development' \
--ddcloud-vlan DEV \
--ddcloud-image-name 'RedHat 7 64-bit 2 CPU' \
--ddcloud-ssh-bootstrap-password 'Gsoa@v24ever_root' \
--ddcloud-create-ssh-firewall-rule \
--ddcloud-user 'Adrian_Volpe_EMR' \
--ddcloud-password 'XXXXX' \
--ddcloud-ssh-key ~/.ssh/id_rsa.gsoa-v2 \
--ddcloud-use-private-ip \
devdock04

Docker Machine Version:  0.8.1, build 41b3b25
Found binary path at /usr/local/share/ddcloud-driver/docker-machine-driver-ddcloud
Launching plugin server for driver ddcloud
Plugin server listening at address 127.0.0.1:61881
() 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/share/ddcloud-driver/docker-machine-driver-ddcloud
Launching plugin server for driver ddcloud
Plugin server listening at address 127.0.0.1:61885
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(devdock04) Calling .GetMachineName
(devdock04) Calling .DriverName
(devdock04) Calling .GetCreateFlags
(devdock04) Calling .SetConfigFromFlags
(devdock04) DBG | docker-machine-driver-ddcloud v0.4 (2a027435b67aa5ac9ab22cd4833a41d806824191)
Running pre-create checks...
(devdock04) Calling .PreCreateCheck
(devdock04) Will create machine 'devdock04' on VLAN 'DEV' in network domain 'Enterprise message routing (EMR) Development' (data centre 'EU7').
(devdock04) Resolving target network domain 'Enterprise message routing (EMR) Development' in region 'EU'...
(devdock04) Resolving target VLAN 'DEV' in network domain 'Enterprise message routing (EMR) Development'...
(devdock04) Resolving OS image 'RedHat 7 64-bit 2 CPU' in data centre 'EU7'...
(devdock04) Calling .GetConfigRaw
Creating machine...
(devdock04) Calling .Create
(devdock04) Importing SSH key...
(devdock04) Creating server 'devdock04'...
(devdock04) DBG | Deploying server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' ('devdock04')...
(devdock04) DBG | 2016/11/08 17:20:05 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:06 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:10 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:11 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:15 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:16 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:20 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:21 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:25 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:27 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:30 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:32 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:35 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:36 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:40 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:41 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:45 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:46 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:50 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:52 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:20:55 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:20:57 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:00 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:02 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:05 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:06 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:10 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:11 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:15 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:17 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:20 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:21 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:25 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:27 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:30 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:31 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:35 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:36 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:40 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:41 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:45 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:46 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:50 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:51 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:21:55 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:21:56 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:00 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:01 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:05 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:07 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:10 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:11 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:15 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:16 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:20 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:22 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:25 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:26 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:30 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:31 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:35 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:36 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:40 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:42 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:45 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:47 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:50 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:51 Deploy of Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2' is still in progress...
(devdock04) DBG | 2016/11/08 17:22:55 Polling status for Server '9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2'...
(devdock04) DBG | 2016/11/08 17:22:56 Unexpected error while performing 'GET' request to 'https://api-EU.dimensiondata.com/caas/2.2/9ce4f241-ae0f-47c2-a042-7e285b9875b7/server/server/9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2': Get https://api-EU.dimensiondata.com/caas/2.2/9ce4f241-ae0f-47c2-a042-7e285b9875b7/server/server/9d8c7ee0-49ce-42c4-baaf-47ee3b3688e2: x509: certificate has expired or is not yet valid.
(devdock04) DBG | unexpected fault address 0xb01dfacedebac1e
(devdock04) DBG | fatal error: fault
(devdock04) DBG | [signal 0xb code=0x1 addr=0xb01dfacedebac1e pc=0x159614]
(devdock04) DBG | 
(devdock04) DBG | goroutine 287 [running]:
(devdock04) DBG | runtime.throw(0x5c85b8, 0x5)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/runtime/panic.go:547 +0x90 fp=0xc82023b880 sp=0xc82023b868
(devdock04) DBG | runtime.sigpanic()
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/runtime/sigpanic_unix.go:27 +0x2ba fp=0xc82023b8d0 sp=0xc82023b880
(devdock04) DBG | net/http.(*Transport).dial(0xc8200f0000, 0x5cbf10, 0x3, 0xc82033f0a0, 0x1c, 0x0, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:662 +0x94 fp=0xc82023b960 sp=0xc82023b8d0
(devdock04) DBG | net/http.(*Transport).dialConn(0xc8200f0000, 0x0, 0xc8201a2d80, 0x5, 0xc82033f0a0, 0x1c, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:765 +0x1e3d fp=0xc82023bf00 sp=0xc82023b960
(devdock04) DBG | net/http.(*Transport).getConn.func4(0xc8200f0000, 0x0, 0xc8201a2d80, 0x5, 0xc82033f0a0, 0x1c, 0xc8204f4120)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:709 +0x66 fp=0xc82023bf78 sp=0xc82023bf00
(devdock04) DBG | runtime.goexit()
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82023bf80 sp=0xc82023bf78
(devdock04) DBG | created by net/http.(*Transport).getConn
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:711 +0x262
(devdock04) DBG | 
(devdock04) DBG | goroutine 1 [select]:
(devdock04) DBG | github.com/docker/machine/libmachine/drivers/plugin.RegisterDriver(0xb04a38, 0xc8200fd440)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/docker/machine/libmachine/drivers/plugin/register_driver.go:52 +0x75c
(devdock04) DBG | main.main()
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/main.go:28 +0x334
(devdock04) DBG | 
(devdock04) DBG | goroutine 17 [syscall, 3 minutes, locked to thread]:
(devdock04) DBG | runtime.goexit()
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/runtime/asm_amd64.s:1998 +0x1
(devdock04) DBG | 
(devdock04) DBG | goroutine 5 [syscall, 3 minutes]:
(devdock04) DBG | os/signal.signal_recv(0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/runtime/sigqueue.go:116 +0x132
(devdock04) DBG | os/signal.loop()
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/os/signal/signal_unix.go:22 +0x18
(devdock04) DBG | created by os/signal.init.1
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/os/signal/signal_unix.go:28 +0x37
(devdock04) DBG | 
(devdock04) DBG | goroutine 7 [IO wait, 3 minutes]:
(devdock04) DBG | net.runtime_pollWait(0xb05b10, 0x72, 0xb00050)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/runtime/netpoll.go:160 +0x60
(devdock04) DBG | net.(*pollDesc).Wait(0xc820060760, 0x72, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/fd_poll_runtime.go:73 +0x3a
(devdock04) DBG | net.(*pollDesc).WaitRead(0xc820060760, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/fd_poll_runtime.go:78 +0x36
(devdock04) DBG | net.(*netFD).accept(0xc820060700, 0x0, 0xb05c48, 0xc820152040)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/fd_unix.go:426 +0x27c
(devdock04) DBG | net.(*TCPListener).AcceptTCP(0xc82002e0c0, 0xc82003de70, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/tcpsock_posix.go:254 +0x4d
(devdock04) DBG | net.(*TCPListener).Accept(0xc82002e0c0, 0x0, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/tcpsock_posix.go:264 +0x3d
(devdock04) DBG | net/http.(*Server).Serve(0xc8200b3c80, 0xb04b68, 0xc82002e0c0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/server.go:2117 +0x129
(devdock04) DBG | net/http.Serve(0xb04b68, 0xc82002e0c0, 0x0, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/server.go:1976 +0x8e
(devdock04) DBG | created by github.com/docker/machine/libmachine/drivers/plugin.RegisterDriver
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/docker/machine/libmachine/drivers/plugin/register_driver.go:49 +0x531
(devdock04) DBG | 
(devdock04) DBG | goroutine 18 [IO wait]:
(devdock04) DBG | net.runtime_pollWait(0xb05a50, 0x72, 0xc820172000)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/runtime/netpoll.go:160 +0x60
(devdock04) DBG | net.(*pollDesc).Wait(0xc820154060, 0x72, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/fd_poll_runtime.go:73 +0x3a
(devdock04) DBG | net.(*pollDesc).WaitRead(0xc820154060, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/fd_poll_runtime.go:78 +0x36
(devdock04) DBG | net.(*netFD).Read(0xc820154000, 0xc820172000, 0x1000, 0x1000, 0x0, 0xb00050, 0xc82000a068)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/fd_unix.go:250 +0x23a
(devdock04) DBG | net.(*conn).Read(0xc820158000, 0xc820172000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/net.go:172 +0xe4
(devdock04) DBG | bufio.(*Reader).fill(0xc820166060)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/bufio/bufio.go:97 +0x1e9
(devdock04) DBG | bufio.(*Reader).Read(0xc820166060, 0xc82015e015, 0x1, 0x9, 0x756ea11885ede7, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/bufio/bufio.go:207 +0x260
(devdock04) DBG | io.ReadAtLeast(0xb40268, 0xc820166060, 0xc82015e015, 0x1, 0x9, 0x1, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/io/io.go:297 +0xe6
(devdock04) DBG | io.ReadFull(0xb40268, 0xc820166060, 0xc82015e015, 0x1, 0x9, 0xc82015c000, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/io/io.go:315 +0x62
(devdock04) DBG | encoding/gob.decodeUintReader(0xb40268, 0xc820166060, 0xc82015e015, 0x9, 0x9, 0x0, 0x1, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/encoding/gob/decode.go:119 +0x92
(devdock04) DBG | encoding/gob.(*Decoder).recvMessage(0xc82015a180, 0xc820149398)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/encoding/gob/decoder.go:76 +0x5e
(devdock04) DBG | encoding/gob.(*Decoder).decodeTypeSequence(0xc82015a180, 0x6c4c00, 0xc82015a180)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/encoding/gob/decoder.go:140 +0x47
(devdock04) DBG | encoding/gob.(*Decoder).DecodeValue(0xc82015a180, 0x422340, 0xc820436080, 0x16, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/encoding/gob/decoder.go:208 +0x15d
(devdock04) DBG | encoding/gob.(*Decoder).Decode(0xc82015a180, 0x422340, 0xc820436080, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/encoding/gob/decoder.go:185 +0x289
(devdock04) DBG | net/rpc.(*gobServerCodec).ReadRequestHeader(0xc820156210, 0xc820436080, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:403 +0x51
(devdock04) DBG | net/rpc.(*Server).readRequestHeader(0xc820013b00, 0xb402b8, 0xc820156210, 0x0, 0x0, 0xc820436080, 0xc820149600, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:576 +0x90
(devdock04) DBG | net/rpc.(*Server).readRequest(0xc820013b00, 0xb402b8, 0xc820156210, 0xc820013b00, 0xc82015e060, 0xc8200b3800, 0x0, 0x0, 0x0, 0x0, ...)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:543 +0x8b
(devdock04) DBG | net/rpc.(*Server).ServeCodec(0xc820013b00, 0xb402b8, 0xc820156210)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:462 +0x7d
(devdock04) DBG | net/rpc.(*Server).ServeConn(0xc820013b00, 0xb40208, 0xc820158000)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:454 +0x4ee
(devdock04) DBG | net/rpc.(*Server).ServeHTTP(0xc820013b00, 0xb40130, 0xc82016c000, 0xc82016a000)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:696 +0x503
(devdock04) DBG | net/http.(*ServeMux).ServeHTTP(0xc82000ee10, 0xb40130, 0xc82016c000, 0xc82016a000)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/server.go:1910 +0x17d
(devdock04) DBG | net/http.serverHandler.ServeHTTP(0xc8200b3c80, 0xb40130, 0xc82016c000, 0xc82016a000)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/server.go:2081 +0x19e
(devdock04) DBG | net/http.(*conn).serve(0xc82015a000)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/server.go:1472 +0xf2e
(devdock04) DBG | created by net/http.(*Server).Serve
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/server.go:2137 +0x44e
(devdock04) DBG | 
(devdock04) DBG | goroutine 59 [select]:
(devdock04) DBG | net/http.(*Transport).getConn(0xc8200f0000, 0xc8204cad20, 0x0, 0xc8201a2d80, 0x5, 0xc82033f0a0, 0x1c, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:714 +0x4ef
(devdock04) DBG | net/http.(*Transport).RoundTrip(0xc8200f0000, 0xc8204cad20, 0xc8200f0000, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:314 +0x7e9
(devdock04) DBG | net/http.send(0xc8204cad20, 0xb04528, 0xc8200f0000, 0x0, 0x0, 0x0, 0xc8201a34d0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:260 +0x6b7
(devdock04) DBG | net/http.(*Client).send(0xc8201574d0, 0xc8204cad20, 0x0, 0x0, 0x0, 0xc8204cad20, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:155 +0x185
(devdock04) DBG | net/http.(*Client).doFollowingRedirects(0xc8201574d0, 0xc8204cad20, 0x6c4760, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:475 +0x8a4
(devdock04) DBG | net/http.(*Client).Do(0xc8201574d0, 0xc8204cad20, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:188 +0xff
(devdock04) DBG | github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute.(*Client).executeRequest(0xc820166960, 0xc8204cad20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute/client.go:177 +0xa69
(devdock04) DBG | github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute.(*Client).GetServer(0xc820166960, 0xc82038d200, 0x24, 0x0, 0x0, 0x0)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute/servers.go:228 +0x2e1
(devdock04) DBG | github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute.(*Client).GetResource(0xc820166960, 0xc82038d200, 0x24, 0x2, 0x0, 0x0, 0x0, 0x0)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute/resources.go:114 +0x33a
(devdock04) DBG | github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute.(*Client).waitForResourceStatus(0xc820166960, 0x2, 0xc82038d200, 0x24, 0x5c48d8, 0x6, 0x5d30f0, 0xb, 0x5c5768, 0x6, ...)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute/wait_for_status.go:63 +0x740
(devdock04) DBG | github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute.(*Client).waitForPendingOperation(0xc820166960, 0x2, 0xc82038d200, 0x24, 0x5c48d8, 0x6, 0x5d30f0, 0xb, 0xd18c2e2800, 0x0, ...)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute/wait_for_status.go:38 +0xcd
(devdock04) DBG | github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute.(*Client).WaitForDeploy(0xc820166960, 0x2, 0xc82038d200, 0x24, 0xd18c2e2800, 0x0, 0x0, 0x0, 0x0)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/vendor/github.com/DimensionDataResearch/go-dd-cloud-compute/compute/wait_for_status.go:11 +0xa8
(devdock04) DBG | main.(*Driver).deployServer(0xc8200fd440, 0x17, 0x0, 0x0)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/client.go:256 +0x576
(devdock04) DBG | main.(*Driver).Create(0xc8200fd440, 0x0, 0x0)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/DimensionDataResearch/docker-machine-driver-ddcloud/driver.go:243 +0x199
(devdock04) DBG | github.com/docker/machine/libmachine/drivers/rpc.(*RPCServerDriver).Create(0xc8200e9b60, 0x8ad640, 0x8ad640, 0x0, 0x0)
(devdock04) DBG |   /Users/tintoy/development/golang/src/github.com/docker/machine/libmachine/drivers/rpc/server_driver.go:140 +0x7c
(devdock04) DBG | reflect.Value.call(0x4d5500, 0x5a8748, 0x13, 0x5c4570, 0x4, 0xc82014ded8, 0x3, 0x3, 0x0, 0x0, ...)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/reflect/value.go:435 +0x120d
(devdock04) DBG | reflect.Value.Call(0x4d5500, 0x5a8748, 0x13, 0xc82014ded8, 0x3, 0x3, 0x0, 0x0, 0x0)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/reflect/value.go:303 +0xb1
(devdock04) DBG | net/rpc.(*service).call(0xc820013d80, 0xc820013b00, 0xc82015e060, 0xc8200b3180, 0xc820152640, 0x428b80, 0x8ad640, 0x16, 0x428b80, 0x8ad640, ...)
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:383 +0x1c2
(devdock04) DBG | created by net/rpc.(*Server).ServeCodec
(devdock04) DBG |   /usr/local/Cellar/go/1.6.3/libexec/src/net/rpc/server.go:477 +0x49d
Wrapper Docker Machine process exiting due to closed plugin server (connection is shut down)
Error creating machine: Error in driver during machine creation: unexpected EOF
notifying bugsnag: [Error creating machine: Error in driver during machine creation: unexpected EOF]
Adrians-MacBook-Pro-2:darwin-amd64 adrian$ 

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Hmm, not sure that there's much I can do about that one, the message indicates that there's a problem with the certificate returned by the server when making an HTTP request to the CloudControl API. I'm just trying it out from a machine I've deployed inside CloudControl to see if I can replicate the problem.

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

@adrianvolpe oddly this, does work for me. Sorry to be a pain, but would you mind trying it one more time?

The actual crash appears to be related to a bug in the Go runtime used by the driver when run on OSX but since every request before that succeeded it appears to be an intermittent problem.

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

I'm going to try rebuilding the driver with Go 1.7 and will republish the driver executables. If you wouldn't mind trying with that we'll see if it fixes the problem.

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

Yes no problems! Happy to test again. Was going to try the Ubuntu image but may hold off now until you compile with Go 1.7

From: Adam Friedman [email protected]
Reply-To: DimensionDataResearch/docker-machine-driver-ddcloud [email protected]
Date: Tuesday, 8 November 2016 at 5:59 pm
To: DimensionDataResearch/docker-machine-driver-ddcloud [email protected]
Cc: "Adrian Volpe (Group)" [email protected], Mention [email protected]
Subject: Re: [DimensionDataResearch/docker-machine-driver-ddcloud] Add support for using private IP addressing (#6)

I'm going to try rebuilding the driver with Go 1.7 and will republish the driver executables. If you wouldn't mind trying with that we'll see if it fixes the problem.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect-au.mimecast.com/s/NX10BGS5vYfY, or mute the threadhttps://protect-au.mimecast.com/s/bZ87B4CE54f2.

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Ok @adrianvolpe, I've uploaded new binaries (still the v0.4 release). Would you mind downloading the docker-machine-driver-ddcloud executable again and seeing if that does the trick?

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

BTW, Ubuntu image should not be necessary; the problem seems to be something to do with how Go's HTTP client implementation handles SSL.

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

Hi Adam,

I think it does the trick but I got the following which is unrelated to this development. I think because in MCP2.0 IPV4 is blocked by default that the SSH fails. I’ve tried to get GIS to add a firewall rule to allow IPV4 into this network when connected the VPN but they have not completed that work yet. I will retest when the firewall is in place.

(devdock05) DBG | Error dialing TCP: dial tcp 10.245.20.10:22: getsockopt: connection refused
(devdock05) DBG | SSH bootstrap process complete; the public key from '/Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2.pub' is now installed on host '10.245.20.10:22' for user 'root'.
(devdock05) Server 'devdock05' has been successfully created.
(devdock05) Calling .GetConfigRaw
(devdock05) Calling .DriverName
(devdock05) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(devdock05) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(devdock05) Calling .GetSSHHostname
(devdock05) Calling .GetSSHPort
(devdock05) Calling .GetSSHKeyPath
(devdock05) Calling .GetSSHKeyPath
(devdock05) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
exit 0
SSH cmd err, output: exit status 255:
Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
command : exit 0
err : exit status 255
output :

Getting to WaitForSSH function...

Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded
notifying bugsnag: [Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded]

From: Adam Friedman [email protected]
Reply-To: DimensionDataResearch/docker-machine-driver-ddcloud [email protected]
Date: Tuesday, 8 November 2016 at 6:02 pm
To: DimensionDataResearch/docker-machine-driver-ddcloud [email protected]
Cc: "Adrian Volpe (Group)" [email protected], Mention [email protected]
Subject: Re: [DimensionDataResearch/docker-machine-driver-ddcloud] Add support for using private IP addressing (#6)

BTW, Ubuntu image should not be necessary; the problem seems to be something to do with how Go's HTTP client implementation handles SSL.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect-au.mimecast.com/s/lqm7BzFEQZFY, or mute the threadhttps://protect-au.mimecast.com/s/z4n3BMcpYquE.

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Ah, yes - sorry but I’m not sure if docker machine natively supports IPv6 for SSH connections (it might but I’ve not had time to check).
I’m glad to hear that it gets you past the original problem, but I’ll leave this issue open until you’re sure it's fixed for you.

I managed to bypass the firewall issue by running docker-machine on a server inside a network domain (creating another machine inside that same network domain) and it definitely worked correctly there for me. If you have time would you by any chance be able to give that a go? If not, no problem, I can wait till you get the firewall rule sorted out :)

On 9 Nov 2016, at 9:00 AM, Adrian Volpe <[email protected]mailto:[email protected]> wrote:

Hi Adam,

I think it does the trick but I got the following which is unrelated to this development. I think because in MCP2.0 IPV4 is blocked by default that the SSH fails. I’ve tried to get GIS to add a firewall rule to allow IPV4 into this network when connected the VPN but they have not completed that work yet. I will retest when the firewall is in place.

(devdock05) DBG | Error dialing TCP: dial tcp 10.245.20.10:22: getsockopt: connection refused
(devdock05) DBG | SSH bootstrap process complete; the public key from '/Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2.pub' is now installed on host '10.245.20.10:22' for user 'root'.
(devdock05) Server 'devdock05' has been successfully created.
(devdock05) Calling .GetConfigRaw
(devdock05) Calling .DriverName
(devdock05) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(devdock05) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(devdock05) Calling .GetSSHHostname
(devdock05) Calling .GetSSHPort
(devdock05) Calling .GetSSHKeyPath
(devdock05) Calling .GetSSHKeyPath
(devdock05) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected]:[email protected] -o IdentitiesOnly=yes -i /Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
exit 0
SSH cmd err, output: exit status 255:
Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
command : exit 0
err : exit status 255
output :

Getting to WaitForSSH function...

Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded
notifying bugsnag: [Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded]

From: Adam Friedman <[email protected]mailto:[email protected]>
Reply-To: DimensionDataResearch/docker-machine-driver-ddcloud <[email protected]mailto:[email protected]>
Date: Tuesday, 8 November 2016 at 6:02 pm
To: DimensionDataResearch/docker-machine-driver-ddcloud <[email protected]mailto:[email protected]>
Cc: "Adrian Volpe (Group)" <[email protected]mailto:[email protected]>, Mention <[email protected]mailto:[email protected]>
Subject: Re: [DimensionDataResearch/docker-machine-driver-ddcloud] Add support for using private IP addressing (#6)

BTW, Ubuntu image should not be necessary; the problem seems to be something to do with how Go's HTTP client implementation handles SSL.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect-au.mimecast.com/s/lqm7BzFEQZFYhttps://protect-au.mimecast.com/s/lqm7BzFEQZFY, or mute the threadhttps://protect-au.mimecast.com/s/z4n3BMcpYquEhttps://protect-au.mimecast.com/s/z4n3BMcpYquE.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/6#issuecomment-259273068, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkezM9ZJpA7xIZKJRNixTOGxrdNI7CEks5q8PDmgaJpZM4KsDxQ.

itevomcid

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

Hi Adam,

I did attempt the docker-machine create from within the network. The only difference was that I used the linux version of the driver now. I got the furthest I’ve been able to get so far but still an error:

Using SSH client type: external
Using SSH private key: /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
sudo systemctl daemon-reload
SSH cmd err, output: :
(devdock06) Calling .GetSSHHostname
(devdock06) Calling .GetSSHPort
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
sudo systemctl -f start docker
SSH cmd err, output: :
(devdock06) Calling .GetSSHHostname
(devdock06) Calling .GetSSHPort
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected] -o IdentitiesOnly=yes -i /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
netstat -tln
SSH cmd err, output: : Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp6 0 0 :::2376 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN

Checking connection to Docker...
(devdock06) Calling .GetURL
Reading CA certificate from /root/.docker/machine/certs/ca.pem
Reading client certificate from /root/.docker/machine/certs/cert.pem
Reading client key from /root/.docker/machine/certs/key.pem
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "10.245.20.11:2376": dial tcp 10.245.20.11:2376: getsockopt: no route to host
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.

notifying bugsnag: [Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "10.245.20.11:2376": dial tcp 10.245.20.11:2376: getsockopt: no route to host
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
]
[root@10-245-20-6 sbin]#

I then attempted to see why connectivity failed to the new host so I did an IPtables –L on the new host:
root@devdock06 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
INPUT_direct all -- anywhere anywhere
INPUT_ZONES_SOURCE all -- anywhere anywhere
INPUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
DOCKER-ISOLATION all -- anywhere anywhere
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
FORWARD_direct all -- anywhere anywhere
FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere
FORWARD_IN_ZONES all -- anywhere anywhere
FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere
FORWARD_OUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
OUTPUT_direct all -- anywhere anywhere

Chain DOCKER (1 references)
target prot opt source destination

Chain DOCKER-ISOLATION (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain FORWARD_IN_ZONES (1 references)
target prot opt source destination
FWDI_public all -- anywhere anywhere [goto]
FWDI_public all -- anywhere anywhere [goto]

Chain FORWARD_IN_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_OUT_ZONES (1 references)
target prot opt source destination
FWDO_public all -- anywhere anywhere [goto]
FWDO_public all -- anywhere anywhere [goto]

Chain FORWARD_OUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_direct (1 references)
target prot opt source destination

Chain FWDI_public (2 references)
target prot opt source destination
FWDI_public_log all -- anywhere anywhere
FWDI_public_deny all -- anywhere anywhere
FWDI_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere

Chain FWDI_public_allow (1 references)
target prot opt source destination

Chain FWDI_public_deny (1 references)
target prot opt source destination

Chain FWDI_public_log (1 references)
target prot opt source destination

Chain FWDO_public (2 references)
target prot opt source destination
FWDO_public_log all -- anywhere anywhere
FWDO_public_deny all -- anywhere anywhere
FWDO_public_allow all -- anywhere anywhere

Chain FWDO_public_allow (1 references)
target prot opt source destination

Chain FWDO_public_deny (1 references)
target prot opt source destination

Chain FWDO_public_log (1 references)
target prot opt source destination

Chain INPUT_ZONES (1 references)
target prot opt source destination
IN_public all -- anywhere anywhere [goto]
IN_public all -- anywhere anywhere [goto]

Chain INPUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain INPUT_direct (1 references)
target prot opt source destination

Chain IN_public (2 references)
target prot opt source destination
IN_public_log all -- anywhere anywhere
IN_public_deny all -- anywhere anywhere
IN_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere

Chain IN_public_allow (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW

Chain IN_public_deny (1 references)
target prot opt source destination

Chain IN_public_log (1 references)
target prot opt source destination

Chain OUTPUT_direct (1 references)
target prot opt source destination

To keep it simple I just did a iptables –F (flushed all the rules)
Then performed:

[root@10-245-20-6 sbin]# docker-machine regenerate-certs devdock06
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Waiting for SSH to be available...
Detecting the provisioner...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
[root@10-245-20-6 sbin]# docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
devdock06 - ddcloud Running tcp://10.245.20.11:2376 v1.12.3

So I will attempt another docker host this time without the --ddcloud-create-ssh-firewall-rule and hope it works! But the good news is that is the best result so far ☺

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Hmm, that’s odd. It should be skipping over the firewall rule stuff entirely if you specify private addressing:

https://github.com/DimensionDataResearch/docker-machine-driver-ddcloud/blob/development/v1.0/driver.go#L248-L257

Unfortunately the stuff you’re seeing in the log there is from logic in Docker Machine itself (the only bit we control is the initial creation of the machine in CloudControl and provisioning of the SSH key that the rest of the Docker Machine logic requires; everything after that is done by Docker Machine). You’d likely see the same behaviour if you manually created the machine in CloudControl and used Docker Machine’s built-in “generic” driver to provision the machine (i.e. we have no control over that logic).

Which OS image are you using there? Perhaps it’s an issue with that particular OS image?

On 9 Nov 2016, at 11:13 AM, Adrian Volpe <[email protected]mailto:[email protected]> wrote:

Hi Adam,

I did attempt the docker-machine create from within the network. The only difference was that I used the linux version of the driver now. I got the furthest I’ve been able to get so far but still an error:

Using SSH client type: external
Using SSH private key: /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected]:[email protected] -o IdentitiesOnly=yes -i /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
sudo systemctl daemon-reload
SSH cmd err, output: :
(devdock06) Calling .GetSSHHostname
(devdock06) Calling .GetSSHPort
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected]:[email protected] -o IdentitiesOnly=yes -i /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
sudo systemctl -f start docker
SSH cmd err, output: :
(devdock06) Calling .GetSSHHostname
(devdock06) Calling .GetSSHPort
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHKeyPath
(devdock06) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected]:[email protected] -o IdentitiesOnly=yes -i /root/.docker/machine/machines/devdock06/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
netstat -tln
SSH cmd err, output: : Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp6 0 0 :::2376 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN

Checking connection to Docker...
(devdock06) Calling .GetURL
Reading CA certificate from /root/.docker/machine/certs/ca.pem
Reading client certificate from /root/.docker/machine/certs/cert.pem
Reading client key from /root/.docker/machine/certs/key.pem
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "10.245.20.11:2376": dial tcp 10.245.20.11:2376: getsockopt: no route to host
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.

notifying bugsnag: [Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "10.245.20.11:2376": dial tcp 10.245.20.11:2376: getsockopt: no route to host
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.
]
[root@10-245-20-6 sbin]#

I then attempted to see why connectivity failed to the new host so I did an IPtables –L on the new host:
root@devdock06 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
INPUT_direct all -- anywhere anywhere
INPUT_ZONES_SOURCE all -- anywhere anywhere
INPUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
DOCKER-ISOLATION all -- anywhere anywhere
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
FORWARD_direct all -- anywhere anywhere
FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere
FORWARD_IN_ZONES all -- anywhere anywhere
FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere
FORWARD_OUT_ZONES all -- anywhere anywhere
DROP all -- anywhere anywhere ctstate INVALID
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
OUTPUT_direct all -- anywhere anywhere

Chain DOCKER (1 references)
target prot opt source destination

Chain DOCKER-ISOLATION (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain FORWARD_IN_ZONES (1 references)
target prot opt source destination
FWDI_public all -- anywhere anywhere [goto]
FWDI_public all -- anywhere anywhere [goto]

Chain FORWARD_IN_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_OUT_ZONES (1 references)
target prot opt source destination
FWDO_public all -- anywhere anywhere [goto]
FWDO_public all -- anywhere anywhere [goto]

Chain FORWARD_OUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain FORWARD_direct (1 references)
target prot opt source destination

Chain FWDI_public (2 references)
target prot opt source destination
FWDI_public_log all -- anywhere anywhere
FWDI_public_deny all -- anywhere anywhere
FWDI_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere

Chain FWDI_public_allow (1 references)
target prot opt source destination

Chain FWDI_public_deny (1 references)
target prot opt source destination

Chain FWDI_public_log (1 references)
target prot opt source destination

Chain FWDO_public (2 references)
target prot opt source destination
FWDO_public_log all -- anywhere anywhere
FWDO_public_deny all -- anywhere anywhere
FWDO_public_allow all -- anywhere anywhere

Chain FWDO_public_allow (1 references)
target prot opt source destination

Chain FWDO_public_deny (1 references)
target prot opt source destination

Chain FWDO_public_log (1 references)
target prot opt source destination

Chain INPUT_ZONES (1 references)
target prot opt source destination
IN_public all -- anywhere anywhere [goto]
IN_public all -- anywhere anywhere [goto]

Chain INPUT_ZONES_SOURCE (1 references)
target prot opt source destination

Chain INPUT_direct (1 references)
target prot opt source destination

Chain IN_public (2 references)
target prot opt source destination
IN_public_log all -- anywhere anywhere
IN_public_deny all -- anywhere anywhere
IN_public_allow all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere

Chain IN_public_allow (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW

Chain IN_public_deny (1 references)
target prot opt source destination

Chain IN_public_log (1 references)
target prot opt source destination

Chain OUTPUT_direct (1 references)
target prot opt source destination

To keep it simple I just did a iptables –F (flushed all the rules)
Then performed:

[root@10-245-20-6 sbin]# docker-machine regenerate-certs devdock06
Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Waiting for SSH to be available...
Detecting the provisioner...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
[root@10-245-20-6 sbin]# docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
devdock06 - ddcloud Running tcp://10.245.20.11:2376 v1.12.3

So I will attempt another docker host this time without the --ddcloud-create-ssh-firewall-rule and hope it works! But the good news is that is the best result so far ☺
From: Adam Friedman <[email protected]mailto:[email protected]>
Reply-To: DimensionDataResearch/docker-machine-driver-ddcloud <[email protected]mailto:[email protected]>
Date: Wednesday, 9 November 2016 at 9:09 am
To: DimensionDataResearch/docker-machine-driver-ddcloud <[email protected]mailto:[email protected]>
Cc: "Adrian Volpe (Group)" <[email protected]mailto:[email protected]>, Mention <[email protected]mailto:[email protected]>
Subject: Re: [DimensionDataResearch/docker-machine-driver-ddcloud] Add support for using private IP addressing (#6)

Ah, yes - sorry but I’m not sure if docker machine natively supports IPv6 for SSH connections (it might but I’ve not had time to check).
I’m glad to hear that it gets you past the original problem, but I’ll leave this issue open until you’re sure it's fixed for you.

I managed to bypass the firewall issue by running docker-machine on a server inside a network domain (creating another machine inside that same network domain) and it definitely worked correctly there for me. If you have time would you by any chance be able to give that a go? If not, no problem, I can wait till you get the firewall rule sorted out :)

On 9 Nov 2016, at 9:00 AM, Adrian Volpe <[email protected]mailto:[email protected]mailto:[email protected]> wrote:

Hi Adam,

I think it does the trick but I got the following which is unrelated to this development. I think because in MCP2.0 IPV4 is blocked by default that the SSH fails. I’ve tried to get GIS to add a firewall rule to allow IPV4 into this network when connected the VPN but they have not completed that work yet. I will retest when the firewall is in place.

(devdock05) DBG | Error dialing TCP: dial tcp 10.245.20.10:22: getsockopt: connection refused
(devdock05) DBG | SSH bootstrap process complete; the public key from '/Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2.pub' is now installed on host '10.245.20.10:22' for user 'root'.
(devdock05) Server 'devdock05' has been successfully created.
(devdock05) Calling .GetConfigRaw
(devdock05) Calling .DriverName
(devdock05) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(devdock05) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(devdock05) Calling .GetSSHHostname
(devdock05) Calling .GetSSHPort
(devdock05) Calling .GetSSHKeyPath
(devdock05) Calling .GetSSHKeyPath
(devdock05) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2 (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none [email protected]:[email protected]:[email protected] -o IdentitiesOnly=yes -i /Users/adrian/.docker/machine/machines/devdock05/id_rsa.gsoa-v2 -p 22] /usr/bin/ssh }
About to run SSH command:
exit 0
SSH cmd err, output: exit status 255:
Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
command : exit 0
err : exit status 255
output :

Getting to WaitForSSH function...

Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded
notifying bugsnag: [Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded]

From: Adam Friedman <[email protected]mailto:[email protected]mailto:[email protected]>
Reply-To: DimensionDataResearch/docker-machine-driver-ddcloud <[email protected]mailto:[email protected]mailto:[email protected]>
Date: Tuesday, 8 November 2016 at 6:02 pm
To: DimensionDataResearch/docker-machine-driver-ddcloud <[email protected]mailto:[email protected]mailto:[email protected]>
Cc: "Adrian Volpe (Group)" <[email protected]mailto:[email protected]mailto:[email protected]>, Mention <[email protected]mailto:[email protected]mailto:[email protected]>
Subject: Re: [DimensionDataResearch/docker-machine-driver-ddcloud] Add support for using private IP addressing (#6)

BTW, Ubuntu image should not be necessary; the problem seems to be something to do with how Go's HTTP client implementation handles SSL.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect-au.mimecast.com/s/lqm7BzFEQZFY<https://protect-au.mimecast.com/s/lqm7BzFEQZFYhttps://protect-au.mimecast.com/s/Xq17BmFgEqhDhttps://protect-au.mimecast.com/s/Xq17BmFgEqhDhttps://protect-au.mimecast.com/s/lqm7BzFEQZFY<https://protect-au.mimecast.com/s/lqm7BzFEQZFYhttps://protect-au.mimecast.com/s/Xq17BmFgEqhDhttps://protect-au.mimecast.com/s/Xq17BmFgEqhD>>, or mute the threadhttps://protect-au.mimecast.com/s/z4n3BMcpYquE<https://protect-au.mimecast.com/s/z4n3BMcpYquEhttps://protect-au.mimecast.com/s/78eqBkF813hGhttps://protect-au.mimecast.com/s/78eqBkF813hGhttps://protect-au.mimecast.com/s/z4n3BMcpYquE<https://protect-au.mimecast.com/s/z4n3BMcpYquEhttps://protect-au.mimecast.com/s/78eqBkF813hGhttps://protect-au.mimecast.com/s/78eqBkF813hG>>.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/6#issuecomment-259273068<#6 (comment)https://protect-au.mimecast.com/s/EM1mBvTveNf7>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkezM9ZJpA7xIZKJRNixTOGxrdNI7CEks5q8PDmgaJpZM4KsDxQ<https://github.com/notifications/unsubscribe-auth/ABkezM9ZJpA7xIZKJRNixTOGxrdNI7CEks5q8PDmgaJpZM4KsDxQhttps://protect-au.mimecast.com/s/Rv16BmSqKwhMhttps://protect-au.mimecast.com/s/Rv16BmSqKwhM>.

itevomcid


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://protect-au.mimecast.com/s/vxw5BDC4J7sEhttps://protect-au.mimecast.com/s/vxw5BDC4J7sE, or mute the threadhttps://protect-au.mimecast.com/s/nbp7B5FApJT8https://protect-au.mimecast.com/s/nbp7B5FApJT8.


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/6#issuecomment-259300444, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkezAePrlbLH2OcQjBDd5bl9ci5Buzrks5q8RAOgaJpZM4KsDxQ.

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

I was using the --ddcloud-image-name 'RedHat 7 64-bit 2 CPU' image. I'll try with the default and ubuntu.

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

Must be something to do with that RedHat image! I tried without specifying the image and it worked!

Docker is up and running!
Reticulating splines...
(devdock01) Calling .GetConfigRaw
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env devdock01
Making call to close driver server
(devdock01) Calling .Close
(devdock01) DBG | Closing plugin on server side
Successfully made call to close driver server
Making call to close connection to plugin binary
Making call to close driver server
(flag-lookup) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
[root@10-245-20-6 sbin]# docker-machine env devdock01
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://10.245.20.7:2376"
export DOCKER_CERT_PATH="/root/.docker/machine/machines/devdock01"
export DOCKER_MACHINE_NAME="devdock01"
# Run this command to configure your shell: 
# eval $(docker-machine env devdock01)
[root@10-245-20-6 sbin]# docker-machine ls
NAME        ACTIVE   DRIVER    STATE     URL                       SWARM   DOCKER    ERRORS
devdock01   -        ddcloud   Running   tcp://10.245.20.7:2376            v1.12.3   
devdock06   -        ddcloud   Running   tcp://10.245.20.11:2376           v1.12.3   

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Interesting! What about Centos - does that work for you?

from docker-machine-driver-ddcloud.

adrianvolpe avatar adrianvolpe commented on September 25, 2024

No issues with centOS 7!

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Ok, so I can probably add some logic in the driver to flush out the iptables configuration before proceeding but I'm not sure I understand the full implications of that change (as in why it was configured that way in the first place).

I get that iptables is the server-level firewall, and is probably configured by Docker after installation. I'm so-so when it comes to Linux (but lousy when it comes to iptables specifically) so I think I need a second opinion about how safe it is to do that.

How about you - would you be comfortable using a system that had been modified in this way before installing Docker?

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

That's one way it can be done, at least. I'm going to give it a try now.

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

Ok, even if the driver runs iptables -F, provisioning still fails with the same error. For now, I'm afraid it appears that RedHat 7 is not supported with Docker Machine (at least not the version in the CloudControl OS image).

I've modified the driver to block deployment for that image until (if?) we find a way to make it work on RedHat.

from docker-machine-driver-ddcloud.

tintoy avatar tintoy commented on September 25, 2024

@adrianvolpe I'm closing this issue because it's about the private IP address support. But if you run into any other issues, please feel free to open additional issues as required :)

from docker-machine-driver-ddcloud.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.