-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applications deployed with strategy --rolling
do not produce crash logs.
#2587
Comments
Interesting, good find.
I think your hunch is correct here. To make the v2->v3 migration easier the I think this also means crash events are broken for multi-process apps. We are sending the process GUID all the way through from tps-watcher to Cloud Controller, but at the point the event is created it is considering it to be an "app" and not a process. I wonder if we could fix things by changing this call to actually pass through the app instead of a process. |
- The internal app crash event endpoint assumed that the web process guid == app guid (legacy behavior from the v2->v3 data model migrations) - Rolling deployments create new web processes that have different guids which made it so this endpoint no longer created events associated with the parent app - This change updates the endpoint to make app crash events for the app guid instead of the process guid which should resolve the rolling deployment issue and support crash events for non-web process types Fixes #2587
- The internal app crash event endpoint assumed that the web process guid == app guid (legacy behavior from the v2->v3 data model migrations) - Rolling deployments create new web processes that have different guids which made it so this endpoint no longer created events associated with the parent app - This change updates the endpoint to make app crash events for the app guid instead of the process guid which should resolve the rolling deployment issue and support crash events for non-web process types Fixes #2587
Issue
Applications deployed with
strategy --rolling
do not produce crash logs.Context
Normally, when an application crashes it produces a log with a message detailing the crash:
However, if the application is deployed with
strategy --rolling
and then redeployed. It will not produce these log messages.There is another log message that is associated with crashes. This message is produced for both types of deployment strategies but it does not contain all of the information of the above message.
Steps to Reproduce
Deploy application with
strategy --rolling
and then redeploy it again. Cause app to crash. It will not produce above log messageExpected result
The application produces above log message regardless of deployment strategy.
Current result
The application does not produce the above log.
Possible Fix
This may be related to fact that with
strategy --rolling
the process GUID changes in differant way then with normal deployments.The text was updated successfully, but these errors were encountered: