-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Setting Hostname failure in 1.3.4 #2309
Comments
I was about to create the same bugreport, so here's some more details. Vagrantfile: # -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.hostname = "vagrant.dev"
end Output:
Full debug log: |
Having this issue as well :( |
I'm having this issue also on Vagrant 1.3.4. Vagrant reports "No error message" after "Setting hostname..." and does not perform provisioning. It also seems to take Vagrant longer than v1.2.7 did to recognize that the guest has booted. I'm rolling back to the latest 1.2.x for now. |
Same problem. 1.3.3 works, so I downgraded. |
Same here. Browsed thru all the related issues and this ticket seems to be the older. Same scenario applies:
Vagrant hangs at No error message whithout provisioning neither mapping guest's /vagrant to project root. Work'd it around putting the desired hostname on guest's |
+1 (so I can track this bug). I worked around with a shell provisioner $script = <<SCRIPT |
this affects me as well |
@delmendo I had fixed it through ssh access Anyway, both approaches fall into the needing of The provisioner script run after the internal hostname change. I've figured out that - in my particular case - trying to rename the box to |
I'm hitting this issue as well. |
+1 - delmendo's work-around is working for me. |
We have a 4 node cluster setup (https://github.com/Cascading/vagrant-cascading-hadoop-cluster) and b/c of this problem, vagrant bails out after the first vm. 1.3.3 works though. |
👎 Experiencing this same issue... |
Same issue here vagrant 1.3.4 on Mac OS X 10.8.5 running ubuntu raring server DEBUG ssh: stderr: sudo: unable to resolve host fuel-dev |
Getting this with 1.3.4 on Mac and Windows using Raring 64 bit. |
Hitting the same on Archlinux, perhaps should rename issue to just "Setting Hostname failure in 1.3.4". |
@loxley : issue rename done |
+1 here on 1.3.4
|
FIxed by #2334 |
This issue has been reintroduced in 1.4.1. Ubuntu 13.04 64bit on the guest, OS X 10.8.5 on the host, with VirtualBox. |
@dylanlgs : this is a closed issue, maybe you should make a new one and add a reference to this one inside. |
I have the same issue: [master] Machine booted and ready! hostname -f Stdout from the command: Stderr from the command: sudo: unable to resolve host (none) |
@mikhail-gaponov this is a closed issue, maybe you should make a new one and add a reference to this one inside. Make sure you include some more information, like what version of Vagrant and VirtualBox you are using, what your host and guest OS versions are, what your vagrantfile looks like, etc. |
Upgrading from 1.3.3 to 1.3.4 make my Vagrantfile fail for an Ubuntu 12.04 box.
This may be related to #2254 where the hostname manipulation in
/etc/hosts
has been altered.My hostname config is:
After the failure vagrant ssh is still working, checking the /etc/hosts file I found:
instead of expected:
And when using sudo commands in this VM I have warning message about
sudo: unable to resolve host devhost
The text was updated successfully, but these errors were encountered: