Bug 1415087

Summary: [trello 60kr8WOB] Always show "scaling to 1..." in donut on Stateful Sets page which has multiple replicas
Product: OKD Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jforrest, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-30 12:50:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xingxing Xia 2017-01-20 08:25:08 UTC
Description of problem:
Always show "scaling to 1..." in donut on Stateful Sets page which has multiple replicas. DC page has no this problem.

Version-Release number of selected component (if applicable):
openshift v1.5.0-alpha.2+2543fed-29

How reproducible:
Always

Steps to Reproduce:
1. Create StatefulSet with replicas 2
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
  labels:
    app: hello
    name: hello
  name: hello
spec:
  replicas: 2
  selector:
    matchLabels:
      app: hello
  serviceName: hello
  template:
    metadata:
      labels:
        app: hello
    spec:
      containers:
      - image: aosqe/hello-openshift
        name: hello
        ports:
        - containerPort: 8080
          name: web
          protocol: TCP
      restartPolicy: Always

2. After statefulset 2 pods are all running, on web console, click Applications --> Stateful Sets --> hello, check the donut

Actual results:
2. The number in donut is 2, but there is always "scaling to 1...".
"overview" page does not have that, though.

Expected results:
2. Should not always show "scaling to 1..." in Stateful Sets page.

Additional info:

Comment 2 Xingxing Xia 2017-01-22 06:00:17 UTC
Verified in openshift v1.5.0-alpha.2+6e9d68d-91. Fixed. Now, no "scaling to 1..." in donut after all replicas are running. Thanks!