Project

General

Profile

Actions

Bug #71872

closed
SB SB

[NFS-Ganesha][HAProxy-Protocol] VIP failback to original node causes I/O failures with "Remote I/O error" on clients

Bug #71872: [NFS-Ganesha][HAProxy-Protocol] VIP failback to original node causes I/O failures with "Remote I/O error" on clients

Added by Shweta Bhosale over 1 year ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-2170-gcd6bc96ae3
Released In:
Upkeep Timestamp:
2026-08-27T18:46:15+00:00

Description

Description of problem: =========
An NFS-Ganesha setup with HAProxy and VIP-based access is configured in active-passive mode.
Two NFS exports are created and mounted via the VIP on two Linux clients. When the active Ganesha node (holding the VIP) is rebooted, the VIP correctly fails over to the standby node, and I/O continues as expected after the grace period.

However, once the original node (Node1) comes back online and reclaims the VIP, I/O operations on the clients hang temporarily and eventually fail with "Remote I/O error".

Perform below steps --> ===================

1. Reboot the active node - Node1 - Cali016 (on which the VIP was assigned)

Observation --> VIP is now assigned to standby Node (Node2- Cali020) and IO's continue on mount point after ganesha comes out of Grace period

2. Now When Node1 comes back online, VIP (10.8.130.51/22) now moves to node1.
IO's are hung on mount point for some time and later the IO's failed with "Remote I/O error"

---------------
tar: Unexpected EOF in archive
tar: linux-6.4/arch/powerpc/configs: Cannot utime: Remote I/O error
tar: linux-6.4/arch/powerpc/configs: Cannot change ownership to uid 0, gid 0: Remote I/O error
tar: linux-6.4/arch/powerpc/configs: Cannot change mode to rwxrwxr-x: Remote I/O error
tar: linux-6.4/arch/powerpc: Cannot utime: Remote I/O error
tar: linux-6.4/arch/powerpc: Cannot change ownership to uid 0, gid 0: Remote I/O error
tar: linux-6.4/arch/powerpc: Cannot change mode to rwxrwxr-x: Remote I/O error
tar: linux-6.4/arch/arm64/boot/dts/arm: Cannot stat: Remote I/O error


ls mount point
----
[root@argo022 ganesha]# ls
ls: cannot open directory '.': Remote I/O error


[ceph: root@cali013 /]# ceph orch ps | grep nfs
haproxy.nfs.nfsganesha.cali016.uebnvn cali016 *:2049,9049 running (21m) 54s ago 35m 42.3M - 2.4.22-f8e3218 6c223bddea69 925fe8677810
keepalived.nfs.nfsganesha.cali016.gqrqtf cali016 running (21m) 54s ago 35m 1551k - 2.2.8 09859a486cb9 2536958c3e0f
nfs.nfsganesha.0.2.cali020.gqxkvj cali020 *:12049 running (23m) 55s ago 23m 263M - 6.5 c0866a09d082 131f65723caf

In case of failover of Ganesha container from one node to another, ceph client has to reclaim its state.
This state is formed using few fields from config block RADOS_KV and other fields from export block.
As I see export block is stored in rados object and do not get changed when Ganesha container is shifted from one node to other.
But RADOS_KV block has some differences. Due to this NFS client is facing IO error

On cali016, and cali020, the UserId is different. This should be same when one wants to failover Ganesha container from one node to other.


Related issues 1 (1 open — 0 closed)

Copied to Orchestrator - Backport #79621: umbrella: [NFS-Ganesha][HAProxy-Protocol] VIP failback to original node causes I/O failures with "Remote I/O error" on clients NewShweta Bhosale

Actions

SB Updated by Shweta Bhosale over 1 year ago Actions #1

  • Pull request ID set to 64317

SB Updated by Shweta Bhosale 5 months ago Actions #2

  • Status changed from In Progress to Fix Under Review
  • Backport set to umbrella

AK Updated by Adam King 4 months ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot 4 months ago Actions #4

  • Copied to Backport #79621: umbrella: [NFS-Ganesha][HAProxy-Protocol] VIP failback to original node causes I/O failures with "Remote I/O error" on clients added

UB Updated by Upkeep Bot 4 months ago Actions #5

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 4 months ago Actions #6

  • Merge Commit set to cd6bc96ae3b553671bdd7a49fe0431260e39899a
  • Fixed In set to v21.3.0-2170-gcd6bc96ae3
  • Upkeep Timestamp set to 2026-08-19T14:25:31+00:00

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-08-19T14:25:31+00:00 to 2026-08-27T18:46:15+00:00
Actions

Also available in: PDF Atom