Document URL: https://kubevirt.io/api-reference/master/definitions.html#_v1_disk Section Number and Name: v1.Disk Describe the issue: The disk API documentation doesn't state the possible values for the "cache" disk parameter. Suggestions for improvement: Add a list of valid strings or a string format to be able to use the option. Additional information:
Upstream PR, https://github.com/kubevirt/kubevirt/pull/5183, is submitted to address the issue. The supported values for v1.Disk cache mode are: CacheNone, CacheWriteThrough.
PR #5183 at https://github.com/kubevirt/kubevirt/pull/5183 addresses this bug and it has been merged upstream.
CC: sgott
https://kubevirt.io/api-reference/master/definitions.html#_v1_disk The cache option have the expected values: " Cache specifies which kvm disk cache mode should be used. Supported values are: CacheNone, CacheWriteThrough. "
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.8.0 Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2920