Issue Type: Bug Bug
Assignee: Francis Upton
Components: ec2
Created: 03/Oct/12 11:16 AM
Description:

The ec2 plugin has code to generate a fingerprint, based on the private key, which matches the one generated by AWS.

This is unreliable as there are two methods by which an ec2 keypair can come to be:

  1. Generating and retrieving the private key via the API / console
  2. Generating a key locally and importing the public key into ec2 via the API / console

As amazon never have the private key in the second case they cannot generate a fingerprint for it, and it is instead based on the public key. When the ec2 plugin goes to find which ec2 keypair to start instances with based on this fingerprint it will only ever succeed with keypairs generated by amazon.

The ec2 keypair should be instead be specified by name along with the contents of the private key.

Project: Jenkins
Labels: ec2
Priority: Major Major
Reporter: Nick Robinson-Wall
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to