Bug 1859489 - 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.4.z
Assignee: Erik Nelson
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On: 1859486
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-22 09:29 UTC by Sergio
Modified: 2020-08-05 10:51 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1859486
Environment:
Last Closed: 2020-08-05 10:51:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3320 0 None None None 2020-08-05 10:51:37 UTC

Description Sergio 2020-07-22 09:29:57 UTC
+++ This bug was initially created as a clone of Bug #1859486 +++

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 Erik Nelson 2020-07-22 13:22:18 UTC
https://github.com/konveyor/mig-operator/pull/387

Comment 5 Sergio 2020-07-29 13:54:12 UTC
Verified in CAM 1.2.4 stage.
SOURCE: OCP 3.11 aws
TARGET: OCP 4.5 aws
Replication Repository: AWS

image: openshift-migration-rhel7-operator@sha256:a8d31fdb96e9d5e3fe42e928d0862141b7e39780e52121a995aeeb34270dd894

The servicecatalog is included in the list and the resource is ignored

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


A warning is displayed though, saying that this resource is not compatible with the destication cluster.

Comment 7 errata-xmlrpc 2020-08-05 10:51:25 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 (Cluster Application Migration (CAM) Tool Image Release Advisory 1.2.4), 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:3320


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