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:
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.
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