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

Camel-K build fails with error: open /workspace/builder-656588331/package/context/Dockerfile: no such file or directory #923

Closed
lubuxnl opened this issue Sep 3, 2019 · 7 comments
Labels
status/waiting-for-feedback Needs some feedback

Comments

@lubuxnl
Copy link

lubuxnl commented Sep 3, 2019

I am running Camel-K 1.0.0-M1 with Knative serving and eventing 0.7.1 on Minikube 1.3.1. With this setup I can run the Knative examples from this repository as well as some of the Camel-K examples of the Red Hat Knative tutorial (with a few changes, because these examples were created for a previous Camel-K version). For some other examples from this tutorial however, especially the Cartoon Messages Downloader and the Cartoon Genre Router, the build fails with the message that it can't find the Dockerfile in the workspace directory (see the logfile of the latter example). I suppose this Dockerfile should have been created by the builder, but for some reason it didn't for these examples. Any ideas on how to make this work?

@vinayakadkoli
Copy link

Thanks for bringing this up, even i'm stuck at the same step

@lubuxnl
Copy link
Author

lubuxnl commented Sep 10, 2019

I just recreated my Vagrant/Virtualbox/Minikube VM from scratch and installed Istio, Knative and Camel-K. I then tried to run the printer, splitter and feed routes from the examples/knative folder of this repo. This time the printer and feed routes built and ran fine, but the splitter route encountered the same error as reported in this issue during the build (see logfile). Previously also this route ran fine, so apparently the problem is not with the route itself, but some specific condition. Is it possible to get logging at debug level for the build process, that might help explain the condition that caused the build to fail?

@asifdxtreme
Copy link
Member

Even I am facing the same issue when running multiple integrations parallely with similar set of dependencies.

@lubuxnl
Copy link
Author

lubuxnl commented Sep 14, 2019

Still didn't find a solution, but I found a workaround for this issue: I was able to run the Cartoon Messages Downloader and Cartoon Genre Router examples from the Red Hat Knative tutorial by using the integration kits of the CartoonMessagesMover and ComedyGenreHandler respectively (by adding --kit to the kamel run command).
I also uninstalled Camel-K and reinstalled it and after that I installed the Cartoon Genre Router example first. This time the integration built successfully. Apparently it depends on which integration kits are already available in the platform whether or not this problem occurs.

@lburgazzoli
Copy link
Contributor

@lubuxnl @asifdxtreme is this still an issue ?

@lburgazzoli lburgazzoli added the status/waiting-for-feedback Needs some feedback label Jun 5, 2020
@lubuxnl
Copy link
Author

lubuxnl commented Jun 5, 2020

@lburgazzoli I didn't try this anymore. Currently I am focusing on other technologies, so I probably won't retry in the near future. Sorry.

@lburgazzoli
Copy link
Contributor

no worries, going to close this and you can reopen in the future when you'll get back to camel-k :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/waiting-for-feedback Needs some feedback
Projects
None yet
Development

No branches or pull requests

4 participants