adoroszlai opened a new pull request #2547: URL: https://github.com/apache/ozone/pull/2547
## What changes were proposed in this pull request? Save log from init containers (currently only SCM) to help debug startup problems. Previously the init container might have failed without any hint in the bundle about the error (e.g. HDDS-5492). https://issues.apache.org/jira/browse/HDDS-5497 ## How was this patch tested? Verified that artifact for _kubernetes_ check contains init container logs for scm pod. ``` $ unzip -t kubernetes.zip Archive: kubernetes.zip ... testing: getting-started/pod-scm-0-init.log OK testing: getting-started/pod-scm-0.log OK ... $ unzip -j kubernetes.zip getting-started/pod-scm-0-init.log Archive: kubernetes.zip inflating: pod-scm-0-init.log $ grep 'SCM initialization succeeded' pod-scm-0-init.log 2021-08-17 11:35:01 INFO StorageContainerManager:1021 - SCM initialization succeeded. Current cluster id for sd=/data/metadata/scm; cid=CID-f33c6c45-70c0-4e46-b5b9-9d4d32f4b2b0; layoutVersion=2; scmId=5db3505f-c435-4db7-b6e1-758f17c964ea ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
