Bug 2110321 - Workloads list page has different PDB action items from details page when All Projects selected
Summary: Workloads list page has different PDB action items from details page when All...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.12.0
Assignee: Cyril
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-25 08:18 UTC by Yadan Pei
Modified: 2023-01-17 19:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Using active namespace, instead of resource's namespace, when listing actions in the kebab menu Consequence: Inconsistency in PDB actions Fix: Use resource's namespace, when listing actions in the kebab menu Result: Consistency in PDB actions, for both when listing in all namespaces and a specific namespace.
Clone Of:
Environment:
Last Closed: 2023-01-17 19:53:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 12117 0 None open Bug 2110321: Workloads list page has different PDB action items from details page when All Projects selected 2022-10-20 17:40:24 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:53:58 UTC

Description Yadan Pei 2022-07-25 08:18:34 UTC
Description of problem:
when all projects are selected, workloads list page and details page shows inconsistent PDB actions 

Version-Release number of selected component (if applicable):
4.12.0-0.nightly-2022-07-25-010250

How reproducible:
Always

Steps to Reproduce:
1. cluster admin goes to All projects deployments list page, click the kebab button of deployment/api-server in openshift-apiserver namespace
2. goes to deployment details page /k8s/ns/openshift-apiserver/deployments/apiserver, click 'Actions' and check PDB related action items
3. goes to project deployment list page /k8s/ns/openshift-apiserver/deployments, check the action items 

Actual results:
1. the PDB action is 'Add PodDisruptionBudget'
2. the PDB actions are 'Edit PodDisruptionBudget' and 'Remove PodDisruptionBudget'
3. the PDB actions are 'Edit PodDisruptionBudget' and 'Remove PodDisruptionBudget'


Expected results:
1. workloads list and details page should have consistent PDB action items when 'All projects' are selected

Additional info:

Comment 3 Yadan Pei 2022-10-28 02:17:38 UTC
- When workloads has no HPA defined,  select 'All Projects'  in project dropdown, workloads list kebab action item and workloads detail page Action item has consistent menu 'Remove HorizontalPodAutoscaler'

- When workloads has HPA added, select 'All Projects'  in project dropdown, workloads list kebab action item and workloads detail page Action item has consistent menu 'Add HorizontalPodAutoscaler' 'Edit HorizontalPodAutoscaler'{}

verified on 4.12.0-0.nightly-2022-10-25-210451

Comment 6 errata-xmlrpc 2023-01-17 19:53:27 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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), 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/RHSA-2022:7399


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