Bug 1906722 - Migrations cannot be executed after rollback
Summary: Migrations cannot be executed after rollback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: General
Version: 1.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 1.4.0
Assignee: Derek Whatley
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-11 09:33 UTC by Sergio
Modified: 2021-02-11 12:55 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-11 12:54:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5329 0 None None None 2021-02-11 12:55:07 UTC

Description Sergio 2020-12-11 09:33:45 UTC
Description of problem:
When we execute a migration rollback, no further migrations can be executed using this MigPlan resource.

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

How reproducible:
Always

Steps to Reproduce:
1. Create an application

$ oc new-project bz-test 
$ oc new-app django-psql-persistent

2. Migrate the application
3. Rollback the migration

Actual results:
After the rollback the "Migrate" and the "Stage" buttons are disabled in the UI, and no further migrations can be run using this MigPlan.

Expected results:
We should be able to migrate the application again after the rollback execution.

Additional info:

Comment 1 Derek Whatley 2020-12-11 21:33:38 UTC
Fixed in:
https://github.com/konveyor/mig-controller/pull/851
https://github.com/konveyor/mig-ui/pull/1090

Waiting for UI PR review.

Comment 2 Ian 2020-12-14 17:30:11 UTC
Merged! https://github.com/konveyor/mig-ui/pull/1090

Comment 7 Xin jiang 2021-01-05 12:47:53 UTC
verified.

images:
registry.redhat.io/rhmtc/openshift-migration-controller-rhel8@sha256:5671667a75e12cd538a34c208bfb076534296cdf91f7e97ef48fc59f8ce3c172
registry.redhat.io/rhmtc/openshift-migration-ui-rhel8@sha256:6aabdf05a9b795cde3a224be3ad917d4246e17db66fba9910080eeb460aed7d8

Comment 9 errata-xmlrpc 2021-02-11 12:54:49 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 (Migration Toolkit for Containers (MTC) tool image release advisory 1.4.0), 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-2020:5329


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