Skip to content

Vagrant up/reload hangs on Folder syncing - intermittant #1

@naterkane

Description

@naterkane

pulling this comment into an issue

for some reason this is intermittently taking a crap for me.
hanging on Mounting NFS shared folders
I'd post an issue, but you don't have Issues turned on.

I have Vagrant v1.6.5 on OSX 10.10, which of course has nfsd installed. it worked without a running nfsd process, and then didn't work at all.

I know that if you don't specify the sync type, Vagrant will choose a best-available-method per-platform (to get around inherent Windows issues)

I ended up having to

config.vm.synced_folder "server", "/home/vagrant/server", id: "vagrant-root"

to get it to not do this....

$ vagrant reload
==> default: Attempting graceful shutdown of VM...
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 3000 => 3000. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 3000 => 2200 (adapter 1)
    default: 80 => 7777 (adapter 1)
    default: 1337 => 1337 (adapter 1)
    default: 3306 => 7778 (adapter 1)
    default: 5432 => 5433 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
Password:
==> default: Mounting NFS shared folders...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions