Bug 1806157

Summary: Order by Age don't work on Serverless -> Services list page
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: ralpert
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jcaiani, jokerman, ralpert, yapei
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1802429 Environment:
Last Closed: 2020-04-29 14:23:10 UTC Type: ---
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: 1802429    
Bug Blocks:    

Description Samuel Padgett 2020-02-22 13:32:02 UTC
+++ This bug was initially created as a clone of Bug #1802429 +++

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:

--- Additional comment from  on 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.

--- Additional comment from Yadan Pei on 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

--- Additional comment from Yadan Pei on 2020-02-17 09:38:47 UTC ---

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

Comment 3 Yadan Pei 2020-02-24 07:17:38 UTC
1. Install OpenShift Serverless Operator
2. Create knative serving instance

# cat serving.yaml 
apiVersion: v1
kind: Namespace
metadata:
 name: knative-serving
---
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeServing
metadata:
 name: knative-serving
 namespace: knative-serving

# oc apply -f serving.yaml 
namespace/knative-serving created
knativeserving.operator.knative.dev/knative-serving created

3. Create two services at Serverless -> Services page 
4. Order by Age in Serverless -> Services list page, now the order works 

Verified on     4.4.0-0.nightly-2020-02-23-191320