Created attachment 1788853 [details] Screenshot Currently, `status.message` for a copied CSV is always > The operator is running in openshift-operators but is managing this namespace We show `status.message` in the alert for failed CSVs, but it's not meaningful when the CSV is copied since it's always this generic message. We should change the behavior for copied CSVs to show a more meaningful message (maybe with a link to the original CSV to troubleshoot?). See attached screenshot
Wondering if we should not rather create a RFE story for this issue?
Will investigate next sprint. @spadgett, did you see @jhadvig's question in https://bugzilla.redhat.com/show_bug.cgi?id=1967658#c1?
To me, this seems like a bug. The message we're showing is not meaningful, and it should be a small change to fix.
Ya Dan, can you please verify the fix?
1. Install an operator which will failed installation into openshift-operators namespace, the CSV will be copied to other namespaces such as 'default' # oc get csv -n openshift-operators NAME DISPLAY VERSION REPLACES PHASE strimzi-cluster-operator.v0.11.0 Strimzi Kafka 0.11.0 Failed [root@preserved-qe-ui-rhel-1 operator-framework-olm]# oc get csv -n default NAME DISPLAY VERSION REPLACES PHASE strimzi-cluster-operator.v0.11.0 Strimzi Kafka 0.11.0 Failed 2. Check CSV details in 'default' project, it shows following message with a link to the original CSV "Operator failed This Operator was copied from another namespace. For the reason it failed, see strimzi-cluster-operator.v0.11.0 " Verified on 4.9.0-0.nightly-2021-06-21-191858
Created attachment 1792945 [details] failure message for copied CSV
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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759