Skip to content

Script for exporting a stack to a set of tarballs#141

Open
bedroge wants to merge 1 commit into
EESSI:mainfrom
bedroge:export_stack
Open

Script for exporting a stack to a set of tarballs#141
bedroge wants to merge 1 commit into
EESSI:mainfrom
bedroge:export_stack

Conversation

@bedroge

@bedroge bedroge commented Jan 6, 2023

Copy link
Copy Markdown
Collaborator

Currently trying this to export the 2021.06 stack before actually removing it, see #140.

@bedroge

bedroge commented Jan 6, 2023

Copy link
Copy Markdown
Collaborator Author

This is the resulting tarball for aarch64:

-rw-r--r-- 1 root root  23G Jan  6 10:46 eessi-2021.06-linux-aarch64.tar.gz

And a listing of its contents:
eessi-2021.06-linux-aarch64.tar.gz.list.gz

@ocaisa

ocaisa commented Jan 6, 2023

Copy link
Copy Markdown
Member

Should we provide the tarball via the new data repo? We could also replace the version via a symlink to somewhere under host_injections, that would allow us to add logic to check if they've unpacked the tarball and use the archived stuff in the initialisation (and advise them what to do if they haven't)

@bedroge

bedroge commented Jan 6, 2023

Copy link
Copy Markdown
Collaborator Author

I definitely like the idea with the symlink! Storing the tarballs in the data repo doesn't really work at the moment, as they're way too large for the current setup. Then we should definitely use the approach with some external storage (S3 bucket) and only use CVMFS on top for the metadata / filesystem layer. So, for now, I'd propose that we just store it somewhere in an S3 bucket, and maybe we can set up the CVMFS repo that way later on (or make something like archive(d).eessi.io)?

@boegel

boegel commented Jan 6, 2023

Copy link
Copy Markdown
Contributor

+1 for just storing the exports in an S3 bucket for now

@bedroge

bedroge commented Jan 9, 2023

Copy link
Copy Markdown
Collaborator Author

I've stored them in s3://eessi-archive/2021.06 on AWS for now.

@ocaisa

ocaisa commented Jan 9, 2023

Copy link
Copy Markdown
Member

Can we get S3 storage for free somewhere? I bet we can...

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

Successfully merging this pull request may close these issues.

3 participants