In Configure Plugins → MayaBatch, do you have the correct path for the Maya 2022 render executable? Should be something like (if you did your own install): /usr/autodesk/maya2022/bin/maya
Otherwise, the DL Maya AMI uses their headless maya version: /usr/autodesk/mayaIO2022/bin/maya
I think DL processes the list in order, so you need to make sure that if for some reason you have multiple linux paths for maya 2022 version, put the one you want to use before the other one e.g.:
Hey jarak, yes it seems like it could be a pathing issue, but it is correct in the Config Plugins → MayaBatch exes. I can run it manually in SSH, using the same path. I did my own install, so the path is /usr/autodesk/maya2022/bin/maya
If I run the full command from the DL log, it works in SSH
INFO: Full Command: "/usr/autodesk/maya2022/bin/maya" -prompt -file ...[redacted]
Returns this and continues to load:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/var/tmp/runtime-root' This plugin does not support createPlatformOpenGLContext! [Redshift] Redshift for Maya 2022 [Redshift] Version 3.5.04, Jun 16 2022 Installing Redshift MEL overrides...
I do have path mapping setup, but it all works in MayaCmd, along with the same above maya path in Plugin Config. Unfortunately MayaCmd is causing issues with the on-prem machines, so I’m chasing the path of least resistance (hopefully).
Thanks for any other ideas, places to check, etc. Is it possible it could be a python issue or any other issue on the linux side? It had 2.7 installed, so I installed 3.4 just in case. Seems odd that I can run it manually, so I can’t help but wonder if it’s something specific with the DL MayaBatch.py / Linux setup .
Just read this quick, so pardon me if it’s been mentioned - have you got the linux standard base installed on that machine?
The errors here:
2022-07-20 15:41:33: 0: STDOUT: /usr/autodesk/maya2022/bin/maya: line 115: dirname: command not found
2022-07-20 15:41:33: 0: STDOUT: /usr/autodesk/maya2022/bin/maya: line 116: ls: command not found
2022-07-20 15:41:33: 0: STDOUT: /usr/autodesk/maya2022/bin/maya: line 116: tr: command not found
2022-07-20 15:41:33: 0: STDOUT: /usr/autodesk/maya2022/bin/maya: line 116: tail: command not found
2022-07-20 15:41:33: 0: STDOUT: /usr/autodesk/maya2022/bin/maya: line 126: dirname: command not found
2022-07-20 15:41:33: 0: STDOUT: /usr/autodesk/maya2022/bin/maya: line 130: basename: command not found
Look an awful lot the Worker trying to find the executable using like regular *nix commands I’d expect to be on anything. My RHEL skills are 0 but the internet says sudo yum install redhat-lsb should do the trick.
OK. Welp, those errors (the tr, tail command not found, maya executable cannot be found) are coming from the /usr/autodesk/maya2022/bin/maya2022 which afaik, is a wrapper script for launching maya. /usr/autodesk/maya2022/bin/maya -> maya2022
However, it’s almost the same as the Render script (MayaCmd).
And when you logged in via SSH, you ran the command as the deadline user (or whichever user is running deadline)?
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Nothing to do
Which I think means it’s there already? That was one of my early thoughts, that those commands weren’t recognized, maybe missing a lib, but they work in SSH (?)
Uh, I only have centos/amzn linux running, not RHEL so I can’t tell you if those pkgs are installed by default on a RHEL box.
Have you tried just using the DL linux AMI and then installing Maya 2022.3 (I think their installed version is Maya 2022.0) and RS 3.5.x on top of it? Their AMI should just work and a working known good is helpful to compare. Or do you have to use RHEL specifically?
It’s easiest if I use one of our institution’s provisioned AMIs, which is basically RHEL 7, 8 or Amazon Linux. I can try the DL AMI, I just have to jump through some hoops to get it online on our end, but I will look into this.
Thanks again for the help, I’ll be back to testing this week.