Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/houdini redshift fix default redshift version #26

Merged
merged 11 commits into from
Feb 21, 2024

Conversation

MustafaJafar
Copy link
Contributor

@MustafaJafar MustafaJafar commented Feb 12, 2024

Changelog Description

Ported from OP ynput/OpenPype#6192

Fixing the bug reported here https://community.ynput.io/t/houdini-redshift-deadline-executable-error/1210
Let me quote BigRoy's comment:
If we specify Version as "" then indeed it tries to access the version as Redshift_Executable_ instead of the Deadline default Redshift_Executable_1

Testing notes:

  1. (As far as I know) Make sure REDSHIFT_VERSION env doesn't exist
  2. Enable render archives in Redshift ROP
  3. Publish

Copy link
Member

@moonyuet moonyuet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't render out with houdini in Redshift. Log is embedded below.
error_log_hou.txt

@MustafaJafar
Copy link
Contributor Author

Can't render out with houdini in Redshift. Log is embedded below. error_log_hou.txt

I'm not sure why this happens.

2024-02-15 18:34:04:  0: STDOUT: Warning:     Bad node type found: Redshift_ROP in /out.
.
.
2024-02-15 18:34:04:  0: STDOUT:              Error:       Bad node type found: redshift_vopnet in /obj/rslightsun1/light_shader.
.
.
2024-02-15 18:34:04:  0: STDOUT: Error:       Bad node type found: redshift_vopnet in /obj/rslightsun1/environment_shader.

@BigRoy
Copy link
Collaborator

BigRoy commented Feb 15, 2024

Can't render out with houdini in Redshift. Log is embedded below. error_log_hou.txt

I'm not sure why this happens.

2024-02-15 18:34:04:  0: STDOUT: Warning:     Bad node type found: Redshift_ROP in /out.
.
.
2024-02-15 18:34:04:  0: STDOUT:              Error:       Bad node type found: redshift_vopnet in /obj/rslightsun1/light_shader.
.
.
2024-02-15 18:34:04:  0: STDOUT: Error:       Bad node type found: redshift_vopnet in /obj/rslightsun1/environment_shader.

Pretty sure the issue here is that Houdini isn't recognizing the Redshift plug-in correctly.

I assume this is likely due the Houdini application running in Deadline either has an incorrect environment set up or is the wrong version for that environment. For example: your job environment is for Hou 20.0.590 but it's actually launching Hou 20.0.547 on the farm (due to it reading that from Deadline's Houdini Plug-in).

Anyway, from your logs:

2024-02-15 18:33:58:  0: INFO: Executable: "C:\Program Files\Side Effects Software\Houdini 19.5.605\bin\hython.exe"
2024-02-15 18:33:58:  0: INFO: Argument: "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\plugins\65cde87b4d24a0acd0b51047\hrender_dl.py" -f 1001 1001 1 -g -d /out/redshift_ropMain -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\jobsData\65cde87b4d24a0acd0b51047\0_tempHSDId0" -arnoldAbortOnLicenseFail 1 "D:/sh_boss_proj/interior_lenny/lenny_restroom/asset/work/generic/il_asset_generic_v011_vray.hiplc"
2024-02-15 18:33:58:  0: INFO: Full Command: "C:\Program Files\Side Effects Software\Houdini 19.5.605\bin\hython.exe" "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\plugins\65cde87b4d24a0acd0b51047\hrender_dl.py" -f 1001 1001 1 -g -d /out/redshift_ropMain -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\jobsData\65cde87b4d24a0acd0b51047\0_tempHSDId0" -arnoldAbortOnLicenseFail 1 "D:/sh_boss_proj/interior_lenny/lenny_restroom/asset/work/generic/il_asset_generic_v011_vray.hiplc"
2024-02-15 18:33:58:  0: INFO: Startup Directory: "C:\Program Files\Side Effects Software\Houdini 19.5.605\bin"

It's launching Houdini 19.5.605

The submitted job came from AVALON_APP_NAME=houdini/19-0 so I'm not entirely sure whether that's correct for you.
You've likely installed Redshift locally on your C:\ drive because I don't see any Redshift being mentioned in the application env vars being set. So it's hard to see which version is being picked up here of Redshift (if it were configured), but if it's a local install it should work fine.

That leaves me to assume that you didn't expect it to run Houdini 19.5.605 but submitted from a different version of Houdini. Could that be the case?


By the way, can we tweak the AYON GlobalJobPreLoad.py to print the environments its sets by key in sorted order? That makes it much easier to read through the startup envs.

@moonyuet
Copy link
Member

Can't render out with houdini in Redshift. Log is embedded below. error_log_hou.txt

I'm not sure why this happens.

2024-02-15 18:34:04:  0: STDOUT: Warning:     Bad node type found: Redshift_ROP in /out.
.
.
2024-02-15 18:34:04:  0: STDOUT:              Error:       Bad node type found: redshift_vopnet in /obj/rslightsun1/light_shader.
.
.
2024-02-15 18:34:04:  0: STDOUT: Error:       Bad node type found: redshift_vopnet in /obj/rslightsun1/environment_shader.

Pretty sure the issue here is that Houdini isn't recognizing the Redshift plug-in correctly.

I assume this is likely due the Houdini application running in Deadline either has an incorrect environment set up or is the wrong version for that environment. For example: your job environment is for Hou 20.0.590 but it's actually launching Hou 20.0.547 on the farm (due to it reading that from Deadline's Houdini Plug-in).

Anyway, from your logs:

2024-02-15 18:33:58:  0: INFO: Executable: "C:\Program Files\Side Effects Software\Houdini 19.5.605\bin\hython.exe"
2024-02-15 18:33:58:  0: INFO: Argument: "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\plugins\65cde87b4d24a0acd0b51047\hrender_dl.py" -f 1001 1001 1 -g -d /out/redshift_ropMain -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\jobsData\65cde87b4d24a0acd0b51047\0_tempHSDId0" -arnoldAbortOnLicenseFail 1 "D:/sh_boss_proj/interior_lenny/lenny_restroom/asset/work/generic/il_asset_generic_v011_vray.hiplc"
2024-02-15 18:33:58:  0: INFO: Full Command: "C:\Program Files\Side Effects Software\Houdini 19.5.605\bin\hython.exe" "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\plugins\65cde87b4d24a0acd0b51047\hrender_dl.py" -f 1001 1001 1 -g -d /out/redshift_ropMain -tempdir "C:\ProgramData\Thinkbox\Deadline10\workers\DESKTOP-1U8VP0C\jobsData\65cde87b4d24a0acd0b51047\0_tempHSDId0" -arnoldAbortOnLicenseFail 1 "D:/sh_boss_proj/interior_lenny/lenny_restroom/asset/work/generic/il_asset_generic_v011_vray.hiplc"
2024-02-15 18:33:58:  0: INFO: Startup Directory: "C:\Program Files\Side Effects Software\Houdini 19.5.605\bin"

It's launching Houdini 19.5.605

The submitted job came from AVALON_APP_NAME=houdini/19-0 so I'm not entirely sure whether that's correct for you. You've likely installed Redshift locally on your C:\ drive because I don't see any Redshift being mentioned in the application env vars being set. So it's hard to see which version is being picked up here of Redshift (if it were configured), but if it's a local install it should work fine.

That leaves me to assume that you didn't expect it to run Houdini 19.5.605 but submitted from a different version of Houdini. Could that be the case?

By the way, can we tweak the AYON GlobalJobPreLoad.py to print the environments its sets by key in sorted order? That makes it much easier to read through the startup envs.

I will test it again, it can be because I switched from different houdini version from different renderers and it messes up.

Copy link
Member

@moonyuet moonyuet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in my side.
image

@moonyuet moonyuet merged commit 874f564 into develop Feb 21, 2024
@moonyuet moonyuet deleted the bugfix/houdini_redshift_fix_default_redshift_version branch February 21, 2024 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants