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

fix: Adding os_user to FileSystemPermissionSettings for use in the deadline vfs #94

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

natmatn
Copy link
Contributor

@natmatn natmatn commented Nov 10, 2023

What was the problem/requirement? (What/Why)

The deadline VFS is unable to locate the credentials for the job-user when syncing inputs.

What was the solution? (How)

Pass the os_user as part of the FileSystemPermissionSettings object for use rebuilding the path to the AWS config file for the user running the render job. This along with the queueId will be used to reconstruct the Config path and profile name before mounting the VFS.

What is the impact of this change?

This will fix the deadline VFS so jobs marked with VIRTUAL file system will succeed.

How was this change tested?

  • hatch run test
  • hatch run lint
  • ran this on a worker and successfully completed both VIRTUAL and COPIED jobs

Was this change documented?

No

Is this a breaking change?

No, as long as my deadline-cloud PR is merged in first

@natmatn natmatn requested a review from a team as a code owner November 10, 2023 23:53
@gahyusuh gahyusuh merged commit 1625ce5 into mainline Nov 20, 2023
8 checks passed
@gahyusuh gahyusuh deleted the natmatn/vfs_os_user branch November 20, 2023 20:22
gmchale79 pushed a commit that referenced this pull request Feb 12, 2024
…adline vfs (#94)

* fix: Adding os_user to FileSystemPermissionSettings for use in the deadline
VFS

Signed-off-by: Nathan Matthews <[email protected]>

* fix: pass in missing os_env_vars variable

Signed-off-by: amzn-mike <[email protected]>

---------

Signed-off-by: Nathan Matthews <[email protected]>
Signed-off-by: amzn-mike <[email protected]>
Co-authored-by: amzn-mike <[email protected]>
Signed-off-by: Graeme McHale <[email protected]>
gmchale79 pushed a commit that referenced this pull request Mar 11, 2024
…adline vfs (#94)

* fix: Adding os_user to FileSystemPermissionSettings for use in the deadline
VFS

Signed-off-by: Nathan Matthews <[email protected]>

* fix: pass in missing os_env_vars variable

Signed-off-by: amzn-mike <[email protected]>

---------

Signed-off-by: Nathan Matthews <[email protected]>
Signed-off-by: amzn-mike <[email protected]>
Co-authored-by: amzn-mike <[email protected]>
Signed-off-by: Graeme McHale <[email protected]>
jusiskin pushed a commit to jusiskin/deadline-cloud-worker-agent that referenced this pull request Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants