Closed jgyselov closed 1 year ago
@jgyselov: This pull request references MGMT-14678 which is a valid jira issue.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ammont82, jgyselov, jkilzi
The full list of commands accepted by this bot can be found here.
New changes are detected. LGTM label has been removed.
https://issues.redhat.com/browse/MGMT-14678
If
/openshift-versions
took too long to load, the UI would create multiple Day2 clusters - each one replacing the previous one.I believe that in the KNI tests, without the delay before clicking the "Add hosts" button on the Add hosts tab, the UI opens the ISO modal with the first created cluster. However, in the background, it replaces this day2 cluster with the ones created later. This session cannot show the discovered host because it's polling for a different cluster - the last one that was created.
In another tab/session, the UI takes the first day2 cluster from the list. Coincidentally, it's the same one the ISO was generated for - so the discovered host is shown.
This PR should ensure that only one Day2 cluster is created when the Add hosts tab is accessed for the first time.