Bug 1921458 - [SDK] Gracefully handle the `run bundle-upgrade` if the lower version operator doesn't exist
Summary: [SDK] Gracefully handle the `run bundle-upgrade` if the lower version operato...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Operator SDK
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Rashmi Gottipati
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-28 02:32 UTC by Fan Jia
Modified: 2021-02-24 15:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:56:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocp-release-operator-sdk pull 96 0 None open Bug 1921458: `run bundle-upgrade` should handle error gracefully when a previous operator version doesn't exist 2021-01-29 16:12:16 UTC
Github operator-framework operator-sdk pull 4448 0 None closed Bug 1921458: `run bundle-upgrade` should handle error gracefully when a previous operator version doesn't exist 2021-01-29 14:51:31 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:56:58 UTC

Comment 1 Jesus M. Rodriguez 2021-01-29 15:31:08 UTC
downstream PR posted https://github.com/openshift/ocp-release-operator-sdk/pull/96

Comment 3 Fan Jia 2021-02-01 08:00:10 UTC
image: openshift-ose-operator-sdk:v4.7.0-202101300133.p0
operator-sdk version
operator-sdk version: "v1.3.0-ocp", commit: "df9d2021e84ebc8a8e2b2f50dc3c22c2c888f393", kubernetes version: "v1.19.4", go version: "go1.15.5", GOOS: "linux", GOARCH: "amd64"
test result:
# operator-sdk run bundle-upgrade  quay.io/olmqe/etcd-bundle:0.9.2-share
FATA[0000] Failed to run bundle upgrade: no existing operator found in the cluster to upgrade

Comment 6 errata-xmlrpc 2021-02-24 15:56:44 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.7.0 security, bug fix, and enhancement 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-2020:5633


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