Description of problem: sample files for static provisioning of glusterfs volumes(sample-gluster-endpoints.yaml & sample-gluster-service.yaml) are missing in the heketi template. without providing sample files, it is not possible for the user to create static provisioned volumes. Version-Release number of selected component (if applicable): cns-deploy-5.0.0-51.el7rhgs.x86_64 How reproducible: always ls /usr/share/heketi/templates/ deploy-heketi-template.yaml gluster-s3-pvcs.yaml heketi.json.template glusterblock-provisioner.yaml gluster-s3-storageclass.yaml heketi-service-account.yaml glusterfs-template.yaml gluster-s3-template.yaml heketi-template.yaml
Verified as fixed in cns-deploy-5.0.0-52 ######################### # cd /usr/share/heketi/templates/ # ll total 48 -rw-r--r--. 1 root root 3092 Sep 29 17:22 deploy-heketi-template.yaml -rw-r--r--. 1 root root 2238 Sep 29 17:22 glusterblock-provisioner.yaml -rw-r--r--. 1 root root 4445 Sep 29 17:22 glusterfs-template.yaml -rw-r--r--. 1 root root 717 Sep 29 17:22 gluster-s3-pvcs.yaml -rw-r--r--. 1 root root 329 Sep 29 17:22 gluster-s3-storageclass.yaml -rw-r--r--. 1 root root 3251 Sep 29 17:22 gluster-s3-template.yaml -rw-r--r--. 1 root root 1327 Sep 29 17:22 heketi.json.template -rw-r--r--. 1 root root 127 Aug 24 20:01 heketi-service-account.yaml -rw-r--r--. 1 root root 3122 Sep 29 17:22 heketi-template.yaml -rw-r--r--. 1 root root 247 Aug 24 20:01 sample-gluster-endpoints.yaml -rw-r--r--. 1 root root 96 Aug 24 20:01 sample-gluster-service.yaml # cat sample-gluster-endpoints.yaml apiVersion: v1 kind: Endpoints metadata: name: glusterfs-cluster subsets: - addresses: - ip: 192.168.10.100 ports: - port: 1 - addresses: - ip: 192.168.10.101 ports: - port: 1 - addresses: - ip: 192.168.10.102 ports: - port: 1 # cat sample-gluster-service.yaml apiVersion: v1 kind: Service metadata: name: glusterfs-cluster spec: ports: - port: 1 # pwd /usr/share/heketi # ll total 8 drwxr-xr-x. 2 root root 4096 Oct 4 11:29 templates -rw-r--r--. 1 root root 3172 Jul 24 10:34 topology-sample.json #########################
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:2881