You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[provide a description of the issue]
We have a BuildConfig using an inline Dockerfile definition. When an error occurs during the build, we face the following error
failed to open log file "/var/log/pods/d0137be4-329a-11e8-9ed4-005056ab11ad/docker-build_0.log": open /var/log/pods/d0137be4-329a-11e8-9ed4-005056ab11ad/docker-build_0.log: no such file or directory
This should not occur because of this fix: /pull/16912 but we have the issue in openshift 3.7
Create a BuildConfig with the following content , we intentionally try to install a package named jqXYZ to make the build fail.
failed to open log file "/var/log/pods/d0137be4-329a-11e8-9ed4-005056ab11ad/docker-build_0.log": open /var/log/pods/d0137be4-329a-11e8-9ed4-005056ab11ad/docker-build_0.log: no such file or directory
Expected Result
Show the logs for the build
Additional Information
If you go to the docker node running the build and run docker log , we can see the actual logs.
The text was updated successfully, but these errors were encountered:
akram
changed the title
Dockerfile based BuildConfig fails to get logs when log-driver is journal
Dockerfile based BuildConfig fails to get logs when log-driver is journald
Mar 28, 2018
[provide a description of the issue]
We have a BuildConfig using an inline Dockerfile definition. When an error occurs during the build, we face the following error
This should not occur because of this fix: /pull/16912 but we have the issue in openshift 3.7
Current Result
failed to open log file "/var/log/pods/d0137be4-329a-11e8-9ed4-005056ab11ad/docker-build_0.log": open /var/log/pods/d0137be4-329a-11e8-9ed4-005056ab11ad/docker-build_0.log: no such file or directory
Expected Result
Show the logs for the build
Additional Information
If you go to the docker node running the build and run docker log , we can see the actual logs.
The text was updated successfully, but these errors were encountered: