Reviewed:  https://review.opendev.org/c/openstack/manila/+/980250
Committed: 
https://opendev.org/openstack/manila/commit/ab3511c546188bb77f2f94636156fe03e72df08c
Submitter: "Zuul (22348)"
Branch:    stable/2024.2

commit ab3511c546188bb77f2f94636156fe03e72df08c
Author: Seyeong Kim <[email protected]>
Date:   Fri Mar 6 03:28:00 2026 +0000

    Fix RADOS export index dangling reference in remove_export()
    
    In remove_export(), the finally block deletes the RADOS object before
    removing its URL from ganesha-export-index. If the process crashes
    between these two steps, the index retains a reference to a
    non-existent object. On the next nfs-ganesha restart, the daemon
    reads the index, fails to fetch the missing object (ENOENT), and
    exits with FATAL -- taking down all NFS client connections.
    
    Swap the two operations so the index entry is removed first. If a
    crash now occurs between the two steps, only an orphan RADOS object
    remains, which nfs-ganesha safely ignores on startup.
    
    Closes-Bug: #2143377
    Change-Id: I8f3a2c1e5d9b4a7f6e0c3d2b1a9f8e7d6c5b4a3f
    Signed-off-by: Seyeong Kim <[email protected]>
    (cherry picked from commit d60b2a72a2bc1326c55c4bbdcf71408d4c3641d2)
    (cherry picked from commit 575d7b17be10736ab033c741b72d49d655a7f105)
    (cherry picked from commit b381d44623e2135978576c7df5979fcb397e05de)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143377

Title:
  Dangling RADOS export index entry in remove_export() crashes NFS-
  Ganesha

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2143377/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to