Bug 1861908 - Plan validation GVK warnings should not show kinds that are ignored via exclude_resources
Summary: Plan validation GVK warnings should not show kinds that are ignored via exclu...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.5.0
Assignee: John Matthews
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On:
Blocks: 1861904
TreeView+ depends on / blocked
 
Reported: 2020-07-29 21:10 UTC by John Matthews
Modified: 2022-08-26 13:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1861904
Environment:
Last Closed: 2022-08-26 13:53:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Matthews 2020-07-29 21:10:17 UTC
+++ This bug was initially created as a clone of Bug #1861904 +++

Description of problem:
The GVK warnings should not include warnings that the controller has been configured to ignore via exclude_resources, which is set on the controller by the operator as an environment variable. This could potentially lead to user confusion.

For example, by default, the CAM 1.2.4 operator excludes all kinds that are part of the service catalog's group. Often the GVK warning will trigger for service catalog objects, but as of 1.2.4, they're being ignored anyway, so we shouldn't warn.

Version-Release number of selected component (if applicable):
CAM 1.2.4

How reproducible:
Every time

Steps to Reproduce:
1. Use a source cluster that would trigger a GVK warning due to service catalog resources
2. Deploy CAM with 1.2.4 operator, this will have the service catalog resources as part of exclude_resources

Actual results:
catalog GVK warning will be written to the CR

Expected results:
catalog GVK warning should not be present, because the controller is configured to ignore them.

Comment 2 John Matthews 2020-09-16 15:29:53 UTC
The work for this was address in a prior z-stream tracked in:
https://bugzilla.redhat.com/show_bug.cgi?id=1861904

Comment 3 Sergio 2020-09-18 12:29:41 UTC
Verified using MTC 1.3

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

We deployed an application in 3.11 using the service catalog. Then we created a migration plan in order to migrate to 4.5. No warning was displayed.

Moved to VERIFIED status.


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