Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1326214 - Should disable scale up for cancelled deployment on overview page
Should disable scale up for cancelled deployment on overview page
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.2.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Samuel Padgett
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-12 03:46 EDT by Yadan Pei
Modified: 2016-05-12 12:35 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-05-12 12:35:51 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 RHSA-2016:1064 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 16:19:17 EDT

  None (edit)
Description Yadan Pei 2016-04-12 03:46:14 EDT
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 10:09:48 EDT
This only happens for deployments without a service.

https://github.com/jwforres/origin/pull/45
Comment 2 Samuel Padgett 2016-04-12 10:43:40 EDT
https://github.com/openshift/origin/pull/8476
Comment 3 Yadan Pei 2016-04-19 03:51:44 EDT
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 12:35:51 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/RHSA-2016:1064

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