Bug 1745946 - [Operator-registory]one wrong nest operator will impact the registory server pod
Summary: [Operator-registory]one wrong nest operator will impact the registory server pod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.2.0
Assignee: Evan Cordell
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-27 10:02 UTC by Fan Jia
Modified: 2019-10-16 06:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:37:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github operator-framework operator-registry pull 84 0 None closed Bug 1745946: fix(sqlite): defer rollbacks to prevent db lock 2020-07-02 01:40:05 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:38:02 UTC

Comment 2 Fan Jia 2019-08-28 08:17:37 UTC
test env:
cv:4.2.0-0.nightly-2019-08-28-004049
registory commit:8b7664d47a9bae939a19f1594139eb55ca9355a2


test result:
1.1.push the nest operator "sriov-network-operator" to quay ns "jfan" with "operator-courier"
2.create the opsrc "testkey" of the ns "jfan"
3. the registory-server pod & catalogsource are created successfully and the error about the operator will be shown in the logs of registory pod.
1) logs of registory pod

`
time="2019-08-28T08:14:00Z" level=info msg=directory dir=downloaded file=4.2 load=package
time="2019-08-28T08:14:00Z" level=warning msg="strict mode disabled" error="error loading manifests from appregistry: error loading operator manifests: [error checking provided apis in bundle : couldn't find sriovnetwork.openshift.io/v1/SriovNetwork (sriovnetworks) in bundle. found: map[], error adding operator bundle : UNIQUE constraint failed: operatorbundle.csv]" port=50051 type=appregistry
time="2019-08-28T08:14:00Z" level=info msg="serving registry" port=50051 type=appregistry
`

2) the opsrc &catalogsource & registory pod status
oc get opsrc testkey
NAME      TYPE          ENDPOINT              REGISTRY   DISPLAYNAME   PUBLISHER   STATUS      MESSAGE                                       AGE
testkey   appregistry   https://quay.io/cnr   jfan       TEST KEY      testkey     Succeeded   The object has been successfully reconciled   12m

oc get catalogsource testkey
NAME      DISPLAY    TYPE   PUBLISHER   AGE
testkey   TEST KEY   grpc   testkey     13m

oc get pods testkey-668fdd8f7b-bjk7k
NAME                       READY   STATUS    RESTARTS   AGE
testkey-668fdd8f7b-bjk7k   1/1     Running   0          13m

3)the packagemanifest from testkey
oc get packagemanifest -l opsrc-provider=testkey
NAME                      CATALOG    AGE
camel-k                   TEST KEY   14m
descheduler-test          TEST KEY   14m
mongodb-enterprise-test   TEST KEY   14m
prometheus-test           TEST KEY   14m
sriov-network-operator    TEST KEY   14m

Comment 3 errata-xmlrpc 2019-10-16 06:37:54 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-2019:2922


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