Bug 1839982 - [CNV][DOC] Lack of explanation for StorageClass default accessMode in openshift-cnv kubevirt-storage-class-defaults
Summary: [CNV][DOC] Lack of explanation for StorageClass default accessMode in openshi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Documentation
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 2.4.0
Assignee: Bob Gaydos
QA Contact: zhe peng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-26 07:29 UTC by Rafal Szmigiel
Modified: 2020-07-28 19:10 UTC (History)
7 users (show)

Fixed In Version: 2.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-28 19:10:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3194 0 None None None 2020-07-28 19:10:18 UTC

Description Rafal Szmigiel 2020-05-26 07:29:33 UTC
Document URL: 
https://docs.openshift.com/container-platform/4.4/cnv/cnv_live_migration/cnv-live-migration.html

Section Number and Name: 

Describe the issue: 
In order to use LiveMigration the VM has to be deployed with RWX volume. Defaults in openshift-cnv kubevirt-storage-class-defaults are configured to provide RWO volumes so LiveMigration doesn't work by default. 

Suggestions for improvement: 
We should explain this setting in our CNV documentation and mention that in order to override this default setting for the specific StorageClass they should update the config map, for an instance:

$ export STORAGE_CLASS="nfs"
$ oc patch -n openshift-cnv cm kubevirt-storage-class-defaults -p '{"data":{"'${STORAGE_CLASS}'.accessMode":"ReadWriteMany"}}'

Additional information:

Comment 3 zhe peng 2020-06-15 02:41:55 UTC
Check with the doc,
already add change RWO to RWX for migration, move to verified.

Comment 9 zhe peng 2020-07-22 10:52:54 UTC
I review the test build, no other comments and can move this to verified.

Comment 14 errata-xmlrpc 2020-07-28 19:10:07 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, 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-2020:3194


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