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

Add 'triaged-jobs' to Pangeo Workspace #897

Closed
anilnatha opened this issue Jan 22, 2024 · 7 comments
Closed

Add 'triaged-jobs' to Pangeo Workspace #897

anilnatha opened this issue Jan 22, 2024 · 7 comments
Assignees
Labels
ADE Algorithm Development Environment Subsystem Enhancement New feature or request JPL JPL related issues
Milestone

Comments

@anilnatha
Copy link

anilnatha commented Jan 22, 2024

Is your feature request related to a problem? Please describe.

User's are unable to access triaged jobs in the Pangeo workspace

From notes doc:

Pangeo workspace missing triaged-jobs mount/s3fs lib

Describe the solution you'd like

User's should be able to access triaged jobs from the Pangeo workspace as is possible in other ADE workspaces.

Describe alternatives you've considered

None, yet.

Additional context

None, yet.

@anilnatha anilnatha self-assigned this Jan 22, 2024
@anilnatha anilnatha added Enhancement New feature or request JPL JPL related issues ADE Algorithm Development Environment Subsystem labels Jan 22, 2024
@anilnatha
Copy link
Author

@wildintellect Please add any additional details about this ticket, if you have any.

@wildintellect
Copy link
Collaborator

Other workspaces like vanilla automatically have triaged-jobs mounted so users can access logs from failed jobs. This is really useful when debugging DPS fails. It makes sense to add this to most if not all ADE workspaces for consistency.
@anilnatha can you also check that this is a read-only mount with s3fs?

Also @rtapella this is completely undocumented.

image

@anilnatha
Copy link
Author

anilnatha commented Jan 22, 2024

Thank you for this additional information and I agree with your statement about having this available in most or all workspaces for consistency.

This functionality is new territory for me so may take me a little bit to become familiar with how it works.

@wildintellect
Copy link
Collaborator

I believe it's an s3fs mount similar to how shared-buckets work.

@anilnatha
Copy link
Author

This appears to be a duplicate effort that @grallewellyn is already working on here: #656

@grallewellyn
Copy link
Collaborator

The tickets are loosely related, I was just testing in vanilla and didn't realize pangeo was missing triaged-jobs

This error is likely happening because the pangeo devfile is missing these lines

                  - name: s3fs-volume
                    mountPath: /projects/triaged-jobs
                    subPath: triaged-jobs
                    mountPropagation: HostToContainer

and

                  - name: s3fs-volume
                    mountPath: /triaged-jobs
                    subPath: triaged-jobs
                    mountPropagation: Bidirectional

This is a change that @bsatoriu knows how to make and deploy, and we can deploy the fix to pangeo when we address a fix needed for the other ticket that changes those lines to be mountPath: /projects/triaged_job since that is what makes the mounting consistent with the file path of the failed jobs (ie failed job gives "s3://.../triaged_job/dps_tutorial_graceal/main/2024/01/18/...")
I think we should keep this ticket open as a reminder that pangeo is missing triaged_job
@bsatoriu When you get a chance, can you please deploy this change? That is, that pangeo now has triaged_job and everything in the triaged-jobs folder is mounted as "triaged_job" in the user's ADE workspace

@grallewellyn
Copy link
Collaborator

I think we can move this to resolved? @bsatoriu

@grallewellyn grallewellyn added this to the 3.1.5 milestone Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADE Algorithm Development Environment Subsystem Enhancement New feature or request JPL JPL related issues
Projects
None yet
Development

No branches or pull requests

3 participants