Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

No host IP was given to the Vagrant core NFS helper. #112

Closed
brettswift opened this issue Jul 5, 2014 · 4 comments
Closed

No host IP was given to the Vagrant core NFS helper. #112

brettswift opened this issue Jul 5, 2014 · 4 comments

Comments

@brettswift
Copy link

I've created a gist of the log file and vagrantfile being used.

https://gist.github.com/brettswift/79f52974075f9f1fc1cd

This happens on vagrant up and subsequently on vagrant provision.

This is my first time trying to get the rackspace plugin working, so it may be some configuration in the Vagrantfile I have wrong?

Vagrant version: 1.5.3

I have a couple of other provider plugins as well as oscar but they shouldn't be impacting this I wouldn't think.

I'm able to ssh into the box after this error.

@maxlinc
Copy link
Contributor

maxlinc commented Jul 7, 2014

Hi @brettswift

I wasn't able to use your Vagrantfile on 1.5.3 or 1.6.3 without cleaning it up. I got an errors that:

Bringing machine 'suite_brettswift_com' up with 'rackspace' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:

  • A box must be specified.

RackSpace Provider:

  • An API key is required.
  • A username is required.

I added some notes to your gist showing the Vagrantfile I used, but I wasn't able to reproduce with that. Can you give my modified version a try and confirm you still have the same problem?

@brettswift
Copy link
Author

Will do. Sorry must have made a mistake on the vagrantfile while cleansing it of some other stuff.

Brett
Sent from my iPhone

On Jul 7, 2014, at 13:19, Max Lincoln notifications@github.com wrote:

Hi @brettswift

I wasn't able to use your Vagrantfile on 1.5.3 or 1.6.3 without clean it up. I got an errors that:

Bringing machine 'suite_brettswift_com' up with 'rackspace' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:

A box must be specified.
RackSpace Provider:

An API key is required.
A username is required.
I added some notes to your gist showing the Vagrantfile I used, but I wasn't able to reproduce with that. Can you give my modified version a try and confirm you still have the same problem?


Reply to this email directly or view it on GitHub.

@maxlinc
Copy link
Contributor

maxlinc commented Jul 9, 2014

Hi @brettswift

I think I found the problem, see: #113 (comment).

If I'm right, you can workaround this issue by explicitly telling Vagrant to use rsync with the Rackspace provider (first line inside the rackspace block):

Vagrant.configure("2") do |config|


  config.vm.define :suite_brettswift_com do |nodeserver|

    nodeserver.vm.provider :rackspace do |rs, override|
      override.vm.synced_folder ".", "/vagrant", type: "rsync" 
      override.vm.box               = "rackspace"
      override.vm.box_url           = "https://github.com/mitchellh/vagrant-rackspace/raw/master/dummy.box"
      rs.username                   = "#{ENV['RACKSPACE_USERNAME']}"
      rs.api_key                    = "#{ENV['RACKSPACE_API_KEY']}"
      rs.flavor                     = /512MB Standard Instance/  
      rs.image                      = /Ubuntu 12.04/
      rs.rackspace_region           = 'dfw'

      override.ssh.private_key_path = "~/.ssh/id_rsa"
      override.ssh.username         = 'root'
      rs.public_key_path            = "~/.ssh/id_rsa.pub"
    end
  end
end

@smashwilson
Copy link
Collaborator

Closing this in favor of #113 because there are more comments there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants