You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/08/17 14:05:29 UTC
[GitHub] [ozone] adoroszlai opened a new pull request #2547: HDDS-5497. Save log from init containers
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai commented on pull request #2547: HDDS-5497. Save log from init containers
Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #2547:
URL: https://github.com/apache/ozone/pull/2547#issuecomment-981905997
Thanks @swagle for the review.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai merged pull request #2547: HDDS-5497. Save log from init containers
Posted by GitBox <gi...@apache.org>.
adoroszlai merged pull request #2547:
URL: https://github.com/apache/ozone/pull/2547
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org