Bug 2024372 - citrix-ingress-controller-operator has malformed opm index
Summary: citrix-ingress-controller-operator has malformed opm index
Keywords:
Status: CLOSED DUPLICATE of bug 2017327
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.8
Hardware: x86_64
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Kevin Rizza
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-17 23:57 UTC by Dan Clark
Modified: 2021-11-18 18:08 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-18 18:08:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dan Clark 2021-11-17 23:57:08 UTC
Description of problem:

citrix-ingress-controller-operator has a malformed index that opm does not tolerate

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

certified-operator-catalog:v4.8

How reproducible:

100%

Steps to Reproduce:

Use opm to prune the operator index down to any subset of operators. citrix-ingress-controller-operator is not in the list. Example command:

opm index prune -f registry.redhat.io/redhat/certified-operator-index:v4.8 -p nginx-ingress-operator -t myregistry.com:5000/redhat/nginx-ingress-operator-catalog:v4.8

Actual results:

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

Expected results:

opm prunes the index and pushes the custom index image to my registry

Additional info:

This happens regardless of the operator being mirrored. The citrix issue stops opm from working at all unless --permissive is passed.


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