Bug 2018484
| Summary: | Unable to prune the certified-operator-index:4.7 image | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jonas Nordell <jnordell> |
| Component: | OLM | Assignee: | Kevin Rizza <krizza> |
| OLM sub component: | OperatorHub | QA Contact: | Jian Zhang <jiazha> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | anbhatta |
| Version: | 4.7 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-01 15:11:59 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: | |||
*** This bug has been marked as a duplicate of bug 2017327 *** |
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: