-
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: filesystem watcher is untested #874
Comments
Option 1 seems like the best first step; at very least we could confirm that Enduro would work for a potential user who uses local directories rather than MinIO. Is it possible to get that set up on one of our test sites? FYI @fiver-watson this relates to what we discussed on Friday |
Fixes #874 - Add `/home/enduro/sips` to the Enduro docker image - Add an Enduro watcher on `/home/enduro/sips`
I believe Enduro works like this when using Minio and a3m:
This architecture is pretty confusing and could be simplified, but it works. Getting Enduro to work with a filesystem watcher has a problem though between steps 3 and 4. The enduro or enduro-internal container watch for the transfer deposit, but the a3m worker container also needs access to the transfer to process it. In the Minio workflow, Minio is the bridge between the enduro, enduro-internal and a3m-worker containers. For the filesystem watcher we need another way to pass the transfer from the watched directory (in the enduro OR enduro-internal container) and the a3m-worker container. The answer to https://stackoverflow.com/questions/31693529/how-to-share-storage-between-kubernetes-pods raises some good points about why sharing storage between Kubernetes pods may be problematic (Enduro mostly only has one container per pod, so we can treat “pod” and “container” as effectively synonymous in this case). |
Describe the problem
Enduro has code for a filesystem watcher that should support watching a local directory for new transfers to trigger the Enduro preservation workflow. I don't believe the filesystem watcher code is ever end-to-end tested though, as we have no automated end-to-end tests for Enduro and the dev environment does not include a filesystem watcher.
Possible solutions
Additional context
The text was updated successfully, but these errors were encountered: