Bug 1862584
| Summary: | coredns_forward_healthcheck_broken_count_total metric is not working for DNS forwarding | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Daneyon Hansen <dhansen> |
| Component: | Networking | Assignee: | Daneyon Hansen <dhansen> |
| Networking sub component: | DNS | QA Contact: | Arvind iyengar <aiyengar> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | aiyengar, amcdermo, aos-bugs, hongli |
| Version: | 4.5 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.5.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1860142 | Environment: | |
| Last Closed: | 2020-09-21 17:42:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1860142 | ||
| Bug Blocks: | |||
|
Description
Daneyon Hansen
2020-07-31 18:23:00 UTC
I’m adding UpcomingSprint because I was occupied by fixing bugs with higher priority/severity, developing new features with higher priority, or developing new features to improve stability at a macro level. I will revisit this bug next sprint. The merge made into "4.5.0-0.nightly-2020-09-12-013926" release. With this version, it is noted that the "coredns_forward_healthcheck_failure_count_total" metric increments properly
-----
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.5.0-0.nightly-2020-09-12-013926 True False 163m Cluster version is 4.5.0-0.nightly-2020-09-12-013926
$ oc -n openshift-ingress rsh router-default-f767cc9c4-fs6dj
sh-4.2$ for i in {1..10}; do curl -sS -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjNPWjlWRGlvaklRTDhkeTI0eHlMa0ZINFZ4X3FMWTBTaHV6T2FIZGpkOVkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJvcGVuc2hpZnQtbW9uaXRvcmluZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJwcm9tZXRoZXVzLWs4cy10b2tlbi05a3R6dCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJwcm9tZXRoZXVzLWs4cyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6IjI2ZDI5YWRiLWI1Y2ItNDAxYS04MTc3LWI0MTI0ODJlNWM0NSIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpvcGVuc2hpZnQtbW9uaXRvcmluZzpwcm9tZXRoZXVzLWs4cyJ9.mzsNKq27p_QiviyKLgJBiDxjD1KoGXxg_d4r0HLUtmOdMc5xswuaka5gR6jicmQWIgYTcv5V_R_tJZkxYYaOOfnt52op56ZFxRZZke722Ba1hLxRdc3QGLsEDaYnRgT53_FPj-pUrWHmua4Y3LRxszp0W0lNTXlkD8L5h1OwmJHLB36oNJ8RDUfaQprHNgtRuk_qGOglU1firTxE-dm-QudHspkQz0xheX6SsdDqjn-dGFLQubO7r6JRSorxVC0FYLxyRauuGjqoizu6sXk2hIyIR-DnL0li1168GXWZ5xPg5NaBq4AClfIkcnd2VGofeLJmkDvOX5FqSKY4ynYW_g" -k https://10.131.0.2:9154/metrics | grep -i healthcheck | grep -iv "^#"; sleep 2; done
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 973
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 972
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 975
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 973
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 976
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 975
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 977
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 976
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 979
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 977
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 980
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 979
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 982
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 980
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 983
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 982
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 984
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 983
coredns_forward_healthcheck_broken_count_total 1
coredns_forward_healthcheck_failure_count_total{to="216.239.32.1:53"} 986
coredns_forward_healthcheck_failure_count_total{to="216.239.32.2:53"} 984
-----
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.5.11 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-2020:3719 |