Bug 2019570 - OLM Pruning a SQLite-based index image Deprecated
Summary: OLM Pruning a SQLite-based index image Deprecated
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Michael Peter
QA Contact: Jian Zhang
Latha S
URL:
Whiteboard:
Depends On:
Blocks: ocp-49-z-tracker
TreeView+ depends on / blocked
 
Reported: 2021-11-02 20:23 UTC by Tom Dale
Modified: 2023-03-09 01:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 01:08:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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