Bug 1859486 - Add serviceinstances to the default ignore list
Summary: Add serviceinstances to the default ignore list
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.5.0
Assignee: Erik Nelson
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On:
Blocks: 1859489
TreeView+ depends on / blocked
 
Reported: 2020-07-22 09:25 UTC by Sergio
Modified: 2020-09-30 18:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1859489 (view as bug list)
Environment:
Last Closed: 2020-09-30 18:42:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4148 0 None None None 2020-09-30 18:42:56 UTC

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


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