Skip to content

Instantly share code, notes, and snippets.

@einsty
Created June 16, 2013 05:32
Show Gist options
  • Save einsty/5790884 to your computer and use it in GitHub Desktop.
Save einsty/5790884 to your computer and use it in GitHub Desktop.
vagrant-hostsupdater fails when a machine in cluster has not yet been created
[db01] VM not created. Moving on...
[db01] Removing hosts
/Users/orinq/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.7/lib/vagrant-hostsupdater/HostsUpdater.rb:68:in `quote': can't convert Nil
Class to String (TypeError)
from /Users/orinq/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.7/lib/vagrant-hostsupdater/HostsUpdater.rb:68:in `removeHostEn
tries'
from /Users/orinq/.vagrant.d/gems/gems/vagrant-hostsupdater-0.0.7/lib/vagrant-hostsupdater/Action/RemoveHosts.rb:17:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/call.rb:57:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `cal
l'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builder.rb:116:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `block in run'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/util/busy.rb:19:in `busy'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `run'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/machine.rb:147:in `action'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/halt/command.rb:25:in `block in execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:182:in `block in with_target_vms'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:180:in `each'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:180:in `with_target_vms'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/halt/command.rb:24:in `execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/cli.rb:46:in `execute'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:467:in `cli'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/bin/vagrant:84:in `<top (required)>'
from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'
@agiledivider
Copy link

should be fixed with version 0.0.9, please check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment