Bug 1808096 - Uploading ISOs causes "Uncaught exception occurred. Please try reloading the page. Details: (TypeError) : a.n is null"
Summary: Uploading ISOs causes "Uncaught exception occurred. Please try reloading the ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.8
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.4.1
: 4.4.0
Assignee: shani
QA Contact: Evelina Shames
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-27 19:29 UTC by Robert McSwain
Modified: 2023-09-07 22:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 13:21:50 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)
Screenshot 1 (53.75 KB, image/png)
2020-02-28 16:49 UTC, Robert McSwain
no flags Details
Screenshot 2 (24.45 KB, image/png)
2020-02-28 16:49 UTC, Robert McSwain
no flags Details
Screenshot 3 (15.59 KB, image/png)
2020-02-28 16:49 UTC, Robert McSwain
no flags Details
Screenshot 4 (46.35 KB, image/png)
2020-02-28 16:50 UTC, Robert McSwain
no flags Details
Screenshot 5 (13.52 KB, image/png)
2020-02-28 16:51 UTC, Robert McSwain
no flags Details
Screenshot 6 (9.10 KB, image/png)
2020-02-28 16:52 UTC, Robert McSwain
no flags Details
Screenshot 7 (9.88 KB, image/png)
2020-02-28 16:53 UTC, Robert McSwain
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3247 0 None None None 2020-08-04 13:22:10 UTC

Description Robert McSwain 2020-02-27 19:29:56 UTC
Description of problem:

I'm trying to upload a new ISO image to our RHEV environment.  I've done this several times, previously, without error.  This, time, however, I get the following error, and the upload stops:

"Uncaught exception occurred. Please try reloading the page. Details: (TypeError) : a.n is null
Please have your administrator check the UI logs"


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

How reproducible:

Select the iso to upload (screenshot-1.png)
Upload starts (screenshot-2.png)
Upload gets paused by the system (screenshot-3.png)
I go in and resume the upload (screenshot-4.png)
System briefly shows image getting transferred (screenshot-5.png)
System throws error (screenshot-6.png)
At the same time, system again shows paused (screenshot-7.png)

Actual results:
ISO fails to upload with an uncaught exception


Expected results:
ISO upload succeeds.

Additional info:
- Running systemctl restart ovirt-imageio-proxy did not fix this problem.  The upload of the ISO image continues to fail.
- This is happening with all ISOs.

Comment 1 Michal Skrivanek 2020-02-28 05:45:42 UTC
anything in ui.log? Please attach

Comment 3 Robert McSwain 2020-02-28 16:49:14 UTC
Created attachment 1666445 [details]
Screenshot 1

Comment 4 Robert McSwain 2020-02-28 16:49:37 UTC
Created attachment 1666446 [details]
Screenshot 2

Comment 5 Robert McSwain 2020-02-28 16:49:57 UTC
Created attachment 1666447 [details]
Screenshot 3

Comment 6 Michal Skrivanek 2020-02-28 16:50:07 UTC
there are couple others too, but also some related to image upload, so I would be moving this to Storage
We may need more logs from imageio, Tal?

Comment 7 Robert McSwain 2020-02-28 16:50:18 UTC
Created attachment 1666448 [details]
Screenshot 4

Comment 8 Robert McSwain 2020-02-28 16:51:39 UTC
Created attachment 1666449 [details]
Screenshot 5

Comment 9 Robert McSwain 2020-02-28 16:52:39 UTC
Created attachment 1666451 [details]
Screenshot 6

Comment 10 Robert McSwain 2020-02-28 16:53:28 UTC
Created attachment 1666452 [details]
Screenshot 7

Comment 11 Tal Nisan 2020-03-08 11:27:57 UTC
(In reply to Michal Skrivanek from comment #6)
> there are couple others too, but also some related to image upload, so I
> would be moving this to Storage
> We may need more logs from imageio, Tal?
Yes please.
Also I'm guessing it fails for any image and not only ISOs, am I right?

Comment 13 Robert McSwain 2020-03-11 17:38:27 UTC
From the reporter:

This appears to be failing for any image.  I tried uploading a zip file, called lineage-16.0-20200304-nightly-fajita-signed.zip, aliased as lineage_zip.  It failed just like the iso image uploads fail.

Comment 18 Daniel Erez 2020-03-30 10:47:19 UTC
@Robert - has the engine been updated since the last time image upload worked?
If so, can you please ensure that the proxy service has been restarted - needed for reloading the certificate.
(# systemctl restart ovirt-imageio-proxy)

Comment 19 Daniel Erez 2020-03-30 11:01:51 UTC
(In reply to Daniel Erez from comment #18)
> @Robert - has the engine been updated since the last time image upload
> worked?
> If so, can you please ensure that the proxy service has been restarted -
> needed for reloading the certificate.
> (# systemctl restart ovirt-imageio-proxy)

Missed that you already mentioned that restarting the service didn't mitigate the issue.
Another possibility, could be the use of a 3rd-party CA (see bug 1687301) - are you using the internal CA?
Also, can you please attach the version of ovirt-imageio-proxy service and the daemon log?

Comment 21 nijin ashok 2020-04-07 15:57:03 UTC
(In reply to Daniel Erez from comment #19)

> Missed that you already mentioned that restarting the service didn't
> mitigate the issue.
> Another possibility, could be the use of a 3rd-party CA (see bug 1687301) -
> are you using the internal CA?
> Also, can you please attach the version of ovirt-imageio-proxy service and
> the daemon log?

They are having an internal CA. We replaced with the default certificate and upload is working now. However, this is not the same as bug 1687301 as imageio-proxy is already using Apache certificates instead of their own. We are trying to find the root cause and will update here soon.

Comment 22 shani 2020-04-19 09:35:17 UTC
Nijin,
Any updates?

I think this one can be currently closed and reopened if neseccary.

Comment 23 Tal Nisan 2020-04-20 08:20:33 UTC
Should be solved in imageio 2.0, please retest

Comment 28 Evelina Shames 2020-05-17 05:31:11 UTC
Verified on engine-4.4.0-0.37.master.el8ev

Comment 29 Evelina Shames 2020-05-17 05:32:51 UTC
(In reply to Evelina Shames from comment #28)
> Verified on engine-4.4.0-0.37.master.el8ev

and ovirt-imageio-daemon-2.0.5-0.el8ev.x86_64

Comment 34 errata-xmlrpc 2020-08-04 13:21:50 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 (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement 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-2020:3247

Comment 35 Rajesh Patil 2023-04-11 11:05:09 UTC
(In reply to nijin ashok from comment #21)
> (In reply to Daniel Erez from comment #19)
> 
> > Missed that you already mentioned that restarting the service didn't
> > mitigate the issue.
> > Another possibility, could be the use of a 3rd-party CA (see bug 1687301) -
> > are you using the internal CA?
> > Also, can you please attach the version of ovirt-imageio-proxy service and
> > the daemon log?
> 
> They are having an internal CA. We replaced with the default certificate and
> upload is working now. However, this is not the same as bug 1687301 as
> imageio-proxy is already using Apache certificates instead of their own. We
> are trying to find the root cause and will update here soon.

Hi can please explain how to replace it?


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