Manila Ceph driver resets root folder mode on recent Ceph clusters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Carlos Eduardo |
Bug Description
Description
===========
On a Manila deployment using the Ceph driver against a recent Ceph cluster, when the Manila share service starts the logic of "ensure_share" will have the side effect of resetting the mode of the share root folder to the default specified via "cephfs_
After some investigation, this looks connected to a change of behaviour introduced in "fs subvolume create" to fix this issue: https:/
Steps to reproduce
==================
Requirements: Ceph cluster running > Pacific (or any other version patched with https:/
* Create a Manila share.
* Changed the mode of the root share folder to a mode different of the default. (e.g. 777).
* Restart the Manila share service.
Expected result
===============
The mode set by the user is kept after the restart of the share service. In this example, 777.
Actual result
=============
The mode was reset to the default specified in our deployment by "cephfs_
Environment
===========
* Manila: Wallaby.
* Storage backend: Ceph.
* Ceph cluster version: Pacific.
Changed in manila: | |
importance: | Undecided → High |
milestone: | none → antelope-3 |
tags: | added: cephfs |
Changed in manila: | |
assignee: | nobody → Carlos Eduardo (silvacarlose) |
See additional related discussions at https:/ /meetings. opendev. org/meetings/ manila/ 2023/manila. 2023-01- 12-15.00. log.html