Project

Profile

Help

Story #904

As a developer, I can share my code with my Vagrant box via NFS instead of rsync

Added by rbarlow over 5 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.8.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Vagrant can share the code with the guest using NFS, but I was not able to get it working when getting us started with Vagrant. For some reason, Vagrant was trying to use /etc/init.d/nfs to start NFS instead of systemctl. I haven't dug into the issue any further, so I cannot suggest a solution here yet.

beav suggested that there may be firewall issues to overcome as well[1].

[0] http://docs.vagrantup.com/v2/synced-folders/nfs.html
[1] http://blog.spahn.me/fedora-21-nfs-vagrant-and-the-preconfigured-firewall/

Associated revisions

Revision 7320e579 View on GitHub
Added by rbarlow over 5 years ago

Configure Vagrant for NFS shares and document it.

This commit adds documentation of our new Vagrant setup, as well as configuring it to use NFS to share the code rather than rsync which was very slow.

fixes #904

Revision 7320e579 View on GitHub
Added by rbarlow over 5 years ago

Configure Vagrant for NFS shares and document it.

This commit adds documentation of our new Vagrant setup, as well as configuring it to use NFS to share the code rather than rsync which was very slow.

fixes #904

History

#1 Updated by rbarlow over 5 years ago

It turns out that this was due to a bug in Vagrant:

https://github.com/mitchellh/vagrant/issues/5321

#2 Updated by rbarlow over 5 years ago

  • Status changed from NEW to POST
  • Assignee set to rbarlow

#3 Updated by rbarlow over 5 years ago

  • Tracker changed from Task to Story
  • Subject changed from Get our Vagrant setup to use NFS to share the code instead of rsync to As a developer, I can share my code with my Vagrant box via NFS instead of rsync
  • Platform Release set to master

rsync is painfully slow, but NFS doesn't work out of the box with Vagrant and our current Vagrant box. Configure our Vagrantfile to use NFS to share the code with the box, and document how to use it.

#4 Updated by rbarlow over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#5 Updated by rbarlow almost 5 years ago

  • Platform Release changed from master to 2.8.0

#6 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to 5

#7 Updated by rbarlow over 4 years ago

  • Status changed from 5 to 6
  • Groomed set to No
  • Sprint Candidate set to No

Vagrant code is being served with NFS on master.

#8 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF