red-hat-storage / ocs-ci

https://ocs-ci.readthedocs.io/en/latest/
MIT License
108 stars 167 forks source link

Identify openshift-logging versions installed from stable channel #10855

Open Shrivaibavi opened 1 week ago

Shrivaibavi commented 1 week ago

we dont provide any specific version of logging to be installed on the cluster, we use channel stable that pulls right versions according to OCP version. At times it gets difficult to debug the failure without the right logging version.

https://github.com/red-hat-storage/ocs-ci/blob/master/tests/conftest.py#L3290

We will need to log the openshift-logging versions

Shrivaibavi commented 1 week ago

Also collect logging mustgather

oc adm must-gather --image=

oc get deployment cluster-logging-operator -n openshift-logging -o jsonpath={.spec.template.spec.containers[].image}