Bug 1802429

Summary: Order by Age don't work on Serverless -> Services list page
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: ralpert
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jcaiani, jokerman, yapei
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Services were being listed in alphabetical order, so that oc wasn't the first option. I pulled it out of the sort and appended it to the front so it would be first.
Story Points: ---
Clone Of:
: 1806157 (view as bug list) Environment:
Last Closed: 2020-07-13 17:14:44 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:
Bug Depends On:    
Bug Blocks: 1806157    
Attachments:
Description Flags
Serverless Services list page none

Description Yadan Pei 2020-02-13 06:14:37 UTC
Description of problem:
In Serverless -> Services list table, Age column ordering don't work

Version-Release number of selected component (if applicable):
serverless-operator.v1.4.0
4.4.0-0.nightly-2020-02-12-191550


How reproducible:
Always

Steps to Reproduce:
1. Enable OpenShift Serverless operator 
2. Create several example service at Serverless -> Services page using default YAML
3. Check resources on Serverless -> Services list page and order by Age


Actual results:
3. Table data didn't change when Age ordering direction is changed

Expected results:
3. Table data should change accordingly when Age ordering direction is changed

Additional info:

Comment 1 bpeterse 2020-02-14 10:58:29 UTC
I was not able to reproduce, but lets confirm specificity:
- Install OpenShift Serverless Operator from OperatorHub
- Create knative-serving namespace (required by operator)
- Create instances of knative-serving (operand)
- View knative serving tab on the Installed Operators -> OpenShift Serverless Operator -> Operator Details page
- Sort by last updated column (age?) 

This sorting function works.

Comment 2 Yadan Pei 2020-02-17 08:49:47 UTC
Hi Ben,

Tried to get a screenshot then it would be much clear, but failed to install OpenShift Serverless Operator today. 

The issue is Order by 'Age' on Serverless -> Services list page not Installed Operators page. Let me know if it's still not clear

Comment 3 Yadan Pei 2020-02-17 09:38:47 UTC
Created attachment 1663476 [details]
Serverless Services list page

I installed OpenShift Serverless Operator successfully and got a screenshot of the page, it's much clear

Comment 6 Yadan Pei 2020-03-06 07:18:04 UTC
1. Enable OpenShift Serverless operator, and create Knative Serving instance
cat > serving.yaml << EOF
apiVersion: v1
kind: Namespace
metadata:
 name: knative-serving
---
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeServing
metadata:
 name: knative-serving
 namespace: knative-serving
EOF
$ oc apply -f serving.yaml

2. Create several example service at Serverless -> Services page using default YAML
3. Check resources on Serverless -> Services list page and order by Age

When we change ordering direction, the table row changes too


Verified on 4.5.0-0.ci-2020-03-04-223611

Comment 8 errata-xmlrpc 2020-07-13 17:14:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2409