Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server 2016 broken link #119

Open
demoklion opened this issue Nov 13, 2018 · 3 comments
Open

Server 2016 broken link #119

demoklion opened this issue Nov 13, 2018 · 3 comments

Comments

@demoklion
Copy link

ISO path is broken, see the website itself

λ packer build -force -only virtualbox-iso vbox-2016.json
virtualbox-iso output will be in this color.

==> virtualbox-iso: Retrieving Guest additions
    virtualbox-iso: Using file in-place: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO
    virtualbox-iso: Error downloading: Error making HTTP GET request: 404 Not Found
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.

==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: ISO download failed.

==> Builds finished but no artifacts were created.

Tried replacing it but still doesn't seem to work for me. My issue may be somewhere else though (I'm new to VM orchestration).

@vbrinza
Copy link

vbrinza commented Nov 23, 2018

Try using
https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO instead

@dayne
Copy link

dayne commented Nov 30, 2018

I am seeing the same thing here. I dont' think this is related to the WIndows Server ISO.

You can see the 2012 build starts off trying to grab the VBoxGuestAdditions.iso file also but using the same URL but that one is successful.

┌─[±][master ✓][packer-templates][]
└─▪ elektron $ packer build -force -only virtualbox-iso vbox-2016.json 
virtualbox-iso output will be in this color.

==> virtualbox-iso: Retrieving Guest additions
    virtualbox-iso: Using file in-place: file:///usr/share/virtualbox/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO
    virtualbox-iso: Error downloading: Error making HTTP GET request: 404 Not Found
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.

==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: ISO download failed.

==> Builds finished but no artifacts were created.

However a build of vbox-2012r2 starts of with same ISO download goal and same file:// URL but it works and builds up a new VM image.

┌─[±][master ✓][packer-templates][]
└─▪ elektron $ packer build -force -only virtualbox-iso vbox-2012r2.json 
virtualbox-iso output will be in this color.

==> virtualbox-iso: Retrieving Guest additions
    virtualbox-iso: Using file in-place: file:///usr/share/virtualbox/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO

Would be interested to hear if @demoklion managed to debug this issue. Starting my own debug now and will report back if I find anything further.

@yves-vogl
Copy link

@dayne This is related to the Windows Server ISO. The coharence in the log is a little bit misleading.

virtualbox-iso: Retrieving ISOis related to the ISO specified in iso_url and not guest_additions_url.

$ packer build templates/windows-server-2016.json 
virtualbox-iso output will be in this color.

==> virtualbox-iso: Retrieving Guest additions
    virtualbox-iso: Using file in-place: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO
    virtualbox-iso: Error downloading: Error making HTTP GET request: 404 Not Found
==> virtualbox-iso: ISO download failed.
Build 'virtualbox-iso' errored: ISO download failed.

==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: ISO download failed.

==> Builds finished but no artifacts were created.


# Now replacing the URL as mention by @vbrinza 



$ packer build templates/windows-server-2016.json 
virtualbox-iso output will be in this color.

==> virtualbox-iso: Retrieving Guest additions
    virtualbox-iso: Using file in-place: file:///Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO
1 items:  73.48 MiB / 6.49 GiB [=>----------------------------------------------------------------------------------------------------------------------------------------------------------------]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants