This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.14.4. Manually gathering logs without SSH access to your host(s)
Manually gather logs in situations where must-gather
or automated collection methods do not work.
If you do not have SSH access to your node, you can access the systems journal to investigate what is happening on your host.
Prerequisites
- Your OpenShift Container Platform installation must be complete.
- Your API service is still functional.
- You have system administrator privileges.
Procedure
Access
journald
unit logs under/var/log
by running:oc adm node-logs --role=master -u kubelet
$ oc adm node-logs --role=master -u kubelet
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Access host file paths under
/var/log
by running:oc adm node-logs --role=master --path=openshift-apiserver
$ oc adm node-logs --role=master --path=openshift-apiserver
Copy to Clipboard Copied! Toggle word wrap Toggle overflow