Bug 1311435 - [devexp_public_844]Cannot implement post-build command when adding Command to bc and build
[devexp_public_844]Cannot implement post-build command when adding Command t...
Product: OpenShift Origin
Classification: Red Hat
Component: Build (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Cesar Wong
Wenjing Zheng
Depends On: 1311426
  Show dependency treegraph
Reported: 2016-02-24 04:19 EST by wewang
Modified: 2016-02-24 04:33 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1311426
Last Closed: 2016-02-24 04:33:38 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description wewang 2016-02-24 04:19:26 EST
+++ This bug was initially created as a clone of Bug #1311426 +++

Version-Release number of selected component (if applicable):
openshift v1.1.3-228-ge8dd2a2
kubernetes v1.2.0-alpha.7-703-gbc4550d
etcd 2.2.5

Description of problem:
Cannot implement post-build command when adding Command  to bc and build

Steps to Reproduce:
1. Login to openshift and create project 
2. Create app
   $oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json
3.  Add Command  to bc and build
                 "postCommit": {
                    "command": [

   $oc start-build <bc>
4. Check the log 

Actual results:
4. I0224 09:06:43.877799       1 common.go:134] Running post commit hook with image wewang/ruby-sample-build-10:59791539 ...
F0224 09:06:44.568459       1 builder.go:204] Error: build error: start container "openshift_s2i-build_ruby-sample-build-10_wewang_post-commit": API error (404): Cannot start container 62f8bad2d5b107a80b81396de4d4005b3e3e9ed515f71eb1071b8c7b4b9b7c96: [8] System error: exec: "bundle": executable file not found in $PATH

total logs:http://pastebin.test.redhat.com/351317

Expected results:

Can implement Command   and image push to registry
Comment 1 wewang 2016-02-24 04:33:38 EST
similar problem with bug #1311426, so close it

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