Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1339521

Summary: start downtime thread after the first migration iteration only
Product: [oVirt] vdsm Reporter: Michal Skrivanek <michal.skrivanek>
Component: CoreAssignee: Francesco Romani <fromani>
Status: CLOSED EOL QA Contact: Israel Pinto <ipinto>
Severity: high Docs Contact:
Priority: high    
Version: 4.17.11CC: bugs, dmoessne, ipinto, mgoldboi, michal.skrivanek, rhev-integ, sbonazzo, tjelinek
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1323952 Environment:
Last Closed: 2016-07-11 14:44:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1323952    
Bug Blocks: 1252426, 1328636    

Description Michal Skrivanek 2016-05-25 08:56:16 UTC
hopefully it will provide more "smaller" downtimes as we don't need to do anything until the first iteration is done

Comment 1 Francesco Romani 2016-06-29 15:04:20 UTC
this change does not require doc_text:
- it HAS user-facing consequences (better migrations)
but
- it is NOT directly tunable by the user
so it is more like an internal improvement.

Comment 2 Francesco Romani 2016-06-30 13:00:37 UTC
all patches landed in 3.6.z branch -> MODIFIED

Comment 3 Francesco Romani 2016-06-30 15:19:36 UTC
we need https://gerrit.ovirt.org/60037

Comment 4 Israel Pinto 2016-07-10 09:03:22 UTC
Verify with:
RHEVM Version: 3.6.8-0.1.el6 
Host:
OS Version:RHEL - 7.2 - 13.0.el7ev
Kernel Version:3.10.0 - 327.22.2.el7.x86_64
KVM Version:2.3.0 - 31.el7_2.18
LIBVIRT Version:libvirt-1.2.17-13.el7_2.5
VDSM Version:vdsm-4.17.33-1.el7ev
SPICE Version:0.12.4 - 15.el7_2.1

Steps:
1. Migration VM
2. After migration start monitor vdsm log for migration downtime thread to start on source host:
[root@virt-nested-vm04 ~]# cat /var/log/vdsm/vdsm.log | grep -i "migration downtime thread will use"
Thread-352::DEBUG::2016-07-10 11:42:57,818::migration::450::virt.vm::(__init__) vmId=`ce8803e7-37a8-4348-9745-97be87f4bfd0`::migration downtime thread will use: QEMU iterations

Comment 5 Sandro Bonazzola 2016-07-11 14:44:13 UTC
oVirt 3.6.7 was the last supported version of oVirt 3.6.
No more oVirt 3.6 versions will be released.
Closing EOL, feel free to re-target to 4.0.1 or later