Project

General

Profile

Actions

Feature #58933

closed

Setup Ingress service and NFS to use PROXY protocol

Added by Goutham Pacha Ravi about 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm/nfs
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
reef
Reviewed:
Affected Versions:
Pull request ID:

Description

When the ceph-ingress service frontends the Ceph-NFS cluster, currently, client addresses are not visible to Ceph-NFS/Ganesha; this prevents the use of client restrictions to be used in Exports. To relay the client's address across the Proxy server, HAProxy supports the use of the PROXY protocol. NFS-Ganesha recently added native support for the PROXY protocol [2]. We need changes to the HAProxy config to enable (or disable) the use of PROXY when setting up ingress for Ceph-NFS. An example configuration is documented on the HAProxy website [3].

When send-proxy-v2 is enabled with ingress, NFS-Ganesha will need to be configured with the "HAProxy_Hosts" configuration option [4] which will allow the parsing of the client address from the header information that the PROXY protocol communication contains.

[1] https://www.haproxy.com/blog/use-the-proxy-protocol-to-preserve-a-clients-ip-address/
[2] https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/548334
[3] https://www.haproxy.com/blog/using-haproxy-with-the-proxy-protocol-to-better-secure-your-database/
[4] https://github.com/nfs-ganesha/nfs-ganesha/blob/91dd6865b71bbe99ad828c9c8bae1827922cd2a6/src/doc/man/ganesha-core-config.rst#L25


Related issues 1 (0 open1 closed)

Copied to Orchestrator - Backport #61539: reef: Setup Ingress service and NFS to use PROXY protocolResolvedAdam KingActions
Actions #1

Updated by John Mulligan about 1 year ago

  • Assignee set to John Mulligan
Actions #2

Updated by John Mulligan about 1 year ago

  • Pull request ID set to 50614
Actions #3

Updated by Adam King 11 months ago

  • Tracker changed from Bug to Feature
  • Status changed from New to Pending Backport
  • Backport set to reef
Actions #4

Updated by Backport Bot 11 months ago

  • Copied to Backport #61539: reef: Setup Ingress service and NFS to use PROXY protocol added
Actions #5

Updated by Backport Bot 11 months ago

  • Tags set to backport_processed
Actions #6

Updated by Adam King about 1 month ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF