AWS Thinkbox Discussion Forums

Problem with the database

Hi, I’m trying to install Deadline on Oracle Linux and encountered an issue. The worker stations are connecting and showing up in the Deadline Monitor, but I can’t change their settings (e.g., Worker Description or Worker Comment). Nothing happens after making changes. Additionally, all connected PCs constantly switch to House Cleaning state.

During installation, I used a connection to a pre-installed MongoDB.

I’m trying to set up on:
Oracle Linux 8
MongoDB v4.2.25

In the MongoDB log, there are many similar errors:

{"t":{"$date":"2024-03-19T12:44:05.637+02:00"},"s":"I",  "c":"NETWORK",  "id":6788700, "ctx":"conn1218","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
{"t":{"$date":"2024-03-19T12:44:05.669+02:00"},"s":"E",  "c":"COMMAND",  "id":4879802, "ctx":"conn1215","msg":"Failed to handle request","attr":{"error":"Location5745700: OP_DELETE is no longer supported"}}
{"t":{"$date":"2024-03-19T12:44:05.669+02:00"},"s":"I",  "c":"-",        "id":20883,   "ctx":"conn1218","msg":"Interrupted operation as its client disconnected","attr":{"opId":11666}}
{"t":{"$date":"2024-03-19T12:44:05.848+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1219","msg":"client metadata","attr":{"remote":"10.22.118.104:64469","client":"conn1219","doc":{"driver":{"name":"mongo-csharp-driver|legacy","version":"2.13.3.0"},"os":{"type":"Windows","name":"Microsoft Windows 10.0.19045","architecture":"x86_64","version":"10.0.19045"},"platform":".NET 6.0.24"}}}

I would be grateful for any advice.
Thank you in advance.

Which version of Deadline are you trying to set up?

And could you grab a deadlinemonitor log from a machine where you’re unable to make changes to the other Workers from?

The logs will be on the machine in one of these locations:
Windows: C:\ProgramData\Thinkbox\Deadline10\logs
Linux: /var/log/Thinkbox/Deadline10
Mac OS X: /Library/Logs/Thinkbox/Deadline10

Thanks!

deadline 10.3.1.4
I see that there is a problem connecting to the database

2024-03-19 14:28:17:  BEGIN - ART-VPD-247\a.slobodianiuk
2024-03-19 14:28:17:  Operating System: Windows 10 Pro
2024-03-19 14:28:17:  CPU Architecture: x64
2024-03-19 14:28:17:  CPUs: 24
2024-03-19 14:28:17:  Video Card: NVIDIA GeForce RTX 3090
2024-03-19 14:28:17:  Deadline Monitor 10.3 [v10.3.1.3 Release (2807fcb2a)]
2024-03-19 14:28:17:  Time to initialize: 63.000 ms
2024-03-19 14:28:23:  Auto Configuration: No auto configuration for Repository Path could be detected, using local configuration
2024-03-19 14:28:23:  Auto Configuration: Picking configuration based on: ART-VPD-247 / 10.22.118.84
2024-03-19 14:28:23:  Auto Configuration: No auto configuration could be detected, using local configuration
2024-03-19 14:28:23:  Time to connect to Repository: 453.000 ms
2024-03-19 14:28:23:  Time to check user account: 0.000 s
2024-03-19 14:28:23:  Time to purge old logs and temp files: 16.000 ms
2024-03-19 14:28:24:  Time to synchronize plugin icons: 1.093 s
2024-03-19 14:28:25:  Time to initialize main window: 328.000 ms
2024-03-19 14:28:25:  Main Window shown
2024-03-19 14:28:25:  Python 3.10.13 | packaged by Thinkbox Software | (main, Nov 23 2023, 08:14:16) [MSC v.1933 64 bit (AMD64)]
2024-03-19 14:28:25:  Time to show main window: 32.000 ms
2024-03-19 14:28:46:  An unexpected error occurred while Saving Worker Settings:
2024-03-19 14:28:46:  An error occurred while trying to connect to the Database art-vpd-001.coworking.local:27110. It is possible that the Mongo Database server is incorrectly configured, currently offline, blocked by a firewall, or experiencing network issues.
2024-03-19 14:28:46:  Full error: An exception occurred while receiving a message from the server. (FranticX.Database.DatabaseConnectionException)
2024-03-19 14:28:46:     at Deadline.StorageDB.MongoDB.MongoDBUtils.HandleException(String serverAddress, Exception ex, String optionalMessagePrefix)
2024-03-19 14:28:46:     at Deadline.StorageDB.MongoDB.MongoDBUtils.HandleException(DeadlineMongoDB database, Exception ex, String optionalMessagePrefix)
2024-03-19 14:28:46:     at Deadline.StorageDB.MongoDB.MongoSlaveStorage.SaveSlaveSettings(SlaveSettings settings)
2024-03-19 14:28:46:     at Deadline.Monitor.WorkItems.SaveSlaveSettingsWI.InternalDoWork()
2024-03-19 14:28:46:     at Deadline.Monitor.MonitorWorkItem.DoWork()
2024-03-19 14:28:46:  ---------- Inner Stack Trace (System.IO.EndOfStreamException) ----------
2024-03-19 14:28:46:     at MongoDB.Driver.Core.Misc.StreamExtensionMethods.ReadBytes(Stream stream, Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
2024-03-19 14:28:46:     at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(CancellationToken cancellationToken)

sudo service deadline10db status
The MongoDB Service For Deadline [VERSION] is running with PID 22809.

mogodb config.conf (I changed the value here to wiredTiger)

#MongoDB config file

systemLog:
  destination: file
  # Mongo DB's output will be logged here.
  path: /opt/Thinkbox/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 (0-5)
  verbosity: 0

net:
  # Port MongoDB will listen on for incoming connections
  bindIp: 0.0.0.0
  port: 27110
  ipv6: true
  ssl:
    # SSL/TLS options
    mode: disabled
    # If enabling TLS, the below options need to be set:
    #PEMKeyFile:
    #CAFile:
  #http:
    # Set to 'true' to enable REST interface
    #RESTInterfaceEnabled: false

storage:
  # Database files  be stored here
  dbPath: /opt/Thinkbox/DeadlineDatabase10/mongo/data
  engine: wiredTiger
# Enable sharding
#sharding:
  #clusterRole:
  #configDB:

# Setup replica set with given replica set name
#replication:
  #replSetName:

security:
  authorization: disabled

I can’t understand what this could be. Through the monitor, I can see all the data but can’t make changes. Tried to modify the description via Compass and it reflected in the deadline (Compass is on the same PC as the monitor).

That is odd - without the test you ran with Compass I’d point you to this article in the help center, but clearly communication between the database and this machine over port 27110 is working.

The only difference then is that the Monitor is trying to hit the database using the hostname of the machine art-vpd-001.coworking.local and Compass is using the IP address. Maybe there’s an issue resolving the name?

That doesn’t account for the errors you’re seeing in the database log, though the 4 lines in your snippet are describing 3 different client connections. They’re named with conn1215 to highlight the one whose request is failing to be handled.

Given this database isn’t one set up by our repository installer, did you grab the MongDB 4.2.25 community edition from the site or a software repository from OL?

Also, did you test this before changing the storage engine to wiredTiger? I’m not sure what else you’d need to do to make an engine change take proper effect, and maybe Deadline’s database interaction code isn’t as robust as Compass’.

I don’t know what’s causing it, but I switched to 4.4.29 and everything seemed to work. Thanks for the help

Oh of course! My bad, I should have checked the release notes, support for MongoDB 4.2 was dropped in 10.2.1.0 which explains why the switch has resolved the problem.

Privacy | Site terms | Cookie preferences