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"
(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 ?
After adding below to glusterfs template, its working { "name": "glusterfs-etc", "hostPath": { "path": "/etc/gluster" } },
https://github.com/heketi/heketi/pull/392
Working with the current build heketi-templates-2.0.5-1.el7rhgs.x86_64
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