CloudBindle / youxia

A VM provisioner and fleet management tool.
GNU General Public License v3.0
2 stars 1 forks source link

Don't wait forever #58

Open SolomonShorser-OICR opened 8 years ago

SolomonShorser-OICR commented 8 years ago

Waiting for SSH could wait forever, if the cloud API never reports a failure when creating the VM, but SSH never is set up properly.

https://github.com/CloudBindle/youxia/blob/1.1.0-rc.8/youxia-deployer/src/main/java/io/cloudbindle/youxia/deployer/Deployer.java#L608

It would be nice to have a configurable upper limit for how long to wait before giving up and destroying the VM. I've seen it wait for SSH for an hour and nothing happened.