Bug 1990850

Summary: Registry databases that do not store properties as TEXT are not served
Product: OpenShift Container Platform Reporter: Ben Luddy <bluddy>
Component: OLMAssignee: Ben Luddy <bluddy>
OLM sub component: OLM QA Contact: xzha
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high Keywords: Triaged
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:45:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Comment 2 xzha 2021-08-12 06:14:39 UTC
verify:
zhaoxia@xzha-mac Downloads % opm version
Version: version.Version{OpmVersion:"e6840f9ce", GitCommit:"e6840f9ce2120e47c90de6e919829d468540f81b", BuildDate:"2021-08-12T06:10:05Z", GoOs:"darwin", GoArch:"amd64"}
zhaoxia@xzha-mac Downloads % 

zhaoxia@xzha-mac Downloads % opm registry serve -d blob.db 
WARN[0000] unable to set termination log path            error="open /dev/termination-log: operation not permitted"
INFO[0000] Keeping server open for infinite seconds      database=blob.db port=50051
INFO[0000] serving registry                              database=blob.db port=50051

zhaoxia@xzha-mac Downloads % grpcurl -plaintext localhost:50051 api.Registry/ListBundles
{
  "csvName": "ocs-operator.v4.9.0-50.ci",
  "packageName": "ocs-operator",
  "channelName": "stable-4.9",
  "bundlePath": "quay.io/rhceph-dev/ocs-operator-bundle@sha256:7bdf2faf21b7e92ca0d3ee6769adad3979d95acc6aaf957cda30397c735a3cf2",
  "providedApis": [
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephCluster"
    },
    {
      "group": "objectbucket.io",
      "version": "v1alpha1",
      "kind": "ObjectBucket"
    },
    {
      "group": "ocs.openshift.io",
      "version": "v1",
      "kind": "StorageCluster"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephObjectStore"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephObjectStoreUser"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephObjectRealm"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephBlockPool"
    },
    {
      "group": "ocs.openshift.io",
      "version": "v1",
      "kind": "OCSInitialization"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephFilesystemMirror"
    },
    {
      "group": "objectbucket.io",
      "version": "v1alpha1",
      "kind": "ObjectBucketClaim"
    },
    {
      "group": "replication.storage.openshift.io",
      "version": "v1alpha1",
      "kind": "VolumeReplicationClass"
    },
    {
      "group": "noobaa.io",
      "version": "v1alpha1",
      "kind": "NooBaa"
    },
    {
      "group": "noobaa.io",
      "version": "v1alpha1",
      "kind": "NamespaceStore"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephFilesystem"
    },
    {
      "group": "replication.storage.openshift.io",
      "version": "v1alpha1",
      "kind": "VolumeReplication"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephRBDMirror"
    },
    {
      "group": "noobaa.io",
      "version": "v1alpha1",
      "kind": "BucketClass"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephObjectZone"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephObjectZoneGroup"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephClient"
    },
    {
      "group": "noobaa.io",
      "version": "v1alpha1",
      "kind": "BackingStore"
    },
    {
      "group": "ceph.rook.io",
      "version": "v1",
      "kind": "CephNFS"
    }
  ],
  "version": "4.9.0-50.ci",
  "skipRange": "\u003e=0.0.1 \u003c4.9.0-50.ci",
  "properties": [
    {
      "type": "olm.package",
      "value": "{\"packageName\":\"ocs-operator\",\"version\":\"4.9.0-50.ci\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephCluster\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"objectbucket.io\",\"kind\":\"ObjectBucket\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ocs.openshift.io\",\"kind\":\"StorageCluster\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephObjectStore\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephObjectStoreUser\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephObjectRealm\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephBlockPool\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ocs.openshift.io\",\"kind\":\"OCSInitialization\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephFilesystemMirror\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"objectbucket.io\",\"kind\":\"ObjectBucketClaim\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"replication.storage.openshift.io\",\"kind\":\"VolumeReplicationClass\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"noobaa.io\",\"kind\":\"NooBaa\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"noobaa.io\",\"kind\":\"NamespaceStore\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephFilesystem\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"replication.storage.openshift.io\",\"kind\":\"VolumeReplication\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephRBDMirror\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"noobaa.io\",\"kind\":\"BucketClass\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephObjectZone\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephObjectZoneGroup\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephClient\",\"version\":\"v1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"noobaa.io\",\"kind\":\"BackingStore\",\"version\":\"v1alpha1\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"ceph.rook.io\",\"kind\":\"CephNFS\",\"version\":\"v1\"}"
    }
  ]
}
{
  "csvName": "odf-operator.v4.9.0-50.ci",
  "packageName": "odf-operator",
  "channelName": "stable-4.9",
  "bundlePath": "quay.io/rhceph-dev/odf-operator-bundle@sha256:888c82cb556b6cfe88e36f12c8e2ce25ac2c129162aed75c4acfaa63ec36def3",
  "providedApis": [
    {
      "group": "odf.openshift.io",
      "version": "v1alpha1",
      "kind": "StorageSystem"
    }
  ],
  "version": "4.9.0-50.ci",
  "properties": [
    {
      "type": "olm.package",
      "value": "{\"packageName\":\"odf-operator\",\"version\":\"4.9.0-50.ci\"}"
    },
    {
      "type": "olm.gvk",
      "value": "{\"group\":\"odf.openshift.io\",\"kind\":\"StorageSystem\",\"version\":\"v1alpha1\"}"
    }
  ]
}


LGTM, verified.

Comment 5 errata-xmlrpc 2021-10-18 17:45:05 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759