Bug 1907784

Summary: warning message is showing a wrong dvm full name
Product: Migration Toolkit for Containers Reporter: Xin jiang <xjiang>
Component: GeneralAssignee: Jaydip Gabani <jgabani>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: medium Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 1.4.0CC: chezhang, ernelson, rjohnson, sregidor, whu
Target Milestone: ---   
Target Release: 1.4.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-02-11 12:54:50 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:
Attachments:
Description Flags
warning message none

Description Xin jiang 2020-12-15 08:44:00 UTC
Description of problem:
It shows up a warning message in the Migration details page when executing Stage operation. see the screenshot. 

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

Images:
registry.redhat.io/rhmtc/openshift-migration-rhel7-operator@sha256:61de8be7e30fb15b278aeececb0de8ac5ecaeb221a312ab1140e6c925ab0e217

registry.redhat.io/rhmtc/openshift-migration-ui-rhel8@sha256:be417d9a34e4f046bbc9fa4150e6355a6ea4ff61a3c6ec8d2bf3597a76fbacd0
How reproducible:


Steps to Reproduce:
1. Create a migration plan
2. Execute Stage

Actual results:
It shows up a warning message in the Migration details page as below. 
This migration has following warning conditions:
DirectImageMigration (dvm): openshift-migration/154dcc20-3ea8-11eb-8cb7-851a569a3012-8xhgk failed. See in dvm status.Errors


Expected results:
DirectImageMigration should be changed to DirectVolumeMigration as it failed at DirectVolumeMigration

Additional info:

Comment 1 Xin jiang 2020-12-15 08:45:44 UTC
Created attachment 1739279 [details]
warning message

Comment 2 Jaydip Gabani 2020-12-16 06:20:56 UTC
The PR https://github.com/konveyor/mig-controller/pull/862 resolves this bug

Comment 6 Sergio 2021-01-11 12:22:23 UTC
Verified using MTC 1.4.0

openshift-migration-rhel7-operator@sha256:60a0bdc7fca0d3d597efae0c242f7dc25da45c072b33198c3eb7fa425a604472
    - name: MIG_CONTROLLER_REPO
      value: openshift-migration-controller-rhel8@sha256
    - name: MIG_CONTROLLER_TAG
      value: 6f53fa6c8ea2648736ced2d38ebb2ead46d3975f71d7efe4bd24e6fec223aaee


The warning now has the right type DirectVolumeMigration in the message

    - category: Warn
      durable: true
      lastTransitionTime: "2021-01-11T12:19:21Z"
      message: 'DirectVolumeMigration (dvm): openshift-migration/ea0f4ba0-5406-11eb-a164-2556f31a826a-6gmcl failed. See in dvm status.Errors'
      status: "True"
      type: DirectVolumeMigrationFailed


Moved to VERIFIED status.

Comment 8 errata-xmlrpc 2021-02-11 12:54:50 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