Bug 1389220 - Monitoring page should set correct resource type when resource type "Deployments" selected
Summary: Monitoring page should set correct resource type when resource type "Deployme...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-27 08:34 UTC by Yadan Pei
Modified: 2016-12-09 21:50 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Yadan Pei 2016-10-27 08:34:28 UTC
Description of problem:
Go to monitoring page, select "Deployments" from the resource list, refresh the page then resource type will be set as "Replication Controllers"

Version-Release number of selected component (if applicable):
latest origin-web-console(latest commit is e79e649)

How reproducible:
Always

Steps to Reproduce:
1.Create Deployment
# cat >> deployment.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 deployment.yaml
2.Go to Monitoring page, select "Deployments" to only monitor deployments
3. Refresh the page

Actual results:
3. After refresh the monitoring page, Resource type is shown as "Replication Controllers" in the list

Expected results:
3. There is no "Replication Controllers" resource type in the list on Monitoring page, so should set resource type as "Deployments"

Comment 1 Yadan Pei 2016-11-07 06:15:26 UTC
Checked against v1.4.0-alpha.1+b81b382-59

When "Deployments" selected,Refreshing Monitoring page/Going back after redirected to other pages could set resource type correctly as "Deployments" 

Move to VERIFIED


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