Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tries to assign VM wrong IP addresss #7923

Closed
tleyden opened this issue Oct 24, 2016 · 3 comments
Closed

Tries to assign VM wrong IP addresss #7923

tleyden opened this issue Oct 24, 2016 · 3 comments

Comments

@tleyden
Copy link

tleyden commented Oct 24, 2016

Vagrant version

Fails on 1.8.6
Works on 1.8.1

Host operating system

OSX El Capitan

Guest operating system

CentOS7

Vagrantfile

Vagrant.configure(2) do |config|

  host_ip = {
    "couchbase-server" => "192.168.34.10",    
    "sync-gateway1" => "192.168.34.11",
    "sync-gateway2" => "192.168.34.12",
    "nginx" => "192.168.34.13",    
    "sync-gateway3" => "192.168.34.14",    
  }

  host_ip.each do |host_name, ip|
      config.vm.define host_name do |host|
        host.vm.box = "couchbase-mobile-training"
        host.vm.hostname = host_name
        host.vm.network "private_network", ip: ip
        host.vm.synced_folder ".", "/tmp/sync", disabled: true
        host.vm.provider "virtualbox" do |vb|
            # Customize the amount of memory on the VM:
            vb.memory = "2048"

            # Allow vm to send data via VPN
            vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
        end
      end
  end

end

Debug output

https://gist.github.com/a3269e1b9faed297887cf52ec86a37f9

Expected behavior

It should start up the VM cluster without errors

Actual behavior

The VM startup fails with this output:

https://gist.github.com/tleyden/ab07fc01f68dddc4db64de05d7387f2c#file-stdout

More logs from the VM available here: https://gist.github.com/tleyden/ab07fc01f68dddc4db64de05d7387f2c

Steps to reproduce

  1. wget http://cbmobile-bucket.s3.amazonaws.com/training-virtual-machines/couchbase-mobile-training.box
  2. Save Vagrantfile listed in this ticket
  3. vagrant up
@mikefaille
Copy link
Contributor

@tleyden Could you upgrade Vagrant to 1.8.7 ?

@chrisroberts
Copy link
Member

Hi there,

It looks like this has been resolved within a previously shipped version of Vagrant so I am now closing this issue. If the original issue was not fully resolved, please reopen this issue or create a new one.

Cheers!

@ghost
Copy link

ghost commented Apr 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
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