Hyperdisk creation multi-writer (accesMode = ReadWriteMany) fails with Invalid value for field 'resource.multiWriter': 'true'
#1863
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
It was observed in https://issues.redhat.com/browse/STOR-2043 that dynamic provisioning of disk in multi-writer mode on C3 instance type with hyperdisk-balanced disk failed with below error:
I think the bug is here the driver is still calling the beta API when multi writer is set to true.
this sets betaDiskToCreate.MultiWriter = multiWriter the boolean flag is only available in v0.beta APIs and not in v1 API.
The fix is to call v1 APIs which support accessMode = ReadWriteMany. Will create a PR.
The text was updated successfully, but these errors were encountered: