$ oc logs csi-rbdplugin-d98dz Error from server (BadRequest): a container name must be specified for pod csi-rbdplugin-d98dz, choose one of: [driver-registrar csi-rbdplugin liveness-prometheus] Since we have multiple containers inside particular pod, we need to specify the required container OR all containers. If so, we need exact commands documented for all the log collection commands stated in section : Chapter 3. Commonly required logs for troubleshooting Reported by: rhn-support-jjose https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.4/html/troubleshooting_openshift_container_storage/commonly-required-logs_rhocs#annotations:895dd99e-5268-4d0d-82f1-3c7583e0c378
Thanks Disha, Few change requests 1. Typo in below command in all the 3 guides >> Generating logs for plugin pods like cephfs or rbd to detect any problem in the PVC mount of the app-pod: >> $ oc logs csi-cephfsplugin-<ID> -n openshift-storage -c csi-cephfsplug >> Correct : $ oc logs csi-cephfsplugin-<ID> -n openshift-storage -c csi-cephfsplugin 2. Please add the same information/content to OCS 4.6 docs too. Moving to assigned state, while requesting above changes +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Current content ---------------------- Generating logs for plugin pods like cephfs or rbd to detect any problem in the PVC mount of the app-pod: $ oc logs csi-cephfsplugin-<ID> -n openshift-storage -c csi-cephfsplug $ oc logs csi-rbdplugin-<ID> -n openshift-storage -c csi-rbdplugin To generate logs for all the containers in the CSI pod: $ oc logs csi-cephfsplugin-<ID> -n openshift-storage --all-containers $ oc logs csi-rbdplugin-<ID> -n openshift-storage --all-containers Generating provisioner cephfs or rbd logs if PVC is not in BOUND state $ oc logs csi-cephfsplugin-provisioner-<ID> -n openshift-storage -c csi-cephfsplugin $ oc logs csi-rbdplugin-provisioner-<ID> -n openshift-storage -c csi-rbdplugin To generate logs for all the containers in the CSI pod: $ oc logs csi-cephfsplugin-provisioner-<ID> -n openshift-storage --all-containers $ oc logs csi-rbdplugin-provisioner-<ID> -n openshift-storage --all-containers
NP Disha Thanks for making the changes and adding in OCS 4.6 docs as well One query Can we rephrase this to align with other steps? Generating provisioner cephfs or rbd logs if PVC is not in BOUND state to Generating logs for cephfs or rbd provisioner pods to detect problems if PVC is not in BOUND state Thanks