Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1542248

Summary: [3.6] Unclear warning if set --no-cache for source build
Product: OpenShift Container Platform Reporter: Ben Parees <bparees>
Component: BuildAssignee: Ben Parees <bparees>
Status: CLOSED NOTABUG QA Contact: Wenjing Zheng <wzheng>
Severity: urgent Docs Contact:
Priority: medium    
Version: 3.6.1CC: aos-bugs, jokerman, mmccomas, wzheng, xxia
Target Milestone: ---   
Target Release: 3.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1541914 Environment:
Last Closed: 2018-02-07 15:10:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1541914    
Bug Blocks:    

Description Ben Parees 2018-02-05 22:15:27 UTC
+++ This bug was initially created as a clone of Bug #1541914 +++

Description of problem:
Below warning appears if try to set --no-cache for source build
# oc start-build ruby-ex --no-cache=false
Unable to connect to the server: unexpected EOF; some request body already written

Version-Release number of selected component (if applicable):
oc v3.9.0-0.36.0
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth GSSAPI Kerberos SPNEGO

How reproducible:
always

Steps to Reproduce:
1.oc new-app ruby~https://github.com/openshift/ruby-ex
2.oc start-build ruby-ex --no-cache=false
3.

Actual results:
# oc start-build ruby-ex --no-cache=false
Unable to connect to the server: unexpected EOF; some request body already written

Expected results:
Should warn --no-cache only work for docker build.

Additional info:

--- Additional comment from Ben Parees on 2018-02-05 16:59:45 EST ---

this actually crashes my master api server, so raising severity.

--- Additional comment from Ben Parees on 2018-02-05 17:13:01 EST ---

pr: https://github.com/openshift/origin/pull/18461

Comment 1 Ben Parees 2018-02-07 15:10:14 UTC
these args didn't exist in 3.6