Bug 1383042 - [userinterface_public_714] Should disable scale up/down when deployment is in rolling update process
Summary: [userinterface_public_714] Should disable scale up/down when deployment is in...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
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-10-09 09:41 UTC by Yadan Pei
Modified: 2016-12-09 21:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-09 21:49:52 UTC
Target Upstream Version:


Attachments (Terms of Use)
DeploymentInRollingUpdateProcess-ScaleUpDownEnabled (18.33 KB, image/png)
2016-10-09 09:41 UTC, Yadan Pei
no flags Details
DCInDeploymentProcess-BothDisabled (18.33 KB, image/png)
2016-10-09 09:42 UTC, Yadan Pei
no flags Details

Description Yadan Pei 2016-10-09 09:41:11 UTC
Description of problem:
When deployment is in rolling update process, the scale up and scale down arrow for new deployment on overview page still enabled

Version-Release number of selected component (if applicable):
openshift v1.4.0-alpha.0+cc110d2 (latest origin-web-console, the latest commit is 6a784016a2255481933d0c527ad835c9aaa09c14)


How reproducible:
Always

Steps to Reproduce:
1.Create deployment
# cat >> hello-deployment-1.yaml << EOF
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: hello-openshift
spec:
  replicas: 4
  template:
    metadata:
      labels:
        app: hello-openshift
    spec:
      containers:
      - name: hello-openshift
        image: openshift/hello-openshift
        ports:
        - containerPort: 80
  strategy:
    rollingUpdate:
      maxSurge: 3
      maxUnavailable: 2
    type: RollingUpdate

EOF
# oc create -f hello-deployment-1.yaml
deployment "hello-openshift" created
2. Wait all pods(4 pods) are ready 
3. Update deployment/hello-openshift,change .spec.template.spec.containers.image to yapei/hello-openshift-fedora
# oc edit deployment/hello-openshift
deployment "hello-openshift" edited
4. Check deployments on Overview page

Actual results:
4. When deployment in Rolling update process, scale up and scale down arrow for new deployment is still enabled

Expected results:
4. Should disabled scale up and scale down arrow for new ones when deployment in rolling update process until deployment update finish

Additional info:

Comment 1 Yadan Pei 2016-10-09 09:41:58 UTC
Created attachment 1208510 [details]
DeploymentInRollingUpdateProcess-ScaleUpDownEnabled

Comment 2 Yadan Pei 2016-10-09 09:42:35 UTC
Created attachment 1208511 [details]
DCInDeploymentProcess-BothDisabled

Comment 4 Jessica Forrester 2016-10-26 18:06:34 UTC
origin bug, this can go straight to ON_QA

Comment 5 Yadan Pei 2016-10-27 02:58:55 UTC
Checked against latest origin-web-console(latest commit is #746)

Scale Up and Scale Down is still enabled when deployment in rolling process

Comment 6 Samuel Padgett 2016-10-27 12:05:33 UTC
I can't reproduce. What are seeing? Do the buttons never disable at all?

Comment 7 Yadan Pei 2016-10-31 09:37:42 UTC
Hi Samuel, today I checked against 3.4.0.17 and found this has been fixed.

Scale up and down are disabled for both old & new deployment during the update process

Will move to VERIFIED, sorry about inconvenience.


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