Logs are not visible for the pods on few specific nodes
Issue
- Not able to run
oc logs
for pods that are running on new worker nodes.
~]# oc logs sdn-sqhdk -f -c sdn
Error from server: Get "https://xx.xxx.xx.xx:10250/containerLogs/openshift-sdn/sdn-sqhdk/sdn?follow=true": Forbidden
- Recently added vpc and installed new nodes from it. While trying to check the logs the below error displayed:
Error from server: Get "https://xx.xxx.xx.xx:10250/containerLogs/openshift-sdn/sdn-jjzmv/sdn?follow=true": Bad Request
Environment
- OpenShift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.