Hello!
My OpenShift Clusters are affected in same way of maschulz.openshift got affected - with same log and same serviceMonitoring configuration (Generated by default oc -n openshift-user-workload-monitoring get secret prometheus-user-workload -o jsonpath='{.data.prometheus\.yaml\.gz}' | base64 -d | gunzip > config_out_template.yaml ):
$ oc logs -n openshift-user-workload-monitoring prometheus-user-workload-0 init-config-reloader
level=info ts=2024-09-11T13:26:56.480004423Z caller=main.go:115 msg="Starting prometheus-config-reloader" version="(version=0.67.1, branch=rhaos-4.14-rhel-8, revision=6d398a6)"
level=info ts=2024-09-11T13:26:56.480066869Z caller=main.go:116 build_context="(go=go1.20.12 X:strictfipsruntime, platform=linux/amd64, user=root, date=20240523-02:21:08, tags=strictfipsruntime)"
expand environment variables: found reference to unset environment variable "SERVICE_NAME"
$ grep SERVICE_NAME -B3 config_out_template.yaml
tls_config:
insecure_skip_verify: false
ca_file: /etc/prometheus/certs/configmap_cp4aiops_aiopsedge-openshift-ca-cert_service-ca.crt
server_name: $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc
$ oc version
Client Version: 4.16.5
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: 4.14.30
Kubernetes Version: v1.27.14+7852426
Thanks!
Since the problem described in this issue should be resolved in a recent advisory, it has been closed.
For information on the advisory (Important: OpenShift Container Platform 4.18.1 bug fix and security update), 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/RHSA-2024:6122