Bug 1300352 - While deleting buildConfig available builds can be cloned
Summary: While deleting buildConfig available builds can be cloned
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Build
Version: 3.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Martin Nagy
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-20 14:28 UTC by Jakub Hadvig
Modified: 2016-07-26 23:47 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Jakub Hadvig 2016-01-20 14:28:35 UTC
Description of problem:
While deleting buildConfig, available builds can be cloned.

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


How reproducible:


Steps to Reproduce:
1. Create an project with and launch a build.
2. Cancel or wait for the build to finish.
3. Edit the buildConfig in any project and add the 'openshift.io/build-config.paused=true' annotation.
4. Try to clone previous build.

Actual results:
The previous build can be cloned.

Expected results:
Previous build cant be cloned,

Additional info:

Comment 1 Martin Nagy 2016-01-21 17:12:21 UTC
Upstream PR here: https://github.com/openshift/origin/pull/6765

Comment 2 Martin Nagy 2016-01-22 09:31:03 UTC
PR was merged, moving to ON_QA

Comment 3 Dongbo Yan 2016-01-25 01:25:25 UTC
Verified this bug

Comment 4 Dongbo Yan 2016-01-25 01:55:04 UTC
test env: devenv-rhel7_3208 (ami-aa6c4dc0)


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