Hi there,

For a long time I was running vagrant 1.0.5, but today I've upgraded to 
1.4.3 on my MacOSX. But whenever I do an 'provision' it fails:
curiosity:cassandra wdijkerman$ vagrant up cas01
Bringing machine 'cas01' up with 'virtualbox' provider...
[cas01] Importing base box 'oracle64-64'...
[cas01] Matching MAC address for NAT networking...
[cas01] Setting the name of the VM...
[cas01] Clearing any previously set forwarded ports...
[cas01] Clearing any previously set network interfaces...
[cas01] Preparing network interfaces based on configuration...
[cas01] Forwarding ports...
[cas01] -- 22 => 2222 (adapter 1)
[cas01] Running 'pre-boot' VM customizations...
[cas01] Booting VM...
[cas01] Waiting for machine to boot. This may take a few minutes...
[cas01] Machine booted and ready!
[cas01] The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
prevent things such as shared folders from working properly. If you see
shared folder errors, please make sure the guest additions within the
virtual machine match the version of VirtualBox you have installed on
your host and reload your VM.

Guest Additions Version: 4.2.16
VirtualBox Version: 4.3
[cas01] Setting hostname...
[cas01] Configuring and enabling network interfaces...
[cas01] Mounting shared folders...
[cas01] -- /vagrant
[cas01] -- /tmp/vagrant-puppet-1/manifests
[cas01] -- /tmp/vagrant-puppet-1/modules-0
[cas01] Running provisioner: puppet...
Running Puppet with puppet.pp...
Error: Could not run: Could not retrieve facts for cas01.dj-wasabi.nl: 
Connection timed out - connect(2)
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

cd /tmp/vagrant-puppet-1/manifests && puppet apply --modulepath 
'/tmp/vagrant-puppet-1/modules-0' --manifestdir 
/tmp/vagrant-puppet-1/manifests --detailed-exitcodes 
/tmp/vagrant-puppet-1/manifests/puppet.pp || [ $? -eq 2 ]

Stdout from the command:



Stderr from the command:

Error: Could not run: Could not retrieve facts for cas01.dj-wasabi.nl: 
Connection timed out - connect(2)

I've got this issue with 2 different boxes.

This is my Vagrantfile:
# 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 = "oracle64-64"
  config.vm.define "cas01" do |cas01|
    cas01.vm.hostname = "cas01.dj-wasabi.nl"
    cas01.vm.network :private_network, ip: "192.168.10.101"
  end
  config.vm.define "cas02" do |cas02|
    cas02.vm.hostname = "cas02.dj-wasabi.nl"
    cas02.vm.network :private_network, ip: "192.168.10.102"
  end
  config.vm.define "cas03" do |cas03|
    cas03.vm.hostname = "cas03.dj-wasabi.nl"
    cas03.vm.network :private_network, ip: "192.168.10.103"
  end

    config.vm.provider :virtualbox do |vb|
     # Don't boot with headless mode
     vb.gui = false
     # Use VBoxManage to customize the VM. For example to change memory:
     vb.customize ["modifyvm", :id, "--memory", "512"]
    end

  config.vm.provision "puppet" do |puppet|
    puppet.working_directory = "/tmp/vagrant-puppet-1/manifests"
    puppet.manifest_file  = "puppet.pp"
    puppet.module_path = "/Users/wdijkerman/Documents/workspace/puppet/"
  end
end

What is going on?

Hope to hear from someone.
Kind regards,

Werner

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to