When provisioning CS 3.0.1 servers, CS builds the instance and advertises the IP address, but the instance is not yet listening on the IP when the gem tries to do the ssh test, so the client throws a "Network is unreachable - connect(2) (Errno::ENETUNREACH)" during "tcp_socket = TCPSocket.new(hostname, 22)".
I tested by adding a 120 second sleep to tcp_test before the attempt to establish the socket, which worked. Catching the ENETUNREACH and retrying every x seconds might also work
When provisioning CS 3.0.1 servers, CS builds the instance and advertises the IP address, but the instance is not yet listening on the IP when the gem tries to do the ssh test, so the client throws a "Network is unreachable - connect(2) (Errno::ENETUNREACH)" during "tcp_socket = TCPSocket.new(hostname, 22)".
I tested by adding a 120 second sleep to tcp_test before the attempt to establish the socket, which worked. Catching the ENETUNREACH and retrying every x seconds might also work