Bug 1784320 - [4.4] Local storage operator defaults to an unsupported installation mode AllNamespaces
Summary: [4.4] Local storage operator defaults to an unsupported installation mode All...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.4.0
Assignee: Jan Safranek
QA Contact: Liang Xia
URL:
Whiteboard:
Depends On:
Blocks: 1784316 1784321
TreeView+ depends on / blocked
 
Reported: 2019-12-17 08:51 UTC by Liang Xia
Modified: 2020-05-04 11:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1784316
: 1784321 (view as bug list)
Environment:
Last Closed: 2020-05-04 11:20:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 78 0 None None None 2020-01-06 19:15:57 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:20:43 UTC

Description Liang Xia 2019-12-17 08:51:27 UTC
+++ 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

Comment 2 Liang Xia 2020-01-08 05:17:42 UTC
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

Comment 4 errata-xmlrpc 2020-05-04 11:20:19 UTC
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


Note You need to log in before you can comment on or make changes to this bug.