Description of problem:
Setting DEBUG_LOGLEVEL higher than 5 in /etc/origin/master/master.env breaks HPA and "oc adm top"
Version-Release number of selected component (if applicable):
v3.11.51
How reproducible:
Always
Steps to Reproduce:
1. Set DEBUG_LOGLEVEL=6 in /etc/origin/master/master.env
2. Restart master services
3.
Actual results:
$ oc adm top node
Error from server (InternalError): an error on the server ("unable to set dialer for openshift-metrics-server/metrics-server as rest transport is of type *transport.debuggingRoundTripper") has prevented the request from succeeding (get nodes.metrics.k8s.io)
$ oc get hpa
NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE
someapp DeploymentConfig/someapp <unknown>/9% 2 5 2 13h
Expected results:
"oc adm top" and HPA should work even when DEBUG_LOGLEVEL increased.
Additional info:
Seems fixed in upstream 1.12
https://github.com/kubernetes/kubernetes/issues/65848https://github.com/kubernetes/kubernetes/blob/release-1.12/staging/src/k8s.io/kube-aggregator/pkg/apiserver/handler_proxy.go
Comment 2Mitchell Rollinson
2019-03-05 21:43:23 UTC
Please advise on any updates that we might be able to pass on to the cu.
Comment 6Jesus M. Rodriguez
2019-07-10 16:02:41 UTC
After further investigation, I believe this bug is a duplicate of BZ #1689366 which was fixed in version 3.11.98 and released by an errata RHBA-2019:0636.
The version in this bug is 3.11.51 which is also older than 3.11.98.
The version in BZ #1695461 bug as seen in comment #3 shows 3.11.43 which is older than 3.11.98.
Please apply the following errata.
https://access.redhat.com/errata/RHBA-2019:0636
*** This bug has been marked as a duplicate of bug 1689366 ***
Comment 7Pablo Alonso Rodriguez
2019-07-10 16:10:28 UTC
It seems to be no longer reproducible in a more modern errata, as per my tests on a test cluster. Thanks for letting us know