Bug 1631896

Summary: Add to 3.5->3.6 Upgrade section
Product: Red Hat Customer Portal Labs Reporter: Marina Kalinin <mkalinin>
Component: RHV Upgrade HelperAssignee: Yunfeng Zhao <yuzhao>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dzhao, mkalinin, yuzhao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-04 16:04:53 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 Marina Kalinin 2018-09-21 20:26:15 UTC
Please add the following question to 3.5->3.6 upgrade:
Do you have VMs with snapshots?
To check which VMs have snapshot, run the following command on the manager:
#  /usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select vm_name from vm_static INNER JOIN snapshots ON (vm_static.vm_guid=snapshots.vm_id) and snapshot_type!='ACTIVE'"

If they answer is yes:
Delete all the snapshots  prior to upgrading to next versions.
If not done so, it won't be possible to delete those snapshots in later versions. But Vm will continue being operational.

Comment 1 Marina Kalinin 2018-09-26 20:11:48 UTC
Also, add this text:
In case of any snapshot deletion failure, do not proceed to with the upgrade.
Stop and reach out to Red Hat support to help get it resolved.

Comment 2 Marina Kalinin 2018-09-27 18:08:10 UTC
I believe we should add this question to RHEV 3.6->4.0 flow as well.
The question should be: Do you have snapshots created before RHEV 3.6?
And the answer should be same as above.

Comment 3 Yunfeng Zhao 2018-09-28 02:34:57 UTC
Hi Marina,
Thank you for reaching out me.
I've updated the app.
You can check them here:
https://labsdemo.usersys.redhat.com/labs/rhvupgradehelper/
Any question or comment please let me know.
Thanks.

Comment 4 Marina Kalinin 2018-10-01 14:51:58 UTC
Is there a way to split the warning in two paragraphs? Like this:
~~~
Delete all the snapshots prior to upgrading to next versions. If not done so, it won't be possible to delete those snapshots in later versions. But Vm will continue being operational.

In case of any snapshot deletion failure, do not proceed to with the upgrade. Stop and reach out to Red Hat support to help get it resolved.
~~~

Comment 5 Yunfeng Zhao 2018-10-02 08:38:00 UTC
Hi Marina,
I've adjusted the app according to your feedback.
Can you have a look?
https://labsci.usersys.redhat.com/labs/rhvupgradehelper/
Thanks.

Yunfeng

Comment 6 Marina Kalinin 2018-10-02 18:31:34 UTC
Yunfeng, it looks great, but we also need to make this change for 3.6->4.0 flow please.

Comment 7 Yunfeng Zhao 2018-10-03 01:27:57 UTC
Hi Marina,
I've adjusted the app according to your feedback.
Can you have a look?
https://labsci.usersys.redhat.com/labs/rhvupgradehelper/
Thanks.

Yunfeng

Comment 8 Yunfeng Zhao 2018-10-04 16:04:53 UTC
All changes have been pushed to Prod:
https://access.redhat.com/labs/rhvupgradehelper/