Bug 1768528 - Port IMS Workflow - Cancellation states
Summary: Port IMS Workflow - Cancellation states
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
medium
medium
Target Milestone: GA
: 5.11.4
Assignee: Fabien Dupont
QA Contact: Md Nadeem
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1751350
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-04 16:23 UTC by Satoe Imaishi
Modified: 2020-03-17 13:24 UTC (History)
2 users (show)

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


Attachments (Terms of Use)
cancel wont work (15.16 KB, image/png)
2020-01-21 08:19 UTC, Md Nadeem
no flags Details

Comment 2 CFME Bot 2019-11-04 18:00:58 UTC
New commits detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/6c19e86be478d9f6ab1b7c210c3a5568bcd27836
commit 6c19e86be478d9f6ab1b7c210c3a5568bcd27836
Author:     Adam Grare <agrare>
AuthorDate: Thu Sep 12 13:36:15 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Thu Sep 12 13:36:15 2019 -0400

    Merge pull request #19288 from fdupont-redhat/v2v_state_machine_add_cancelation

    [V2V] Add migration task cancellation steps to state machine

    (cherry picked from commit eb84327711ca04d11063a032188d9f3946b66fed)

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

 app/models/infra_conversion_job.rb | 101 +-
 app/models/service_template_transformation_plan_task.rb | 14 +-
 spec/models/infra_conversion_job_spec.rb | 187 +-
 spec/models/service_template_transformation_plan_task_spec.rb | 2 +-
 4 files changed, 253 insertions(+), 51 deletions(-)

Comment 3 CFME Bot 2019-11-04 18:02:02 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/17ef960a6fc026336b1521c4bbaeb02614b9cec4
commit 17ef960a6fc026336b1521c4bbaeb02614b9cec4
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Sep 17 11:21:58 2019 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Tue Sep 17 11:21:58 2019 -0400

    Merge pull request #579 from fdupont-redhat/v2v_state_machine_remove_cancellation

    [V2V] Remove SetMigrated state. Cleanup state machine.

    (cherry picked from commit b942a2d4e6bb1a9ca9034ac4342821c13e0bb678)

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

 content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v.rb | 39 -
 content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v.yaml | 15 -
 content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated.rb | 23 -
 content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated.yaml | 15 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/posttransform.yaml | 18 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformation.yaml | 19 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformationcleanup.yaml | 37 -
 spec/content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v_spec.rb | 109 -
 spec/content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated_spec.rb | 50 -
 9 files changed, 325 deletions(-)

Comment 4 CFME Bot 2019-12-03 16:23:16 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/66ec97e8bdb8adff7b9e8340df2564df14491997
commit 66ec97e8bdb8adff7b9e8340df2564df14491997
Author:     Satoe Imaishi <simaishi>
AuthorDate: Tue Dec  3 11:10:55 2019 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Dec  3 11:10:55 2019 -0500

    Revert "Merge pull request #579 from fdupont-redhat/v2v_state_machine_remove_cancellation"

    This reverts commit 17ef960a6fc026336b1521c4bbaeb02614b9cec4.

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

 content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v.rb | 39 +
 content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v.yaml | 15 +
 content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated.rb | 23 +
 content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated.yaml | 15 +
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/posttransform.yaml | 18 +
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformation.yaml | 19 +
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformationcleanup.yaml | 37 +
 spec/content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v_spec.rb | 109 +
 spec/content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated_spec.rb | 50 +
 9 files changed, 325 insertions(+)

Comment 5 CFME Bot 2019-12-03 18:10:46 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/21ff890de5e7114e80a2ca3a04c74876be179f50
commit 21ff890de5e7114e80a2ca3a04c74876be179f50
Author:     Satoe Imaishi <simaishi>
AuthorDate: Tue Dec  3 12:43:35 2019 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Dec  3 12:43:35 2019 -0500

    Revert "Merge pull request #19288 from fdupont-redhat/v2v_state_machine_add_cancelation"

    This reverts commit 6c19e86be478d9f6ab1b7c210c3a5568bcd27836.

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

 app/models/infra_conversion_job.rb | 101 +-
 app/models/service_template_transformation_plan_task.rb | 14 +-
 spec/models/infra_conversion_job_spec.rb | 187 +-
 spec/models/service_template_transformation_plan_task_spec.rb | 2 +-
 4 files changed, 51 insertions(+), 253 deletions(-)

Comment 7 Md Nadeem 2020-01-21 08:19:02 UTC
Created attachment 1654145 [details]
cancel wont work

Even after the cancellation , the migration keep going in an infinite loop as you can see even after 22+ minutes its keep going.

Comment 8 Shveta 2020-01-24 05:38:38 UTC
Not working in Build : master.20200122225016_cb3eed5

Comment 9 CFME Bot 2020-02-21 19:35:48 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/084cfd0fc81cba4beb9a3a2d44e470a3dc5f03d2
commit 084cfd0fc81cba4beb9a3a2d44e470a3dc5f03d2
Author:     Adam Grare <agrare>
AuthorDate: Thu Sep 12 17:36:15 2019 +0000
Commit:     Adam Grare <agrare>
CommitDate: Thu Sep 12 17:36:15 2019 +0000

    Merge pull request #19288 from fdupont-redhat/v2v_state_machine_add_cancelation

    [V2V] Add migration task cancellation steps to state machine

    (cherry picked from commit eb84327711ca04d11063a032188d9f3946b66fed)

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

 app/models/infra_conversion_job.rb | 101 +-
 app/models/service_template_transformation_plan_task.rb | 14 +-
 spec/models/infra_conversion_job_spec.rb | 187 +-
 spec/models/service_template_transformation_plan_task_spec.rb | 2 +-
 4 files changed, 253 insertions(+), 51 deletions(-)

Comment 10 CFME Bot 2020-02-21 19:56:23 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/9e666485f5b3aa50b085be9e67aa7fcdedc438b7
commit 9e666485f5b3aa50b085be9e67aa7fcdedc438b7
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Sep 17 15:21:58 2019 +0000
Commit:     Greg McCullough <gmccullo>
CommitDate: Tue Sep 17 15:21:58 2019 +0000

    Merge pull request #579 from fdupont-redhat/v2v_state_machine_remove_cancellation

    [V2V] Remove SetMigrated state. Cleanup state machine.

    (cherry picked from commit b942a2d4e6bb1a9ca9034ac4342821c13e0bb678)

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

 content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v.rb | 39 -
 content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v.yaml | 15 -
 content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated.rb | 23 -
 content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated.yaml | 15 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/posttransform.yaml | 18 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformation.yaml | 19 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformationcleanup.yaml | 37 -
 spec/content/automate/ManageIQ/Transformation/Common.class/__methods__/killvirtv2v_spec.rb | 109 -
 spec/content/automate/ManageIQ/Transformation/Common.class/__methods__/setmigrated_spec.rb | 50 -
 9 files changed, 325 deletions(-)

Comment 11 Md Nadeem 2020-03-05 11:55:06 UTC
Verified in CFME version 5.11.4.1

cancellation works when the disk is in migration state and container was running on UCI conversion host.


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