Bug 1799074 - InfraConversionThrottler.running_conversion_jobs always returns 0
Summary: InfraConversionThrottler.running_conversion_jobs always returns 0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: GA
: 5.12.0
Assignee: Fabien Dupont
QA Contact: Shveta
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1805905
TreeView+ depends on / blocked
 
Reported: 2020-02-06 15:21 UTC by Fabien Dupont
Modified: 2020-10-26 16:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1805905 (view as bug list)
Environment:
Last Closed: 2020-10-26 16:13:30 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:
mfeifer: mirror+


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.