schubergphilis / vagrant-chef-zero

Vagrant Plugin for Chef Zero
Apache License 2.0
91 stars 42 forks source link

vagrant up produces error #54

Open JC1738 opened 10 years ago

JC1738 commented 10 years ago

Just installed and tried vagrant-chef-zero plugin first time. Mac OS, virtualbox provider. vagrant 1.6.3

I have tried installing uninstalling both vagrant plugin and chef, always the same error:

service name too long...

Bringing machine 'ubuntu' up with 'virtualbox' provider... ==> ubuntu: Importing base box 'ubuntuvbox'... ==> ubuntu: Matching MAC address for NAT networking... ==> ubuntu: Setting the name of the VM: my_vm ==> ubuntu: Destroying VM and associated drives... ==> ubuntu: Running cleanup tasks for 'chef_client' provisioner... /Volumes/LaCie/.vagrant.d/gems/gems/vagrant-chef-zero-0.7.1/lib/vagrant-chef-zero/server_helpers.rb:95:in initialize': service name too long (37) (ArgumentError) from /Volumes/LaCie/.vagrant.d/gems/gems/vagrant-chef-zero-0.7.1/lib/vagrant-chef-zero/server_helpers.rb:95:innew' from /Volumes/LaCie/.vagrant.d/gems/gems/vagrant-chef-zero-0.7.1/lib/vagrant-chef-zero/server_helpers.rb:95:in port_open?' from /Volumes/LaCie/.vagrant.d/gems/gems/vagrant-chef-zero-0.7.1/lib/vagrant-chef-zero/server_helpers.rb:73:inblock in chef_zero_server_running?' from /Volumes/LaCie/Applications/Vagrant/embedded/lib/ruby/2.0.0/timeout.rb:66:in timeout' from /Volumes/LaCie/.vagrant.d/gems/gems/vagrant-chef-zero-0.7.1/lib/vagrant-chef-zero/server_helpers.rb:72:inchef_zero_server_running?' from /Volumes/LaCie/.vagrant.d/gems/gems/vagrant-chef-zero-0.7.1/lib/vagrant-chef-zero/server_helpers.rb:11:in start_chef_zero' from /Volumes/LaCie/.vagrant.d/gems/gems/vagrant-chef-zero-0.7.1/lib/vagrant-chef-zero/action/start.rb:20:incall' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in call' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:incall' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in call' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/set_name.rb:50:incall' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in call' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/clean_machine_folder.rb:17:incall' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in call' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/check_accessible.rb:18:incall' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in call' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6. from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:inblock in run' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb:19:in busy' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:inrun' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:196:in action_raw' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:173:inblock in action' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/environment.rb:434:in lock' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:161:incall' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:161:in action' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/batch_action.rb:82:inblock (2 levels) in run' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in call' from /Volumes/LaCie/Applications/Vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:inblock in create_with_logging_context'

andrewgross commented 10 years ago

Having some issues with Vagrant 1.6.x, check out issue #51

fgarcia commented 10 years ago

same problem here :-(