Bug 1954971

Summary: Migrate NFS exports from ceph-ansible to mgr/nfs
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Vivekanandan K <vivk>
Severity: high Docs Contact: Ranjini M N <rmandyam>
Priority: high    
Version: 5.0CC: agunn, aschoen, ceph-eng-bugs, gabrioux, gcharot, gfidente, gmeno, gouthamr, hyelloji, johfulto, nthomas, rlepaksh, rmandyam, tserlin, vereddy, vimartin, ykaul, ymane
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:20:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1820257, 1839169, 2031073    

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