Description of problem: We are seeing a lot of messsages in the prometheus logs like ```level=warn ts=2020-09-09T14:17:23.248971502Z caller=operator.go:1199 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.baseImage is deprecated, 'spec.image' field should be used instead" level=warn ts=2020-09-09T14:17:23.248986852Z caller=operator.go:1209 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.thanos.baseImage is deprecated, 'spec.thanos.image' field should be used instead"``` Version-Release number of selected component (if applicable): OpenShift dedicated (OCP 4.4.16) How reproducible: always Steps to Reproduce: 1. oc logs -f $prometheus-pod 2. 3. Actual results: See logs above Expected results: We would expect this not to show up in the logs unless an actual issue aounr dthe images exists. Additional info: Since this is constantly reproducible, we can provide an OSD cluster and cluster admin access to that helps. To get that, get in touch SRE-P
Assigned to Damien, but he lacks bugzilla access so assigned to me temp.
reproduced on 4.4.0-0.nightly-2020-09-24-222539 # oc -n openshift-monitoring logs $(oc -n openshift-monitoring get po | grep prometheus-operator | awk '{print $1}') -c prometheus-operator | grep "level=warn" | head level=warn ts=2020-09-25T01:38:00.447550901Z caller=operator.go:513 component=alertmanageroperator msg="alertmanager key=openshift-monitoring/main, field spec.baseImage is deprecated, 'spec.image' field should be used instead" level=warn ts=2020-09-25T01:38:00.480657482Z caller=operator.go:513 component=alertmanageroperator msg="alertmanager key=openshift-monitoring/main, field spec.baseImage is deprecated, 'spec.image' field should be used instead" level=warn ts=2020-09-25T01:38:11.172024962Z caller=operator.go:1199 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.baseImage is deprecated, 'spec.image' field should be used instead" level=warn ts=2020-09-25T01:38:11.172041355Z caller=operator.go:1209 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.thanos.baseImage is deprecated, 'spec.thanos.image' field should be used instead" level=warn ts=2020-09-25T01:38:11.405429545Z caller=operator.go:1199 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.baseImage is deprecated, 'spec.image' field should be used instead" level=warn ts=2020-09-25T01:38:11.405450409Z caller=operator.go:1209 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.thanos.baseImage is deprecated, 'spec.thanos.image' field should be used instead" level=warn ts=2020-09-25T01:38:11.712997283Z caller=operator.go:1199 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.baseImage is deprecated, 'spec.image' field should be used instead" level=warn ts=2020-09-25T01:38:11.713009248Z caller=operator.go:1209 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.thanos.baseImage is deprecated, 'spec.thanos.image' field should be used instead" level=warn ts=2020-09-25T01:38:24.213948682Z caller=operator.go:1199 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.baseImage is deprecated, 'spec.image' field should be used instead" level=warn ts=2020-09-25T01:38:24.2139768Z caller=operator.go:1209 component=prometheusoperator msg="prometheus key=openshift-monitoring/k8s, field spec.thanos.baseImage is deprecated, 'spec.thanos.image' field should be used instead"
tested with 4.6.0-0.nightly-2020-09-24-184015, no such issue # oc -n openshift-monitoring logs $(oc -n openshift-monitoring get po | grep prometheus-operator | awk '{print $1}') -c prometheus-operator | grep "field should be used instead" no result # oc -n openshift-monitoring logs $(oc -n openshift-monitoring get po | grep prometheus-operator | awk '{print $1}') -c prometheus-operator | grep "is deprecated" no result
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196