-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
False
-
-
False
-
CLOSED
-
---
-
---
-
Storage Core Sprint 225, Storage Core Sprint 226, Storage Core Sprint 227
-
Medium
Description of problem:
"ReadOnlyMany" should not added to supported values in memory dump
Version-Release number of selected component (if applicable):
CNV-v4.12.0-450
Client Version: version.Info
How reproducible:
Always
Steps to Reproduce:
1. Create a VM
2. Do memory dump with an unsupported access mode, got only warning - supported values: "ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce"
3. Do memory dump with access mode "ReadOnlyMany", got warning - cannot dump memory to a readonly pvc
Actual results:
$ virtctl memory-dump get vm-fedora-datavolume --claim-name=memoryvolume --create-claim --access-mode=RWX
PersistentVolumeClaim "memoryvolume" is invalid: spec.accessModes: Unsupported value: "RWX": supported values: "ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce"
$ virtctl memory-dump get vm-fedora-datavolume --claim-name=memoryvolume --create-claim --access-mode=ReadOnlyMany
cannot dump memory to a readonly pvc, use either ReadWriteOnce or ReadWriteMany if supported
Expected results:
"ReadOnlyMany" should not added to supported values in memory dump
Additional info:
- external trackers