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

[STORY] Configure USyd AIS k8s node to run "xnat-ingest" upload for TBP #284

Closed
1 of 2 tasks
tclose opened this issue Mar 15, 2024 · 4 comments
Closed
1 of 2 tasks
Assignees
Labels
data-ingestion Ingestion of data from edge devices to XNAT pipelines story a unit of work

Comments

@tclose
Copy link
Contributor

tclose commented Mar 15, 2024

Metadata

Epic: #271
Feature: #273

Description

  • The ghcr.io/australian-imaging-service/xnat-ingest:latest image needs to be regularly pulled to the USyd AIS k8s cluster to pick up updates
  • Configure the staging command, docker run ghcr.io/australian-imaging-service/xnat-ingest:latest upload, to run regularly:
    • Daily @ 10am
      • XNAT_INGEST_UPLOAD_STAGED=<s3-bucket>
      • XNAT_INGEST_UPLOAD_HOST=https://xnat.sydney.edu.au
      • XNAT_INGEST_UPLOAD_USER=<role-account-user>
      • XNAT_INGEST_UPLOAD_PASS=<role-account-pass>
      • XNAT_INGEST_UPLOAD_ALWAYSINCLUDE=medimage/dicom-series
      • XNAT_INGEST_UPLOAD_STORE_CREDENTIALS=<s3-bucket-access-key>,<s3-bucket-access-secret>
      • XNAT_INGEST_UPLOAD_LOGFILE=<somewhere-sensible>,INFO
      • XNAT_INGEST_UPLOAD_DELETE=0 (for now, will eventually be 1 when we are satisfied everything is working)
      • XNAT_INGEST_UPLOAD_TEMPDIR=<somewhere-else-sensible> (temporary scratch space)
      • XNAT_INGEST_UPLOAD_REQUIRE_MANIFEST=1
      • XNAT_INGEST_UPLOAD_CLEANUP_OLDER_THAN=30

Acceptance Criteria

  • 1. Data is pulled in from S3 bucket and uploaded to XNAT in the corresponding project/subject/session/scan/resource structure defined by the "directory" structure on S3

Blocked by

@tclose tclose added the data-ingestion Ingestion of data from edge devices to XNAT label Mar 15, 2024
@tclose tclose moved this to Todo in AIS Master Project Mar 15, 2024
@github-actions github-actions bot added pipelines story a unit of work labels Mar 15, 2024
@fxusyd
Copy link

fxusyd commented Apr 14, 2024

Testing this within the K8s cluster on staging server now.

@fxusyd fxusyd moved this from Todo to In Progress in AIS Master Project Apr 14, 2024
@fxusyd
Copy link

fxusyd commented Apr 17, 2024

S3 bucket used by xnat-ingest upload is not accessible. Emailed RNSH to add it to whitelist.

@fxusyd
Copy link

fxusyd commented May 27, 2024

Similar with #278

  1. Fixed pod within K8s cluster couldn't make external connections due to proxy.
  2. Waiting on new container image with script to bypass SSL verification due to self-signed certificate is used in RNSH.

@tclose
Copy link
Contributor Author

tclose commented Sep 2, 2024

Manual upload works, can be automated but waiting on improvements in XNAT-ingest workflow

@tclose tclose closed this as completed Sep 2, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in AIS Master Project Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-ingestion Ingestion of data from edge devices to XNAT pipelines story a unit of work
Projects
Status: Done
Development

No branches or pull requests

2 participants