Skip to content

cloud start occasionally hangs in chef bootstrap #87

@alexg0

Description

@alexg0

Cloud start occasionally hangs in chef bootstrap, or errors out with following error from ssh: "ssh_exchange_identification: Connection closed by remote host".

This seems to be caused by Connections#ping_port leaving TCP port open, and starving out ssh session (maximum number of concurrent ssh session (this is controlled either MaxSession and MaxStartups parameters in sshd_config, each defaults to 10). Fix is to close TCPSocket after using it. Will provide a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions