Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1609204 - [admin] Pod selector link should not point to "all projects" searching page.
[admin] Pod selector link should not point to "all projects" searching page.
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.11.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.11.0
Assigned To: Samuel Padgett
Yadan Pei
: OnlineStarter, Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-27 05:23 EDT by Yanping Zhang
Modified: 2018-10-11 03:22 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:22:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:22 EDT

  None (edit)
Description Yanping Zhang 2018-07-27 05:23:58 EDT
Description of problem:
Common user creates dc in project, then click link under "POD SELECTOR" on dc overview page, it jumps to all project searching page, on which user has no permission to list pod.

Version-Release number of selected component (if applicable):
openshift v3.11.0-0.9.0
kubernetes v1.11.0+d4cacc0
registry.reg-aws.openshift.com:443/openshift3/ose-console                   v3.11               e03103f86278        3 days ago          273 MB

How reproducible:
Always

Steps to Reproduce:
1.Create dc in project.
# oc run testdc --image=aosqe/hello-openshift -n protest
2.On console, goto the "testdc" page, on "Overview' tab, click link under "POD SELECTOR".
3.

Actual results:
2.It jumps to all project searching page, and user has no permission to list pods. The link url is "https://console.****/search/all-namespaces?kind=Pod&q=run%3Dtestdc"

Expected results:
2.Should jump to current project searching page.

Additional info:
Same issue exists for other resources' "POD SELECTOR" link, eg, deployment, service,rc, statefulset and so on.
Comment 1 Samuel Padgett 2018-07-27 08:38:22 EDT
https://github.com/openshift/console/pull/324
Comment 2 Yanping Zhang 2018-08-03 02:35:00 EDT
Kubernetes v1.11.0+d4cacc0
OpenShift v3.11.0-0.10.0
ose-console                   v3.11               abfda950c7e7        8 hours ago         273 MB
Tested on ocp 3.11 with above version, all "POD SELECTOR' link will open searching page for current project, and the search result is correct.
The bug has been fixed, so move it to Verified.
Comment 3 Yadan Pei 2018-08-15 01:52:42 EDT
Pod Selector also need to be fixed on Resources list page:

Deployment Configs
Deployments
Replication Controllers
Replica Sets
Daemon Sets
Comment 4 Samuel Padgett 2018-08-15 09:56:44 EDT
https://github.com/openshift/console/pull/407
Comment 6 Yanping Zhang 2018-08-24 00:58:56 EDT
Pod selector link on services list page still points to "all project" search page.
Comment 7 Samuel Padgett 2018-08-24 13:15:59 EDT
Follow on fix for services:

https://github.com/openshift/console/pull/455
Comment 8 Yanping Zhang 2018-08-29 05:38:12 EDT
openshift v3.11.0-0.24.0
kubernetes v1.11.0+d4cacc0
registry.dev.redhat.io/openshift3/ose-console                   v3.11.0             e174a3b28f9ab       283MB
Checked on OCP env with above version, the issue in Comment 6 has been fixed.
The bug has been fixed, so move it to Verified.
Comment 10 errata-xmlrpc 2018-10-11 03:22:24 EDT
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-2018:2652

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