|Summary:||[Docs] Enabling Cluster Metrics|
|Product:||OpenShift Container Platform||Reporter:||Jaspreet Kaur <jkaur>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:||Peng Li <penli>|
|Severity:||high||Docs Contact:||Vikram Goyal <vigoyal>|
|Version:||3.4.0||CC:||aos-bugs, jcantril, jokerman, mmccomas, rbaumgar|
|Fixed In Version:||Doc Type:||If docs needed, set a value|
|Doc Text:||Story Points:||---|
|Last Closed:||2017-03-23 01:55:07 UTC||Type:||Bug|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
|Bug Depends On:||1428998|
Description Jaspreet Kaur 2017-02-10 10:23:11 UTC
Document URL: https://docs.openshift.com/container-platform/3.4/install_config/cluster_metrics.html#metrics-service-accounts Section Number and Name: Service Accounts Describe the issue: With the release of OCP 3.4 we see that the hawkular pods now require view permission : Error: the service account for Hawkular Metrics does not have permission to view resources in this namespace. View permissions are required for Hawkular Metrics to function properly. Usually this can be resolved by running: oc adm policy add-role-to-user view system:serviceaccount:openshift-infra:hawkular -n openshift-infra Suggestions for improvement: Under service-accounts section add : oc adm policy add-role-to-user view system:serviceaccount:openshift-infra:hawkular -n openshift-infra Additional information:
Comment 1 brice 2017-03-23 01:30:03 UTC
Seems this section was taken out with this PR: https://github.com/openshift/openshift-docs/commit/72a6296b607a3060b4905f0eb0ea0b71b7c2838d Jeff, can I ask why? Does the Hawular section need the suggestion above? Your PR is for 3.5, so I'm guessing it needs an update for 3.4?
Comment 2 Peng Li 2017-03-23 01:54:40 UTC
This issue and its fix is the same with 1428998, and it's fixed now.
Comment 3 Peng Li 2017-03-23 02:00:45 UTC
(In reply to brice from comment #1) > Seems this section was taken out with this PR: > > https://github.com/openshift/openshift-docs/commit/ > 72a6296b607a3060b4905f0eb0ea0b71b7c2838d > > Jeff, can I ask why? Does the Hawular section need the suggestion above? > Your PR is for 3.5, so I'm guessing it needs an update for 3.4? @bfallonf, the fix for this bug is reported in several other bugs and it's fixed already. In 3.5, the Metrics deployment will move to using ansible, and that's Jeff's PR for.
Comment 4 brice 2017-03-23 03:46:18 UTC
Ah so it is. Thank you, Peng Li.