Description of problem: The plan report provided by the /namespaces/<name>/plans/<plan>/pods endpoint occasionally contains an incorrect pod Name after the controller pod itself has been restarted. But instead, displays the previous pod name. As a result, the log URI is also incorrect. When this happens the UI gets a 404 when trying to display the controller logs. Version-Release number of selected component (if applicable): 4.2 How reproducible: Random. Timing based. Steps to Reproduce: 1. Select a pla (detail) n in the UI. 2. Choose "Logs" in the kebob. 3. Choose "controller" Actual results: Reports a 404. Expected results: Shows the logs. Additional info:
Verified in CAM 1.1 stage Controller: image: registry.stage.redhat.io/rhcam-1-1/openshift-migration-controller-rhel8@sha256:ec015e65da93e800a25e522473793c277cd0d86436ab4637d73e2673a5f0083d UI: image: registry.stage.redhat.io/rhcam-1-1/openshift-migration-ui-rhel8@sha256:ecd81e11af0a17bfdd4e6afce1bf60f422115ed3545ad2b0d055f0fded87e422 After deleting controller pod several times and accessing the controller logs before and after deletion, no 404 error was shown (unless controller pod does not exist at all, which is expected).
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/RHEA-2020:0440