Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1847405

Summary: [csi-driver-manila-operator] Two conflicting app registries for manila driver operator
Product: OpenShift Container Platform Reporter: Wei Duan <wduan>
Component: StorageAssignee: Mike Fedosin <mfedosin>
Status: CLOSED WONTFIX QA Contact: Wei Duan <wduan>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, jsafrane
Target Milestone: ---Keywords: TestBlocker
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1847408 (view as bug list) Environment:
Last Closed: 2020-06-19 15:55:18 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1847408    

Description Wei Duan 2020-06-16 10:16:49 UTC
Description of problem:
There are two conflicting app registries for manila driver operator and should remove one. 

Version-Release number of selected component (if applicable):
[wduan@MINT appregistry]$ oc get  clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-06-11-183238   True        False         29h     Error while reconciling 4.5.0-0.nightly-2020-06-11-183238: the cluster operator image-registry is degraded

How reproducible:
Always

Steps to Reproduce:
1. Create operatorsouce with registryNamespace: rh-osbs-operators under quay.io. 
2. Check bundle files on manila-app-registry pod, there are two operators for manila as below, they have the same version for csv/crd, but different contents.
sh-4.2$ ls | grep manila
csi-driver-manila-operator
csi-driver-manila-operator-metadata-container
3. Install these two operators, always got the wrong content like:
[wduan@MINT appregistry]$ oc get csv -o yaml | grep image | grep operator
image: registry.redhat.io/openshift4/ose-csi-driver-manila-rhel7-operator@sha256:4dbd69aba5adf45477a1bc84f61573a9e01cc4359fdabc6229190dfa7ad9ae0f:latest

Actual results:
There are two conflicting app registries

Expected results:
Should only one app registry exists

Additional info:
$ oc get packagemanifests csi-driver-manila-operator-metadata-container -ojson|jq .status.channels[].currentCSVDesc.relatedImages
[
  "registry.redhat.io/openshift4/ose-csi-external-provisioner-rhel7@sha256:37cddbf16e82ff008a34118b767d1c4889163dd0967079c558b5faccbbd36767",
  "registry.redhat.io/openshift4/ose-csi-external-snapshotter-rhel7@sha256:cf4de79e43f43ab66e2449d0637ac164f922d9a5def3cbbde7ac1c1fa62b6879",
  "registry.redhat.io/openshift4/ose-csi-node-driver-registrar@sha256:cb32fe8cf8a89627179db8ed907289b00d65d2db05dff72a0df5ea978bb482e9",
  "registry.redhat.io/openshift4/ose-csi-driver-manila-rhel7@sha256:c93e0c46662241a7de16a844ef6dc2ac813842890363217177a58e9af415ef01",
  "registry.redhat.io/openshift4/ose-csi-driver-manila-rhel7-operator@sha256:4dbd69aba5adf45477a1bc84f61573a9e01cc4359fdabc6229190dfa7ad9ae0f",
  "registry.redhat.io/openshift4/ose-csi-driver-manila-rhel7-operator@sha256:4dbd69aba5adf45477a1bc84f61573a9e01cc4359fdabc6229190dfa7ad9ae0f:latest",
  "registry.redhat.io/openshift4/ose-csi-driver-nfs-rhel7@sha256:d645bb0797c0601ada33cf635d2b89f49107f0af7e7ebf5c25bde757b96977f1"
]

registry.redhat.io/openshift4/ose-csi-driver-manila-rhel7-operator@sha256:4dbd69aba5adf45477a1bc84f61573a9e01cc4359fdabc6229190dfa7ad9ae0f:latest comes from csi-driver-manila-operator app registry

Comment 1 Mike Fedosin 2020-06-17 09:48:08 UTC
I created a task to remove the wrong association: https://projects.engineering.redhat.com/browse/CLOUDBLD-1516

Comment 2 Jan Safranek 2020-06-19 15:55:18 UTC
We do not plan to release Manila CSI driver via OLM in 4.6