Operator installation using OLM fails with FOREIGN KEY constraint error in RHOCP 4 disconnected environment.
Issue
- Pruning the catalogsource index for installing operator fails with FOREIGN KEY constraint error in RHOCP 4.
- When installing any operator in the restricted network, Failed with the below error.
INFO[0056] deleting packages pkg=cic-operator
INFO[0056] packages: [cic-operator] pkg=cic-operator
FATA[0056] permissive mode disabled error="error deleting packages from database: error removing operator package cic-operator: FOREIGN KEY constraint failed
Environment
- Red Hat OpenShift Container Platform.
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.