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

Installation fails due resolve issues on all boxes #314

Merged
merged 2 commits into from Jul 25, 2019

Conversation

@dtrizna
Copy link
Contributor

commented Jul 24, 2019

Hi!

VBox Version 6.0.10 r132072 (Qt5.6.2)
DetectionLab as per 24.07.2019 with latest commit 279a94a.

For me installation failed using following installation string:
.\build.ps1 -ProviderName virtualbox -VagrantOnly

Response from main window:

[main] Running vagrant_up_host for: logger
[vagrant_up_host] Running for logger
Attempting to bring up the logger host using Vagrant
[vagrant_up_host] Finished for logger Got exit code: 1
[main] vagrant_up_host finished. Exitcode: 1
WARNING: Something went wrong while attempting to build the logger box.
Attempting to reload and reprovision the host...
[main] Running vagrant_reload_host for: logger

This appeared due to DNS resolve issues, see troubleshooting from logging shell:

vagrant@logger:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=29.0 ms
^C
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 29.023/29.023/29.023/0.000 ms
vagrant@logger:~$ ping google.com
^C
vagrant@logger:~$ nslookup google.com
;; connection timed out; no servers could be reached

vagrant@logger:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.0.2.3

Same is seen in vagrant log file - apt update fails with resolve timeout.

This Pull Request fixes the problem, modification is made according to: https://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working/453260

Tested - updated version's install works without any problems.

dtrizna added some commits Jul 24, 2019

@clong

This comment has been minimized.

Copy link
Owner

commented Jul 25, 2019

Seems reasonable, thank you for creating a PR to fix this!

@clong clong closed this Jul 25, 2019

@clong clong reopened this Jul 25, 2019

@clong clong merged commit d838939 into clong:master Jul 25, 2019

1 of 2 checks passed

ci/circleci: workflow/hold Your job is on hold on CircleCI!
Details
ci/circleci: verify Your tests passed on CircleCI!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.