Bug 1781502 - Local Storage Operator pulls the operator image by tag instead of by digest
Summary: Local Storage Operator pulls the operator image by tag instead of by digest
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.2.z
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.3.z
Assignee: Christian Huffman
QA Contact: Qin Ping
URL:
Whiteboard:
Depends On: 1817826
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-10 07:21 UTC by Jason Shepherd
Modified: 2020-04-30 01:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-30 01:28:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 100 0 None closed Bug 1781502: Updating LSO to use digest for 4.3 2021-01-29 21:29:12 UTC
Red Hat Product Errata RHBA-2020:1529 0 None None None 2020-04-30 01:28:21 UTC

Description Jason Shepherd 2019-12-10 07:21:31 UTC
Description of problem:

Local Storage Operator pulls the operator image by tag instead of by digest


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

$ oc version
Client Version: openshift-clients-4.2.2-201910250432-4-g4ac90784
Server Version: 4.2.10
Kubernetes Version: v1.14.6+17b1cc6

How reproducible:

$ oc get packagemanifest/local-storage-operator -o=jsonpath='{.metadata.name}{"\t"}{range .status.channels[*]}{.currentCSV}{"\t"}{.currentCSVDesc.annotations.containerImage}{"\n"}{end}'

Actual results:

local-storage-operator	local-storage-operator.4.2.9-201911261133	quay.io/openshift/origin-local-storage-operator:4.2.0


Expected results:

local-storage-operator	local-storage-operator.4.2.9-201911261133	quay.io/openshift/origin-local-storage-operator@sha256:<blah>


Additional info:

http://post-office.corp.redhat.com/archives/openshift-sme/2019-October/msg01602.html

Comment 5 Ben Bennett 2020-04-01 14:11:51 UTC
Setting the target to 4.5.  We will make backport decisions once the bug is understood.

Comment 11 Qin Ping 2020-04-21 07:29:28 UTC
Verified with: local-storage-operator.4.3.14-202004200457

oc get packagemanifest/local-storage-operator -oyaml

...
  - currentCSV: local-storage-operator.4.3.14-202004200457
    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-qe-optional-operators/ose-local-storage-operator@sha256:acfc2a75ea85a43dd13e03b4152b26fcbca98d5dd2c024ed7c9aa70edd3d9ba2
        createdAt: "2019-08-14T00:00:00Z"
        description: Configure and use local storage volumes in kubernetes and Openshift
        olm.skipRange: '>=4.2.0 <4.3.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
      minKubeVersion: 1.14.0
      provider:
        name: Red Hat
      relatedImages:
      - quay.io/openshift-qe-optional-operators/ose-local-storage-operator@sha256:acfc2a75ea85a43dd13e03b4152b26fcbca98d5dd2c024ed7c9aa70edd3d9ba2
      - quay.io/openshift-qe-optional-operators/ose-local-storage-static-provisioner@sha256:f99129f2186de856a2e2a117ffcb660b136541df756cc293f91fc67a86885646
      - quay.io/openshift-qe-optional-operators/ose-local-storage-diskmaker@sha256:590bf097c61297afea2c28c01941a44aaa91a489c40c948703f9d71b23b89b8a
      version: 4.3.14-202004200457
    name: "4.3"
...

Comment 13 errata-xmlrpc 2020-04-30 01:28:07 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:1529


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