Hello,
I've been using version 3.0.0 on one machine, and it works great. It takes a minute for the VM to come up, but that's easily dealt with by waiting for the vm to come up:
-----> Creating <default-centos-65>...
OpenStack instance with ID of <411b5bb2-70d2-4947-ba0c-0d69393a58d2> is ready.
Attaching floating IP from <EXT> pool
Attaching floating IP <192.168.10.10>
Waiting for server to be ready...
Waiting for SSH service on 192.168.10.10:22, retrying in 3 seconds
Waiting for SSH service on 192.168.10.10:22, retrying in 3 seconds
Waiting for SSH service on 192.168.10.10:22, retrying in 3 seconds
[SSH] Established
Adding OpenStack hint for ohai
However, as of 3.1.0, this no longer appears to be the case, as it immediately fails on the first ssh attempt:
-----> Creating <default-centos-65>...
OpenStack instance with ID of <e0956463-fe92-4f69-8c27-0b7815b976f4> is ready.
Attaching floating IP from <EXT> pool
Attaching floating IP <192.168.10.11>
Waiting for server to be ready...
>>>>>> Server 192.168.10.11 (e0956463-fe92-4f69-8c27-0b7815b976f4) not reachable. Destroying server...
OpenStack instance <e0956463-fe92-4f69-8c27-0b7815b976f4> destroyed.
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [Broken pipe]
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
I know we can set server_wait, but I don't really want to wait 5mins every time when an extra 30s will do.
Is it possible to restore the functionality of waiting for SSH to be available for a certain period of time rather than just failing on the first attempt please?
Thanks!
Hello,
I've been using version 3.0.0 on one machine, and it works great. It takes a minute for the VM to come up, but that's easily dealt with by waiting for the vm to come up:
However, as of 3.1.0, this no longer appears to be the case, as it immediately fails on the first ssh attempt:
I know we can set server_wait, but I don't really want to wait 5mins every time when an extra 30s will do.
Is it possible to restore the functionality of waiting for SSH to be available for a certain period of time rather than just failing on the first attempt please?
Thanks!