I’ve just set up the new Deadline UBL system, but I’m getting a strange issue.
On the render node, I have the env variable “redshift_LICENSE” set via /env/environment, and it echos correctly as both root and the user, but in the task reports it’s still saying “redshift_LICENSE=<not_set>”. The issue persists after reboots. Creating a redshift.lic file with the line “HOST hostname_of_endpoint ANY 7054” works and it successfully checks the license out.
Locally on my Windows machine, adding the env variable redshift_LICENSE works.
you shouldn’t have to add the env var for UBL, it’s set when it’s required. I’ve noticed an oddity where it leaves houdini pointing to the ubl rather than the sidefx login.
did you set the env var to port@host? or point to a lic file?
I believe you think I’m talking about the Legacy UBL system with license forwarding, and you’re correct the env var isn’t needed.
However, because the new system bypasses the forwarder entirely, the render node is now responsible for directly checking out the licenses, which is set by a file or env var like documented here Connect customer-managed fleets to a license endpoint - Deadline Cloud
With the legacy UBL system, do certain configurations rewrite these env var’s to force UBL? I have “use existing licenses usage” unchecked in the limits and could see this happening, I did set the machine to be excluded from the limit however.
Yea, the worker isn’t getting any of the system env variables. “Only Use Job Environment Variables When Rendering” is unchecked.
Using os.environ.get(“redshift_LICENSE”) in Redshift.py:
2025-05-01 10:12:46: 0: PYTHON: redshift_LICENSE is None
2025-05-01 10:12:46: 0: INFO: About: Redshift Plugin for Deadline
2025-05-01 10:12:46: 0: INFO: The job's environment will be merged with the current environment before rendering
From what I’ve read, the systems environment should be grabbed by the worker/plugin, but it appears that isn’t happening. The client is installed as a service running under the Linux user.
Adding the license server details via redshift.lic works, but I’m not sure this would work with Houdini or Karma, so I’d like to get env variables working.