Bug 2018484 - Unable to prune the certified-operator-index:4.7 image
Summary: Unable to prune the certified-operator-index:4.7 image
Keywords:
Status: CLOSED DUPLICATE of bug 2017327
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.7
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Kevin Rizza
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-29 13:18 UTC by Jonas Nordell
Modified: 2021-11-01 15:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-01 15:11:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jonas Nordell 2021-10-29 13:18:45 UTC
Description of problem:

As a user I am unable to prune the registry.redhat.io/redhat/certified-operator-index:v4.7 image.

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

opm version
Version: version.Version{OpmVersion:"v1.15.4-16-g06e950de", GitCommit:"06e950de5ebca66e493f6cd2414e73c8978090d3", BuildDate:"2021-10-12T18:29:26Z", GoOs:"linux", GoArch:"amd64"}

registry.redhat.io/redhat/certified-operator-index:v4.7

How reproducible:

Everytime

Steps to Reproduce:
1. Run command 
$ opm index prune -f registry.redhat.io/redhat/certified-operator-index:v4.7  -p "f5-bigip-ctlr-operator gpu-operator-certified" -t localhost:5000/certified-operator-index:v4.7
2.
3.

Actual results:
Fails with the error message:

FATA[0055] permissive mode disabled                      error="error deleting packages from database: error removing operator package cic-operator: FOREIGN KEY constraint failed"


Expected results:

The image pruning of the certified-operator-index:v4.7 image should complete without any errors.


Additional info:

Comment 1 Anik 2021-11-01 15:11:59 UTC

*** This bug has been marked as a duplicate of bug 2017327 ***


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