Bug 1726394 - [v2v] Add more throttling logging, to identify why specific conversion host is picked
Summary: [v2v] Add more throttling logging, to identify why specific conversion host i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.7
Assignee: Fabien Dupont
QA Contact: Ilanit Stein
Red Hat CloudForms Documentation
URL:
Whiteboard: v2v
Depends On: 1726186
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-02 18:34 UTC by Satoe Imaishi
Modified: 2022-07-09 10:45 UTC (History)
2 users (show)

Fixed In Version: 5.10.7.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1726186
Environment:
Last Closed: 2019-07-24 13:38:52 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:1833 0 None None None 2019-07-24 13:39:03 UTC

Comment 2 CFME Bot 2019-07-02 20:26:22 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/99bbf47929122fdebc7fc77d53e52206fac11a54
commit 99bbf47929122fdebc7fc77d53e52206fac11a54
Author:     Adam Grare <agrare>
AuthorDate: Tue Jul  2 12:46:57 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue Jul  2 12:46:57 2019 -0400

    Merge pull request #18929 from fdupont-redhat/v2v_enhance_throttler_logging

    [V2V] Enhance throttler logging

    (cherry picked from commit fd7042726763fa37450efd587a83dbad575d68ec)

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

 app/models/conversion_host.rb | 2 +-
 lib/infra_conversion_throttler.rb | 35 +-
 2 files changed, 29 insertions(+), 8 deletions(-)

Comment 3 Fabien Dupont 2019-07-11 16:30:59 UTC
To test this BZ:

 1. Set the log level of the appliance to debug
 2. Create and run a migration plan
 3. In evm.log, you will see debug log messages containing 'InfraConversionThrottler.start_conversions'

Comment 4 Ilanit Stein 2019-07-17 09:30:45 UTC
Verified on
cfme-5.10.6.1
RHV-4.3.4.3-0.1.el7

DEBUG messages, for example:

[----] D, [2019-07-17T01:50:09.919495 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) - Looking for a conversion host for task for v2v_migration_vm_big_4
[----] D, [2019-07-17T01:50:11.129864 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) -- Eligible conversion hosts:
[----] D, [2019-07-17T01:50:11.131623 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) --- host_mixed_2 [0/5]
[----] D, [2019-07-17T01:50:11.133341 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) --- host_mixed_1 [1/5]
[----] D, [2019-07-17T01:50:11.133451 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) -- Associating  host_mixed_2 to the task for 'v2v_migration_vm_big_4'.
[----] D, [2019-07-17T01:50:11.148951 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) -- Queuing :start signal for the job for 'v2v_migration_vm_big_4': cur
rent state is 'waiting_to_start'.



[----] D, [2019-07-17T01:50:20.781880 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) - Looking for a conversion host for task for v2v_migration_vm_big_8
[----] D, [2019-07-17T01:50:21.976488 #64720:106af58] DEBUG -- : Q-task_id([job_dispatcher]) MIQ(InfraConversionThrottler.start_conversions) -- No eligible conversion host for task for 'v2v_migration_vm_big_8'

Comment 6 errata-xmlrpc 2019-07-24 13:38:52 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/RHSA-2019:1833


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