Bug 1414709

Summary: [trello 60kr8WOB] StatefulSet page has no filter
Product: OKD Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
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:49:59 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-19 10:27:43 UTC
Description of problem:
StatefulSet page has no filter

Version-Release number of selected component (if applicable):
openshift v1.5.0-alpha.1+e0218ac-340

How reproducible:
Always

Steps to Reproduce:
1. Create statefulset that defines labels:
$ cat statefulset-hello.yaml
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
  creationTimestamp: null
  generation: 1
  labels:
    app: hello
    name: hello
  name: hello
spec:
  replicas: 1
  selector:
    matchLabels:
      app: hello
  serviceName: hello
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: hello
    spec:
      containers:
      - image: aosqe/hello-openshift
        imagePullPolicy: Always
        name: hello
        ports:
        - containerPort: 8080
          name: web
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      securityContext: {}
      terminationGracePeriodSeconds: 30
status:
  replicas: 0

$ oc create -f statefulset-hello.yaml

2. On web, click Applications --> Stateful Sets, check filter box

Actual results:
2. No filter box

Expected results:
2. Should have filter box

Additional info:

Comment 1 openshift-github-bot 2017-01-19 22:08:53 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/bee75d368cef771412f260e1f727f05c00de730f
Bug 1414709 - stateful sets page has no label filter

Comment 2 Xingxing Xia 2017-01-20 03:37:26 UTC
Verified in openshift v1.5.0-alpha.2+2543fed-29. Fixed. Now statefulset page has filter box. After creating several statefulsets with various labels, the filter box can work correctly.