Bug 1449044

Summary: [RFE] Openshift logging/metrics support with Gluster store
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasanth <pprakash>
Component: CNS-deploymentAssignee: Ramakrishna Reddy Yekulla <rreddy>
Status: CLOSED ERRATA QA Contact: krishnaram Karthick <kramdoss>
Severity: high Docs Contact:
Priority: unspecified    
Version: cns-3.6CC: akhakhar, annair, asriram, hchiramm, jarrpa, madam, mliyazud, myllynen, mzywusko, pprakash, rcyriac, rhs-bugs, rreddy, rromerom, rtalur, srmukher, sselvan
Target Milestone: ---   
Target Release: CNS 3.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This feature enables use of dynamically provisioned gluster block volumes as a persistent data store for Openshift logging and metrics infra pods.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-11 06:57:55 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: 1445444    

Description Prasanth 2017-05-09 06:44:27 UTC
Description of problem:

This bug is for capturing all the required technical informations, steps, guidance, etc for testing and qualifying "Openshift logging/metrics support with Gluster store"

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Ramakrishna Reddy Yekulla 2017-07-25 09:59:25 UTC
Parameters to be tweaked Ansible Variables ::
-------------------------------------------------------------
[OSEv3:vars] openshift_hosted_logging_deploy=true 
[OSEv3:vars] openshift_hosted_logging_storage_kind=dynamic 
openshift_hosted_logging_elasticsearch_cluster_size=3
openshift_logging_fluentd_nodeselector={"logging":"true"}
openshift_logging_es_nodeselector={"role":"infra"}
openshift_logging_kibana_nodeselector={"role":"infra"}
openshift_logging_curator_nodeselector={"role":"infra"}
openshift_logging_use_ops=true
openshift_logging_es_ops_pvc_dynamic=true
openshift_logging_es_ops_cluster_size=3
openshift_logging_es_ops_nodeselector={"role":"infra"}
openshift_logging_kibana_ops_nodeselector={"role":"infra"}
openshift_logging_curator_ops_nodeselector={"role":"infra"}

OpenShift Cluster Operations ::
-------------------------------------------
oc  get storageclass
If gluster block is not default , change the default storage class to gluster block 
oc patch storageclass gluster-block -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'


List the pvc :: oc  get pvc
Verify the provisioner is pointing to gluster block:: oc get pvc logging-es-0 -o yaml

Refer to the Google Doc

Comment 5 krishnaram Karthick 2017-09-14 06:35:19 UTC
Logging and metrics for openshift is now configurable with gluster-block providing pvc.

verified in build - cns-deploy-5.0.0-34.el7rhgs.x86_64

Moving the bug to verified.

Comment 7 Raghavendra Talur 2017-10-04 10:23:55 UTC
doc text looks good to me

Comment 9 errata-xmlrpc 2017-10-11 06:57:55 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/RHEA-2017:2878