Bug 1896795 - Upstream Disk API documentation doesn't specify the "cache" string format
Summary: Upstream Disk API documentation doesn't specify the "cache" string format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 2.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.8.0
Assignee: Hao Yu
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-11 14:49 UTC by Jed Lejosne
Modified: 2021-07-27 14:22 UTC (History)
6 users (show)

Fixed In Version: hco-bundle-registry-container-v4.8.0-347 virt-operator-container-v4.8.0-58
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 14:21:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2920 0 None None None 2021-07-27 14:22:27 UTC

Description Jed Lejosne 2020-11-11 14:49:28 UTC
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:

Comment 1 Hao Yu 2021-03-09 21:58:18 UTC
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.

Comment 2 Hao Yu 2021-03-24 18:31:35 UTC
PR #5183 at https://github.com/kubevirt/kubevirt/pull/5183 addresses this bug and it has been merged upstream.

Comment 3 Hao Yu 2021-03-24 18:34:46 UTC
CC: sgott

Comment 4 Israel Pinto 2021-05-26 16:33:14 UTC
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.
"

Comment 7 errata-xmlrpc 2021-07-27 14:21:17 UTC
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


Note You need to log in before you can comment on or make changes to this bug.