Project

General

Profile

Actions

Bug #61852

open

Ceph NFS "HAProxy_Hosts" configuration issue

Added by Goutham Pacha Ravi 11 months ago. Updated 9 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Ceph's Reef release added support for deploying the ceph-nfs service and the ceph-ingress service with a "haproxy-protocol" ingress mode [1]2
There's a config issue that happens when attempting this on ceph nodes that have multiple IP addresses.

NFS cluster creation and some debug info: https://paste.openstack.org/show/bVyG6N1E876PY1G30fZo/

NFS cluster configuration (`/etc/ganesha/ganesha.conf`) is extracted from one of the nfs containers created; it is identical across the nodes.

With this configuration, NFS mounts fail because HAProxy PROXY protocol parsing fails on NFS-Ganesha:

Mount failure on the client:

# mount -vvvt nfs 192.168.130.21:/volumes/_nogroup/399c3d6a-b50d-4e33-87d7-8848c1680e3b/406f33bf-26ab-4e04-aa27-0be027af4d24 /mnt
mount.nfs: timeout set for Wed Jun 28 17:29:34 2023
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.130.21,clientaddr=192.168.130.28'
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed

Logs from an NFS-Ganesha service when mount failed: https://paste.openstack.org/show/belF8k02E7HmmFAGhuNN/

[1] https://docs.ceph.com/en/latest/mgr/nfs/#create-nfs-ganesha-cluster
[2] https://github.com/ceph/ceph/pull/50614


Related issues 1 (1 open0 closed)

Copied to Ceph - Backport #62463: reef: Ceph NFS "HAProxy_Hosts" configuration issueNewActions
Actions

Also available in: Atom PDF