instance is not reachable via ssh
Bug #565018 reported by
Scott Moser
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Won't Fix
|
High
|
Scott Moser | ||
Lucid |
Won't Fix
|
High
|
Scott Moser |
Bug Description
Binary package hint: cloud-init
On occasion we have seen failure of an instance's cloud-init process to successfully get ssh set up.
The symptom is that the user cannot log in, and ssh keys are not written to the console.
I'll attach two failed console logs, that show the problem.
Update:Checking logs, I see that I did not get access denied, but:
Read from socket failed: Connection reset by peer
description: | updated |
Changed in cloud-init (Ubuntu Lucid): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Scott Moser (smoser) |
tags: | added: iso-testing |
To post a comment you must log in.
The output here is from an image of 20100416 with some additional print statements (with flush) into cloud-init-cfg and CloudConfig.py. as soon as cloud-init-cfg comes up it prints a message saying so.
This instance had ssh denying connections. Looking at the log shows that no 'cloud-config-ssh' was ran.
I'm running again with a 'info' debug on upstart, hoping to verify that the cloud-config-ssh job was never started.
That job looks like this:
# cloud-config-ssh - obtain ssh keys from metadata service
description "Download preconfigured ssh keys"
start on filesystem
console output
task
exec cloud-init-cfg config-ssh