Skip to content

Enabling ssh connections to app containers in the starting state #439

@gberche-orange

Description

@gberche-orange

Summary

As a developer, in order to troubleshoot web applications that are hanging during startup, I need to ssh into their containers (e.g. to trigger a thread dump by sending a signal to the process) while the app health check is'nt yet reporting the app as started.

Expected Result

Ssh connection opens if sshd is available.

Actual Result

Ssh connection is systematically refused, when the app is starting.

Workaround is to use "process" healthcheck instead of "port" or "http" health check

Context

Steps to Reproduce

  • Deploy a webapp configured to hang before honoring its port/http health check
  • cf ssh app

Possible Causes or Fixes (optional)

Chatting with @emalm, it might be that LRP in the CLAIMING state don't yet provide networking details necessary to access ssh connection

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions