AWS Thinkbox Discussion Forums

Initial Deadline Setup Issues & Help Required

Hi,

We are running into the below errors when trying to run a cmdline test job while we have just started setting up deadline.

2023-03-06 21:50:44: 0: Failed to properly create Deadline Worker data folder 'Thinkbox\Deadline10\workers' because: The SlaveDataRoot path in the deadline.ini file isn't a rooted path. (Deadline.Configuration.DeadlineConfigException)

and

2023-03-06 21:50:44: 0: ERROR: DataController threw an unexpected exception during initialization: FranticX.Database.DatabaseConnectionException: Could not connect to any of the specified Mongo DB servers defined in the "Hostname" parameter of the "settings\connection.ini" file in the root of the Repository.

Mongo DB “settings\connection.ini” info:
Hostname=fpdeadline01;192.168.0.107

and we are able to telenet fpdeadline01 27100 from the same worker machine which is giving above errors, please find below the Mongo DB config file for your reference:

#MongoDB config file

systemLog:
  destination: file
  # Mongo DB's output will be logged here.
  path: C:\DeadlineDatabase10\mongo\data\logs\log.txt
  # Default to quiet mode to limit log output size. Set to 'false' when debugging.
  quiet: true
  # Increase verbosity level for more debug messages (max: 5)
  verbosity: 0

net:
  # Port MongoDB will listen on for incoming connections
  port: 27100
  ipv6: true
  ssl:
    # SSL/TLS options
    mode: disabled
    # If enabling TLS, the below options need to be set:
    #PEMKeyFile:
    #CAFile:
  # By default mongo will only use localhost, this will allow us to use the IP Address
  bindIpAll: true

storage:
  # Database files will be stored here
  dbPath: C:\DeadlineDatabase10\mongo\data
  engine: wiredTiger

security:
  authorization: disabled

Any thoughts or pointers to fix these will be really helpful.

Thanks,
Fractal Picture

related to:

Hey, I’m very new to deadline too. But I’ll take a guess at your issue regarding the SlaveDataRoot. It sounds like the SlaveDataRoot inside the desktop.ini on the given worker doesn’t have a root. Like for example, if the worker is a Windows computer. I believe the path has to start with a drive letter or double backslash if it’s a network drive. Like C:\Thinkbox\Deadline10 or \networkDrive\Thinkbox\Deadline10.

Thanks, @Mads_Hangaard while your point is correct, the deadline.ini (C:\ProgramData\Thinkbox\Deadline10) for our deadline client machines’ looks like this:

[Deadline]
LicenseMode=LicenseFree
LicenseServer=
Region=
LauncherListeningPort=17000
LauncherServiceStartupDelay=60
AutoConfigurationPort=17001
SlaveStartupPort=17003
SlaveDataRoot=
RestartStalledSlave=false
NoGuiMode=false
LaunchSlaveAtStartup=1
AutoUpdateOverride=
ConnectionType=Repository
ProxyRoot=fpdeadline01:8080
ProxyUseSSL=False
ProxySSLCertificate=
ProxySSLCA=
ClientSSLAuthentication=Required
NetworkRoot=//fpdeadline01/DeadlineRepository10
DbSSLCertificate=
NetworkRoot0=//fpdeadline01/DeadlineRepository10
ProxyRoot0=fpdeadline01:8080
LogReportSyntaxHighlighting=true

where the SlaveDataRoot= is empty by default and therefore we expect the defaults to work correctly or give us an error message that’s a little more specific as to which default location the write attempt is being made and what fixes would allow us to get this working?

Is that make sense to you? Looking forward to your thoughts.

Thanks,
Bhavik

I see, then I don’t know why the error is happening. But I can tell you, that when we set up Deadline. The default was C:\Users\USER\AppData\Local\Thinkbox\Deadline10. I’m sorry I couldn’t be of better assistance.

Not a prob @Mads_Hangaard we also tried running this job with the below change in deadline.ini:

SlaveDataRoot=%AppData%\Thinkbox\Deadline10

and restarted the Deadline 10 Launcher Service and re-run the Command Line test task, however that again resulted into the same error as below:

2023-03-08 18:46:55:  0: Failed to properly create Deadline Worker data folder 'Thinkbox\Deadline10\workers' because: The SlaveDataRoot path in the deadline.ini file isn't a rooted path. (Deadline.Configuration.DeadlineConfigException)
2023-03-08 18:46:55:  0: ERROR: DataController threw an unexpected exception during initialization: FranticX.Database.DatabaseConnectionException: Could not connect to any of the specified Mongo DB servers defined in the "Hostname" parameter of the "settings\connection.ini" file in the root of the Repository.

Anyone else on these forums, would you recommend any other tests/checks to further narrow down the troubleshooting of this issue?

Thanks,
Bhavik

Additionally, we also tried again with the C:\ProgramData\Thinkbox\Deadline10\deadline.ini modified with:

SlaveDataRoot=C:\LocalSlaveData

Where C:\LocalSlaveData has permissions for Everyone to Modify, Read & Execute, List folder contents, Read, Write and the contents of C:\LocalSlaveData post filed job execution are:

C:\LocalSlaveData
\---fprdsk113
    +---jobsData
    |   \---6405f65b2f17b32c0725f147
    \---plugins
        \---6405f65b2f17b32c0725f147

so from the log errors, it is still somewhat unclear as to what exactly is the issue and how we fix it.

@karpreet would you be able to help us with this?

Thanks,
Bhavik

Hello,

  1. Does your deadline repo/settings/connection.ini file (e.g. EnableSSL=False and Authenticate=False) match the mongo config.conf ?

  2. Not sure if the affects anything, but assuming you’re on windows, can you re-write the NetworkRoot and NetworkRoot0 with backslashes (not forward slash) e.g.: \\fpdeadline01\DeadlineRepository10
    I believe the settings\connection.ini file is getting its root path from the NetworkRoot

  3. From the docs: The windows path location for the worker is: %PROGRAMDATA%\Thinkbox\Deadline[VERSION]\workers\[WORKERNAME]
    Does %PROGRAMDATA% expand/resolve correctly on your render node e.g.:

PS C:\Users\deadline> dir env:programdata

Name                           Value
----                           -----
ProgramData                    C:\ProgramData
  1. Your test of SlaveDataRoot=C:\LocalSlaveData, I think the permissions needs to be Full Control (this folder, subfolders, and files) as the worker is creating and deleting the jobsData and plugins folders and files under workers\[WORKERNAME]
1 Like

Do you get the same error ^ when SlaveDataRoot is set to C:\LocalSlaveData?

Usually the permissions right under C are inherited from the parent.

If you are logged in the render node as the same user the Worker is running under. Then recreate the issue and follow here: Troubleshooting — Deadline 10.2.0.10 documentation
Do you get the same error?

Do a similar test with AppData location too.

Hey I wanted add to my response. %APPDATA% or any path which starts with the environment variable like this cannot be expanded by the Worker because only Windows can do that Worker cannot.

Privacy | Site terms | Cookie preferences