Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1699045

Summary: grpc-proxy: /metrics exposes metrics of proxy not etcd server endpoint.
Product: OpenShift Container Platform Reporter: Sam Batschelet <sbatsche>
Component: EtcdAssignee: Sam Batschelet <sbatsche>
Status: CLOSED CURRENTRELEASE QA Contact: ge liu <geliu>
Severity: high Docs Contact:
Priority: high    
Version: 4.1.0CC: gblomqui
Target Milestone: ---   
Target Release: 4.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-16 23:46:08 UTC Type: Bug
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:    
Bug Blocks: 1670700    

Description Sam Batschelet 2019-04-11 15:48:13 UTC
Description of problem: etcd proxy has handlers for /health and /metrics.


Version-Release number of selected component (if applicable): etcd 3.3.10


How reproducible: always


Steps to Reproduce:
1. curl etcd proxy /metrics endpoint.
2.
3.

Actual results: metrics returned from request are from proxy server, not the etcd server endpoint.


Expected results: metrics are from etcd server


Additional info:

Comment 1 Sam Batschelet 2019-04-11 15:51:36 UTC
Resolved upstream in master via https://github.com/etcd-io/etcd/pull/10618

Backport PR against release-3.3 is up once merged this will be backported downstream to openshift/etcd.

Comment 2 Sam Batschelet 2019-04-15 12:49:15 UTC
Cherry-pick has landed https://github.com/openshift/etcd/pull/6