Bug 1999765 - "Migrate" button on "State migration" dialog is enabled when no PVCs are selected
Summary: "Migrate" button on "State migration" dialog is enabled when no PVCs are sele...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.6.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 1.6.0
Assignee: Ian
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-31 17:32 UTC by Sergio
Modified: 2021-09-29 14:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-29 14:35:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github konveyor mig-ui pull 1299 0 None None None 2021-09-01 13:52:01 UTC
Red Hat Product Errata RHSA-2021:3694 0 None None None 2021-09-29 14:35:46 UTC

Description Sergio 2021-08-31 17:32:02 UTC
Description of problem:
When we try to run a "state" migration and we uncheck all PVCs (so that no PVC should be actually migrated) the UI should disable the "Migrate" button.

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

How reproducible:
Always

Steps to Reproduce:
1. Deploy an application with a PVC in the source cluster

2. Create a migration plan for this application

3. Click on the kebab menu and on "State" migration.

4. In the PVCs screen uncheck all PVCs. Do not click on "select all" to uncheck them, uncheck them one by one.

Actual results:
The "selected" counter in the PVC screen is not decremented.

The "Migrate" button can be clicked, the migration plan will be reconfigured to skip all PVCs and a migration will be executed. This migration will report a warning saying that we cannot execute migrations without any PVC selected.


Expected results:
When all PVCs are unchecked, the UI should disable the "Migrate" button.

Additional info:

Comment 6 errata-xmlrpc 2021-09-29 14:35:38 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 (Moderate: Migration Toolkit for Containers (MTC) 1.6.0 security & bugfix update), 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/RHSA-2021:3694


Note You need to log in before you can comment on or make changes to this bug.