Bug 1979506 - The earlier version bundles that generated by pkgman-to-bundle won't be installed success
Summary: The earlier version bundles that generated by pkgman-to-bundle won't be insta...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Operator SDK
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.0
Assignee: Varsha
QA Contact: Fan Jia
URL:
Whiteboard:
Depends On: 1992405
Blocks: 1980168
TreeView+ depends on / blocked
 
Reported: 2021-07-06 08:49 UTC by Fan Jia
Modified: 2021-10-18 17:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1980168 (view as bug list)
Environment:
Last Closed: 2021-10-18 17:38:02 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 141 0 None None None 2021-08-20 04:24:32 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:38:16 UTC

Comment 1 Varsha 2021-07-14 23:24:24 UTC
https://github.com/operator-framework/operator-sdk/pull/5062 - would solve this issue.

Comment 2 Fan Jia 2021-07-16 12:45:48 UTC
(In reply to Varsha from comment #1)
> https://github.com/operator-framework/operator-sdk/pull/5062 - would solve
> this issue.

will check.

Comment 3 Fan Jia 2021-07-22 10:15:17 UTC
passed in the upsteam
$ operator-sdk run bundle quay.io/xxxx/ditto-operator:0.1.0
INFO[0022] Successfully created registry pod: quay-io-xxxx-ditto-operator-0-1-0 
INFO[0022] Created CatalogSource: ditto-operator-catalog 
INFO[0023] OperatorGroup "operator-sdk-og" created      
INFO[0023] Created Subscription: ditto-operator-v0-1-0-sub 
INFO[0026] Approved InstallPlan install-zx6xf for the Subscription: ditto-operator-v0-1-0-sub 
INFO[0026] Waiting for ClusterServiceVersion "default/ditto-operator.v0.1.0" to reach 'Succeeded' phase 
INFO[0027]   Waiting for ClusterServiceVersion "default/ditto-operator.v0.1.0" to appear 
INFO[0054]   Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Pending 
INFO[0055]   Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Installing 
INFO[0063]   Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Succeeded 
INFO[0064] OLM has successfully installed "ditto-operator.v0.1.0" 
$ operator-sdk version
operator-sdk version: "v1.8.0-32-ga450af0f", commit: "a450af0f981e86e52abb0d2e5d4b46b729e55bc2", kubernetes version: "v1.20.2", go version: "go1.16.5", GOOS: "linux", GOARCH: "amd64"

Comment 4 Jesus M. Rodriguez 2021-08-17 13:53:14 UTC
Waiting on downstream PR to merge. https://github.com/openshift/ocp-release-operator-sdk/pull/141

Comment 5 Fan Jia 2021-08-24 13:35:54 UTC
test env:
1.operator-sdk version: "v1.10.1-ocp", commit: "d71cf4eef5deaf65327992a7bf16b06bc9f58e7d", kubernetes version: "v1.21", go version: "go1.16.5", GOOS: "linux", GOARCH: "amd64"
2.oc version
Client Version: 4.9.0-0.nightly-2021-08-03-200806
Server Version: 4.9.0-0.nightly-2021-08-22-070405
Kubernetes Version: v1.22.0-rc.0+5c2f7cd
3.clusterversion: 4.9.0-0.nightly-2021-08-22-070405
test result:
operator-sdk pkgman-to-bundle wso2am-operator/ --image-tag-base quay.io/xxxx/wso2am --build-cmd "podman build -f bundle.Dockerfile . -t"
operator-sdk run bundle quay.io/xxxx/wso2am:1.0.0
bundle image canbe installed success.

Comment 6 Jesus M. Rodriguez 2021-08-26 01:51:36 UTC
Fixed in v1.10.1-ocp

Comment 11 errata-xmlrpc 2021-10-18 17:38:02 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


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