Skip to content

Conversation

@skanakal
Copy link

@skanakal skanakal commented Dec 2, 2025

Summary

PR Checklist

  • Is this a multi-tenancy feature/bug?
    • Yes, the relevant RBAC changes are at:
  • Do we need to backport changes to the old Rancher UI, such as RKE1?
    • Yes, the relevant PR is at:
  • Are backend engineers aware of UI changes?
    • Yes, the backend owner is:

Related Issue #

harvester/harvester#9662

Occurred changes and/or fixed issues

Technical notes summary

  • The getAccessMode() method in HarvesterVolume.vue only checked for:

    • LVM driver
    • Longhorn V2
      All other provisioners defaulted to ReadWriteMany, regardless of their actual capabilities.
      Solution:

This change only adjusts access mode selection for filesystem volumes created using block-backed CSI drivers, avoiding RWX where unsupported

Areas or cases that should be tested

  1. Create volume with NetApp Trident ONTAP SAN → PVC gets accessModes: ['ReadWriteOnce'] → Provisions successfully
  2. Create volume with Longhorn → Still gets correct mode (RWO for V2, RWX for V1)
  3. Create volume with LVM → Still gets ReadWriteOnce
  4. Create volume with unknown provisioner → Defaults to ReadWriteMany (backward compatible)

Areas which could experience regressions

Screenshot/Video

@skanakal skanakal force-pushed the fix-harvester-issue branch from 5a772a5 to 5220b44 Compare December 2, 2025 19:39
@skanakal
Copy link
Author

skanakal commented Dec 2, 2025

@torchiaf Can you please review this pr?

@skanakal skanakal force-pushed the fix-harvester-issue branch from 5220b44 to 0f34353 Compare December 8, 2025 07:38
Signed-off-by: Siva Kanakala <siva.kanakala@suse.com>
@skanakal skanakal force-pushed the fix-harvester-issue branch from 0f34353 to 092cbb1 Compare December 8, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant