-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Operator-sdk run bundle failed registry pod due to missing root schema field #6584
Comments
/kind bug |
/triage support |
This is interesting. At first glance of the error it seems like there is no Thanks for filing the issue! |
Let me know how I can help debug the issue. It probably is something specifically with |
- updated related make targets for generating proper bundle CSV - yq automatically added indentation to CSV downgraded operator sdk version to v1.29.0 - because hitting same issue as cs-operator operator-framework/operator-sdk#6584 Signed-off-by: Henry H Li <[email protected]>
* fixed make manifests for OperandConfig CRD - to have preserve unknown fields for ConfigService.spec Signed-off-by: Henry H Li <[email protected]> * regenerated deepcopy Signed-off-by: Henry H Li <[email protected]> * added make kustomize Signed-off-by: Henry H Li <[email protected]> * added make run-bundle and make cleanup-bundle - updated related make targets for generating proper bundle CSV - yq automatically added indentation to CSV downgraded operator sdk version to v1.29.0 - because hitting same issue as cs-operator operator-framework/operator-sdk#6584 Signed-off-by: Henry H Li <[email protected]> * changed tests to use ExtensionWithMarker type Signed-off-by: Henry H Li <[email protected]> --------- Signed-off-by: Henry H Li <[email protected]>
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Bug Report
What did you do?
Run
operator-sdk run bundle quay.io/henry_h_li/common-service-operator-bundle:a9101de0-dirty --install-mode OwnNamespace
What did you expect to see?
Successful run with registry pod running and operator pod running
What did you see instead? Under which circumstances?
The operator never gets installed because the registry pod is in crash loop.
Logs
Not sure why there is a missing
q
fromquay
in the pod name either.Environment
Operator type:
/language go
Kubernetes cluster type:
OpenShift
$ operator-sdk version
$ go version
(if language is Go)go version go1.21.0 linux/amd64
$ kubectl version
Possible Solution
Additional context
I hit this error when using operator-sdk v1.30.0 and v1.31.0.
I did not see this issue when using operator-sdk v1.29.0 or v1.28.0, so I do not think it's because of opm since the same default index image was used for all runs.
The only change related to
operator-sdk run bundle
I could find between v1.29.0 and v1.30.0 is this one #6477, but I do not see how this change would cause the error log above.I also have another operator where
operator-sdk run bundle
runs successfully even at v1.30.0 or v1.31.0, https://github.com/IBM/ibm-cert-manager-operatorThe text was updated successfully, but these errors were encountered: