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

Bug 1877832

Summary: Stage migrations shows wrong text in warnings
Product: OpenShift Container Platform Reporter: Sergio <sregidor>
Component: Migration ToolingAssignee: Alay Patel <alpatel>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.5CC: alpatel, mberube, rjohnson
Target Milestone: ---   
Target Release: 4.5.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: 2020-09-30 18:42:39 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 Sergio 2020-09-10 14:24:11 UTC
Description of problem:
When a namespace without pvcs and without imagestreams is migrated, a warning is displayed for the migration so that the user knows that nothing will be done.

In 1.3 Imagestreams are migrated too in stage migrations, so the warning should not mention only PVs.

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

How reproducible:
Always

Steps to Reproduce:
1. Create an empty project in source cluster
 oc new-project empty-project
2. Create a migration plan to migrate this project
3. Execute a "Stage" migration.

Actual results:
A warning is displayed for this migration.
    - category: Warn
      durable: true
      lastTransitionTime: "2020-09-10T13:12:21Z"
      message: Stage migration was run without any PVs. No Velero operations were
        initiated.
      status: "True"
      type: StageNoOp



Expected results:
  In 1.3 we perform Stage operations when there are Imagestreams too, not only with PVCs. The warning should not mention only PVs.

This is the expected warning text:

 "Stage migration was run without any PVs or ImageStreams in source cluster. No Velero operations were initiated."

Additional info:

Comment 5 Xin jiang 2020-09-23 04:50:36 UTC
verified with MTC 1.3.0

  status:
    conditions:
    - category: Warn
      durable: true
      lastTransitionTime: "2020-09-23T04:49:33Z"
      message: Stage migration was run without any PVs or ImageStreams in source cluster. No Velero operations were initiated.
      status: "True"
      type: StageNoOp

Comment 9 errata-xmlrpc 2020-09-30 18:42:39 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.3.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:4148