PowerScale: OneFS Loses NFSv4 locks on node reboot

Summary: NFSv4 Clients might lose locks or be unable to release locks correctly after node reboots.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

This issue is present in all OneFS versions prior to fix development.
It can impact any application that uses NFSv4 and locking operations.

This issue has most often been observed with "Message Queue" applications such as ActiveMQ or OpenMQ as they make extensive use of NFSv4 locking mechanisms.

For MQ applications; it often manifests as a Secondary MQ server taking over for the Primary when it should not.
This causes outages or data inconsistencies that require manual intervention on the Application side to resolve.

When observed in packet captures, the client locks a file successfully while a second client attempts to access it.
When the node the locking client is connected to reboots, the second client is granted the lock.
The first client receives an error when their lock ends since they no longer have the lock.

The issue can be reproduced as follows:

  1. On the first client, mount an export using NFSv4.0.
  2. On the second client, mount the same export using NFSv4.0.
  3. On the first client, lock a file for 5 minutes.
  4. On the second client, start a loop attempting to lock the same file.
  5. Reboot the OneFS node that the first client is connected to.
  6. If the issue is present, the second client is granted a lock before the first client lock ends.

 

Cause

There was an error in our logic for moving NFSv4 connections to other nodes that caused the locks to be released on node reboot.

 

Resolution

Fix:
Upgrade or patch to one of the following versions of OneFS.

  • 9.1.0.19+
  • 9.2.1.12+
  • 9.4.0.3+
  • 9.5.0.0+

Workaround:
There are no workarounds to this issue.

 

Affected Products

PowerScale OneFS
Article Properties
Article Number: 000215804
Article Type: Solution
Last Modified: 26 Sep 2023
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.