Bug 2064710

Summary: [CEE/SD][nfs-ganesha][RFE] Enable ingress via the "ceph nfs cluster create" to configure virtual IP for HA purpose.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Geo Jose <gjose>
Component: Ceph-Mgr PluginsAssignee: Ram Raja <rraja>
Status: CLOSED DUPLICATE QA Contact: Sunil Angadi <sangadi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0CC: branto, ceph-eng-bugs, ceph-qe-bugs, ffilz, jlayton, kkeithle, mbenjamin, mmuench, rraja
Target Milestone: ---Keywords: FutureFeature
Target Release: 6.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-09 18:58:36 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:

Description Geo Jose 2022-03-16 11:57:29 UTC
Description of problem:
 - Enable ingress via the "ceph nfs cluster create" to configure virtual IP for HA purpose.

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

How reproducible:
yes

Steps to Reproduce:
- Create NFS cluster using "ceph nfs cluster create" with the option "--ingress --virtual-ip"

Actual results:
 - It seems "--ingress --virtual-ip" is not supported with the existing version.

Expected results:
 Enabling ingress via the ceph nfs cluster create command deploys a simple ingress configuration for High-available NFS.

Comment 4 Ram Raja 2022-04-13 03:35:45 UTC
(In reply to Geo Jose from comment #0)
> Description of problem:
>  - Enable ingress via the "ceph nfs cluster create" to configure virtual IP
> for HA purpose.
> 
> Version-Release number of selected component (if applicable):
>  RHCS 5
> 

Are you testing RHCS 5 or 5.1?

What's the output of $ ceph -v ?

I suggest that you test RHCS 5.1. RHCS 5 does not have many ceph-mgr NFS module features.


> How reproducible:
> yes
> 
> Steps to Reproduce:
> - Create NFS cluster using "ceph nfs cluster create" with the option
> "--ingress --virtual-ip"


Can you share the actual command of the `nfs cluster create` command you executed?

Also, share the output of
$ ceph nfs cluster info <cluster-id>

Wait for a few minutes to check the status of NFS and ingress service. As deployment of NFS daemons and ingress daemons may take a while.
$ ceph orch ls --service_type=nfs --format=json-pretty
$ ceph orch ls --service_type=ingress --format=json-pretty

> 
> Actual results:
>  - It seems "--ingress --virtual-ip" is not supported with the existing
> version.
> 
> Expected results:
>  Enabling ingress via the ceph nfs cluster create command deploys a simple
> ingress configuration for High-available NFS.

In my environment, I was able to deploy ingress service. The issue was that I couldn't mount a NFS export using the virtual IP exposed by the ingress service. The BZ was reported by the OpenStack team too, https://bugzilla.redhat.com/show_bug.cgi?id=2068030


We're currently trying to root cause the virtual IP mount issue.