Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2013687

Summary: 401 authorization error loop is displayed in web console during log download
Product: Migration Toolkit for Virtualization Reporter: Amos Mastbaum <amastbau>
Component: User ExperienceAssignee: Fabien Dupont <fdupont>
Status: CLOSED ERRATA QA Contact: Amos Mastbaum <amastbau>
Severity: unspecified Docs Contact: Avital Pinnick <apinnick>
Priority: unspecified    
Version: 2.2.0CC: istein, maufart, mguetta, mlehrer, mturley
Target Milestone: ---Keywords: AutomationBlocker, Regression
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 19:20:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amos Mastbaum 2021-10-13 14:17:17 UTC
Description of problem:

The UI Goes to Load LooP and keeps reloading the same  must-gather (failed 401) requests

This  must-gather log seems to be consistent with the UI Network Monitor (the failed must-gather requests) 

From the must-gather log:
[GIN] 2021/10/13 - 14:09:07 | 401 |   15.167394ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:09 Unauthorized
2021/10/13 14:09:09 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:09 | 401 |   20.693058ms |    10.131.1.167 | GET      "/must-gather"
[GIN] 2021/10/13 - 14:09:10 | 401 |   17.686284ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:10 Unauthorized
2021/10/13 14:09:10 Unauthorized Authorization check - token auth failed.
2021/10/13 14:09:12 Unauthorized
2021/10/13 14:09:12 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:12 | 401 |   24.687227ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:14 Unauthorized
2021/10/13 14:09:14 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:14 | 401 |   23.228849ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:15 Unauthorized
2021/10/13 14:09:15 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:15 | 401 |   21.072311ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:17 Unauthorized
2021/10/13 14:09:17 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:17 | 401 |  152.653259ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:19 Unauthorized
2021/10/13 14:09:19 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:19 | 401 |   66.424585ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:20 Unauthorized
2021/10/13 14:09:20 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:20 | 401 |   17.992378ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:22 Unauthorized
2021/10/13 14:09:22 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:22 | 401 |   25.850551ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:23 Unauthorized
2021/10/13 14:09:23 Unauthorized Authorization check - token auth failed.
[GIN] 2021/10/13 - 14:09:23 | 401 |  122.439346ms |    10.131.1.167 | GET      "/must-gather"
2021/10/13 14:09:25 Unauthorized
2021/10/13 14:09:25 Unauthorized Authorization check - token auth failed.



Version-Release number of selected component (if applicable):


How reproducible:
100% (not sure what triggers it)


Steps to Reproduce:
1. deploy a fresh MTV operator and wait for a while
2.
3.

Actual results:



Expected results:


Additional info:

Comment 3 Mike Turley 2021-10-14 14:45:14 UTC
https://github.com/konveyor/forklift-ui/pull/804 fixes the loop when a 401 happens, but doesn't fix the 401.

Comment 4 Marek Aufart 2021-10-15 12:58:57 UTC
I'd suggest move this BZ to POST since the UI loop should be resolved in latest build with backport https://github.com/konveyor/forklift-ui/pull/805


The 401 errors for must-gather could fail QA on must-gather from UI RFE or be a new BZ just for must-gather fomr UI feature (and its backend).

Comment 5 mlehrer 2021-10-17 15:14:39 UTC
Just adding for reference the that I took a har dump of the UI looping, you can import the har via dev tools.
https://drive.google.com/file/d/1RHzETxfH1dimJBNzsAgqrLDc1O-S6gfW/view?usp=sharing

Hopefully the har dump wont be needed per Comment 4

Comment 6 Ilanit Stein 2021-10-18 10:11:09 UTC
Moving bug to ON_QA based on comment #4.
It can be verified on MTV-2.2.0-52.

Comment 7 Amos Mastbaum 2021-10-18 10:30:40 UTC
Verified 2.2.0-50+52 CNV 4.9.0-249

Comment 8 Maayan Hadasi 2021-10-18 10:38:34 UTC
New BZ has been opened for the 401 errors regarding must-gather
Bug 2015063 - 401 errors for must-gather from UI feature

Comment 11 errata-xmlrpc 2021-12-09 19:20:58 UTC
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 (MTV 2.2.0 Images), 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-2021:5066