Bug 1996878
| Summary: | opm does not print sqlite deprecation warnings | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Joe Lanford <jlanford> |
| Component: | OLM | Assignee: | Joe Lanford <jlanford> |
| OLM sub component: | OLM | QA Contact: | xzha |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | davegord |
| Version: | 4.9 | Keywords: | Triaged |
| 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: | 2021-10-18 17:48:10 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: | |||
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 |
verify [root@preserve-olm-agent-test ~]# opm version Version: version.Version{OpmVersion:"d4a3aa1c3", GitCommit:"d4a3aa1c32dd8d917e81a30a325184f8aaf4fa92", BuildDate:"2021-08-26T04:53:13Z", GoOs:"linux", GoArch:"amd64"} [root@preserve-olm-agent-test ~]# opm render -h Generate a declarative config blob from the provided index images, bundle images, and sqlite database files 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. Usage: opm render [index-image | bundle-image | sqlite-file]... [flags] Flags: -h, --help help for render -o, --output string Output format (json|yaml) (default "json") Global Flags: --skip-tls skip TLS certificate verification for container image registries while pulling bundles or index [root@preserve-olm-agent-test ~]# opm index -h generate operator index container images from preexisting operator bundles 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. Usage: opm index [command] Available Commands: add Add operator bundles to an index. export Export an operator from an index into the appregistry format prune prune an index of all but specified packages prune-stranded prune an index of stranded bundles rm delete an entire operator from an index Flags: -h, --help help for index Global Flags: --skip-tls skip TLS certificate verification for container image registries while pulling bundles or index Use "opm index [command] --help" for more information about a command. [root@preserve-olm-agent-test ~]# opm index add 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. Error: required flag(s) "bundles" not set Usage: opm index add [flags] [root@preserve-olm-agent-test ~]# opm registry -h interact with operator-registry database building, modifying and/or serving the operator-registry database 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. Usage: opm registry [command] Available Commands: add add operator bundle to operator registry DB prune prune an operator registry DB of all but specified packages prune-stranded prune an operator registry DB of stranded bundles rm remove operator from operator registry DB serve serve an operator-registry database Flags: -h, --help help for registry Global Flags: --skip-tls skip TLS certificate verification for container image registries while pulling bundles or index Use "opm registry [command] --help" for more information about a command. LGTM, verified.