StatCan / aaw

Documentation for the Advanced Analytics Workspace Platform
https://statcan.github.io/aaw/
Other
68 stars 12 forks source link

MinIO: Unable to access protected b data #1388

Open bryanpaget opened 2 years ago

bryanpaget commented 2 years ago

Description

Some users are not able to access their Protected B data on the AAW. The users are able to source and make fdi aliases but are unable to ls and cp files to their containers. The following errors are encountered when they ls and cp:

mc-original: <ERROR> Unable to list folder. Access Denied.
mc-original: <ERROR> Unable to validate source fdi/ccmed-bcdcml-lda.

Environment info

Namespaces:

ccmed-bcdcml-lda and siddhartha-haldar

Notebook/server:

Type: Protected B Ubuntu container Name: protectedb-dummy

Steps to reproduce

Steps to reproduce the behavior:

  1. source /vault/secrets/minio-gateway-protected-b (Works)
  2. mc alias set fdi $MINIO_URL $MINIO_ACCESS_KEY $MINIO_SECRET_KEY (Works)
  3. mc ls fdi (Fails)
  4. mkdir ./data (Works)
  5. mc cp —-recursive fdi/my-protected-b-data ./data (Fails)

Expected behavior

The expected behavior is to have access to Protected B data.

chuckbelisle commented 1 year ago

Hi @bryanpaget is this issue still occurring? Could it have been a one time issue?

angela-wl commented 1 year ago

The issue is still occurring for me! I'm working alongside Sid on this project.

angela-wl commented 1 year ago

Update: I can run the commands mc ls fdi and mc cp —-recursive fdi/my-protected-b-data ./data now! Sid will be in the office tomorrow, so he can verify if the issue persists for him.