Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run bundle-upgrade is failing because is unable to fit into a ConfigMap, too large #6144

Closed
J0zi opened this issue Nov 7, 2022 · 4 comments · Fixed by #6182
Closed

Run bundle-upgrade is failing because is unable to fit into a ConfigMap, too large #6144

J0zi opened this issue Nov 7, 2022 · 4 comments · Fixed by #6182
Assignees
Labels
needs discussion olm-integration Issue relates to the OLM integration
Milestone

Comments

@J0zi
Copy link

J0zi commented Nov 7, 2022

Bug Report

What did you do?

operator-sdk run bundle quay.io/operatorhubio/strimzi-kafka-operator:v0.31.1 -n testupgrade --skip-tls-verify
...
INFO[0119] OLM has successfully installed "strimzi-cluster-operator.v0.31.1" 

operator-sdk run bundle-upgrade quay.io/operatorhubio/strimzi-kafka-operator:v0.32.0 -n testupgrade --skip-tls-verify
INFO[0001] Found existing subscription with name strimzi-cluster-operator-v0-31-1-sub and namespace testupgrade 
INFO[0001] Found existing catalog source with name strimzi-kafka-operator-catalog and namespace testupgrade 
INFO[0014] Generated a valid Upgraded File-Based Catalog 
FATA[0014] Failed to run bundle upgrade: update catalog error: error creating registry: error building registry pod definition: configMap error: error updating ConfigMap: ConfigMap "operator-sdk-run-bundle-config" is invalid: []: Too long: must have at most 1048576 bytes

What did you expect to see?

Bundle upgraded

What did you see instead? Under which circumstances?

ConfigMap "operator-sdk-run-bundle-config" is invalid: []: Too long: must have at most 1048576 bytes

Environment

$ operator-sdk version

operator-sdk version: "v1.25.0", commit: "3d4eb4b2de4b68519c8828f2289c2014979ccf2a", kubernetes version: "1.25.0", go version: "go1.19.2", GOOS: "linux", GOARCH: "amd64"

$ go version (if language is Go)

$ kubectl version

Possible Solution

Additional context

@varshaprasad96
Copy link
Member

This issue seems to be similar to: #5880

@varshaprasad96 varshaprasad96 moved this to Backlog in OLM Nov 7, 2022
@varshaprasad96 varshaprasad96 added this to the v1.27.0 milestone Nov 7, 2022
@varshaprasad96 varshaprasad96 added the olm-integration Issue relates to the OLM integration label Nov 7, 2022
@abdennour
Copy link

may because you have icon with big size. i mean csv.spec.icon[*].base64data

@J0zi
Copy link
Author

J0zi commented Nov 16, 2022

@everettraven any update?
@abdennour this is not my operator :) v0.31.1 has also big icon and was able to be installed. Upgrade should not fail on the same or similar size icon.

@everettraven
Copy link
Contributor

@J0zi This was on my radar to take a dive into but I got distracted and totally forgot to take a look. Thanks for the ping, I will make sure I take a look today!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion olm-integration Issue relates to the OLM integration
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants