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

delete_file_locations support #27

Closed
bwalsh opened this issue Dec 11, 2023 · 4 comments
Closed

delete_file_locations support #27

bwalsh opened this issue Dec 11, 2023 · 4 comments

Comments

@bwalsh
Copy link
Collaborator

bwalsh commented Dec 11, 2023

https://ohsucomputationalbio.slack.com/archives/C043HPV0VMY/p1700260682334969

Liam Beckman
2:38 PM
Hi all, we’re plugging along on the aced-idp.org data portal and are running into an issue when attempting to delete indexd records using the Gen3 SDK. I’ve included additional info below on that, but let us know if we can add anything else or try to reproduce the issue, thank you!

Issue:
When attempting to delete an indexd record using the delete_file_locations() method in the Gen3 SDK, we encounter a “The AWS Access Key Id you provided does not exist” error. The indexd record is in non-AWS S3 bucket (MinIO endpoint), which is specified by the endpoint_url of the bucket in the Fence config.

Expected Behavior:
The delete_file_locations() method should delete both the file and the indexd record for both AWS and non-AWS S3-compatible buckets. (edited)

@bwalsh
Copy link
Collaborator Author

bwalsh commented Dec 11, 2023

See #26

@lbeckman314
Copy link
Contributor

lbeckman314 commented Dec 11, 2023

Testing file removal on Local and Development deployments using the following:

@bwalsh
Copy link
Collaborator Author

bwalsh commented Dec 14, 2023

@lbeckman314 if all OK, can you close this issue? thanks

@lbeckman314
Copy link
Contributor

Closed as complete, see the following PR for status on upstream merging:

uc-cdis/fence#1127 (comment)

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

No branches or pull requests

2 participants