Permission denied #74
Comments
purpleidea
commented
Dec 22, 2013
|
More info: Restart nfs-server, provision still fails. [root@machine1 tmp]# ls -lAh Looks like NFS is borked... |
purpleidea
commented
Dec 22, 2013
|
[root@machine1 tmp]# mount | grep nfs |
purpleidea
commented
Dec 22, 2013
|
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. |
purpleidea
commented
Jan 1, 2014
|
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 |
scashin133
commented
Jan 6, 2014
|
@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 |
scashin133
commented
Jan 6, 2014
|
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 |
gionn
commented
Feb 6, 2014
|
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). |
oker1
commented
Feb 9, 2014
|
Same here with lxc, on the host the cache dir has to be 777 or chowned to 1000:1000. |
fgrehm
added this to the
v0.6.0
milestone
Feb 10, 2014
|
Ok, folks, I'll try to get the chmod in place for the next release. |
fgrehm
added a commit
that referenced
this issue
Feb 12, 2014
|
|
fgrehm |
6282b09
|
|
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
closed this
Feb 12, 2014
fgrehm
added a commit
that referenced
this issue
Feb 27, 2014
|
|
fgrehm |
0dd1b20
|
inancgumus
commented
May 27, 2015
|
@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 |
purpleidea commentedDec 22, 2013
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