Bug 1788523 - [v2v] False information is displayed once the migration plan getting stuck in preflight stage
Summary: [v2v] False information is displayed once the migration plan getting stuck in...
Keywords:
Status: CLOSED DUPLICATE of bug 1788505
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.z
Assignee: Fabien Dupont
QA Contact: Maayan Hadasi
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-07 12:18 UTC by Maayan Hadasi
Modified: 2020-01-08 07:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-08 07:00:34 UTC
Category: Bug
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:
mguetta: needinfo+


Attachments (Terms of Use)

Description Maayan Hadasi 2020-01-07 12:18:01 UTC
Description of problem:
This issue related to bug 1788505.
Once bug 1788505 is reproduced, CFME reports under 'Migration Plan In Progress' tab this info: "Waiting for an available conversion host..." while the preflight stage isn't ended..


Version-Release number of selected component (if applicable):
ManageIO nightly: 
master.20191217224046_ebd4ebf


How reproducible:
100%


Steps to Reproduce:
1. Create a infrastructure mapping with one cluster mapping
2. Create a migration plan with the previously created infrastructure mapping
3. Delete the cluster mapping item from Rails console:
   irb> mapping = TransformationMapping.find_by(:name => 'My Mapping')
   irb> mapping.transformation_mapping_items.select { |i| i.source_type == 'EmsCluster' }.each { |i| i.destroy }

4. Start the migration plan


Actual results:
VM migration getting stuck on preflight check, but CFME UI informs that the current stage is: waiting for a conversion host

Expected results:
Appropriate message for preflight check, so if it get stuck - the user will know that the migration plan didn't pass this stage

Comment 2 Dave Johnson 2020-01-07 13:02:15 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 3 Maayan Hadasi 2020-01-08 07:00:34 UTC
Closing this issue as duplicate of bug 1788505
By Fabien Dupont:
"The preflight check is part of the conversion host allocation mechanism. The fact that the migration task is not cancelled correctly make it stay in "ok" status (bug 1788505). So, it doesn't stop and finish properly, making the plan wait for its completion"

*** This bug has been marked as a duplicate of bug 1788505 ***


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