-
Notifications
You must be signed in to change notification settings - Fork 345
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
[ppc64le] bundle image generated using bundle
and bundle-build
targets incompatible with opm
#1923
Comments
Thanks a lot for the detailed report. It seems there is an issue with the
Could you please try by removing the field from the CSV? |
Thanks @astefanutti ! That got rid of the opm error. Will check further installation now :) |
@amitsadaphule thanks a lot for the feedback. Let us know if you face any other issues. |
@astefanutti I was able to get the catalogsource added to the local cluster for camel-k with the following yaml:
Logs:
Also, when I executed
I'm not sure what's going wrong here. Am I missing something obvious? Thanks in advance! |
Could you please provide the whole definition of the Subscription that is created by the Also, as a work-around, you may be able to work through this from the OpenShift Web console instead of the Kamel CLI. You should be able to find your CatalogSource from the Operator Hub UI, and then create a Subscription there. |
Here is the subscription definition:
Also, I had tried to manually create the subscription with the following yaml:
But that had the same behavior too. No operator pod was shown. |
Could you please check the PackageManifest created for your CatalogSource, and make sure the Subscription matches the PackageManifest information? You can follow the documentation from: https://github.com/operator-framework/operator-registry#using-the-index-with-operator-lifecycle-manager. |
Thanks a lot @astefanutti ! The following command did the trick:
in combination with the catalog-source.yaml:
|
Great, thanks for the feedback. It may be useful that we document these steps of deploying to OLM from source. |
Yes, I'll share the link once I publish the build script and documents. |
I've published the build-script for ppc64le and the documentation related to validation on Openshift at https://github.com/ppc64le/build-scripts/tree/master/c/camel-k |
Thanks for the update. Do you think some of this documentation could be included into Camel K documentation? I'm thinking about the OLM deployment from source for example, that is not cover in the existing documentation AFAIK: https://github.com/ppc64le/build-scripts/tree/master/c/camel-k#olm-installation-and-validation |
Sure @astefanutti ! I'll try and raise a PR in next week with that documentation. |
Awesome, thanks @amitsadaphule! |
@astefanutti, I've raised #2001. Please review and let me know your feedback. |
Thanks @amitsadaphule, I've just reviewed the PR. What do think about closing this issue? |
SUMMARY
I was able to build the binary and image on ppc64le platform. Also, I was able to get
kamel install
andkamel run
commands to work with--olm=false
flag on ocp cluster (4.6.8). But in order to get this to work with OLM, I did the following steps in order to use the bundle image to create a custom catalog source for camel-k:But that failed with the error "Invalid bundle", log below:
camel-k VERSION
Camel K Client 1.3.0
OS, environment
RHEL 8.2 ppc64le
OCP 4.6.8
Expected Results
opm index add
should be successful in creating the catalog image, which can then be used to create a catalogsource, which in turn can help with OLM based installation of the operator.References
https://medium.com/swlh/deploying-operator-webhooks-with-olm-be5612795840
http://krsacme.com/k8s-operator-custom-catalog/
https://redhat-connect.gitbook.io/certified-operator-guide/ocp-deployment/openshift-deployment
https://www.openshift.com/blog/custom-operator-registry-catalog-source-for-openshift-4.5
Please help me resolve this issue or point me in the right direction to test the OLM based installation using locally generated camel-k image. Thanks!
The text was updated successfully, but these errors were encountered: