FSGroup is not correctly set on subPath volume for CephFS CSI

Solution Verified - Updated -

Issue

  • Group ownership does not match fsGroup when using Subpath with vPersistenVolumeClaimforCephFS CSI`.
  • Inside the Pod subpath directories show a directory as root:root instead of root:fsGroup
$ oc rsh pod-cephfs ls -l /mountpoint
total 0
drwxrwsr-x. 2 root root 0 Apr 28 13:19 dir01   <<< wrong ownership
drwxrwsr-x. 2 root 9999 0 Apr 28 13:19 dir02
drwxrwsr-x. 2 root 9999 0 Apr 28 13:19 dir03

Environment

  • Openshift Data Foundation
    • 4.12.2
  • Cephfs CSI

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