+++ This bug was initially created as a clone of Bug #1784316 +++ Description of problem: Local storage operator defaults to AllNamespaces mode, but AllNamespaces mode is not supported by local storage operator. https://docs.openshift.com/container-platform/4.2/storage/persistent-storage/persistent-storage-local.html Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2019-12-13-180405 How reproducible: Always Steps to Reproduce: 1. Try to install local storage operator. Actual results: The installation mode defaults to AllNamespaces, which is not supported by local storage operator. Expected results: Disable AllNamespaces mode for local storage operator. Its install mode for AllNamespaces should be `False`, as follows: installModes: ... - supported: false type: AllNamespaces Addtional info: $ oc get packagemanifest local-storage-operator -n openshift-marketplace -o yaml apiVersion: packages.operators.coreos.com/v1 kind: PackageManifest metadata: creationTimestamp: "2019-12-16T07:30:33Z" labels: catalog: qe-app-registry catalog-namespace: openshift-marketplace olm-visibility: hidden openshift-marketplace: "true" opsrc-datastore: "true" opsrc-owner-name: qe-app-registry opsrc-owner-namespace: openshift-marketplace provider: Red Hat provider-url: "" name: local-storage-operator namespace: openshift-marketplace selfLink: /apis/packages.operators.coreos.com/v1/namespaces/openshift-marketplace/packagemanifests/local-storage-operator spec: {} status: catalogSource: qe-app-registry catalogSourceDisplayName: "" catalogSourceNamespace: openshift-marketplace catalogSourcePublisher: "" channels: - currentCSV: local-storage-operator.4.2.11-201912131719 currentCSVDesc: annotations: alm-examples: |- [ { "apiVersion": "local.storage.openshift.io/v1", "kind": "LocalVolume", "metadata": { "name": "example" }, "spec": { "storageClassDevices": [ { "devicePaths": [ "/dev/vde", "/dev/vdf" ], "fsType": "ext4", "storageClassName": "foobar", "volumeMode": "Filesystem" } ] } } ] capabilities: Full Lifecycle categories: Storage containerImage: quay.io/openshift/origin-local-storage-operator:4.2.0 createdAt: "2019-08-14T00:00:00Z" description: Configure and use local storage volumes in kubernetes and Openshift repository: https://github.com/openshift/local-storage-operator support: Red Hat apiservicedefinitions: {} customresourcedefinitions: owned: - description: Manage local storage volumes for OpenShift displayName: Local Volume operator kind: LocalVolume name: localvolumes.local.storage.openshift.io version: v1 description: Local Storage Operator displayName: Local Storage installModes: - supported: true type: OwnNamespace - supported: true type: SingleNamespace - supported: false type: MultiNamespace - supported: true type: AllNamespaces provider: name: Red Hat version: 4.2.11-201912131719 name: "4.2" - currentCSV: local-storage-operator.4.2.11-201912131719-s390x currentCSVDesc: annotations: alm-examples: |- [ { "apiVersion": "local.storage.openshift.io/v1", "kind": "LocalVolume", "metadata": { "name": "example" }, "spec": { "storageClassDevices": [ { "devicePaths": [ "/dev/vde", "/dev/vdf" ], "fsType": "ext4", "storageClassName": "foobar", "volumeMode": "Filesystem" } ] } } ] capabilities: Full Lifecycle categories: Storage containerImage: quay.io/openshift/origin-local-storage-operator:4.2.0 createdAt: "2019-08-14T00:00:00Z" description: Configure and use local storage volumes in kubernetes and Openshift repository: https://github.com/openshift/local-storage-operator support: Red Hat apiservicedefinitions: {} customresourcedefinitions: owned: - description: Manage local storage volumes for OpenShift displayName: Local Volume operator kind: LocalVolume name: localvolumes.local.storage.openshift.io version: v1 description: Local Storage Operator displayName: Local Storage installModes: - supported: true type: OwnNamespace - supported: true type: SingleNamespace - supported: false type: MultiNamespace - supported: true type: AllNamespaces provider: name: Red Hat version: 4.2.11-201912131719 name: 4.2-s390x - currentCSV: local-storage-operator.4.3.0-201912130552 currentCSVDesc: annotations: alm-examples: |- [ { "apiVersion": "local.storage.openshift.io/v1", "kind": "LocalVolume", "metadata": { "name": "example" }, "spec": { "storageClassDevices": [ { "devicePaths": [ "/dev/vde", "/dev/vdf" ], "fsType": "ext4", "storageClassName": "foobar", "volumeMode": "Filesystem" } ] } } ] capabilities: Full Lifecycle categories: Storage containerImage: quay.io/openshift/origin-local-storage-operator:4.3.0 createdAt: "2019-08-14T00:00:00Z" description: Configure and use local storage volumes in kubernetes and Openshift olm.skipRange: '>=4.3.0 <4.4.0' repository: https://github.com/openshift/local-storage-operator support: Red Hat apiservicedefinitions: {} customresourcedefinitions: owned: - description: Manage local storage volumes for OpenShift displayName: Local Volume operator kind: LocalVolume name: localvolumes.local.storage.openshift.io version: v1 description: Local Storage Operator displayName: Local Storage installModes: - supported: true type: OwnNamespace - supported: true type: SingleNamespace - supported: false type: MultiNamespace - supported: true type: AllNamespaces provider: name: Red Hat version: 4.3.0-201912130552 name: "4.3" - currentCSV: local-storage-operator.4.4.0-201912130715 currentCSVDesc: annotations: alm-examples: |- [ { "apiVersion": "local.storage.openshift.io/v1", "kind": "LocalVolume", "metadata": { "name": "example" }, "spec": { "storageClassDevices": [ { "devicePaths": [ "/dev/vde", "/dev/vdf" ], "fsType": "ext4", "storageClassName": "foobar", "volumeMode": "Filesystem" } ] } } ] capabilities: Full Lifecycle categories: Storage containerImage: quay.io/openshift/origin-local-storage-operator:4.4.0 createdAt: "2019-08-14T00:00:00Z" description: | Configure and use local storage volumes in kubernetes and Openshift. Openshift 4.2 and above is only supported Openshift versions. olm.skipRange: '>=4.4.0 <4.5.0' repository: https://github.com/openshift/local-storage-operator support: Red Hat apiservicedefinitions: {} customresourcedefinitions: owned: - description: Manage local storage volumes for OpenShift displayName: Local Volume operator kind: LocalVolume name: localvolumes.local.storage.openshift.io version: v1 description: Local Storage Operator displayName: Local Storage installModes: - supported: true type: OwnNamespace - supported: true type: SingleNamespace - supported: false type: MultiNamespace - supported: true type: AllNamespaces provider: name: Red Hat version: 4.4.0-201912130715 name: "4.4" defaultChannel: "4.4" packageName: local-storage-operator provider: name: Red Hat
Verified "All namespaces on the cluster" has been disabled for 4.4 local-storage-operator.4.4.0-202001071023 OpenShift Version 4.4.0-0.nightly-2020-01-06-072200
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