Hide Forgot
Description of problem: Clicking the N of N pod selector on Overview, it goes to Deployment/DeploymentConfig Pods tab, where unexpected pods are listed, it should goes to RS/RC Pods tab Version-Release number of selected component (if applicable): registry.reg-aws.openshift.com:443/openshift/ose-console:v4.0 with commit f83a4e2cbb8e3071b3ed1e6a0c7f97bc3aeab7a4 openshift v4.0.0-0.52.0 How reproducible: Always Steps to Reproduce: 1.Create 'example' Deployment Config using the example YAML in Deployment Configs page 2.Create 'example' Deployment using the example YAML in Deployments page 3.When all pods are created and running, go to Home -> Overview, it shows 3 of 3 4.Clicking on 3 of 3 for Deployment Config 'example' 5.Clicking on 3 of 3 for Deployment 'example' Actual results: 4. Redirect to deploymentconfigs/example/pods page, but it shows 6 pods 5. Redirect to deployments/example/pods page, but it shows 6 pods also Expected results: 4. It should go to replicationcontrollers/example-1/pods to show only 3 pods 5. It should go to replicasets/example-59d86d4b75/pods to show only 3 pods Additional info:
We use label selectors in the query to create the pod list. Since the examples use the same label selector, it will match additional pods. We can fix by filtering the result using owner references, although we have to do this on the client.
Yes, that's what I'm thinking about: if we can change the filter
I agree we should go to the replica set or replication controller page, not the deployment. Jon, can you take a look?
Fixed by https://github.com/openshift/console/pull/934
https://github.com/openshift/console/pull/934
Checked against registry.svc.ci.openshift.org/openshift/origin-v4.0-2018-12-20-221917@sha256 2e5118bf01de4e2ee4285dda0e633357d7012e12c1f08066ce22c9af3d8bb312 43b646f5b084 8 hours ago 268 MB openshift/console commit ID: 967b28133b5e43c4bdcb48b44d30f63d2cadff9e 1.Create 'example' Deployment Config using the example YAML in Deployment Configs page 2.Create 'example' Deployment using the example YAML in Deployments page 3.When all pods are created and running, go to Home -> Overview, it shows 3 of 3 4.Clicking on 3 of 3 for Deployment Config 'example', it redirects to RC page, showing 3 pods 5.Clicking on 3 of 3 for Deployment 'example', it redirects to RS page, showing 3 pods Move to VERIFIED
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-2019:0758