Bug 1321309 - [behind proxy] Overriding Builder Image Scripts by "scripts: URL" in buildConfig doesn't work under proxy
Summary: [behind proxy] Overriding Builder Image Scripts by "scripts: URL" in buildCon...
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:55 UTC by Kenjiro Nakayama
Modified: 2019-11-14 07:40 UTC (History)
6 users (show)

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


Attachments (Terms of Use)
build config with proxy and scripts setting (1.26 KB, text/plain)
2016-03-26 04:56 UTC, Kenjiro Nakayama
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2216851 0 None None None 2016-04-01 14:10:28 UTC
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:55:26 UTC
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 15:49:29 UTC
How are you specifying the proxy to use?
Can you also include the BuildConfig yaml/json? Thx

Comment 2 Kenjiro Nakayama 2016-03-26 04:56:13 UTC
Created attachment 1140536 [details]
build config with proxy and scripts setting

Comment 4 Kenjiro Nakayama 2016-03-26 05:00:40 UTC
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 16:48:49 UTC
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 18:59:59 UTC
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 10:03:50 UTC
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 16:34:34 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.