Bug 1497125 - sample file for static provisioning of glusterfs volumes are missing
Summary: sample file for static provisioning of glusterfs volumes are missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: CNS-deployment
Version: cns-3.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: CNS 3.6
Assignee: Michael Adam
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks: 1445448
TreeView+ depends on / blocked
 
Reported: 2017-09-29 09:01 UTC by krishnaram Karthick
Modified: 2017-10-11 07:14 UTC (History)
12 users (show)

Fixed In Version: cns-deploy-5.0.0-52
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-11 07:14:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2881 0 normal SHIPPED_LIVE cns-deploy-tool bug fix and enhancement update 2017-10-11 11:11:43 UTC

Description krishnaram Karthick 2017-09-29 09:01:32 UTC
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

Comment 3 Prasanth 2017-10-04 07:01:05 UTC
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
#########################

Comment 5 errata-xmlrpc 2017-10-11 07:14:24 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:2881


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