Bug 1805905

Summary: InfraConversionThrottler.running_conversion_jobs always returns 0
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: urgent    
Version: 5.11.0CC: bthurber, mshriver
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.4Flags: pm-rhel: cfme-5.11.z+
simaishi: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1799074 Environment:
Last Closed: 2020-03-17 13:11:38 UTC Type: ---
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: 1799074    
Bug Blocks:    

Comment 2 CFME Bot 2020-02-21 21:56:02 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/e4d59eeece07fb7b8533c127bd7a557400b583f4
commit e4d59eeece07fb7b8533c127bd7a557400b583f4
Author:     Adam Grare <agrare>
AuthorDate: Thu Feb  6 16:48:04 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Thu Feb  6 16:48:04 2020 +0000

    Merge pull request #19817 from fdupont-redhat/v2v_fix_running_conversion_jobs

    [V2V] Fix InfraConversionThrottler.running_conversion_jobs

    (cherry picked from commit f55268b3bb6e170db1e0d0ed73fef702adf94eaf)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1805905

 lib/infra_conversion_throttler.rb | 2 +-
 spec/lib/infra_conversion_throttler_spec.rb | 4 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 3 Nandini Chandra 2020-03-05 00:25:40 UTC
Snippet from evm.log:

  [----] I, [2020-03-04T19:23:17.931702 #7263:2b0c3399e5c0]  INFO -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.running_conversion_jobs) Running InfraConversionJob: 1
  [----] I, [2020-03-04T19:23:17.941424 #7263:2b0c3399e5c0]  INFO -- : Q-task_id([job_dispatcher]) MIQ(JobProxyDispatcher#dispatch) Complete - Timings: {:v2v_dispatching=>0.002590656280517578, :v2v_limits=        >0.006911754608154297, :pending_container_jobs=>0.002158641815185547, :container_jobs_to_dispatch_count=>0, :container_dispatching=>0.002178192138671875, :pending_vm_jobs=>0.0005071163177490234, :vm_jobs        _to_dispatch_count=>0, :total_time=>0.013391256332397461}

Verified in 5.11.4.1

Comment 6 errata-xmlrpc 2020-03-17 13:11:38 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://access.redhat.com/errata/RHBA-2020:0867