When we can't find an operator's catalog source, we show the message "CatalogSource was removed" in a few places like the "Installed Operators" table. This message can be misleading, however, since it can appear during operator install and perhaps other times when no one has deleted a catalog source. We should replace this with a more general message like "CatalogSource not found."
I'm wondering whether the logic we used to get catalogSource correct?
When user create a global wide catalogsource and subscribe one operator into user namespace, the message `CatalogSource not found` is always there during installation early phase ~~ however I doubt if `CatalogSource not found` message is correct since the operators are coming from a global wide catalogsource and the catalogsource does exist
For example, I subscribe prometheusoperator.0.47.0 which is coming from CatalogSource 'Community Operators' in openshift-marketplace namespace, it will first show Unknown, then 'CatalogSource not found' message together with 'Cannot update'
$ oc get catalogsource -n openshift-marketplace
NAME DISPLAY TYPE PUBLISHER AGE
certified-operators Certified Operators grpc Red Hat 9h
community-operators Community Operators grpc Red Hat 9h
custom-console-catalogsource-yanpzhan Custom Console Testing Yanping grpc OpenShift QE yanpzhan 33m
redhat-marketplace Red Hat Marketplace grpc Red Hat 9h
redhat-operators Red Hat Operators grpc Red Hat 9h
$ oc get packagemanifest | grep prometheus
prometheus-exporter-operator Community Operators 9h
prometheus Community Operators 9h
Sam, could you help check my comment above?
Assigning back for confirmation