Project

General

Profile

Bug #36651

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

Added by Tom Barron about 1 month ago. Updated 14 days ago.

Status:
Pending Backport
Priority:
High
Assignee:
Category:
Manila
Target version:
Start date:
Due date:
% Done:

0%

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

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

Copied to fs - Backport #37425: luminous: ceph-volume-client: cannot set mode for cephfs volumes as required by OpenShift In Progress
Copied to fs - Backport #37426: mimic: ceph-volume-client: cannot set mode for cephfs volumes as required by OpenShift In Progress

History

#1 Updated by Patrick Donnelly about 1 month ago

  • Status changed from New to Need 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)

#2 Updated by Patrick Donnelly 14 days ago

  • Project changed from Ceph to fs
  • Category changed from openstack to Manila
  • Status changed from Need Review to Pending Backport
  • Pull request ID set to 24839
  • Component(FS) VolumeClient added

#3 Updated by Nathan Cutler 14 days ago

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

#4 Updated by Nathan Cutler 14 days ago

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

Also available in: Atom PDF