Bug 1489098 - [cns] gluster-block creation via dynamic provisioning fails
Summary: [cns] gluster-block creation via dynamic provisioning fails
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
urgent
Target Milestone: ---
: CNS 3.6
Assignee: Jose A. Rivera
QA Contact: krishnaram Karthick
URL:
Whiteboard:
Depends On:
Blocks: 1445448
TreeView+ depends on / blocked
 
Reported: 2017-09-06 16:58 UTC by krishnaram Karthick
Modified: 2018-12-15 07:07 UTC (History)
13 users (show)

Fixed In Version: cns-deploy-5.0.0-32.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-11 06:58:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2877 0 normal SHIPPED_LIVE rhgs-server-container bug fix and enhancement update 2017-10-11 11:11:39 UTC

Description krishnaram Karthick 2017-09-06 16:58:48 UTC
Description of problem:
creting a gluster-block device (via dynamic provisioning) by submitting a pvc claim request fails.

call from provisioner doesn't reach heketi.

[root@dhcp46-207 ~]# oc logs heketi-1-5qq1r 
Heketi 5.0.0
[kubeexec] WARNING 2017/09/06 16:42:55 Rebalance on volume expansion has been enabled.  This is an EXPERIMENTAL feature
[heketi] INFO 2017/09/06 16:42:55 Loaded kubernetes executor
[heketi] INFO 2017/09/06 16:42:55 Block: Auto Create Block Hosting Volume set to true
[heketi] INFO 2017/09/06 16:42:55 Block: New Block Hosting Volume size 500 GB
[heketi] INFO 2017/09/06 16:42:55 Loaded simple allocator
[heketi] INFO 2017/09/06 16:42:55 GlusterFS Application Loaded
Listening on port 8080


oc describe pvc/test-01
Name:		test-01
Namespace:	storage-project
StorageClass:	glusterblockip
Status:		Pending
Volume:		
Labels:		<none>
Annotations:	volume.beta.kubernetes.io/storage-class=glusterblockip
		volume.beta.kubernetes.io/storage-provisioner=gluster.org/glusterblock
Capacity:	
Access Modes:	
Events:
  FirstSeen	LastSeen	Count	From				SubObjectPath	Type		Reason			Message
  ---------	--------	-----	----				-------------	--------	------			-------
  5m		5s		23	persistentvolume-controller			Normal		ExternalProvisioning	cannot find provisioner "gluster.org/glusterblock", expecting that a volume for the claim is provisioned either manually or via external software

[root@dhcp46-207 ~]# oc logs glusterblock-provisioner-dc-1-j1vnt | more
I0906 16:43:49.498495       1 controller.go:407] Starting provisioner controller 8ef8c796-9322-11e7-b922-0a580a810213!
E0906 16:43:49.512307       1 reflector.go:201] github.com/kubernetes-incubator/external-storage/lib/controller/controller.go:411: Failed to list *v1.PersistentVolumeClaim: User "system:serviceaccount:storage-pr
oject:glusterblock-provisioner" cannot list all persistentvolumeclaims in the cluster
E0906 16:43:49.518312       1 reflector.go:201] github.com/kubernetes-incubator/external-storage/lib/controller/controller.go:412: Failed to list *v1.PersistentVolume: User "system:serviceaccount:storage-project
:glusterblock-provisioner" cannot list all persistentvolumes in the cluster
E0906 16:43:49.519746       1 reflector.go:304] github.com/kubernetes-incubator/external-storage/lib/controller/controller.go:384: Failed to watch *v1.StorageClass: unknown (get storageclasses.storage.k8s.io)
E0906 16:43:50.517414       1 reflector.go:201] github.com/kubernetes-incubator/external-storage/lib/controller/controller.go:411: Failed to list *v1.PersistentVolumeClaim: User "system:serviceaccount:storage-pr


Version-Release number of selected component (if applicable):
cns-deploy-5.0.0-30.el7rhgs.x86_64

How reproducible:
always

Steps to Reproduce:
1. setup gluster-block via cns-deploy
2. try to provision gluster-block device via dynamic provisioning

Actual results:
gluster-block device doesn't get created

Expected results:
gluster-block device should be created

Additional info:

Comment 8 krishnaram Karthick 2017-09-07 08:50:42 UTC
provisioning works in build - cns-deploy-5.0.0-32.el7rhgs

[root@dhcp46-207 ~]# oc get pvc
NAME      STATUS    VOLUME                                     CAPACITY   ACCESSMODES   STORAGECLASS     AGE
test-01   Bound     pvc-7fb574b3-939d-11e7-9fa7-005056b32785   1Gi        RWX           glusterblockip   1h
[root@dhcp46-207 ~]# rpm -qa | grep 'cns'
cns-deploy-5.0.0-32.el7rhgs.x86_64


Moving the bug to verified.

Comment 9 errata-xmlrpc 2017-10-11 06:58:29 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:2877


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