Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1946866

Summary: [RFE] Provide an option to cancel a migration plan
Product: Migration Toolkit for Virtualization Reporter: Nandini Chandra <nachandr>
Component: GeneralAssignee: vconzola
Status: CLOSED NOTABUG QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: medium    
Version: 2.0.0CC: mturley, vconzola
Target Milestone: ---Flags: vconzola: needinfo-
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-11 17:24:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nandini Chandra 2021-04-07 04:48:43 UTC
Description of problem:
-----------------------
MTV currently doesn't provide an option to cancel a migration plan, but only lets users cancel migration of individual VMs in a plan.

If a plan has several VMs, it would be cumbersome to select individual VMs and cancel the migration of the selected VMs. So, it would be nice if MTV provided an option to cancel migration plans.


Version-Release number of selected component (if applicable):
-------------------------------------------------------------


How reproducible:
-----------------


Steps to Reproduce:
--------------------
1.
2.
3.


Actual results:
--------------


Expected results:
----------------


Additional info:
----------------

Comment 1 Mike Turley 2021-04-07 16:40:40 UTC
@nachandr I believe we considered this but decided it would be redundant with the individual VM cancel action. You can use the checkbox at the top of the column to select all VMs easily. Maybe this isn't obvious enough, though. What do you think @vconzola ?

Comment 2 Nandini Chandra 2021-04-07 20:04:47 UTC
Is there already a checkbox at the top of the column to select all VMs ? If there is, that's an acceptable solution.

We still don't have a working OCP cluster. I tried checking on http://konveyor-virt-ui-preview.surge.sh/ , but I don't see a checkbox to select all VMs.

I'll update this BZ once I've verified this on a working OCP/MTV set up.

Comment 3 vconzola 2021-04-07 20:15:02 UTC
@nachandr Yes, we have a select all checkbox at the top of the column. Mike and I have also talked about adding the ability to give the user more control over what VMs are migrated, restarted, and canceled in a post-GA release. So stay tuned.

Comment 4 Mike Turley 2021-05-11 16:25:58 UTC
Vince, I'm assuming we probably want to push this to 2.1.0? It would be easy to add a kebab action to cancel a whole plan from the plans table though, if you want me to throw that in.

Comment 5 Mike Turley 2021-05-11 16:26:18 UTC
Push to 2.2.0 I mean, sorry

Comment 6 vconzola 2021-05-11 17:20:43 UTC
@mturley It sounds like having a select all checkbox at the top of the selection column is sufficient for this this BZ and it can be closed. If we decide to add a cancel action at the plan level that should be part of a separate issue or RFE.

Comment 7 Mike Turley 2021-05-11 17:24:17 UTC
Ok, sounds good.