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
    • 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content