Bug 1348136 - Templates: Failed to deploy RHGS pods
Summary: Templates: Failed to deploy RHGS pods
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: RHGS Container Converged 1.0
Assignee: Mohamed Ashiq
QA Contact: Neha
URL:
Whiteboard:
Depends On:
Blocks: 1332128 1347730
TreeView+ depends on / blocked
 
Reported: 2016-06-20 09:10 UTC by Neha
Modified: 2016-08-15 02:09 UTC (History)
5 users (show)

Fixed In Version: v2.0.4-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 04:51:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1498 0 normal SHIPPED_LIVE heketi update for Red Hat Gluster Storage 3.1 2016-08-04 08:49:19 UTC

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


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