Closed
Bug 1056049
Opened 10 years ago
Closed 9 years ago
Vagrant: Document further NFS share troubleshooting steps
Categories
(Tree Management :: Treeherder, defect, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: Sylvestre, Assigned: jfrench)
Details
Attachments
(1 file)
Running a Debian jessie (aka testing) with the regular Ubuntu 32 bit version. I installed NFS on both host + slave. "vagrant up" fails with ----- The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! mount -o 'vers=3,udp' 192.168.33.1:'/home/sylvestre/dev/mozilla/treeherder-service' /home/vagrant/treeherder-service Stdout from the command: Stderr from the command: stdin: is not a tty mount.nfs: requested NFS version or transport protocol is not supported ----- As mdoglio told me, the following patch fixed my issue: diff --git a/Vagrantfile b/Vagrantfile index f0e5d03..32c09a3 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -11,8 +11,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.network "private_network", ip: "192.168.33.10" - config.vm.synced_folder ".", "/home/vagrant/treeherder-service", type: "nfs" - config.vm.synced_folder "../treeherder-ui", "/home/vagrant/treeherder-ui", type: "nfs" + config.vm.synced_folder ".", "/home/vagrant/treeherder-service" + config.vm.synced_folder "../treeherder-ui", "/home/vagrant/treeherder-ui" config.vm.provider "virtualbox" do |vb| vb.customize ["modifyvm", :id, "--memory", "1024"]
Comment 1•10 years ago
|
||
What version of Vagrant are you using btw? Also https://github.com/mitchellh/vagrant/issues/1744 seems relevant. Worst case we could add platform conditionals in the Vagrantfile to not use NFS on debian, but iirc the perf is quite a bit worse, so seems better if we can find the root cause.
Reporter | ||
Comment 2•10 years ago
|
||
I am using vagrant 1.4.3+dfsg1-2 (Debian package).
Comment 3•10 years ago
|
||
v1.6.3 is the latest - maybe try that?
Comment 4•10 years ago
|
||
(In reply to Ed Morley [:edmorley] from comment #3) > v1.6.3 is the latest - maybe try that?
Flags: needinfo?(sledru)
Summary: NFS share is failing in the install of treeherder service → Vagrant: NFS share is failing in the install of treeherder service
Reporter | ||
Comment 5•10 years ago
|
||
I am sorry Ed but I am using packages provided in the Debian archive and Vagrant is the 1.4.3 last one available. More info: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741996 https://tracker.debian.org/pkg/vagrant
Flags: needinfo?(sledru)
Comment 6•10 years ago
|
||
There's a Debian package available direct from http://www.vagrantup.com/downloads.html
Reporter | ||
Comment 7•10 years ago
|
||
Well, it is Ubuntu and I usually try to avoid upstream Deb packages since they might not have the same quality as Debian official packages. But I will give it a try :)
Updated•10 years ago
|
No longer blocks: 1072681
Component: Treeherder → Treeherder: Docs & Development
Updated•9 years ago
|
Priority: P3 → P4
Comment 8•9 years ago
|
||
Not sure if this is still relevant but I ran into the exact same error while setting up vagrant and treeherder-service last night. I'm on Debian Testing as well and my version of Vagrant is 1.6.5. I got it working by stopping and re-starting the nfs-kernel-server.service. More specifically, I ran these commands: systemctl stop nfs-kernel-server.service systemctl disable nfs-kernel-server.service systemctl enable nfs-kernel-server.service systemctl start nfs-kernel-server.service Got the unlinkely solution from this thread on Arch forums: https://bbs.archlinux.org/viewtopic.php?id=183608 (second last comment). I don't know if it's just me but posting this here so anyone else stuck could get some help. I'm currently running it without any problems and I didn't need to apply the patch involving the removal of nfs from the Vagrantfile.
Comment 9•9 years ago
|
||
That's really useful - thank you :-)
Updated•9 years ago
|
Priority: P4 → P3
Summary: Vagrant: NFS share is failing in the install of treeherder service → Vagrant: Document further NFS share troubleshooting steps
Comment 10•9 years ago
|
||
Let's add the comment 8 steps to: https://treeherder-service.readthedocs.org/en/latest/installation.html#setting-up-vagrant
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•9 years ago
|
||
Please see above PR for review and status.
Attachment #8604853 -
Flags: review?(emorley)
Comment 12•9 years ago
|
||
Comment on attachment 8604853 [details] [review] treeherder-ui-PR#530 Thank you :-)
Attachment #8604853 -
Flags: review?(emorley) → review+
Comment 13•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/e471253de48b3d55545c866e0d0b254b4066751f Bug 1056049 - Add NFS transport protocol troubleshooting to RTD
Assignee | ||
Comment 14•9 years ago
|
||
Marking this bug fixed per above merge, unless anyone has any concerns.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 15•9 years ago
|
||
Verified fixed in https://treeherder-service.readthedocs.org/en/latest/installation.html#setting-up-vagrant
Status: RESOLVED → VERIFIED
Updated•2 years ago
|
Component: Treeherder: Docs & Development → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•