Bug 1768527

Summary: Port IMS Workflow - Post-migration playbook
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED CURRENTRELEASE QA Contact: Nandini Chandra <nachandr>
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+
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: 1748121 Environment:
Last Closed: 2020-03-17 13:24:05 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: 1748121    
Bug Blocks:    

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

https://github.com/ManageIQ/manageiq/commit/39f210af9cf811179c74992f7d9b7d0de6310929
commit 39f210af9cf811179c74992f7d9b7d0de6310929
Author:     Adam Grare <agrare>
AuthorDate: Wed Sep 11 08:43:40 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Wed Sep 11 08:43:40 2019 -0400

    Merge pull request #19242 from fdupont-redhat/v2v_state_machine_post_migration_ansible_playbook

    [V2V] Add transition for powering_on to running_migration_playbook in InfraConversionJob

    (cherry picked from commit 97613cff9fb79ca39f9e6792aaee3c8d3727138d)

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

 app/models/infra_conversion_job.rb | 31 +-
 spec/models/infra_conversion_job_spec.rb | 203 +-
 2 files changed, 167 insertions(+), 67 deletions(-)

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

https://github.com/ManageIQ/manageiq-content/commit/815e036022f76f9ab7adfb1b6bf3128f4843bdf8
commit 815e036022f76f9ab7adfb1b6bf3128f4843bdf8
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Sep 11 09:50:22 2019 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Wed Sep 11 09:50:22 2019 -0400

    Merge pull request #576 from fdupont-redhat/v2v_state_machine_post_migration_ansible_playbook

    [V2V] Remove Ansible Playbook content

    (cherry picked from commit 21ab4fcda2182d67b50285753cd11db0718f579c)

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

 content/automate/ManageIQ/Transformation/Ansible.class/__class__.yaml | 33 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/checkplaybookasaservice.rb | 50 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/checkplaybookasaservice.yaml | 33 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice.rb | 57 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice.yaml | 35 -
 content/automate/ManageIQ/Transformation/Ansible.class/_missing.yaml | 12 -
 content/automate/ManageIQ/Transformation/StateMachines/Ansible.class/__class__.yaml | 133 -
 content/automate/ManageIQ/Transformation/StateMachines/Ansible.class/transformationplaybook.yaml | 28 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/posttransform.yaml | 8 -
 spec/content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice_spec.rb | 142 -
 10 files changed, 531 deletions(-)

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

https://github.com/ManageIQ/manageiq-content/commit/4e43e40c0759c67d47a027a9a943b39b91b367ac
commit 4e43e40c0759c67d47a027a9a943b39b91b367ac
Author:     Satoe Imaishi <simaishi>
AuthorDate: Tue Dec  3 11:11:16 2019 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Dec  3 11:11:16 2019 -0500

    Revert "Merge pull request #576 from fdupont-redhat/v2v_state_machine_post_migration_ansible_playbook"

    This reverts commit 815e036022f76f9ab7adfb1b6bf3128f4843bdf8.

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

 content/automate/ManageIQ/Transformation/Ansible.class/__class__.yaml | 33 +
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/checkplaybookasaservice.rb | 50 +
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/checkplaybookasaservice.yaml | 33 +
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice.rb | 57 +
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice.yaml | 35 +
 content/automate/ManageIQ/Transformation/Ansible.class/_missing.yaml | 12 +
 content/automate/ManageIQ/Transformation/StateMachines/Ansible.class/__class__.yaml | 133 +
 content/automate/ManageIQ/Transformation/StateMachines/Ansible.class/transformationplaybook.yaml | 28 +
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/posttransform.yaml | 8 +
 spec/content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice_spec.rb | 142 +
 10 files changed, 531 insertions(+)

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

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

    Revert "Merge pull request #19242 from fdupont-redhat/v2v_state_machine_post_migration_ansible_playbook"

    This reverts commit 39f210af9cf811179c74992f7d9b7d0de6310929.

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

 app/models/infra_conversion_job.rb | 31 +-
 spec/models/infra_conversion_job_spec.rb | 203 +-
 2 files changed, 67 insertions(+), 167 deletions(-)

Comment 6 Shveta 2020-01-21 17:55:46 UTC
Not working in  master.20200118225846_b8aaf77

Please check the appliance https://10.8.196.184 
for ansible pre-migration playbook .
I created a plan and the plan kept showing 'Running premigration playbook: Cancel requested'.
Not able to download the logs.

Ansible role is enabled and repository is added .
Pre and post migration service catalogs are also created.

Comment 7 Shveta 2020-01-24 05:37:44 UTC
Not working in Build : master.20200122225016_cb3eed5

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

https://github.com/ManageIQ/manageiq/commit/38d5fae9ac1822046e535c9550c53e08ab971e09
commit 38d5fae9ac1822046e535c9550c53e08ab971e09
Author:     Adam Grare <agrare>
AuthorDate: Wed Sep 11 12:43:40 2019 +0000
Commit:     Adam Grare <agrare>
CommitDate: Wed Sep 11 12:43:40 2019 +0000

    Merge pull request #19242 from fdupont-redhat/v2v_state_machine_post_migration_ansible_playbook

    [V2V] Add transition for powering_on to running_migration_playbook in InfraConversionJob

    (cherry picked from commit 97613cff9fb79ca39f9e6792aaee3c8d3727138d)

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

 app/models/infra_conversion_job.rb | 31 +-
 spec/models/infra_conversion_job_spec.rb | 203 +-
 2 files changed, 167 insertions(+), 67 deletions(-)

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

https://github.com/ManageIQ/manageiq-content/commit/c813798329b4db9e3175819829e8c37367d25a56
commit c813798329b4db9e3175819829e8c37367d25a56
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Sep 11 13:50:22 2019 +0000
Commit:     Greg McCullough <gmccullo>
CommitDate: Wed Sep 11 13:50:22 2019 +0000

    Merge pull request #576 from fdupont-redhat/v2v_state_machine_post_migration_ansible_playbook

    [V2V] Remove Ansible Playbook content

    (cherry picked from commit 21ab4fcda2182d67b50285753cd11db0718f579c)

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

 content/automate/ManageIQ/Transformation/Ansible.class/__class__.yaml | 33 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/checkplaybookasaservice.rb | 50 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/checkplaybookasaservice.yaml | 33 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice.rb | 57 -
 content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice.yaml | 35 -
 content/automate/ManageIQ/Transformation/Ansible.class/_missing.yaml | 12 -
 content/automate/ManageIQ/Transformation/StateMachines/Ansible.class/__class__.yaml | 133 -
 content/automate/ManageIQ/Transformation/StateMachines/Ansible.class/transformationplaybook.yaml | 28 -
 content/automate/ManageIQ/Transformation/StateMachines/VMTransformation.class/posttransform.yaml | 8 -
 spec/content/automate/ManageIQ/Transformation/Ansible.class/__methods__/launchplaybookasaservice_spec.rb | 142 -
 10 files changed, 531 deletions(-)

Comment 10 Nandini Chandra 2020-03-06 05:47:38 UTC
Verified in 5.11.4.1