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

The error message "The operator does not support single namespace or global installation modes." is confusing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.15.0
    • 4.14
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      Cannot install singlenamespace operator using web console

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

      zhaoxia@xzha-mac doc_add_operator % oc get clusterversion
      NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.14.0-0.nightly-2023-10-08-220853   True        False         168m    Cluster version is 4.14.0-0.nightly-2023-10-08-220853

      How reproducible:

      always

      Steps to Reproduce:

      1.install catsrc
      zhaoxia@xzha-mac doc_add_operator % cat catsrc-singlenamespace.yaml 
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        name: nginx-index
        namespace: openshift-marketplace
      spec:
        displayName: Test
        publisher: OLM-QE
        sourceType: grpc
        image: quay.io/olmqe/nginxolm-operator-index:v1-singlenamespace
        updateStrategy:
          registryPoll:
            interval: 10m
       oc apply -f catsrc-singlenamespace.yaml
      
      zhaoxia@xzha-mac doc_add_operator % oc get packagemanifests nginx-operator -o yaml
            installModes:
            - supported: false
              type: OwnNamespace
            - supported: true
              type: SingleNamespace
            - supported: false
              type: MultiNamespace
            - supported: false
              type: AllNamespaces
      
      2. install nginx-operator using web console
      
      3.
      

      Actual results:

      nginxolm can't be installed with error message:
      
      "nginxolm can't be installed
      The operator does not support single namespace or global installation modes."
      
      The error message confused me, nginx-operator does support SingleNamespace, but the error message said "The operator does not support single namespace or global installation modes."

      Expected results:

      nginxolm can be installed

      Additional info:

      The error message confused me, nginx-operator does support SingleNamespace, but the error message said "The operator does not support single namespace or global installation modes."

              rhn-engineering-rhamilto Robb Hamilton
              rhn-support-xzha Xia Zhao
              Xia Zhao Xia Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: