Describe the bug
In our environment we've run into the issue reported in #514, but we're already running v22.01.1, which should contain the fix.
After further investigation we believe that this is caused, because we've configured the discard mount option in our StorageClass, which seems to cause the nouuid option to not be added anymore.
Environment
Provide accurate information about the environment to help us reproduce the issue.
- Trident version: 22.01.1
- Trident installation flags used: -
- Container runtime: CRI-O 1.23.3
- Kubernetes version: 1.23.5
- Kubernetes orchestrator: OpenShift 4.10.35
- Kubernetes enabled feature gates: -
- OS: Red Hat Enterprise Linux CoreOS 410.84
- NetApp backend types: ONTAP
To Reproduce
- Create a StorageClass using ontap-san (or ontap-san-economy)
- Configure
mountOptions: ["discard"] in the StorageClass
- Create a PV and attach it to a pod
Expected behavior
- Mount options for the PV should contain
nouuid and discard
Observed behavior
- Mount options only contains
discard
Describe the bug
In our environment we've run into the issue reported in #514, but we're already running v22.01.1, which should contain the fix.
After further investigation we believe that this is caused, because we've configured the
discardmount option in our StorageClass, which seems to cause thenouuidoption to not be added anymore.Environment
Provide accurate information about the environment to help us reproduce the issue.
To Reproduce
mountOptions: ["discard"]in the StorageClassExpected behavior
nouuidanddiscardObserved behavior
discard