Bug 1468308 - [3.5] Hawkular Metrics cannot handle connecting to the Kubernetes Master when the ca.crt contains multiple certificates.
Summary: [3.5] Hawkular Metrics cannot handle connecting to the Kubernetes Master when...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.5.z
Assignee: Matt Wringe
QA Contact: Junqi Zhao
URL:
Whiteboard:
: 1468350 (view as bug list)
Depends On: 1447463 1461635 1479930
Blocks: 1468309
TreeView+ depends on / blocked
 
Reported: 2017-07-06 16:05 UTC by Matt Wringe
Modified: 2020-12-14 09:03 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1461635
: 1468309 (view as bug list)
Environment:
Last Closed: 2017-08-31 17:00:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
metrics diagram could be viewed form web console (129.12 KB, image/png)
2017-07-10 02:12 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1828 0 normal SHIPPED_LIVE OpenShift Container Platform 3.5, 3.4, and 3.3 bug fix update 2017-08-31 20:59:56 UTC

Comment 2 Junqi Zhao 2017-07-10 02:12:19 UTC
Verify step is the same as 
https://bugzilla.redhat.com/show_bug.cgi?id=1447463#c64

Verification steps:
1. Add the example certificate before and after /etc/origin/master/ca-bundle.crt.
2. Restart server and deploy metrics 3.5 by using images from brew registry.
3. oc rsh ${HAWKULAR_METRICS_PODS};
   cat /var/run/secrets/kubernetes.io/serviceaccount/ca.crt

/var/run/secrets/kubernetes.io/serviceaccount/ca.crt is the same with /etc/origin/master/ca-bundle.crt.

4. Login web console, metrics can  be viewed, see the attached web UI snapshot

Testing env:
# openshift version
openshift v3.5.5.31
kubernetes v1.5.2+43a9be4
etcd 3.1.0

Imags from brew registry, metrics-hawkular-metrics latest image version is 3.5.0-25
metrics-hawkular-metrics   3.5.0-25            bba7b194fec5        3 days ago          1.27 GB
metrics-hawkular-metrics   v3.5                bba7b194fec5        3 days ago          1.27 GB
metrics-heapster           v3.5                4e29df6bda85        10 days ago         318.5 MB
metrics-cassandra          v3.5                15a64aac8593        10 days ago         540.5 MB

Comment 3 Junqi Zhao 2017-07-10 02:12:40 UTC
Created attachment 1295668 [details]
metrics diagram could be viewed form web console

Comment 4 Matt Wringe 2017-07-11 13:39:18 UTC
*** Bug 1468350 has been marked as a duplicate of this bug. ***

Comment 6 Junqi Zhao 2017-07-25 01:34:48 UTC
Same verification steps as Comment 2, login web console, metrics can  be viewed, Hawkular Metrics can handle connecting to the Kubernetes Master when the ca.crt contains multiple certificates now.

Testing env:
# openshift version
openshift v3.5.5.31.6
kubernetes v1.5.2+43a9be4
etcd 3.1.0

Imags from brew registry
metrics-heapster           3.5.0-19            f63b87cf243e        7 days ago          318.5 MB
metrics-hawkular-metrics   3.5.0-27            9d5c95075825        7 days ago          1.27 GB
metrics-cassandra          3.5.0-25            01c3f73189f0        7 days ago          540.6 MB

Comment 8 errata-xmlrpc 2017-08-31 17:00:23 UTC
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, 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-2017:1828


Note You need to log in before you can comment on or make changes to this bug.