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

Bug 1859486

Summary: Add serviceinstances to the default ignore list
Product: OpenShift Container Platform Reporter: Sergio <sregidor>
Component: Migration ToolingAssignee: Erik Nelson <ernelson>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: chezhang, mberube, rjohnson, rpattath, whu, xjiang
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:
: 1859489 (view as bug list) Environment:
Last Closed: 2020-09-30 18:42:32 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:
Bug Depends On:    
Bug Blocks: 1859489    

Description Sergio 2020-07-22 09:25:38 UTC
Description of problem:
The list with the resources ignored by CAM by default should include Serviceinstances resource.



Version-Release number of selected component (if applicable):
CAM 1.2.4
SOURCE CLUSTER: 3.11
TARGET CLUSTER: 4.4


How reproducible:
Always

Steps to Reproduce:
1. Create a new project in 3.11
oc new-project bztest

2. Enter in the OCP 3.11 web console and enter in the new 'bztest' project
3. Click on "Catalog"
4. Deploy any application from the catalog, from instance django+postgresSQL persistent
5. Migrate the application

Actual results:
Apart from the templateinstance resource, a serviceinstance resource is created and we have this warning in the migration

We have this warning

    incompatibleNamespaces:
    - gvks:
      - group: servicecatalog.k8s.io
        kind: serviceinstances
        version: v1beta1


Expected results:
The service instance resource should be ignored too.

Additional info:

Comment 1 John Matthews 2020-07-27 22:05:45 UTC
Fixed in 
https://github.com/konveyor/mig-operator/pull/387

Comment 4 Sergio 2020-09-18 12:39:48 UTC
Verified using MTC 1.3

openshift-migration-rhel7-operator@sha256:233af9517407e792bbb34c58558346f2424b8b0ab54be6f12f9f97513e391a6a



This is the default excluded resources list that we found in the migplan resource:

    excludedResources:
    - imagetags
    - templateinstances
    - clusterserviceversions
    - packagemanifests
    - subscriptions
    - servicebrokers
    - servicebindings
    - serviceclasses
    - serviceinstances   <------ INCLUDED
    - serviceplans
    - operatorgroups


Moved to VERIFIED status:

Comment 8 errata-xmlrpc 2020-09-30 18:42:32 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