Bug 1326214 - Should disable scale up for cancelled deployment on overview page
Summary: Should disable scale up for cancelled deployment on overview page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-12 07:46 UTC by Yadan Pei
Modified: 2016-05-12 16:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:35:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1064 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 20:19:17 UTC

Description Yadan Pei 2016-04-12 07:46:14 UTC
Description of problem:
For cancelled deployment on overview page, should disable the scale up to keep consistency with CLI, since oc scale dc/<dc-name> didn't scale cancelled deployments

Version-Release number of selected component (if applicable):
openshift v3.2.0.14
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5


How reproducible:
Always

Steps to Reproduce:
1. Create a dc
$ oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/deployment/deployment1.json
deploymentconfig "hooks" created
2. Wait for 1st deploy completed
$ oc deploy hooks
hooks deployment #1 deployed 3 minutes ago - 1 pod
3. Deploy then Cancel the deploy
$ oc deploy hooks --latest; oc deploy hooks --cancel; oc deploy hooks
Started deployment #2
Cancelled deployment #2
hooks deployment #2 failed 5 minutes ago: cancelled by the user
hooks deployment #1 deployed 5 mintes ago - 1 pod
4. Check deployment info on web UI overview page

Actual results:
4. For cancelled deployment #2, scale up is enabled, when scale up on web UI will generate new pod for cancelled deployment #2 

Expected results:
4. For cancelled deployment, should disable the scale up

Additional info:

Comment 1 Samuel Padgett 2016-04-12 14:09:48 UTC
This only happens for deployments without a service.

https://github.com/jwforres/origin/pull/45

Comment 2 Samuel Padgett 2016-04-12 14:43:40 UTC
https://github.com/openshift/origin/pull/8476

Comment 3 Yadan Pei 2016-04-19 07:51:44 UTC
checked on 04-18.2 puddle, this is already fixed, please move to ON_QA, then I could verify

Comment 5 errata-xmlrpc 2016-05-12 16:35:51 UTC
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/RHSA-2016:1064


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