Document that amazon key pairs are not valid for ensemble ssh keys.

Bug #819803 reported by Jeremy Shute
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

in environments.yaml, specifying authorized-keys-path as an absolute path results in the error message, "Invalid SSH key". it would be much more helpful to print out the exact precondition that makes the SSH key invalid, for instance, "could not find SSH key in '/home/me/.ec2/ec2.pem'" or some such.

Revision history for this message
Jeremy Shute (shutej) wrote :

PPA btw

Revision history for this message
Kapil Thangavelu (hazmat) wrote :

I ended up misreading the code here when talking to jeremy on irc, it will try the full path and then the value as a name in ~/.ssh.

The error here is not actually from not finding the keys (which would be a LookupError) but using the amazon keypair (the .pem file).. which won't work with ensemble (Invalid SSH Key error is from ssh command)

summary: - authorized-keys-path is actually a filename, not a path.
+ Document that amazon key pairs are not valid for ensemble ssh keys.
Changed in ensemble:
importance: Undecided → Medium
milestone: none → dublin
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

Updated bug title to reflect that we probably need some additional docs to this effect.

Changed in ensemble:
milestone: dublin → none
Revision history for this message
Ameet Paranjape (ameetp) wrote :

I'm seeing this in Natty (11.04) using the PPA as well. I was able to 'ensemble bootstrap', but 'ensemble status' causes this message. I had created ssh keys using 'ssh-keygen -t rsa' to get 'ensemble bootstrap' to work.

Changed in ensemble:
status: New → Confirmed
Curtis Hovey (sinzui)
Changed in juju:
status: Confirmed → Triaged
Curtis Hovey (sinzui)
Changed in juju:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.