Bug 1731223

Summary: Inventory file options for metrics configuration needs to be changed in the deployment guide
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: doc-Container_Native_Storage_with_OpenShiftAssignee: Anjana KD <akrishna>
Status: CLOSED CURRENTRELEASE QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: unspecified    
Version: ocs-3.11CC: akrishna, asriram, pprakash, puebele, rhs-bugs, storage-doc
Target Milestone: ---Keywords: ZStream
Target Release: OCS 3.11.z Batch Update 4   
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-11-04 15:45:03 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: 1709460    
Attachments:
Description Flags
Attaching screenshot for section44
none
Attaching screenshot for section45
none
Attaching screenshot for section 54 none

Description RamaKasturi 2019-07-18 17:00:10 UTC
Description of problem:
with the recent introduced as part of the bug fix [1] and due to this inventory file parameters for configuring metrics has to be changed as below otherwise pvc will always be in pending state and customer / user will see the error below.

Type    Reason         Age                From                         Message
  ----    ------         ----               ----                         -------
  Normal  FailedBinding  3m (x908 over 3h)  persistentvolume-controller  no persistent volumes available for this claim and no storage class is set


[1] https://github.com/openshift/openshift-ansible/pull/11586#issuecomment-512073674

# metrics
openshift_metrics_install_metrics=true
openshift_metrics_cassandra_storage_type=pv
openshift_metrics_hawkular_nodeselector={"node-role.kubernetes.io/infra": "true"}
openshift_metrics_cassandra_nodeselector={"node-role.kubernetes.io/infra": "true"}
openshift_metrics_heapster_nodeselector={"node-role.kubernetes.io/infra": "true"}
openshift_metrics_storage_volume_size=20Gi
openshift_metrics_cassandra_pvc_storage_class_name="glusterfs-registry-block"


Version-Release number of selected component (if applicable):
OCS3.11

How reproducible:
Always

Steps to Reproduce:
1. Use -   openshift-ansible-3.11.123-1.git.0.11838de.el7.noarch.rpm to install metrics with old inventory file as suggested in the doc.
2.
3.

Actual results:
pvc for metrics does not get bounded.

Expected results:
pvc for metrics should get bounded.

Additional info:

Comment 6 RamaKasturi 2019-10-18 05:50:14 UTC
Created attachment 1627082 [details]
Attaching screenshot for section44

Comment 7 RamaKasturi 2019-10-18 05:50:54 UTC
Created attachment 1627083 [details]
Attaching screenshot for section45

Comment 8 RamaKasturi 2019-10-18 05:52:42 UTC
Created attachment 1627084 [details]
Attaching screenshot for section 54