Bug 1789433 - Port IMS Workflow - Regressions
Summary: Port IMS Workflow - Regressions
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
high
high
Target Milestone: GA
: 5.11.4
Assignee: Fabien Dupont
QA Contact: Md Nadeem
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1759062
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-09 15:02 UTC by Satoe Imaishi
Modified: 2020-03-17 13:24 UTC (History)
8 users (show)

Fixed In Version: 5.11.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1759062
Environment:
Last Closed: 2020-03-17 13:24:05 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:
pm-rhel: cfme-5.11.z+


Attachments (Terms of Use)
migration log (1.90 KB, application/octet-stream)
2020-01-16 03:20 UTC, Shveta
no flags Details
wrapper log (11.61 KB, application/octet-stream)
2020-01-16 03:21 UTC, Shveta
no flags Details

Comment 2 Shveta 2020-01-16 03:20:56 UTC
Created attachment 1652619 [details]
migration log

Hi Fabein, 

I am trying warm migration on upstream build and migration is stuck (not progressing ). Attached are both logs .
Providers added are RHV and vsphere65.
Conversion hosts are configured in the old way (means RHV hosts not VM's)

Please check and let me know if any config is missing .

Note : Cold migration is also not working .

Comment 3 Shveta 2020-01-16 03:21:37 UTC
Created attachment 1652620 [details]
wrapper log

appliance : https://10.8.198.230

Comment 4 Fabien Dupont 2020-01-16 08:03:35 UTC
I'll run a few tests on this appliance. It seems that the cancellation doesn't work as expected.

Comment 5 Fabien Dupont 2020-01-16 10:42:20 UTC
First thing I noticed is that the VM named new_cat0001 doesn't have an IP address. This makes the migration loop. I working on it: https://github.com/ManageIQ/manageiq/pull/19725.

Once that step is passed, it fails during the disk conversion because the source VM is running Damn Small Linux, which is not supported by virt-v2v: https://bugzilla.redhat.com/show_bug.cgi?id=1540174.
Is there a VM with a more common operating system that I can migrate?

Comment 6 Shveta 2020-01-16 16:40:45 UTC
Created another migration plan 'cold_migration' with VM based on 'rhel7' template and also has an IP .

Comment 7 Shveta 2020-01-16 18:10:25 UTC
Cold migration completed successfully for that VM .
Warm migration is stuck however .Please take a look.

Comment 8 Mike Turley 2020-01-16 19:51:01 UTC
Shveta, are you trying to view warm migration status in the UI? Those changes are not all merged to master, it's still an incomplete feature in the UI. It may look stuck when it isn't, depending on what you're seeing. (If you're talking about status via API or console, disregard this, sorry)

Fabien, are we able to run warm migrations on an appliance in the backend now? I'd love to jump in and grab some example status data if so.

Comment 9 Fabien Dupont 2020-01-16 19:56:33 UTC
Warm migration isn't working in virt-v2v-wrapper, yet. So, we can't run warm migration.
What we need to test here is that cold migration is still working.

Comment 10 Shveta 2020-01-16 20:22:53 UTC
Yes I was checking warm migration status through UI .
Cold migration is working . WIll do some more testing for OSP and ansible playbook test cases

Comment 11 Shveta 2020-01-21 17:58:53 UTC
Some regressions are found .
1) Ansible playbook migration is not working BZ 1767638 and BZ 1768527
2) https://github.com/ManageIQ/manageiq-v2v/issues/1093
3) https://github.com/ManageIQ/manageiq-v2v/issues/1094
4) Cancel migration does not stop migration https://bugzilla.redhat.com/show_bug.cgi?id=1768528

Comment 12 Mike Turley 2020-01-21 20:27:56 UTC
I think https://github.com/ManageIQ/manageiq-v2v/issues/1093 is unrelated to this BZ, we should open another BZ for it. It's being caused by UI changes.

Comment 16 Shveta 2020-01-24 05:41:17 UTC
Normal migration not working in build 

Build : master.20200122225016_cb3eed5

Appliance : https://10.8.198.134

Comment 19 Fabien Dupont 2020-01-30 16:28:55 UTC
https://github.com/ManageIQ/manageiq/pull/19782

Comment 20 Fabien Dupont 2020-01-30 17:32:32 UTC
https://github.com/ManageIQ/manageiq/pull/19783

Comment 21 CFME Bot 2020-02-21 21:20:27 UTC
New commits detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/e2e8a260c28fbc9fae64f2a0e50b2e5a4182461f
commit e2e8a260c28fbc9fae64f2a0e50b2e5a4182461f
Author:     Adam Grare <agrare>
AuthorDate: Mon Oct  7 12:52:08 2019 +0000
Commit:     Adam Grare <agrare>
CommitDate: Mon Oct  7 12:52:08 2019 +0000

    Merge pull request #19371 from fdupont-redhat/v2v_remove_handover_from_shutdown_vm_transition

    [V2V] Remove handover from shutdown_vm transition

    (cherry picked from commit 8bf39a9bd18fe10b46968d208f86a66eb26af0d3)

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

 app/models/infra_conversion_job.rb | 1 -
 spec/models/infra_conversion_job_spec.rb | 1 -
 2 files changed, 2 deletions(-)


https://github.com/ManageIQ/manageiq/commit/cef2c6fdf9d01e3652cd0daa026fbe54a9a8ebd7
commit cef2c6fdf9d01e3652cd0daa026fbe54a9a8ebd7
Author:     Adam Grare <agrare>
AuthorDate: Mon Oct  7 14:22:14 2019 +0000
Commit:     Adam Grare <agrare>
CommitDate: Mon Oct  7 14:22:14 2019 +0000

    Merge pull request #19373 from fdupont-redhat/v2v_extend_infraconversionjob_timeout

    [V2V] Extend InfraConversionJob timeout

    (cherry picked from commit 584f8bcbf6f804a1fd5e3f1d92a87aa458987ed3)

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

 app/models/infra_conversion_job.rb | 4 +
 1 file changed, 4 insertions(+)


https://github.com/ManageIQ/manageiq/commit/4e7c1cf398af6fe7422fcbad70cba99767492273
commit 4e7c1cf398af6fe7422fcbad70cba99767492273
Author:     Adam Grare <agrare>
AuthorDate: Mon Oct  7 20:26:11 2019 +0000
Commit:     Adam Grare <agrare>
CommitDate: Mon Oct  7 20:26:11 2019 +0000

    Merge pull request #19375 from fdupont-redhat/v2v_fix_progress_percent_calculation

    [V2V] Fix progress percentage calculation

    (cherry picked from commit 9876943bb8c49777eb4286feb321998311ca3342)

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

 app/models/infra_conversion_job.rb | 17 +-
 spec/models/infra_conversion_job_spec.rb | 372 +-
 2 files changed, 253 insertions(+), 136 deletions(-)

Comment 22 CFME Bot 2020-02-21 22:37:07 UTC
New commits detected on ManageIQ/manageiq-v2v/ivanchuk:

https://github.com/ManageIQ/manageiq-v2v/commit/f0faf96c91406f8985bc5bbf3f843b0f4b829352
commit f0faf96c91406f8985bc5bbf3f843b0f4b829352
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Fri Oct 11 10:58:05 2019 +0000
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Fri Oct 11 10:58:05 2019 +0000

    Merge pull request #1049 from mturley/1046-error-icon-logic

    [#1046] Fix logic for determining if a migration task is completed successfully

    (cherry picked from commit 158e4314279d9bdb2b1eb28d48108495c8411fb1)

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

 app/javascript/react/screens/App/Plan/helpers.js | 13 +-
 1 file changed, 2 insertions(+), 11 deletions(-)


https://github.com/ManageIQ/manageiq-v2v/commit/7902375044edfef502ac643764bf5c38262ac00a
commit 7902375044edfef502ac643764bf5c38262ac00a
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Thu Oct 24 11:09:54 2019 +0000
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Thu Oct 24 11:09:54 2019 +0000

    Merge pull request #1055 from mturley/1045-fix-status-messages

    [#1045][BZ#1759062] Rearrange migration status messages to expose more descriptive information

    (cherry picked from commit 2afe37a45bc937fcb681f3742c20e4aac8cdd6e0)

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

 app/javascript/react/screens/App/Plan/PlanConstants.js | 85 +-
 app/javascript/react/screens/App/Plan/components/PlanRequestDetailList/PlanRequestDetailList.js | 76 +-
 app/javascript/react/screens/App/Plan/components/PlanRequestDetailList/PlanRequestDetailListConstants.js | 24 +-
 app/javascript/react/screens/App/Plan/helpers.js | 8 +-
 4 files changed, 76 insertions(+), 117 deletions(-)


https://github.com/ManageIQ/manageiq-v2v/commit/4238a72b6eed9ee02ec4f578700009f2034163f2
commit 4238a72b6eed9ee02ec4f578700009f2034163f2
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Fri Dec  6 10:25:34 2019 +0000
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Fri Dec  6 10:25:34 2019 +0000

    Merge pull request #1076 from mturley/1054-status-message-updates

    [#1054] Update migration status message map to match latest backend strings

    (cherry picked from commit e7eaa28723349161b4ff73a61a0038244a89e5ca)

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

 app/javascript/react/screens/App/Plan/PlanConstants.js | 25 +-
 app/javascript/react/screens/App/Plan/components/PlanRequestDetailList/PlanRequestDetailListConstants.js | 2 +-
 2 files changed, 23 insertions(+), 4 deletions(-)

Comment 23 CFME Bot 2020-02-24 15:06:01 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/cbd95cdfae86ac36e66671b0ae5b41ca49ca11bb
commit cbd95cdfae86ac36e66671b0ae5b41ca49ca11bb
Author:     tina <tfitzger>
AuthorDate: Tue Jan 28 18:04:23 2020 +0000
Commit:     tina <tfitzger>
CommitDate: Tue Jan 28 18:04:23 2020 +0000

    Merge pull request #634 from fdupont-redhat/v2v_fix_cancellation

    Fix cancellation process

    (cherry picked from commit 24f3ba2519eccfb284fc552c0fcd19fbec724595)

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

 content/automate/ManageIQ/Transformation/Common.class/__methods__/waitforhandover.rb | 2 +
 spec/content/automate/ManageIQ/Transformation/Common.class/__methods__/waitforhandover_spec.rb | 8 +
 2 files changed, 10 insertions(+)

Comment 24 CFME Bot 2020-02-24 15:10:24 UTC
New commits detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/72442a8ba2f261dd7f56f85410bc3286fad3000d
commit 72442a8ba2f261dd7f56f85410bc3286fad3000d
Author:     Adam Grare <agrare>
AuthorDate: Wed Jan 22 14:28:01 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Wed Jan 22 14:28:01 2020 +0000

    Merge pull request #19725 from fdupont-redhat/v2v_fix_workflow

    [V2V] Fix migration workflow

    (cherry picked from commit 2730bebba94549207da93c6900344b6115fe6004)

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

 app/models/infra_conversion_job.rb | 23 +-
 app/models/service_template_transformation_plan_task.rb | 12 +-
 spec/models/infra_conversion_job_spec.rb | 7 +-
 spec/models/service_template_transformation_plan_task_spec.rb | 3 -
 4 files changed, 26 insertions(+), 19 deletions(-)


https://github.com/ManageIQ/manageiq/commit/b50eb60ad1ab09ad6cc56083fefefe84a4d4e0ad
commit b50eb60ad1ab09ad6cc56083fefefe84a4d4e0ad
Author:     Adam Grare <agrare>
AuthorDate: Mon Jan 27 14:13:04 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Mon Jan 27 14:13:04 2020 +0000

    Merge pull request #19763 from fdupont-redhat/v2v_fix_playbook_invocation

    [V2V] Fix playbook invocation

    (cherry picked from commit af74a4294dfc117b160d6371a6226089152603ed)

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

 app/models/infra_conversion_job.rb | 9 +-
 spec/models/infra_conversion_job_spec.rb | 12 +-
 2 files changed, 10 insertions(+), 11 deletions(-)


https://github.com/ManageIQ/manageiq/commit/2446ff5df2c5600ddad5492ab504d83d0ff2e200
commit 2446ff5df2c5600ddad5492ab504d83d0ff2e200
Author:     Adam Grare <agrare>
AuthorDate: Tue Jan 28 18:08:51 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Tue Jan 28 18:08:51 2020 +0000

    Merge pull request #19773 from fdupont-redhat/v2v_fix_cancellation

    Fix cancellation process

    (cherry picked from commit daa659f779c886ca6367261a85e37050510c07a5)

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

 app/models/infra_conversion_job.rb | 34 +-
 spec/models/infra_conversion_job_spec.rb | 2 +-
 2 files changed, 20 insertions(+), 16 deletions(-)


https://github.com/ManageIQ/manageiq/commit/4e4dc71f6152c0aeda3bc720205184626a0d93bc
commit 4e4dc71f6152c0aeda3bc720205184626a0d93bc
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Thu Jan 30 17:50:49 2020 +0000
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Jan 30 17:50:49 2020 +0000

    Merge pull request #19782 from fdupont-redhat/v2v_allow_failure_to_get_conversion_state

    [V2V] Allow get_conversion_state to fail

    (cherry picked from commit f9bd524c4cafa0212b369c00627b84121c1ff554)

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

 app/models/service_template_transformation_plan_task.rb | 6 +-
 spec/models/service_template_transformation_plan_task_spec.rb | 18 +-
 2 files changed, 21 insertions(+), 3 deletions(-)


https://github.com/ManageIQ/manageiq/commit/078d2a22dd7e4483f0f0e502199ae1a73f43b91f
commit 078d2a22dd7e4483f0f0e502199ae1a73f43b91f
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Thu Jan 30 18:30:48 2020 +0000
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Jan 30 18:30:48 2020 +0000

    Merge pull request #19783 from fdupont-redhat/v2v_fix_disk_percent_on_cancellation

    [V2V] Do not update disk percentage on cancellation

    (cherry picked from commit 505d8d65b8333b5a19301b0bb7de54da53212c5d)

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

 app/models/service_template_transformation_plan_task.rb | 3 +-
 spec/models/service_template_transformation_plan_task_spec.rb | 87 +-
 2 files changed, 63 insertions(+), 27 deletions(-)

Comment 25 Md Nadeem 2020-03-05 11:56:50 UTC
Verified in CFME version 5.11.4.1


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