+++ This bug was initially created as a clone of Bug #1801294 +++ Description of problem: In 4.5 we are deprecating the OperatorSource and CatalogSourceConfig APIs. For default OperatorSources, this is fine because we will migrate any existing OLM workloads onto new CatalogSources that are index image based. However, for non default custom OperatorSources and for all CatalogSourceConfigs we will need to alert users that these resources will need to be migrated manually after they are deprecated. Version-Release number of selected component (if applicable): How reproducible: Always. Steps to Reproduce: 1. Create a custom OperatorSource or CatalogSourceConfig Actual results: No alert is created. Expected results: See an alert created that lets an administrator know these APIs are being deprecated.
Removed depend on bug 1801294 since it was verified.
Hi below the step: [scolange@scolange BUG-1732914]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.4.0-0.nightly-2020-03-09-081304 True False 83m Cluster version is 4.4.0-0.nightly-2020-03-09-081304 1. Create catalogSource [scolange@scolange .kube]$ cat catalogsourceconfig.yaml apiVersion: operators.coreos.com/v1 kind: CatalogSourceConfig metadata: name: opsrctest namespace: openshift-marketplace spec: source: community-operators packages: etcd targetNamespace: openshift-marketplace 2. Veriffy the pods create [scolange@scolange .kube]$ oc get pods NAME READY STATUS RESTARTS AGE certified-operators-7b9f5f4767-r2fbq 1/1 Running 1 135m community-operators-c78f786f8-str24 1/1 Running 0 14m marketplace-operator-f84f67d6c-2xxd5 1/1 Running 0 135m opsrctest-764f9f5ffd-jnwh4 1/1 Running 0 62s redhat-marketplace-fcf688d4c-5kbdk 1/1 Running 1 135m redhat-operators-79f7d576c6-7rfcc 1/1 Running 0 117m test-operator-xcjv7 1/1 Running 0 35m 3. Verify the log of pod [scolange@scolange .kube]$ oc logs -f marketplace-operator-f84f67d6c-2xxd5 -n openshift-marketplace|grep DEPRECATION time="2020-03-09T11:44:10Z" level=warning msg="DEPRECATION NOTICE: The OperatorSource API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" time="2020-03-09T11:44:10Z" level=warning msg="DEPRECATION NOTICE: The OperatorSource API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" time="2020-03-09T11:44:10Z" level=warning msg="DEPRECATION NOTICE: The OperatorSource API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" time="2020-03-09T11:44:13Z" level=warning msg="DEPRECATION NOTICE: The OperatorSource API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" time="2020-03-09T11:50:10Z" level=warning msg="DEPRECATION NOTICE: The OperatorSource API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" time="2020-03-09T13:45:11Z" level=warning msg="DEPRECATION NOTICE: The CatalogSourceConfig API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" time="2020-03-09T13:45:11Z" level=warning msg="DEPRECATION NOTICE: The CatalogSourceConfig API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" time="2020-03-09T13:45:11Z" level=warning msg="DEPRECATION NOTICE: The CatalogSourceConfig API is deprecated in future versions. Please visit this link for futher details: https://docs.openshift.com/container-platform/4.4/release_notes/ocp-4-4-release-notes.html#ocp-4-4-marketplace-apis-deprecated" LGMT!
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, 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:0581