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(-)
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(-)
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(+)
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(-)
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.
Not working in Build : master.20200122225016_cb3eed5
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(-)
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(-)
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.