OpenStackCookbook / vagrant-openstack

Vagrant OpenStack-Ansible Environment used by OpenStack Cloud Computing Cookbook 4th Edition
51 stars 32 forks source link

Can't vagrant up successfully second time #43

Open rawmainb opened 4 years ago

rawmainb commented 4 years ago

The first time installed successed. Shutdown and up again, it got this error

$ vagrant up
Bringing machine 'compute-01' up with 'virtualbox' provider...
Bringing machine 'controller-01' up with 'virtualbox' provider...
Bringing machine 'openstack-client' up with 'virtualbox' provider...
==> compute-01: Checking if box 'bento/ubuntu-18.04' version '202002.14.0' is up to date...
==> compute-01: Clearing any previously set forwarded ports...
==> compute-01: Clearing any previously set network interfaces...
==> compute-01: Preparing network interfaces based on configuration...
    compute-01: Adapter 1: nat
    compute-01: Adapter 2: hostonly
    compute-01: Adapter 3: hostonly
    compute-01: Adapter 4: hostonly
    compute-01: Adapter 5: hostonly
==> compute-01: Forwarding ports...
    compute-01: 22 (guest) => 2222 (host) (adapter 1)
==> compute-01: Running 'pre-boot' VM customizations...
==> compute-01: Booting VM...
==> compute-01: Waiting for machine to boot. This may take a few minutes...
    compute-01: SSH address: 127.0.0.1:2222
    compute-01: SSH username: vagrant
    compute-01: SSH auth method: private key
==> compute-01: Machine booted and ready!
[compute-01] GuestAdditions 6.1.4 running --- OK.
==> compute-01: Checking for guest additions in VM...
==> compute-01: Setting hostname...
==> compute-01: Configuring and enabling network interfaces...
==> compute-01: Exporting NFS shared folders...
==> compute-01: Preparing to edit /etc/exports. Administrator privileges will be required...
==> compute-01: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o vers=3,udp 172.29.236.1:/home/user/vagrant/vagrant-openstack /vagrant

Stdout from the command:

Stderr from the command:

mount.nfs: Connection timed out

nfs service is started.

kkroesch commented 3 years ago

Came here because of running into the same problem. It's the firewall.