Bug 1421090 - [Docs] Enabling Cluster Metrics
Summary: [Docs] Enabling Cluster Metrics
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: brice
QA Contact: Peng Li
Vikram Goyal
URL:
Whiteboard:
Depends On: 1428998
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-10 10:23 UTC by Jaspreet Kaur
Modified: 2017-03-23 03:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 01:55:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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