Bug 2019570

Summary: OLM Pruning a SQLite-based index image Deprecated
Product: OpenShift Container Platform Reporter: Tom Dale <tdale>
Component: DocumentationAssignee: Michael Peter <mipeter>
Status: CLOSED DEFERRED QA Contact: Jian Zhang <jiazha>
Severity: medium Docs Contact: Latha S <lmurthy>
Priority: medium    
Version: 4.9CC: aos-bugs, lmurthy, yardenle
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-09 01:08:37 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:
Bug Depends On:    
Bug Blocks: 1980363    

Description Tom Dale 2021-11-02 20:23:24 UTC
Description of problem:
In the steps to use OLM on a restricted network the documentation directs to use the now deprecated Pruning a SQLite-based index image approach. Is there a non-deprecated method that can be used when pruning the operator-index? If so this should be used instead in the 4.9 docs.

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

Location in docs:
https://docs.openshift.com/container-platform/4.9/operators/admin/olm-restricted-networks.html#olm-pruning-index-image_olm-restricted-networks

Steps to Reproduce:
1. Run podman run -p50051:50051 -it registry.redhat.io/redhat/redhat-operator-index:v4.9

Actual results:
podman run -p50051:50051 -it registry.redhat.io/redhat/redhat-operator-index:v4.9
WARN[0000] DEPRECATION NOTICE:
Sqlite-based catalogs and their related subcommands are deprecated. Support for
them will be removed in a future release. Please migrate your catalog workflows
to the new file-based catalog format.



Additional info:
Pruning a SQLite-based index image is listed in the 4.9 deprecated notes.
https://docs.openshift.com/container-platform/4.9/release_notes/ocp-4-9-release-notes.html#ocp-4-9-deprecated-removed-features

Comment 3 Tom Dale 2022-05-11 14:10:53 UTC
Any update on this? I see filtering a SQLite-based index image is still the recommended method in the 4.10 docs.

Comment 4 Michael Peter 2022-05-13 19:16:18 UTC
Currently, the Red Hat Catalog is still shipped using the sqlite database. When the catalog switches to the file-based config (FBC) catalog in a future release and the supporting features are in place, the documentation will be updated as well. 

You can track the documentation efforts around FBC in this Jira ticket: https://issues.redhat.com/browse/OSDOCS-3463

I will be working on that ticket in collaboration with the FBC team in the upcoming sprint. I will give you an update when I have further information. 

Thank you.

Comment 5 Shiftzilla 2023-03-09 01:08:37 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-9016