AWS Thinkbox Discussion Forums

Render nodes can't get UBL license | AWS Portal | Arnold

Installing an AWS Portal setup for the first time. I’m able to submit a job, and have a task picked up by a render node in my Spot Fleet – but the task immediately stops. When I check the local logs on the render node, I see this error:

Scheduler Thread - Could not initialize usage-based licensing for arnold. The UBL credentials are not set for the repository. (System.Exception)

I’ve set the URL and the activation code in the “Usage Based Licensing” section of Repository Options of my on-prem Deadline repo, but I can’t see their current values (I think because I have Secrets Management enabled).

Dynamic Licensing is on, and Web Forwarding is off.

I’d bet that storing the secrets failed, and there’s nothing to fetch.

Try setting the URL + activation code in the Monitor, and check the application logs for errors.

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

Then check the help center for error messages’ contents to see if there’s already an existing guide to a fix.

Otherwise share what you see here and we’ll see what’s up.

Thank you for the reply!

You’re exactly right – I didn’t think to check the logs on the repo server.

From the deadline monitor log, I see:

System.InvalidOperationException: Failed to store the secret (/admin/ublsettings/UsageBasedURL) due to an unexpected error. Please see Server's application log for further information.
   ---> Deadline.Net.Clients.Http.DeadlineHttpRequestException: POST https://<REDACTED>/rcs/v1/putSecret returned InternalServerError ""
     at Deadline.Net.Clients.Http.HttpClient.b(HttpRequestMessage bma)
     at Deadline.Net.Clients.Http.HttpClient.SendRequestForStream(String method, String uri, String contentType, Dictionary`2 headers, HttpContent httpContent)
     at Deadline.Net.Clients.Http.HttpClient.SendRequest(String method, String uri, String contentType, Dictionary`2 headers, HttpContent httpContent)
     at Deadline.Net.Clients.Http.HttpClient.Post(String uri, Object body, String contentType, Dictionary`2 headers)
     at Deadline.Net.Clients.Http.HttpClient.Post[TRequest,TResponse](String uri, TRequest body, String contentType, Dictionary`2 headers)
     at Deadline.Controllers.RemoteSecretsManagementController.PutSecret(String secretId, String secretString, String description, String username, String password)
     --- End of inner exception stack trace ---
     at Deadline.Controllers.RemoteSecretsManagementController.PutSecret(String secretId, String secretString, String description, String username, String password)
     at Deadline.Controllers.SecretAccessUtility.b(DataController cxm, String cxn, String cxo, String cxp, String cxq)
     at Deadline.Controllers.SecretAccessUtility.SetUBLURL(DataController dataController, String url, String username, String password)
  During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "C:\thinkbox-conda\conda-bld\deadline_1710521755132\work\DeadlineProject\DeadlineUI\Commands\MonitorCommands.py", line 3936, in InnerExecute
    File "C:\thinkbox-conda\conda-bld\deadline_1710521755132\work\DeadlineProject\DeadlineUI\Commands\MonitorCommands.py", line 2394, in SaveSecretViaSecretsManagement
  NameError: name 'InvalidOperationException' is not defined

I found this article which seemed promising: https://awsthinkbox.zendesk.com/hc/en-us/articles/19652773185431-Failed-to-store-the-secret-due-to-no-valid-master-key

And it worked!

Thank you so much!

1 Like
Privacy | Site terms | Cookie preferences