Project

General

Profile

Actions

Bug #36651

closed

ceph-volume-client: cannot set mode for cephfs volumes as required by OpenShift

Added by Tom Barron over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
VolumeClient
Labels (FS):
Manila
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

OpenShift developers report that when they use their dynamic external storage provider (in OpenShift 3.11) with manila and CephFS with NFS (ganesha) container workloads fail because they require that the backing CephFS volume be mode 775 but that these are created with mode 755. They require this because the user running in the container with the bind mount from the k8s host is non-root (it has a very high uid) but belongs to the root group. Group permissions allow the user running the workload in the k8s container to operate with the backing volume.

This BZ [1] was created for the overall issue. It requires that the cephfs driver in OpenStack manila be enhanced with a configuration option for the desired mode. This issue is for corresponding changes in the ceph_volume client so the driver can call its routines specifying a mode.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1643167


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #37425: luminous: ceph-volume-client: cannot set mode for cephfs volumes as required by OpenShiftResolvedNathan CutlerActions
Copied to CephFS - Backport #37426: mimic: ceph-volume-client: cannot set mode for cephfs volumes as required by OpenShiftResolvedActions
Actions

Also available in: Atom PDF