Project

General

Profile

Actions

Bug #2712

closed

Net::SSH::Disconnect not handled in SSH provisioning

Added by Greg Sutcliffe over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Orchestration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Dominic Cleal over 11 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Greg Sutcliffe over 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF