Bug 1799074

Summary: InfraConversionThrottler.running_conversion_jobs always returns 0
Product: Red Hat CloudForms Management Engine Reporter: Fabien Dupont <fdupont>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: urgent    
Version: 5.11.0CC: bthurber, mshriver
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0Flags: mfeifer: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1805905 (view as bug list) Environment:
Last Closed: 2020-10-26 16:13:30 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: 1805905    

Description Fabien Dupont 2020-02-06 15:21:38 UTC
Description of problem:
The method always returns 0 because the jobs are never in state 'running'.
A running job is a job that is not in state 'waiting_to_start' or 'finished'.

Comment 2 Fabien Dupont 2020-02-06 15:24:14 UTC
Verification steps:

In evm.log, the value of "Running InfraConversionJob" is always 0 before the fix. After the fix, it's the number of currently migrating VMs.

Comment 3 Fabien Dupont 2020-02-06 15:25:29 UTC
https://github.com/ManageIQ/manageiq/pull/19817