Bug 1954971 - Migrate NFS exports from ceph-ansible to mgr/nfs
Summary: Migrate NFS exports from ceph-ansible to mgr/nfs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1
Assignee: Guillaume Abrioux
QA Contact: Vivekanandan K
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks: 1820257 1839169 2031073
TreeView+ depends on / blocked
 
Reported: 2021-04-29 07:49 UTC by Francesco Pantano
Modified: 2022-04-26 09:49 UTC (History)
18 users (show)

Fixed In Version: ceph-ansible-6.0.18-1.el8cp
Doc Type: Enhancement
Doc Text:
.Users can now use the NFS Manager module to recreate NFS exports With this release, Ceph Manager offers a more reliable solution to migrate the existing NFS exports which allows better workflow in the playbook. This ensures the redeploy of NFS exports similar to using `cephadm` for initial deployment.
Clone Of:
Environment:
Last Closed: 2022-04-04 10:20:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 50577 0 None None None 2021-04-29 08:05:45 UTC
Github ceph ceph-ansible pull 6946 0 None Merged [skip ci] adopt: use mgr/nfs module 2022-02-21 09:35:33 UTC
Red Hat Bugzilla 1979261 1 high CLOSED Migrate NFS exports from dashboard/nfs to mgr/nfs 2021-11-04 09:56:35 UTC
Red Hat Product Errata RHSA-2022:1174 0 None None None 2022-04-04 10:21:06 UTC

Internal Links: 1979261

Description Francesco Pantano 2021-04-29 07:49:48 UTC
Description of problem:

The cephadm generated ganesha.conf differs from what manila uses because there's no flexibility in configuring different options other than [1].
The Openstack ganesha config used for manila was generated by ceph-ansible through [2].
The ganesha config produced by the nfs cephadm deployed daemon breaks the backward compatibility with the ceph-ansible generated one.
For this reason, even though bug [3] is solved, we won't still be able to properly configure the Manila project with Ceph.


[1] https://github.com/ceph/ceph/blob/master/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2
[2] https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-nfs/templates/ganesha.conf.j2
[3] https://bugzilla.redhat.com/1927716


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Sebastian Wagner 2021-05-31 10:12:33 UTC
moving past 5.1. I'd like to have Dimitri back, before looking into this.

Comment 26 errata-xmlrpc 2022-04-04 10:20:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1174


Note You need to log in before you can comment on or make changes to this bug.