Application diagnostics failed during the Engineering Lifecycle Management rollback process
When you roll back to a major or interim fix version of Engineering Lifecycle Management instance
by using the reverse proxy in the deployment topology, the rollback might fail with the following
error. The Applications Events page shows App diagnostics
error. The Applications Events table shows the error
Application diagnostics has failed with the reason code
AppDiagnosticsErr. Review the following troubleshooting information to resolve the
error.
Problem
The server returned the HTTP error 504 with this error text: Gateway Time-out.
The server returned the HTTP error 502 with this error text: Bad Gateway
The timeout parameter configurations in the external reverse proxy server that is required in the Red Hat® OpenShift® topology might cause these error messages.
Resolution
To resolve the timeout errors with the external reverse proxy server, the timeout parameters in the proxy configurations are to be updated.
timeout clienttimeout serverThe timeout values of these parameters depend on the factors such as network latency, database load, and database performance. You must consider these factors when you adjust the value for the parameters.
An example with the sample values:
timeout client 5m
timeout server 5m
For more information about the parameters in HaProxy, see timeout client and timeout server.
/elm/server/resolveUpgradeErr.sh REPOTOOLS_DIAGNOSTICS- Review the Engineering Lifecycle Management application log /elm/server/conf/<elm-application-name>/logs/repotools-<elm-application-name>_executeDiagnostics.log to identify the cause of the failure. For more information about accessing the application pod logs, see Accessing application pod logs.
- When the failure cause is resolved, run the following command to resume the rollback
process.
/elm/server/resolveUpgradeErr.sh REPOTOOLS_DIAGNOSTICSThe rollback process resumes with the application diagnostics stage. The application diagnostics event is updated as Completed in the Upgrade Events table.