Bug 1726186

Summary: [v2v] Add more throttling logging, to identify why specific conversion host is picked
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: unspecifiedCC: bthurber, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1726394 (view as bug list) Environment:
Last Closed: 2019-12-13 14:55:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: V2V Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1726394    

Description Ilanit Stein 2019-07-02 09:59:02 UTC
Description of problem:
On CFME-5.10.6.1 we are missing logging that indicate why a specific conversion host is picked for VM migration.

Adding logging can help, in investigating issues, around this area.

Version-Release number of selected component (if applicable):
CFME-5.10.6.1

Comment 2 Fabien Dupont 2019-07-02 10:20:51 UTC
https://github.com/ManageIQ/manageiq/pull/18929

Comment 4 Ilanit Stein 2019-08-11 19:10:00 UTC
Verified on CFME-5.11.0.18.20190806180636_1dd6378/RHV-4.3.5.3-0.1.el7
+ [1] & [2] additions.

evm.log contain debug messages, that provide info on the chosen host, for conversion.
Examples:
[----] D, [2019-08-11T13:47:34.618401 #8409:2ac513a565c4] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) -- Eligible conversion hosts:
[----] D, [2019-08-11T13:47:34.619874 #8409:2ac513a565c4] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) --- f01-h04-000-1029u.rdu2.scalelab.redhat.com [0/10]
[----] D, [2019-08-11T13:47:34.621205 #8409:2ac513a565c4] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) --- f01-h08-000-1029u.rdu2.scalelab.redhat.com [0/10]
[----] D, [2019-08-11T13:47:34.621292 #8409:2ac513a565c4] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) -- Associating  f01-h04-000-1029u.rdu2.scalelab.redhat.com to the task for 'v2v_migration_vm_0'.


[1] To allow conversion host enable, uUsed work around mentioned in this bug description:
Bug 1738643 - [v2v][Regression] Can not add conversion host due to playbook errors
[2] To allow successful migration, used libguestfs special packages:
libguestfs libguestfs-tools-c virt-v2v python-libguestfs
of version: 1.40.2-5.el7.1.bz1680361.v3.1.x86_64, generated by rjones.