-
Notifications
You must be signed in to change notification settings - Fork 111
Permission denied #74
Comments
More info: Restart nfs-server, provision still fails. [root@machine1 tmp]# ls -lAh Looks like NFS is borked... |
[root@machine1 tmp]# mount | grep nfs |
Workaround and more info (BUT ANNOYING!)
|
@purpleidea sorry, I don't think I'm gonna find time soon to set up environment to repro this. But a link to full My gut feeling is that this is libvirt/provider issue. The NFS mount is broken before vagrant-cachier even kicks in. I've seen that happening when the directory is deleted on the host, but that shouldn't happen here. |
Here is a workaround 'fix' script that people can use in the meantime... It's obviously a hack. A real fix would be awesome... https://gist.github.com/purpleidea/8211614 Cheers |
@tmatilai I just got an error similar to this one although for a different path when using the virtual box provider. I'm running Vagrant 1.4.1 and vagrant-cachier version 0.5.1. Log: https://gist.github.com/scashin133/80fa63a274c9139da893 I'll try to get a debug log |
Here is the debug output: https://gist.github.com/scashin133/22a1affd97a88ea06bae |
@scashin133 @purpleidea Folks, is this still an issue for you guys? Could one of you please gist the exact same Vagrantfile you guys are using over there? Thanks |
Well, I think I just got bitten by this with the vbox provider and I worked around it by changing the cache scope to |
I've the same problem using LXC driver:
Owner and group are the same of the user running vagrant on the host machine (is a know limitation with LXC, we cannot change uid:gid as Virtualbox do on shared folders). |
Same here with lxc, on the host the cache dir has to be 777 or chowned to 1000:1000. |
Ok, folks, I'll try to get the chmod in place for the next release. |
Guys, there's a potential fix for it on 6282b09, if someone wants to give it a go before the new release please build the plugin from sources and let us know how it goes :-) |
@fgrehm I have kind of the same problem I guess. I have version vagrant-cachier 1.2.0 When I run: When I ssh'ed into the machine and typed |
Sorry but I won't be able to help you ATM =/ Do you mind opening up another issue so that other people can chime in? I'd reopen this one but it is way too big already |
Occasionally when running provision (usually an initial provision has already happened)
This is using vagrant on F19, with vagrant-libvirt.
Setup described here:
https://ttboj.wordpress.com/2013/12/09/vagrant-on-fedora-with-libvirt/
and here:
https://ttboj.wordpress.com/2013/12/21/vagrant-vsftp-and-other-tricks/
Cheers
The text was updated successfully, but these errors were encountered: