-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error on image build but error log is not complete #7
Comments
Are you retrieving the error log with the API or inspecting the file? |
I use the /builder/images/{tk}/detail |
it just says build finished unsuccessfully in the description |
Yes, that field is limited. Because of that, I recommend for debug purposes to read from the log file. But I am not sure if the file is overwritted with |
mmm I see that you rename the puppet manifest to a "manifest.pp" but in the dockerfile I generate I have the generated name (webdk.pp). |
can I advice you to leave the name of the puppet manifest as it is so the generated content will be good both when testing using crane and by hand (if you rename the dockerfile used by hand will not find the manifest.pp and I cannot have multiple manifest.pp in the same folder and I use a single folder for the generation) |
We decided to use standard names. The Dockerfile can read the manifest.pp file from But yes, I can left the name as is. |
also for me the webdk.pp manifest is in the root of the build context and not into a images/changed_generated_name folder |
The fact is that I have no knowledge of the crane environment and with the generated files as they are I need to be able to test both using crane AND by-hand. |
BTW we really need to be able to send the entire log back to the orchestrator or the service provider will not be albe to understand the error and he will not be able to access to the file system of the orchestrator |
yes, but do you want the entire log error in a http response? It could be a big big response. |
Should be fixed now (jmcerpa@25e8fe2). |
Verify and close |
In the last dockService I add methods that allow managers to receive logs from crane. Manager can receive logs about image build and contexts, for example. |
When the manager receives these logs stored in elasticsearch? |
I'm trying to build an image using a working set of files (it builds locally on my machine).
I try to go to the API and get the info of the build but the log is truncated and cannot understand what the error is.
The text was updated successfully, but these errors were encountered: