OpenPype icon indicating copy to clipboard operation
OpenPype copied to clipboard

RoyalRender: environment injection on the server

Open kalisp opened this issue 2 years ago • 2 comments

Changelog Description

Previously env vars were injected directly on the client during submission. That could have issues when environment on client machines is different than on workers.

This PR tries similar approach as on DL when before job is rendered it queries Ayon to get environment variables for context. These variables are used to create .rrEnv file and attach it to the job. That should provide rendering environment controlled by Ayon.

Additional info

It expects installed Ayon on worker machines with these env vars (for now):

  • AYON_SERVER_URL
  • AYON_API_KEY
  • AYON_EXECUTABLE_PATH - path to ayon_console on the worker(s) - should be parsed from renderApps config in the future

Expects redeployment of RR plugins from openpype/modules/royalrender/rr_root to RR_ROOT

kalisp avatar Jan 24 '24 14:01 kalisp

Task linked: OP-7687 Environments in RoyalRender

ynbot avatar Jan 24 '24 14:01 ynbot

Currently blocked as required methods from SDK are not available with Demo licenses.

kalisp avatar Feb 08 '24 11:02 kalisp

This is currently implemented and (hopefully) working solution.

kalisp avatar Apr 09 '24 11:04 kalisp