mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-19 16:24:33 +00:00
Automatic merge from submit-queue (batch tested with PRs 44058, 48085, 48077, 48076, 47823) don't pass CRI error through to waiting state reason Raw gRPC errors are getting into the `Reason` field of the container status `State`, causing it to be output inline on a `kubectl get pod` xref https://bugzilla.redhat.com/show_bug.cgi?id=1449820 Basically the issue is that the err and msg are reversed in `startContainer()`. The msg is short and the err is long. It should be the other way around. This PR changes `startContainer()` to return a short error that becomes the Reason and the extracted gPRC error description that becomes the Message. @derekwaynecarr @smarterclayton @eparis