Bug 1321308 - Overriding Builder Image Scripts by "scripts" in buildConfig doesn't output any message when it failed to download scripts
Summary: Overriding Builder Image Scripts by "scripts" in buildConfig doesn't output a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Cesar Wong
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-25 10:52 UTC by Kenjiro Nakayama
Modified: 2019-11-14 07:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:34:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1064 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 20:19:17 UTC

Description Kenjiro Nakayama 2016-03-25 10:52:52 UTC
Description of problem:

- I configured buildconfig to override builder image script followed by doc[1]. When if I configured with invalid URL, it doesn't output "script download error" or stop build process.

Version-Release number of selected component (if applicable):

- OSE v3.1.1.6-21-gcd70c35

How reproducible:

Steps to Reproduce:
1. Setup invlid URL in "script: http://xxx" on buildConfig. (please refer to [1])
2. Start build by oc start-build <BC>
3. Check the log

Actual results:

- It outputs build failur message, but it is not scripts download error message.

E0325 10:19:47.667712       1 util.go:85] /bin/sh: http:/foo.bar.com/invalid/assemble: No such file or directory

Expected results:

- S2I outputs "s2i script download error" message or stop the build process.

[1] https://docs.openshift.com/enterprise/3.1/dev_guide/builds.html#override-builder-image-scripts

Comment 1 Dongbo Yan 2016-03-28 03:10:32 UTC
QE has reproduced this bug

Comment 3 Cesar Wong 2016-03-29 21:36:46 UTC
Origin Pull: https://github.com/openshift/origin/pull/8281

Comment 4 Troy Dawson 2016-03-30 19:02:51 UTC
Should be in atomic-openshift-3.2.0.9-1.git.0.b99af7d.el7, which is now built and ready for testing.

Comment 5 Dongbo Yan 2016-03-31 08:34:10 UTC
Verified this bug, it is fixed. Error output like this:
Error: build error: Could not download any scripts from URL https://xxxxx

openshift v3.2.0.9
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5

Comment 7 errata-xmlrpc 2016-05-12 16:34:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2016:1064


Note You need to log in before you can comment on or make changes to this bug.