While using Gluster in OpenShift, the glusterblock-provisioner pod spams log messages: "cannot get endpoints in the namespace"

Solution Verified - Updated -

Issue

The glusterblock-storage-provisioner pod logs shows these messages every 3 seconds:

E1113 15:23:14.852464       1 leaderelection.go:252] error retrieving resource lock glusterfs/gluster.org-glusterblock: endpoints "gluster.org-glusterblock" is forbidden: User "system:serviceaccount:glusterfs:glusterblock-storage-provisioner" cannot get endpoints in the namespace "glusterfs": no RBAC policy matched

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In