Bug 1348136

Summary: Templates: Failed to deploy RHGS pods
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Neha <nerawat>
Component: heketiAssignee: Mohamed Ashiq <mliyazud>
Status: CLOSED ERRATA QA Contact: Neha <nerawat>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: hchiramm, lpabon, pprakash, rcyriac, sashinde
Target Milestone: ---Keywords: ZStream
Target Release: RHGS Container Converged 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v2.0.4-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-04 04:51:23 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: 1332128, 1347730    

Description Neha 2016-06-20 09:10:35 UTC
With latest build 2.0.2-2

oc process glusterfs   -v GLUSTERFS_NODE=hostname | oc create -f -
The DeploymentConfig "glusterfs-dc-hostname" is invalid.
spec.template.spec.containers[0].volumeMounts[3].name: Not found: "glusterfs-etc"

Comment 2 Humble Chirammal 2016-06-20 10:51:28 UTC
(In reply to Neha from comment #0)
> With latest build 2.0.2-2
> 
> oc process glusterfs   -v GLUSTERFS_NODE=hostname | oc create -f -
> The DeploymentConfig "glusterfs-dc-hostname" is invalid.
> spec.template.spec.containers[0].volumeMounts[3].name: Not found:
> "glusterfs-etc"

I got the issue. 'glusterfs-etc' is supposed to have a volumemount in template file which is missing. ie there should be something like below ( https://github.com/gluster/glusterfs-kubernetes-openshift/blob/master/gluster-template/gluster-template.json#L102) in the template file, however its missing in heketi repo. I dont know how it got missed though.


                       "volumes": [
                           
                            {
                                "name": "gluster-etc",
                                "hostPath": {
                                    "path": "/etc/gluster"
                                }
                            },


Can you please add a section like above and reproduce this issue ?

Comment 3 Neha 2016-06-20 10:56:56 UTC
After adding below to glusterfs template, its working


                                 {
                                "name": "glusterfs-etc",
                                "hostPath": {
                                    "path": "/etc/gluster"
                                }
                            },

Comment 4 Luis Pabón 2016-06-20 15:51:40 UTC
https://github.com/heketi/heketi/pull/392

Comment 8 Neha 2016-07-20 12:09:09 UTC
Working with the current build heketi-templates-2.0.5-1.el7rhgs.x86_64

Comment 10 errata-xmlrpc 2016-08-04 04:51: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://rhn.redhat.com/errata/RHBA-2016-1498.html