race condition with ssh keys

Bug #781101 reported by Denis
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Scott Moser

Bug Description

Binary package hint: cloud-init

For me repeatable only on my own ami based on alestic`s one + when using automatic deployment and management tool (rubber in my case).
When instance starts sshd allows connection when it use old ssh keys, so if automation tool quickly runs some command it get`s old fingerprints from hosts and any further commands fail because ssh fingerprints got changed.
discussion: http://groups.google.com/group/ec2ubuntu/browse_thread/thread/a28b2ba68cb30edf
Release: 11.04
  Installed: 0.6.1-0ubuntu8
  Candidate: 0.6.1-0ubuntu8
  Version table:
 *** 0.6.1-0ubuntu8 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

Related branches

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Assigning to Scott per the linked discussion thread ec2ubuntu.

Changed in cloud-init (Ubuntu):
assignee: nobody → Scott Moser (smoser)
status: New → Confirmed
Scott Moser (smoser)
Changed in cloud-init (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.6.1-0ubuntu9

cloud-init (0.6.1-0ubuntu9) oneiric; urgency=low

  * sync with trunk (rev 404)
  * make metadata urls configurable, to support eucalyptus in
    STATIC or SYSTEM modes (LP: #761847)
  * support disabling byobu in cloud-config (LP: #797336)
  * guarantee that ssh_config runs before sshd starts (LP: #781101)
  * make prefix for keys added to /root/.ssh/authorized_keys configurable
    and add 'no-port-forwarding,no-agent-forwarding,no-X11-forwarding'
    to the default (LP: #798505)
  * make 'cloud-config ready' command configurable (LP: #785551)
  * make fstab fields used to 'fill in' shorthand mount entries configurable
    (LP: #785542)
  * read sshd_config to properly get path for authorized_keys (LP: #731849)
 -- Scott Moser <email address hidden> Fri, 17 Jun 2011 12:18:34 -0400

Changed in cloud-init (Ubuntu):
status: Confirmed → Fix Released
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.