Bug 2231106 - Error code 504 is displayed in the migration details page
Summary: Error code 504 is displayed in the migration details page
Keywords:
Status: NEW
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.7.12
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: mohamed
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-10 15:04 UTC by mohamed
Modified: 2023-08-10 16:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
status code 504 (8.12 KB, image/png)
2023-08-10 15:04 UTC, mohamed
no flags Details

Description mohamed 2023-08-10 15:04:06 UTC
Created attachment 1982816 [details]
status code 504

Description of problem:

In the migration details page, at first the migration details are displayed without any issues. However, after sometime, the details disappear, and an error is printed:

Version-Release number of selected component (if applicable):
(GCP) / OCP 3.11 -> OCP 4.14
MTC 1.7.12

How reproducible:
Always

Steps to Reproduce:
1. Create a migration plan
2. Execute the migration and wait for it to successfully finish
3. Navigate to the migration details page
4. wait for some time

Actual results:

at first the details of the migration can be observed, but after a while, the details disappear, and replaced with a 504 status code error


Expected results:

regardless of how much time passed, the details should always be printed


Additional info: 

API response:

{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
s "status": "Failure",
  "message": "migplans.migration.openshift.io \"test-rlbk\" is forbidden: User \"system:anonymous\" cannot get resource \"migplans\" in API group \"migration.openshift.io\" in the namespace \"openshift-migration\"",
  "reason": "Forbidden",
  "details": {
    "name": "test-rlbk",
    "group": "migration.openshift.io",
    "kind": "migplans"
  },
  "code": 403
}


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