Closed joel-wong-aws closed 5 months ago
Thanks for fixing this bug! The changes here look good, but it looks like we could add the same logic to
settings_callback
login_callback
update_queue_parameters_callback
in
src/deadline/houdini_submitter/python/deadline_cloud_for_houdini/submitter.py
Which would allow us to resolve #117
Do you mind adding the checks for unset farm/queue there too?
After syncing offline, we've agreed to tackle these other places in a future PR
Ship it :shipit:
What was the problem/requirement? (What/Why)
When first submitting a job to AWS Deadline Cloud using its render node, I received unexpected error messages with an Access Denied error. These were related to missing default farms and queues.
What was the solution? (How)
Added a check whether the farm and queue are defined before calling GetQueue in the submitter.
What is the impact of this change?
Easier onboarding for new customers
How was this change tested?
deadline config set defaults.farm_id ""
anddeadline config set defaults.queue_id ""
)Was this change documented?
No, not required
Is this a breaking change?
No
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.