Actions
Bug #2712
closedNet::SSH::Disconnect not handled in SSH provisioning
Description
Some premade Openstack images set up SSH keys as part of cloud-init. This means SSH comes up initially without and host keys and refuses connections for 10-15 seconds while the keys are created during the cloud-init run.
Since we don't catch Net::SSH::Disconnect Foreman sees the disconnect as an error and immediately fails the job. We should catch the error and retry (as we do for other exceptions) and lengthen the timeout to account for the cloud-init startup time.
Updated by Dominic Cleal over 11 years ago
- Status changed from Assigned to Ready For Testing
Updated by Greg Sutcliffe over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset be49e1eebcf1e9b616cd404cae941c22903f1cb7.
Actions