Bug 1996881

Summary: oc adm catalog mirror does not print sqlite deprecation warnings
Product: OpenShift Container Platform Reporter: Joe Lanford <jlanford>
Component: ocAssignee: Joe Lanford <jlanford>
Status: CLOSED ERRATA QA Contact: xzha
Severity: high Docs Contact:
Priority: high    
Version: 4.9CC: aos-bugs, jiazha, jokerman, mfojtik, sttts, xxia, yinzhou
Target Milestone: ---Keywords: Triaged
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: 2021-10-18 17:48:10 UTC Type: ---
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: 1845414    
Bug Blocks:    

Comment 4 xzha 2021-09-03 11:32:39 UTC
verify
zhaoxia@xzha-mac openshift-client-mac-4.9.0-0.nightly-2021-09-01-193941 % oc version
Client Version: 4.9.0-0.nightly-2021-09-01-193941

zhaoxia@xzha-mac openshift-client-mac-4.9.0-0.nightly-2021-09-01-193941 % oc adm catalog mirror quay.io/openshift-community-operators/catalog:4.6 example.com --dry-run 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! DEPRECATION NOTICE:
!!   Sqlite-based catalogs are deprecated. Support for them will be removed in a
!!   future release. Please migrate your catalog workflows to the new file-based
!!   catalog format.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

src image has index label for database path: /database/index.db
using index path mapping: /database/index.db:/var/folders/0v/h_vdggrj5xlglg9r709mj3v40000gn/T/546228847


....

LGTM, verified.

Comment 7 errata-xmlrpc 2021-10-18 17:48:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759