Bug 1720671

Summary: [v2v] Canceling migration does not stop creating volume, instance, and network port on OSP or VMs on RHV
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: V2VAssignee: Fabien Dupont <fdupont>
Status: CLOSED ERRATA QA Contact: Yadnyawalk Tale <ytale>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: urgent    
Version: 5.10.0CC: apinnick, bthurber, dberger, dmetzger, fdupont, istein, jhajyahy, smallamp, sshveta, tgolembi, ytale
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: v2v
Fixed In Version: 5.10.6.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1666799 Environment:
Last Closed: 2019-07-02 04:33:28 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: 1666799    
Bug Blocks:    

Comment 2 CFME Bot 2019-06-14 13:55:40 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/e6fc485caa85e2ddee095052dc4a90b45395f955
commit e6fc485caa85e2ddee095052dc4a90b45395f955
Author:     Adam Grare <agrare>
AuthorDate: Thu Jun 13 13:30:02 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Thu Jun 13 13:30:02 2019 -0400

    Merge pull request #18853 from fdupont-redhat/v2v_fix_kill_virtv2v

    [Fix] PID retrieval to kill virt-v2v

    (cherry picked from commit 22878500770363227c3a3263124c683e6385ea6b)

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

 app/models/service_template_transformation_plan_task.rb | 18 +-
 spec/models/service_template_transformation_plan_task_spec.rb | 9 +-
 2 files changed, 20 insertions(+), 7 deletions(-)

Comment 3 Shveta 2019-06-26 05:14:50 UTC
Tested for Rhv43 - working fine

Comment 4 Yadnyawalk Tale 2019-06-26 11:55:51 UTC
Some notable investigation -

1. Process stopped in disk migration stage itself
2. Stopped on 26% and then took that digit from backend and updated 26% in UI after cancellation which is best part
3. Instance not found when cancelled
4. Volume got properly cleaned
5. Port not found since it is canceled before this stage.

We are very happy with how it behaved for OSP. Thanks a lot for fixing this.
Tested on: 5.10.6.1.20190621202107_58f5bbc

Comment 6 errata-xmlrpc 2019-07-02 04:33:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1644