mitchellh / vagrant-rackspace

Use Vagrant to manage Rackspace Cloud instances.
MIT License
234 stars 155 forks source link

rsync fails on vagrant up with rackconnect accounts #85

Closed paulsheldrake closed 10 years ago

paulsheldrake commented 10 years ago

When I do a vagrant up with a Rackspace account that has Rackconnect I get a timeout on the initial rysnc command. After the timeout if I do a vagrant provision, the rest of the process works as expected. If I switch to a regular cloud account I don't get that error on a vagrant up and it's all fine.

Any ideas why that may be happening?

krames commented 10 years ago

@paulsheldrake Rackconnect uses a special provisioning process. You will need to add a connect.rackconnect = true to the vm.provider section of your Vagrantfile like so:

  config.vm.provider :rackspace do |rs|
    rs.username = RAX_USERNAME
    rs.api_key  = RAX_API_KEY
    rs.flavor   = /1 GB Performance/
    rs.image    = /Ubuntu/
    rs.rackspace_region = :iad
    rs.rackconnect = true
  end

I am going to go ahead and update the documentation accordingly. Sorry about that!

krames commented 10 years ago

@paulsheldrake I have updated the docs on this and I am going to close this issue. If you are still experiencing problems please re-open it.