Skip to content

Fix for NFS primary storage pool failing to come out of maintenance mode - #14187

Open
sandeeplocharla wants to merge 1 commit into
apache:4.22from
NetApp:4.22-fix-12690-nfs-cancel-maintenance
Open

sandeeplocharla wants to merge 1 commit into
apache:4.22from
NetApp:4.22-fix-12690-nfs-cancel-maintenance

Conversation

@sandeeplocharla

@sandeeplocharla sandeeplocharla commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Enable maintenance on KVM NFS goes through deleteStoragePool(uuid, details), which LibvirtStorageAdaptor did not override, so the default no-op ran after the HA monitor unmounted the share. Cancel maintenance then reused a defined libvirt pool with no mount.

Override the details delete path to destroy the libvirt pool, and unmount via the HA monitor only after libvirt has deleted the pool.

Fixes: #12690

Description

This PR...

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Enable maintenance on KVM NFS goes through deleteStoragePool(uuid, details),
which LibvirtStorageAdaptor did not override, so the default no-op ran after
the HA monitor unmounted the share. Cancel maintenance then reused a defined
libvirt pool with no mount.

Override the details delete path to destroy the libvirt pool, and unmount via
the HA monitor only after libvirt has deleted the pool.

Fixes: apache#12690
Signed-off-by: sandeeplocharla <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant