-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problem: Changing the configured a3m shared directory breaks the a3m workflow #864
Comments
Fixes #864 - Pass the full enduro config to processing workflow, and remove the separate taskQueue parameter - Use config value for A3m shareDir in processing.go - Use a temporary directory as a shareDir in processing_test.go
Refs #864 - Pass the full enduro config to processing workflow, and remove the separate taskQueue parameter - Use config value for A3m shareDir in processing.go - Use a temporary directory as a shareDir in processing_test.go
Refs #864 - Pass the full enduro config to processing workflow, and remove the separate taskQueue parameter - Use config value for A3m shareDir in processing.go - Use a temporary directory as a shareDir in processing_test.go
Refs #864 - Pass the full enduro config to processing workflow, and remove the separate taskQueue parameter - Use config value for A3m shareDir in processing.go - Use a temporary directory as a shareDir in processing_test.go
Can this issue be closed? |
@sevein that's a tough question. Changing the shareDir will still break the a3m integration in dev because a3m is still trying to send the AIP back to |
I'm copying this from #865 (comment) for better visibility:
|
I was just reading the a3m documentation and noticed that a3m accepts a |
I've done some investigation on using the a3m I set an A3M_SHARED_DIRECTORY environment variable in the Next I tried setting the environment variable for all four a3m directories: env:
- name: A3M_SHARED_DIRECTORY
value: "/home/a3m/share/"
- name: A3M_TEMP_DIRECTORY
value: "/home/a3m/share/tmp/"
- name: A3M_PROCESSING_DIRECTORY
value: "/home/a3m/share/currentlyProcessing/"
- name: A3M_REJECTED_DIRECTORY
value: "/home/a3m/share/rejected/" but this fails in a3m at the verify AIP step:
I don't yet know why verify AIP is failing, but I did notice that https://github.com/artefactual-labs/a3m/blob/main/a3m/server/shared_dirs.py#L12 is creating some extra directories when the a3m server is started, and it is assuming the "processing directory" is named |
The verify AIP error message appears to occur at https://github.com/artefactual-labs/a3m/blob/main/a3m/client/clientScripts/verify_aip.py#L193. I'm not clear where in the code the |
Describe the bug
Changing the value of the a3m "shareDir" configuration setting in the "enduro.toml" configuration file causes the a3m processing workflow to fail with a fatal error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Changing the configured a3m shared directory location to a valid filesystem path should not break the a3m workflow.
Screenshot:
Failure message (JSON):
Additional context
The a3m share directory path is hardcoded at https://github.com/artefactual-sdps/enduro/blob/main/internal/workflow/processing.go#L321
The text was updated successfully, but these errors were encountered: