Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1321308 - Overriding Builder Image Scripts by "scripts" in buildConfig doesn't output any message when it failed to download scripts
Overriding Builder Image Scripts by "scripts" in buildConfig doesn't output a...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build (Show other bugs)
3.1.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Cesar Wong
Wenjing Zheng
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-25 06:52 EDT by Kenjiro Nakayama
Modified: 2016-05-12 12:34 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-05-12 12:34:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1064 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 16:19:17 EDT

  None (edit)
Description Kenjiro Nakayama 2016-03-25 06:52:52 EDT
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-27 23:10:32 EDT
QE has reproduced this bug
Comment 3 Cesar Wong 2016-03-29 17:36:46 EDT
Origin Pull: https://github.com/openshift/origin/pull/8281
Comment 4 Troy Dawson 2016-03-30 15:02:51 EDT
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 04:34:10 EDT
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 12:34:28 EDT
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.