-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
virtualbox http error #1709
Comments
This is on a Ubuntu 14.04.1 running virtualbox 4.3.20 with the extension pack. |
Could you provide the output of:
During a run just after you get
in your output. |
On Terminal 1 On Terminal 2 anandv@anandv-desktop:~$ ifconfig lo Link encap:Local Loopback virbr0 Link encap:Ethernet HWaddr 2e:73:a0:88:f9:b2 anandv@anandv-desktop:~$ sudo iptables -L filter anandv@anandv-desktop:~$ sudo iptables -L nat |
Similar issue with packer server: centos6,5 guest setup: centos6.5/vmware-iso The HTTP_DIRECTORY as packer's hosting webserver is only serving IPv6, but not IPv4. the .HTTPIP configuration is showing IPv4 address. Similar confirmation approach - VNC to system-in-progress, see the HTTP_DIRECTORY port. cmd> netstat -a |grep 8812 Attempts to manually disable IPv6 did not help (http://wiki.centos.org/FAQ/CentOS6#head-d47139912868bcb9d754441ecb6a8a10d41781df). No options visible to have the HTTP_DIRECTORY server force IPv4 usage (probably the ideal). |
For some reason this seems to still be broken in Packer v1.1.2. I'm running Packer on CentOS 7.4 host. |
It seems even though the packer http server shows as listening on "tcp6" in netstat it doesn't matter, it still works over ipv4 aswell. The actual problem was elsewhere. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi,
When using Packer Version 0.7.2, the default http port and IP generated when using the virtualbox builder does not seem to work. See the GIST link for JSON, Kickstart and Packer Log.
https://gist.github.com/anandvenkatanarayanan/46f261ac0d70a7cea8ca
The exact error message from Anaconda is
I also did some tests to figure what is going on in the background, but that does not throw any clue.
I see a daemon process listening on port 8891
But a wget on the localhost fails.
I cannot also connect to the 10.0.2.2 address.
However if I replace the http address in the JSON template with another IP, packer is able to build. So I guess this is a problem in figuring out the correct HTTP IP to use with VirtualBox?
Thanks
Anand V
The text was updated successfully, but these errors were encountered: