Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1542247 - [3.7] Unclear warning if set --no-cache for source build
[3.7] Unclear warning if set --no-cache for source build
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build (Show other bugs)
3.7.0
Unspecified Unspecified
medium Severity urgent
: ---
: 3.7.z
Assigned To: Ben Parees
Wenjing Zheng
:
Depends On: 1541914
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-05 17:13 EST by Ben Parees
Modified: 2018-04-05 05:39 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Story Points: ---
Clone Of: 1541914
Environment:
Last Closed: 2018-04-05 05:38:31 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 RHBA-2018:0636 None None None 2018-04-05 05:39 EDT

  None (edit)
Description Ben Parees 2018-02-05 17:13:48 EST
+++ 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 13:44:00 EST
https://github.com/openshift/ose/pull/1051
Comment 3 Wenjing Zheng 2018-02-13 01:40:27 EST
Verified with below expected result:
[root@host-172-16-120-119 ~]# oc start-build ruby-ex --no-cache=false
Error from server (BadRequest): Cannot specify Docker build specific options on default/ruby-ex, not a Docker build.
[root@host-172-16-120-119 ~]# oc version
oc v3.7.29
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://172.16.120.119:8443
openshift v3.7.29
kubernetes v1.7.6+a08f5eeb62
[root@host-172-16-120-119 ~]# openshift version
openshift v3.7.29
kubernetes v1.7.6+a08f5eeb62
etcd 3.2.8
Comment 7 errata-xmlrpc 2018-04-05 05:38:31 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/RHBA-2018:0636

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