Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-49646

Change DisableCopiedCSV event to INFO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.17.z
    • OLM
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When copied CSVs are disabled, OLM captures this information in an event in the Operator’s namespace. This event should be a INFO event instead of a Warning, as it is a configuration changed deliberately by the customer.    

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

          

      How reproducible:

      Enable disableCopiedCSVs
      
      $ oc apply -f - <<EOF
      apiVersion: operators.coreos.com/v1
      kind: OLMConfig
      metadata:
        name: cluster
      spec:
        features:
          disableCopiedCSVs: true 
      EOF

      Actual results:

      Warning event:
      
      LAST SEEN   TYPE      REASON               OBJECT                                MESSAGE
      85s         Warning   DisabledCopiedCSVs   clusterserviceversion/my-csv.v1.0.0   CSV copying disabled for operators/my-csv.v1.0.0

      Expected results:

      Info event:
      
      LAST SEEN   TYPE      REASON               OBJECT                                MESSAGE
      85s         Info   DisabledCopiedCSVs   clusterserviceversion/my-csv.v1.0.0   CSV copying disabled for operators/my-csv.v1.0.0    

              rh-ee-cchantse Catherine Chan-Tse
              rhn-support-rauferna Raul Fernandez
              Jian Zhang Jian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: