Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1620368

Summary: [admin] Useless Job Overview info on CronJob page
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas, yapei
Target Milestone: ---   
Target Release: 3.11.0   
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: 2018-08-27 12:10:11 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:
Attachments:
Description Flags
CronJobPage
none
UpdatedCronJobs none

Description Yadan Pei 2018-08-23 05:30:02 UTC
Description of problem:
After we create a CronJob, there is a Job Overview table on CronJob overview, didn't find useful info from the table

Version-Release number of selected component (if applicable):
registry.reg-aws.openshift.com:443/openshift3/ose-console                   v3.11               55d0d55a696c        22 hours ago        273 MB
openshift v3.11.0-0.20.0

How reproducible:
Always

Steps to Reproduce:
1.Create CronJob
apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: hello
spec:
  schedule: "*/1 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: hello
            image: busybox
            args:
            - /bin/sh
            - -c
            - date; echo Hello from the Kubernetes cluster
          restartPolicy: OnFailure
2.Check CronJob details on CronJob Overview 


Actual results:
2.There are CronJob Overview and Job Overview on page, but in Job Overview table, we can't see any useful info about jobs created, NAME, CREATED AT, STATUS, START TIME, COMPLETION TIME don't give useful info

Expected results:
2.Maybe we could add/update these fields NAME, CREATED AT, STATUS, START TIME, COMPLETION TIME with correct value, or remove Job Overview info from CronJob page?

Additional info:

Comment 1 Yadan Pei 2018-08-23 05:30:27 UTC
Created attachment 1478038 [details]
CronJobPage

Comment 2 Samuel Padgett 2018-08-23 12:50:28 UTC
https://github.com/openshift/console/pull/446

Comment 3 Yadan Pei 2018-08-27 09:23:19 UTC
The CronJob Overview page looks more clear, the added column: Last Schedule Time for CronJob is useful

Useless info about job is removed

Verified on 
registry.dev.redhat.io/openshift3/ose-console                   v3.11.0             363df22948685       283MB

Comment 4 Yadan Pei 2018-08-27 09:23:50 UTC
Created attachment 1478900 [details]
UpdatedCronJobs