Bug 2023522 - can't remove package from index: database is locked
Summary: can't remove package from index: database is locked
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.10.0
Assignee: Kevin Rizza
QA Contact: Salvatore Colangelo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-15 23:35 UTC by lgallett
Modified: 2022-03-10 16:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:27:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github operator-framework operator-registry pull 828 0 None open Bug 2023522: (fix) database is locked during remove 2021-11-16 14:35:21 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:27:59 UTC

Description lgallett 2021-11-15 23:35:23 UTC
Description of problem:

Can't remove package from index using `opm index rm`


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

1.19.2

How reproducible:

always

Steps to Reproduce:

opm index rm --generate --binary-image registry.redhat.io/openshift4/ose-operator-registry:v4.7 --from-index registry.redhat.io/redhat/certified-operator-index:v4.7  --operators cert-manager-operator

Actual results:

error="error deleting packages from database: error removing operator package cert-manager-operator: database is locked"

Expected results:

no error

Additional info:

Comment 2 tflannag 2021-12-02 03:14:04 UTC
Manually moving to MODIFIED as the proposed upstream fix (https://github.com/openshift/operator-framework-olm/pull/218/commits/02663b502b0088c45bab8f67ef9383929ae39f57) has landed downstream.

Comment 4 Salvatore Colangelo 2021-12-14 00:39:32 UTC
No error from MY Side 

Verified!

Comment 8 errata-xmlrpc 2022-03-10 16:27:31 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.10.3 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-2022:0056


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