Bug 1132102

Summary: VirtualBox 6.0.x guest addition ISO download failed
Product: [openSUSE] openSUSE Tumbleweed Reporter: Yunhe Guo <i>
Component: Virtualization:OtherAssignee: Larry Finger <Larry.Finger>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: axel.braun, fl, hpj, michaelaquilina, psychonaut, wbauer, wolfgang, wstephenson
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://www.virtualbox.org/ticket/18653
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Yunhe Guo 2019-04-10 13:44:27 UTC
Steps to reporduce:

1. Start a VM.
2. Menu "Devices > Install Guest Additions".
3. In modal, click download button.

Result:

Download encounter a network error.

But download https://download.virtualbox.org/virtualbox/6.0.4/VBoxGuestAdditions_6.0.4.iso in web browser will succeed.
Comment 1 Wolfgang Rosenauer 2019-04-10 20:53:29 UTC
Same for me.
The network error reads also quite strange:
(german but the cause is wrongly formatted I guess)

"
Die Netzoperation schlug mit dem folgenden Fehler fehl:
während der Netzwerkzugriffs, Unbekannte Ursache {1:?}.
"
Comment 2 Larry Finger 2019-04-11 16:40:14 UTC
The English phrasing for the error message is "During network request: Unknown reason." The German translation of the first part might be better as "während der Netzwerkanfrage" rather than "während der Netzwerkzugriffs", but I will leave that for better translators than I.

I have duplicated the existence of this bug, and I am attempting to track it down.
Comment 3 Wolfgang Rosenauer 2019-05-28 21:37:42 UTC
This issue hit now also Leap 15.1!
Comment 4 Yunhe Guo 2019-05-29 09:45:51 UTC
Is here any reason (license, legal) that we cannot include the ISO into RPM package?
Comment 5 Larry Finger 2019-05-29 15:46:17 UTC
Yes, my recollection is that is a PUEL license. In addition, that would be a substantial download that is not needed for any VM being created using an openSUSE distro. Those drivers are always included in the guest kmp package.
Comment 6 Tristan Miller 2019-05-31 10:03:54 UTC
I'm experiencing this problem as well.  It's also been reported for a few other distributions, such as Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929074

To clarify, it's only downloading the ISO from within VirtualBox that fails.  If you manually download the ISO in the host OS and manually tell VirtualBox to attach it as a DVD-ROM image, then the guest additions install just fine.  So this workaround can be used until the problem is fixed.
Comment 7 Larry Finger 2019-06-06 16:52:37 UTC
I asked a question about the ISO license on the VirtualBox developer newsgroup. Klaus Espenlaub from Oracle answered:

"It's unfortunately complicated, as you might have guessed from the large
numbers of platforms covered...

The vast majority of the GA ISO contents (the stuff for Linux, Windows
and macOS) is easily within the limits.

However, the OS/2 GA have a significant amount of IBM copyrighted code
from the driver development kit (more than just headers). What we
provide is therefore in a way open source (and anyone can use the
sources to rebuild), but the license isn't one of the usual (IIRC it
doesn't allow changing sources, just distributing binaries)...

The issue with downloading GA should be fixed with the next update of 6.0.

Klaus"

From what I read there, there would be no problem in adding the ISO to our RPM as we would just be redistributing a binary; however, the download issue should be fixed in 6.0.10, thus there seems to be little need to add another 83 MB to the packages.
Comment 8 Wolfgang Rosenauer 2019-08-06 09:40:10 UTC
After upgrade to 6.0.10 the issue still exists for me.
@Larry, do you know if there an upstream bug to monitor?
Comment 9 Axel Braun 2019-09-25 19:21:08 UTC
Around the same time I had opened a bug for this upstream: https://www.virtualbox.org/ticket/18962
Comment 10 Wolfgang Bauer 2019-09-26 08:08:27 UTC
(In reply to Axel Braun from comment #9)
> Around the same time I had opened a bug for this upstream:
> https://www.virtualbox.org/ticket/18962
Closed as invalid within hours.

There are other open bug reports about this though:
https://www.virtualbox.org/ticket/18881
https://www.virtualbox.org/ticket/18653

The only responses so far are suggestions to use the "official" VirtualBox from virtualbox.org (which includes the Guest Additions ISO)... :-/
Comment 11 Wolfgang Bauer 2019-09-26 08:21:22 UTC
(In reply to Wolfgang Bauer from comment #10)
> The only responses so far are suggestions to use the "official" VirtualBox
> from virtualbox.org (which includes the Guest Additions ISO)... :-/
To be fair, there is this comment in https://www.virtualbox.org/ticket/18653 though (which I overlooked):
> Hello. Thx for report, we have reproduced the issue. Currently it's being
> analyzed.
Comment 12 Larry Finger 2019-10-02 20:19:25 UTC
I am now doing testing on V6.1.0-BETA1. This difficulty in downloading the iso has been fixed. My inclination will be not to release 6.1.0 and wait for 6.1.2; however, it is likely that 6.0.14 will also have the same fix. In any case, this bug should be fixed soon.
Comment 13 Friedrich Lobenstock 2019-11-14 21:51:54 UTC
Running 6.0.14_SUSEr132055, but problem persists.
Comment 14 Yunhe Guo 2020-02-02 15:27:33 UTC
For the license issue, could the ISO be downloaded in post-install script?
Comment 15 Larry Finger 2020-02-02 17:51:55 UTC
No. As long as the license is not a public one, openSUSE cannot handle it. Secondly, openSUSE guests do NOT require this image. The codes are all built in. Finally, the fix that allows download of the ISO within the GUI works with VB 6.1.2, which is nearing release in TW.
Comment 16 Larry Finger 2020-02-09 18:44:44 UTC
Fixed in v6.1.2.