+++ This bug was initially created as a clone of Bug #2071650 +++ 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 --- Additional comment from Nadia Pinaeva on 2022-05-06 07:38:38 UTC --- instructions on how to test are here https://github.com/ovn-org/ovn-kubernetes/pull/2890, SNO cluster section
Verified on 4.10.0-0.ci.test-2022-05-15-132353-ci-ln-qjh6zd2-latest on aos-4_10/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 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 36223 0 36223 0 0 862k 0 --:--:-- --:--:-- --:--:-- 884k 15 oc -n $OVNNS -c ovnkube-node exec $f -- curl "127.0.0.1:29105/metrics" | grep ovn_db_build_info % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0# HELP ovn_db_build_info A metric with a constant '1' value labeled by ovsdb-server version and NB and SB schema version # TYPE ovn_db_build_info gauge ovn_db_build_info{nb_schema_version="",sb_schema_version="",version="2.16.2"} 1 100 36223 0 36223 0 0 803k 0 --:--:-- --:--:-- --:--:-- 803k
Hey @rbrattai if this is verified, can you please change the status?
The bot will move to verify once the code hits a nightly build.
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.10.16 bug fix 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/RHBA-2022:4754