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 #1

Updated by Patrick Donnelly over 5 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Tom Barron
  • Priority changed from Normal to High
  • Target version changed from v12.2.9 to v14.0.0
  • Start date deleted (10/30/2018)
  • Source changed from Community (user) to Development
  • Backport set to mimic,luminous
  • Affected Versions deleted (v12.2.4)
Actions #2

Updated by Patrick Donnelly over 5 years ago

  • Project changed from Ceph to CephFS
  • Category changed from openstack to 87
  • Status changed from Fix Under Review to Pending Backport
  • Pull request ID set to 24839
  • Component(FS) VolumeClient added
Actions #3

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #37425: luminous: ceph-volume-client: cannot set mode for cephfs volumes as required by OpenShift added
Actions #4

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #37426: mimic: ceph-volume-client: cannot set mode for cephfs volumes as required by OpenShift added
Actions #5

Updated by Patrick Donnelly about 5 years ago

  • Status changed from Pending Backport to Resolved
Actions #6

Updated by Patrick Donnelly about 5 years ago

  • Category deleted (87)
  • Labels (FS) Manila added
Actions

Also available in: Atom PDF