Bug 1767545

Summary: Port IMS Workflow - Shutdown VM
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED CURRENTRELEASE QA Contact: Md Nadeem <mnadeem>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bthurber, mshriver
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.4Flags: pm-rhel: cfme-5.11.z+
simaishi: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1746365 Environment:
Last Closed: 2020-03-17 13:24:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: V2V Target Upstream Version:
Embargoed:
Bug Depends On: 1746365    
Bug Blocks:    

Comment 2 CFME Bot 2019-10-31 21:35:59 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/25e4cc99b9df44573ae29b69667188fc71bdee50
commit 25e4cc99b9df44573ae29b69667188fc71bdee50
Author:     Adam Grare <agrare>
AuthorDate: Thu Aug 29 08:09:50 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Thu Aug 29 08:09:50 2019 -0400

    Merge pull request #19216 from fdupont-redhat/v2v_state_machine_shutdown

    [V2V] Add shutting_down_vm state to InfraConversionJob

    (cherry picked from commit c799da30fce423163215d7dafd97c5ff66c154cf)

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

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

Comment 3 CFME Bot 2019-10-31 21:51:43 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/1f4748a522a81d77ceb4d9800e85c81e3efb3b5e
commit 1f4748a522a81d77ceb4d9800e85c81e3efb3b5e
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Sep  2 12:17:09 2019 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Mon Sep  2 12:17:09 2019 -0400

    Merge pull request #568 from fdupont-redhat/v2v_state_machine_shutdown

    [V2V] Remove PowerOff state

    (cherry picked from commit 0f27ca73bc188f5390edaf7047c992cc4417f3b5)

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

 content/automate/ManageIQ/Transformation/Infrastructure/VM/Common.class/__methods__/poweroff.rb | 35 -
 content/automate/ManageIQ/Transformation/Infrastructure/VM/Common.class/__methods__/poweroff.yaml | 15 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/pretransform.yaml | 19 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformation.yaml | 8 -
 4 files changed, 77 deletions(-)

Comment 4 Shveta 2019-11-21 23:24:12 UTC
Hi , 
Please provide the verification steps for this.
Thanks, 
Shveta

Comment 5 Fabien Dupont 2019-11-22 07:24:37 UTC
@shveta, you should only test non regression. We backported some code from Automate to the model, so it shouldn't change the behavior.
It is the same for all "Port IMS Workflow" BZs.

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

https://github.com/ManageIQ/manageiq-content/commit/913b4fe437777abe6f117c960b9f3f922a3b4b2e
commit 913b4fe437777abe6f117c960b9f3f922a3b4b2e
Author:     Satoe Imaishi <simaishi>
AuthorDate: Tue Dec  3 11:13:01 2019 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Dec  3 11:13:01 2019 -0500

    Revert "Merge pull request #568 from fdupont-redhat/v2v_state_machine_shutdown"

    This reverts commit 1f4748a522a81d77ceb4d9800e85c81e3efb3b5e.

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

 content/automate/ManageIQ/Transformation/Infrastructure/VM/Common.class/__methods__/poweroff.rb | 35 +
 content/automate/ManageIQ/Transformation/Infrastructure/VM/Common.class/__methods__/poweroff.yaml | 15 +
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/pretransform.yaml | 19 +
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformation.yaml | 8 +
 4 files changed, 77 insertions(+)

Comment 7 CFME Bot 2019-12-03 18:11:02 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/326b5771bddda89fa64adaabd9ed4246097165e2
commit 326b5771bddda89fa64adaabd9ed4246097165e2
Author:     Satoe Imaishi <simaishi>
AuthorDate: Tue Dec  3 12:45:56 2019 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Dec  3 12:45:56 2019 -0500

    Revert "Merge pull request #19216 from fdupont-redhat/v2v_state_machine_shutdown"

    This reverts commit 25e4cc99b9df44573ae29b69667188fc71bdee50.

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

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

Comment 8 Shveta 2020-01-21 17:53:03 UTC
Tested on upstream master.20200118225846_b8aaf77
Cold migration works

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

https://github.com/ManageIQ/manageiq/commit/c0ae5b90f4300d0f2367da6218268de9cc91e851
commit c0ae5b90f4300d0f2367da6218268de9cc91e851
Author:     Adam Grare <agrare>
AuthorDate: Thu Aug 29 12:09:50 2019 +0000
Commit:     Adam Grare <agrare>
CommitDate: Thu Aug 29 12:09:50 2019 +0000

    Merge pull request #19216 from fdupont-redhat/v2v_state_machine_shutdown

    [V2V] Add shutting_down_vm state to InfraConversionJob

    (cherry picked from commit c799da30fce423163215d7dafd97c5ff66c154cf)

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

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

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

https://github.com/ManageIQ/manageiq-content/commit/3e9a1fdec69f4643fc99a83be35411f10db16a91
commit 3e9a1fdec69f4643fc99a83be35411f10db16a91
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Sep  2 16:17:09 2019 +0000
Commit:     Greg McCullough <gmccullo>
CommitDate: Mon Sep  2 16:17:09 2019 +0000

    Merge pull request #568 from fdupont-redhat/v2v_state_machine_shutdown

    [V2V] Remove PowerOff state

    (cherry picked from commit 0f27ca73bc188f5390edaf7047c992cc4417f3b5)

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

 content/automate/ManageIQ/Transformation/Infrastructure/VM/Common.class/__methods__/poweroff.rb | 35 -
 content/automate/ManageIQ/Transformation/Infrastructure/VM/Common.class/__methods__/poweroff.yaml | 15 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/pretransform.yaml | 19 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/transformation.yaml | 8 -
 4 files changed, 77 deletions(-)

Comment 11 Md Nadeem 2020-03-03 06:52:08 UTC
Verified in version: 5.11.4.1