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

Use rsync for vagrant-libvirt sync_folder: #98

Conversation

jacobweinstock
Copy link
Member

Description

The NFS type for synced_folder requires nfsd to be installed and running on a machine for vagrant up to be successful.
nfs was used so that folders were r/w bidirectionally.
I don't really think there is a need for this bidirectional functionality.
Moving to rsync should make this work more universally.

Why is this needed

Issue #97 reported.
Moving away from nfs for vagrant libvirt synced_folders should work more universally.

Fixes: #97

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

The NFS type for synced_folder requires nfsd to be
installed and running on a machine for vagrant up to
be successful. nfs was used so that folders were r/w
bidirectionally. I don't really think there is a need for
this bidirectional functionality. Moving to rsync should
make this work more universally.

Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
@MikePadge
Copy link

Bringing this over here since I closed the issue

Hey @MikePadge, sorry I'm not following. The PR #98 breaks the docker-compose? That PR doesn't use NFS anymore.

I thought the docker-compose files were expecting the nfs mounts to be available in the vagrant box, but I don't see nfs being used for volumes in these compose files. So I dont' know why they're breaking

Annd that being said, it looks like with nfsd I'm getting the same secondary errors with the containers as rsync. So I'll go ahead and collect that info and open a new issue.

@jacobweinstock jacobweinstock removed the request for review from markjacksonfishing August 31, 2021 13:40
@jacobweinstock jacobweinstock merged commit f10a1f0 into tinkerbell:master Sep 3, 2021
@jacobweinstock jacobweinstock deleted the vagrant-libvirt-synced-folder-issue branch September 3, 2021 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mount.nfs requested NFS version or transport protocol is not supported
3 participants