Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1321309 - [behind proxy] Overriding Builder Image Scripts by "scripts: URL" in buildConfig doesn't work under proxy
[behind proxy] Overriding Builder Image Scripts by "scripts: URL" in buildCon...
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:55 EDT by Kenjiro Nakayama
Modified: 2017-01-21 21:46 EST (History)
6 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:34 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)
build config with proxy and scripts setting (1.26 KB, text/plain)
2016-03-26 00:56 EDT, Kenjiro Nakayama
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2216851 None None None 2016-04-01 10:10 EDT
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:55:26 EDT
Description of problem:

- I configured buildconfig to override builder image script followed by doc[1], but it doesn't work under proxy.

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

- OSE v3.1.1.6-21-gcd70c35

How reproducible:

 Steps to Reproduce:

 0. Setup under the proxy
 1. Set "scripts: http://xxxx" in buildconfig
 2. Start build by oc start-build <BC>
 3. Check the log

Actual results:

- It caused build error

Expected results:

- It passed build under the proxy

Additional info:

- Please also refer to https://bugzilla.redhat.com/show_bug.cgi?id=1321308

[1] https://docs.openshift.com/enterprise/3.1/dev_guide/builds.html#override-builder-image-scripts
Comment 1 Cesar Wong 2016-03-25 11:49:29 EDT
How are you specifying the proxy to use?
Can you also include the BuildConfig yaml/json? Thx
Comment 2 Kenjiro Nakayama 2016-03-26 00:56 EDT
Created attachment 1140536 [details]
build config with proxy and scripts setting
Comment 4 Kenjiro Nakayama 2016-03-26 01:00:40 EDT
I attached my build config and customer's build config(in private).

BTW, I can't find any test case or record of OSE features under proxy by our QA/engineering team. Where is the record?
Comment 5 Cesar Wong 2016-03-29 12:48:49 EDT
Fixed in Origin with https://github.com/openshift/origin/pull/8265

Kenjiro, I'm redirecting your question about the test cases to the QA team. They should be able to point to the test cases related to proxy.
Comment 7 Troy Dawson 2016-03-30 14:59:59 EDT
Should be in atomic-openshift-3.2.0.9-1.git.0.b99af7d.el7, which is now built and ready for testing.
Comment 8 Dongbo Yan 2016-03-31 06:03:50 EDT
Verified this bug, fixed.

openshift v3.2.0.9
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5
Comment 10 errata-xmlrpc 2016-05-12 12:34:34 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.