Removing host from black list

General discussions and questions.
Post Reply
vfxgeek
Posts: 27
Joined: Sun Dec 12, 2021 1:34 pm

Removing host from black list

Post 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
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Removing host from black list

Post by timurhai »

Hi!
Reset Error Hostst menu item, or Errors -> RESET HOSTS button.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
vfxgeek
Posts: 27
Joined: Sun Dec 12, 2021 1:34 pm

Re: Removing host from black list

Post by vfxgeek »

Thanks very much. I'll try that.
vfxgeek
Posts: 27
Joined: Sun Dec 12, 2021 1:34 pm

Re: Removing host from black list

Post 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
vfxgeek
Posts: 27
Joined: Sun Dec 12, 2021 1:34 pm

Re: Removing host from black list

Post 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.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Removing host from black list

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
vfxgeek
Posts: 27
Joined: Sun Dec 12, 2021 1:34 pm

Re: Removing host from black list

Post by vfxgeek »

And how do I change afrender user ?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Removing host from black list

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
vfxgeek
Posts: 27
Joined: Sun Dec 12, 2021 1:34 pm

Re: Removing host from black list

Post by vfxgeek »

OK. Thanks very much!
Post Reply