Bug 967466

Summary: PRD35 - [RFE] Show live migration progress in the UI
Product: Red Hat Enterprise Virtualization Manager Reporter: Michal Skrivanek <michal.skrivanek>
Component: RFEsAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: bsettle, ecohen, fromani, iheim, istein, juwu, lpeer, lyarwood, mavital, mchappel, michal.skrivanek, oramraz, rbalakri, Rhev-m-bugs, rnelson, scohen, sherold, tjelinek, wduffee, ylavi, zdover
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: 3.5.0Flags: sherold: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: ovirt-3.5.0-alpha1 Doc Type: Release Note
Doc Text:
In the Administration Portal, a progress bar is now available to indicate the progress of migrating a running virtual machine.
Story Points: ---
Clone Of: 653876 Environment:
Last Closed: 2015-02-11 17:53:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 515278, 653876, 1083049    
Bug Blocks: 1120945, 1142923, 1156165    

Comment 2 Pavel Stehlik 2013-06-11 14:39:56 UTC
One possible solution could be progress bar in Status column (currently 'Migration from' text) of migrated VM.

Comment 7 Michal Skrivanek 2014-02-14 13:52:22 UTC
still needs a proper vdsm patch(posted by Francesco),then backend, REST and UI support

Comment 8 Michal Skrivanek 2014-02-25 18:33:01 UTC
Only the vdsm part merged

Comment 10 Tomas Jelinek 2014-07-10 06:47:23 UTC
Hey Jiri,

the issues mentioned in the tests are fixed in http://gerrit.ovirt.org/#/c/29763/ (bz: 1114997). 

I would maybe add one more negative case: while migrating, kill the machine on the source host. It should turn down and the progress bar should be cleared. Please note that this is also fixed in the mentioned patch.

Otherwise they are good. 
Thanx, Tomas

Comment 11 Ilanit Stein 2014-08-07 13:53:38 UTC
Tested on: 
ovirt-3.5.0_rc1 
(oVirt Engine Version: 3.5.0-0.0.master.20140804172041.git23b558e.el6)
vdsm-4.16.1-6.gita4a4614.el6.x86_64

A VM with OS type win7, not installed with OS, 16000 MB memory, migration took 18 sec, but progress bar didn't show ant progress, even if doing often tab refresh.

Comment 18 Ilanit Stein 2014-08-12 08:44:37 UTC
Retested it with a VM that it's migration took longer (43 sec in engine),
and for that VM progress bar did show a percentage growth.

VM mentioned in bug description & in the attached logs has a too short migration,
and thus the there is no progress seen in the progress bar.

Therefore, moving bug back to ON_QA

Verification for this bug should be by the TCMS cases attached.

Comment 19 Ilanit Stein 2014-09-08 14:24:37 UTC
Verified by running all attached tcms cases on rhevm-3.5, vt2.2

Comment 20 Yaniv Lavi 2015-01-19 15:40:20 UTC
Description of original problem:

VDSM should report migration progress to RHEVM in order to be able to control parameters such as migration time out , or to reach other logical decisions.

For example: If VM fails to migrate after 300 seconds and it succeeds to migrate 80 percent of the data , RHEVM can try again with bigger timeout.

For this kind of decisions VDSM should report migration process to RHEVM ( every x seconds or at migration process end time )

2 clones of the same BZ should be opened to VDSM and libvirt

Comment 22 errata-xmlrpc 2015-02-11 17:53:19 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://rhn.redhat.com/errata/RHSA-2015-0158.html