Page 1 of 1
Removing host from black list
Posted: Sun Dec 12, 2021 2:44 pm
by vfxgeek
Hi,
I'm setting up Afanasy. Tried to submit a job from Blender, which had some errors and now whatever I send ends with Avoiding Host.
How do I remove that host from black list ?
Thanks,
Lukas
Re: Removing host from black list
Posted: Sun Dec 12, 2021 3:12 pm
by timurhai
Hi!
Reset Error Hostst menu item, or Errors -> RESET HOSTS button.
Re: Removing host from black list
Posted: Sun Dec 12, 2021 4:47 pm
by vfxgeek
Thanks very much. I'll try that.
Re: Removing host from black list
Posted: Mon Dec 13, 2021 7:49 am
by vfxgeek
I found why the host gets blacklisted. This is a Task Output:
Code: Select all
HOSTNAME=lukas-desktop
Blender 2.93.6 (hash c842a90e2fa1 built 2021-11-17 00:39:23)
Error: Cannot read file '/media/lukas/VFX/affanasy.20211213084506.blend': Permission denied
Blender quit
However this Blender file is fully accessible from all machines (Read & Write permissions) although the server/render machine is not an owner of the file.
If I drop the command from Task->Executable to Terminal it will render the frame.
Any ideas what might be the problem?
Thanks,
Lukas
Re: Removing host from black list
Posted: Tue Dec 14, 2021 7:40 am
by vfxgeek
Hi again!
I found that it's the "render" user that doesn't have access the blender file. The location is a NFS mouted network drive
Code: Select all
id render
uid=1001(render) gid=109(render) groups=109(render)
and the file that I'm trying to render is:
Code: Select all
-rwxrwxrwx 1 1024 users 772304 gru 13 08:45 affanasy.20211213084506.blend
But I don't know how to fix it.
Re: Removing host from black list
Posted: Tue Dec 14, 2021 8:33 am
by timurhai
You should setup your file server to make render user to have write access to the project.
Or you can change user that afrender is running by.
Re: Removing host from black list
Posted: Tue Dec 14, 2021 8:41 am
by vfxgeek
And how do I change afrender user ?
Re: Removing host from black list
Posted: Tue Dec 14, 2021 9:14 am
by timurhai
It depends on how do you run afrender service.
On Linux, by default, it runs by SystemD.
Read SystemD manuals (for your distribution) about how to change/specify service user.
Re: Removing host from black list
Posted: Tue Dec 14, 2021 9:39 am
by vfxgeek
OK. Thanks very much!