Created attachment 1861688 [details] Screenshot Description of the problem: When we execute a migration from the migration plan and it fails due to some reason, or it gets succeeded but with some warning, the cancel button does not disappear from the Migrations page and it is just disabled. Severity: Low Version-Release number of selected component (if applicable): SOURCE CLUSTER: GCP 4.6 MTC 1.7.0 TARGET CLUSTER: GCP 4.9 MTC 1.7.0 Steps to Reproduce: 1. Create a project in source cluster $ oc new-project test 2. Deploy an application in source cluster $ oc new-app cakephp-mysql-persistent 3. Break connection with registry oc patch configs.imageregistry.operator.openshift.io cluster -p '{"spec":{"managementState": "Unmanaged"} }' --type='merge'; Oc -n openshift-image-registry patch service image-registry -p '{"spec":{"selector": {"docker-registry": "defaultX"}} }' --type='merge'; 3. Create a migplan from UI using the project 4. Run Cutover migration. 5. After it fails, go to the Migrations page for that migplan. Actual Result: Cancel button is not yet disappeared from there and just got disabled. Expected Result: Cancel button should disappear from there as it happens in other successful or cancelled migrations.
Can you confirm this always happens or only with an underlying platform of GCP?
Not specific to GCP. Always happen on other platforms also.
What happens if you re-cancel the migration? I need to determine if this is a blocking issue.
The button gets disabled as shown in the screenshot attached, So i cannot re-cancel it after its failed/succeeded with warnings. Just the issue is that it should not even be visible. However, if i trigger the migration and cancel it normally, the cancel button gets disappeared.
Verified with MTC 1.7.2 metadata_nvr: openshift-migration-operator-metadata-container-v1.7.2-11 Cancel button is not visible in UI. Moving this to verified status.
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.7.2 security and bug fix 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-2022:5483