Bug 1857788

Summary: OCP upgrade - VMs using common templates with HPP will block upgrade
Product: Container Native Virtualization (CNV) Reporter: Ruth Netser <rnetser>
Component: DocumentationAssignee: Shikha Jhala <sjhala>
Status: CLOSED CURRENTRELEASE QA Contact: Ruth Netser <rnetser>
Severity: high Docs Contact:
Priority: high    
Version: 2.4.0CC: alitke, cnv-qe-bugs, danken, ipinto, sgott, sjhala
Target Milestone: ---   
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.4.0 Doc Type: Known Issue
Doc Text:
Cause: VMs using HPP (or any other storage class with AccessModes: ReadWriteOnce), and have evictionStrategy: LiveMigrate configured Consequence: After OCP upgrade, nodes will remain in "Ready,SchedulingDisabled" state as these VMs cannot be live migrated. Workaround (if any): Remove evictionStrategy: LiveMigrate from VMs using HPP (or any other storage class with AccessModes: ReadWriteOnce) Result: Nodes will be in "Ready" state after OCP upgrade
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-18 13:06:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ruth Netser 2020-07-16 15:03:08 UTC
Document URL: 
http://file.bos.redhat.com/bgaydos/060320_2/virt/upgrading-virt.html#virt-about-upgrading-virt_upgrading-virt

Section Number and Name: 

Describe the issue: 

The following note sould be added:

VMs created from common templates are created with "evictionStrategy: LiveMigrate".
If a VM is using HPP (or any other storage class with AccessModes: ReadWriteOnce), this label should be removed before an upgrade is initiated.

Suggestions for improvement: 

Additional information:

Comment 1 Nelly Credi 2020-07-22 09:31:11 UTC
@Ruty, can you please update the 'doc text' field?

Comment 2 Israel Pinto 2020-07-22 14:15:24 UTC
*** Bug 1859129 has been marked as a duplicate of this bug. ***

Comment 9 Dan Kenigsberg 2020-08-01 18:54:39 UTC
This is the Doc bug. Where do we track the production one? VMs with HPP or SR-IOV should not have LiveMigration eviction, and should probably have runStrategy:Always by default.

Comment 10 Ruth Netser 2020-08-02 07:45:26 UTC
Please see bug 1858777

Comment 11 Shikha Jhala 2020-08-05 13:24:43 UTC
@Ruth Can you please review this PR: https://github.com/openshift/openshift-docs/pull/24172

Comment 12 Nelly Credi 2020-08-10 08:08:08 UTC
Please add fixed in version

Comment 13 Ruth Netser 2020-08-12 08:01:20 UTC
Verified the workaround: VM without eviction strategy and runStrategy = 'Always' (4.4.13->4.5.3)
Reviewed the PR, moving to verified.

Comment 14 Shikha Jhala 2020-08-13 17:53:29 UTC
Docs PR is now merged. Moving bug to Release Pending.

Comment 15 Shikha Jhala 2020-08-18 13:06:30 UTC
Fix is published in the customer-facing documentation: https://docs.openshift.com/container-platform/4.5/virt/upgrading-virt.html#how-openshift-virtualization-upgrades-affect-your-cluster. Moving bug to Closed + Current Release.