You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps did you take and what happened:
Metrics cannot be collected while running trials with Istio enabled. The metrics pod keeps running without sending metrics to the db-manager. After debugging I found out that the function GetMainProcesses() waits forever for the Istio sidecar (envoy proxy) to finish. The istio sidecar does not run as root and should therefore be skipped in this proces. The parent process of istio however is the root user (which determines if a process is ran as root). We can check for user id instead of pid parent.
What did you expect to happen:
The istio sidecar should not be considered while checking for the main process to be finished.
Anything else you would like to add:
I will make a PR with a fix.
robbertvdg
changed the title
Non-root process not identified correctly while waiting for process to end
Skip non-root user processes when waiting for main proces to end
Nov 10, 2020
/kind bug
What steps did you take and what happened:
Metrics cannot be collected while running trials with Istio enabled. The metrics pod keeps running without sending metrics to the db-manager. After debugging I found out that the function
GetMainProcesses()
waits forever for the Istio sidecar (envoy proxy) to finish. The istio sidecar does not run as root and should therefore be skipped in this proces. The parent process of istio however is the root user (which determines if a process is ran as root). We can check for user id instead of pid parent.What did you expect to happen:
The istio sidecar should not be considered while checking for the main process to be finished.
Anything else you would like to add:
I will make a PR with a fix.
Environment:
minikube version
):kubectl version
): 1.18.10/etc/os-release
):The text was updated successfully, but these errors were encountered: