Bug 1243742 - Can't cancel a build on openshift v3 stg env
Summary: Can't cancel a build on openshift v3 stg env
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Build
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.x
Assignee: Martin Nagy
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-16 08:14 UTC by DeShuai Ma
Modified: 2016-07-26 23:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-23 15:08:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description DeShuai Ma 2015-07-16 08:14:12 UTC
Description of problem:
On openshift v3 stg env, when cancel a build the build's status mostly become Error.

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

How reproducible:
90%

Steps to Reproduce:
1.Start a build
$ oc start-build ruby-sample-build

2.When the build is running then cancel it
$ oc cancel-build ruby-sample-build-13 --loglevel=5
I0716 15:46:14.098327   15189 cancelbuild.go:103] Build ruby-sample-build-13 was cancelled.
ruby-sample-build-13

3.Check the build status
$ oc get build

Actual results:
3. The build status is Error

Expected results:
3.The build status should be canceled


Additional info:

Comment 1 Ben Parees 2015-07-21 20:02:22 UTC
Martin, possible dupe of the issue you're already working on.

Comment 2 DeShuai Ma 2015-07-22 07:31:45 UTC
On ose env sometime cancel is error too.

[root@master ~]# openshift version
openshift v3.0.1.0-388-g51e9da7
kubernetes v1.0.0

dhcp-128-76:Documents dma$ oc get build
NAME                     TYPE      STATUS      POD
nodejs-ex-1              Source    Complete    nodejs-ex-1-build
nodejs-ex-2              Source    Cancelled   nodejs-ex-2-build
nodejs-ex-3              Source    Complete    nodejs-ex-3-build
nodejs-ex-4              Source    Error       nodejs-ex-4-build
nodejs-ex-4-1437549877   Source    Complete    nodejs-ex-4-1437549877-build

Comment 3 Ben Parees 2015-07-22 14:45:19 UTC
also tracked here: https://github.com/openshift/origin/issues/3353

Comment 4 Ben Parees 2015-07-24 01:30:41 UTC
this has been fixed here but not sure when it'll get to stage:
https://github.com/openshift/origin/pull/3846

Comment 5 DeShuai Ma 2015-09-06 06:25:41 UTC
openshift-v3 stg can't login now. will ack this bug when it available.

Comment 6 DeShuai Ma 2015-09-14 02:55:18 UTC
openshift-v3 stg can't login still. will ack this bug when it available.

Comment 7 Martin Nagy 2015-09-15 08:52:41 UTC
DeShuai, was this changed to MODIFIED by accident?

Comment 8 Ben Parees 2015-10-11 21:40:59 UTC
pretty sure the stage environment has been updated, DeShuai can you take another look?

Comment 9 DeShuai Ma 2015-10-12 05:21:53 UTC
verify this bug.


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