-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Labels
Description
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