Description of problem: ovn_db_cluster_ metrics are not exposed for SNO cluster How reproducible: Always Actual results: oc -n openshift-ovn-kubernetes exec $POD -c ovnkube-node curl "127.0.0.1:29105/metrics" | grep "# HELP ovn_db_cluster" | wc -l 0 Expected results: All 15 metrics https://github.com/ovn-org/ovn-kubernetes/blob/master/go-controller/pkg/metrics/ovn_db.go#L386-L400 are exposed
instructions on how to test are here https://github.com/ovn-org/ovn-kubernetes/pull/2890, SNO cluster section
Verified on 4.11.0-0.nightly-2022-05-11-054135 upi-on-gcp/versioned-installer-ovn-ipsec-sno-ci oc -n $OVNNS -c ovnkube-node exec $f -- curl "127.0.0.1:29105/metrics" | grep "# HELP ovn_db_cluster" | wc -l 15 oc -n $OVNNS -c ovnkube-node exec $f -- curl "127.0.0.1:29105/metrics" | grep ovn_db_build_info ovn_db_build_info{nb_schema_version="6.1.0",sb_schema_version="20.21.0",version="2.17.2"} 1
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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069