Cause: The topology sidebar action dropdown uses a resource copy when opening the topology sidebar and doesn't update it after that.
Consequence: The data used in the actions don't reflect the latest resource data shown in the topology graph and topology sidebar. The user needs to close and reopen the topology sidebar to see the latest data.
Fix: The "Edit Pod Count" action uses now the latest data.
Result: The user can now edit the pod count twice and saw the latest changes when changing it again.
Known issue: Other actions still use old data. We track this issue at https://issues.redhat.com/browse/OCPBUGS-4691
DescriptionChristoph Jerolimov
2022-07-25 16:18:41 UTC
Description of problem:
This is a follow-up bug report on the issue https://bugzilla.redhat.com/show_bug.cgi?id=2064256, https://bugzilla.redhat.com/show_bug.cgi?id=2103031, and many others. See also: https://github.com/openshift/console/pull/11420
The issue was found by @hyupark in https://bugzilla.redhat.com/show_bug.cgi?id=2103031#c27
The action "Edit Pod count" doesn't show the latest deployment replicas values when opening multiple times. The same action works fine when right-clicking the deployment or opening the action on the Deployment list page or the Deployment details page.
(This might also affect DeploymentConfigs and Serverless Services?)
Version-Release number of selected component (if applicable):
Works fine on 4.8
Could reproduce this issue on 4.9-4.12
How reproducible:
Always
Steps to Reproduce:
1. Switch to developer perspective
2. Import a Deployment from a container image or from git
3. Select the Deployment in the topology to open the sidebar
4. Select the Action "Edit pod count" and change the pod (replicas) count
5. Select the Action again
Actual results:
The pod count in the modal (replicas) shows the old value and not the updated replicas count.
Expected results:
The pod count in the modal (replicas) should show the latest replicas value.
Additional info:
Moving back to todo list as it is not only issue with pod count, most of the topology sidebar action menus are having same issue. Description needs to be updated along with bug summary.
Comment 9Christoph Jerolimov
2022-12-15 11:34:32 UTC
Verified this fix on 4.13.0-0.nightly-2022-12-12-210406
"Edit Pod count" shows now the latest Deployment replicas count.
But I also notice that other items don't show the latest values.
I created a follow-up ticket for this: https://issues.redhat.com/browse/OCPBUGS-4691
And raised a fix for 4.13 which is already merged: https://github.com/openshift/console/pull/12365
We will also backport this to older versions.
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 (Important: OpenShift Container Platform 4.13.0 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-2023:1326
Comment 13Red Hat Bugzilla
2023-09-18 04:42:55 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days