-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.14
-
Moderate
-
No
-
Rejected
-
False
-
Description of problem:
Compare 4.14.0-ec.4, the Metrics with the name of ovnkube_controller* are missed
Version-Release number of selected component (if applicable):
4.14.0-0.nightly-2023-08-11-055332
How reproducible:
Always
Steps to Reproduce:
#### Log from 4.14.0-ec.4 [weliang@weliang ~]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.14.0-ec.4 True False 52m Cluster version is 4.14.0-ec.4 [weliang@weliang ~]$ oc get lease -n openshift-ovn-kubernetes -o jsonpath={.items[*].spec.holderIdentity} ip-10-0-28-252.us-east-2.compute.internal [weliang@weliang ~]$ oc get pod -o wide -n openshift-ovn-kubernetes NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ovnkube-master-blrgd 6/6 Running 1 (62m ago) 73m 10.0.94.70 ip-10-0-94-70.us-east-2.compute.internal <none> <none> ovnkube-master-sdvkw 6/6 Running 0 73m 10.0.35.98 ip-10-0-35-98.us-east-2.compute.internal <none> <none> ovnkube-master-sz2kd 6/6 Running 0 73m 10.0.28.252 ip-10-0-28-252.us-east-2.compute.internal <none> <none> ovnkube-node-6xdgh 5/5 Running 0 66m 10.0.8.92 ip-10-0-8-92.us-east-2.compute.internal <none> <none> ovnkube-node-7pk79 5/5 Running 0 67m 10.0.54.128 ip-10-0-54-128.us-east-2.compute.internal <none> <none> ovnkube-node-kv2cg 5/5 Running 0 73m 10.0.28.252 ip-10-0-28-252.us-east-2.compute.internal <none> <none> ovnkube-node-rgf45 5/5 Running 0 73m 10.0.35.98 ip-10-0-35-98.us-east-2.compute.internal <none> <none> ovnkube-node-tpc4q 5/5 Running 0 66m 10.0.64.137 ip-10-0-64-137.us-east-2.compute.internal <none> <none> ovnkube-node-v4j6q 5/5 Running 0 73m 10.0.94.70 ip-10-0-94-70.us-east-2.compute.internal <none> <none> [weliang@weliang ~]$ oc exec ovnkube-master-sz2kd -n openshift-ovn-kubernetes -- curl localhost:29102/metrics | grep ovnkube_controller | wc -l Defaulted container "northd" out of: northd, nbdb, kube-rbac-proxy, sbdb, ovnkube-master, ovn-dbchecker % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 84380 0 84380 0 0 40.2M 0 --:--:-- --:--:-- --:--:-- 40.2M 850 [weliang@weliang ~]$ #### Log from 4.14.0-0.nightly-2023-08-11-055332 [weliang@weliang ~]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.14.0-0.nightly-2023-08-11-055332 True False 115m Cluster version is 4.14.0-0.nightly-2023-08-11-055332 [weliang@weliang ~]$ oc get lease ovn-kubernetes-master -n openshift-ovn-kubernetes -o jsonpath={.spec.holderIdentity} ovnkube-control-plane-55d6cb89fb-kvndc [weliang@weliang ~]$ oc exec ovnkube-control-plane-55d6cb89fb-kvndc -n openshift-ovn-kubernetes -- curl localhost:29106/metrics | grep ovnkube_controller Defaulted container "kube-rbac-proxy" out of: kube-rbac-proxy, ovnkube-cluster-manager % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8464 0 8464 0 0 8265k 0 --:--:-- --:--:-- --:--:-- 8265k [weliang@weliang ~]$ oc exec ovnkube-control-plane-55d6cb89fb-kvndc -c ovnkube-cluster-manager -n openshift-ovn-kubernetes -- curl localhost:29106/metrics | grep ovnkube_controller % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8467 0 8467 0 0 4134k 0 --:--:-- --:--:-- --:--:-- 4134k [weliang@weliang ~]$ [weliang@weliang ~]$ oc exec ovnkube-control-plane-55d6cb89fb-kvndc -n openshift-ovn-kubernetes -- curl localhost:29106/metrics | grep ovnkube | grep -v '#' Defaulted container "kube-rbac-proxy" out of: kube-rbac-proxy, ovnkube-cluster-manager % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8468 0 8468 0 0 8269k 0 --:--:-- --:--:-- --:--:-- 8269k ovnkube_clustermanager_allocated_v4_host_subnets 0 ovnkube_clustermanager_allocated_v6_host_subnets 0 ovnkube_clustermanager_build_info{branch="rhaos-4.14-rhel-9",build_date="2023-08-10",build_user="root",goversion="go1.20.5 X:strictfipsruntime",revision="a323ae535e875adae3cdd6439d5e00f148b41d3e",version="0.0"} 1 ovnkube_clustermanager_egress_ips_node_unreachable_total 0 ovnkube_clustermanager_egress_ips_rebalance_total 0 ovnkube_clustermanager_leader 1 ovnkube_clustermanager_num_egress_ips 0 ovnkube_clustermanager_num_v4_host_subnets 512 ovnkube_clustermanager_num_v6_host_subnets 0 ovnkube_clustermanager_ready_duration_seconds 0.548443474 [weliang@weliang ~]$
Actual results:
Metrics with the name of ovnkube_controller* are missed
Expected results:
Metrics with the name of ovnkube_controller* should be in the OVNK-IC code
Additional info:
Missed metrics name cause QE metrics testing failed