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

feat(node): add decloudnodeslab snapshot provider #292

Closed
wants to merge 1 commit into from
Closed

Conversation

andy108369
Copy link
Collaborator

based on #290

@andy108369
Copy link
Collaborator Author

andy108369 commented Sep 26, 2024

@Dimokus88 unfortunately it doesn't work as-is:

...
+ apt -y --no-install-recommends install aria2 lz4 liblz4-tool wget
+ case "$SNAPSHOT_PROVIDER" in
+ SNAPSHOT_URL=https://akash.declab.pro/latest.tar.lz4
+ aria2c --out=snapshot.tar.lz4 --check-certificate=false --max-tries=99 --retry-wait=5 --always-resume=true --max-file-not-found=99 --conditional-get=true -s 8 -x 8 -k 1M -j 1 https://akash.declab.pro/latest.tar.lz4

09/26 09:43:05 [NOTICE] Downloading 1 item(s)
[#9c7949 5.3MiB/8.9GiB(0%) CN:8 DL:11MiB ETA:13m]
[#9c7949 36MiB/8.9GiB(0%) CN:8 DL:24MiB ETA:6m5s]
...
...
[#9c7949 8.8GiB/8.9GiB(98%) CN:8 DL:33MiB ETA:4s]
[#9c7949 8.8GiB/8.9GiB(98%) CN:8 DL:33MiB ETA:3s]
[#9c7949 8.8GiB/8.9GiB(98%) CN:8 DL:33MiB ETA:2s]
[#9c7949 8.8GiB/8.9GiB(99%) CN:8 DL:32MiB ETA:1s]
[#9c7949 8.9GiB/8.9GiB(99%) CN:8 DL:32MiB]
[#9c7949 8.9GiB/8.9GiB(99%) CN:4 DL:32MiB]

09/26 09:47:54 [NOTICE] Download complete: /root/.akash/data/snapshot.tar.lz4

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
9c7949|OK  |    31MiB/s|/root/.akash/data/snapshot.tar.lz4

Status Legend:
(OK):download completed.
+ tar -xf snapshot.tar -C /root/.akash
tar: snapshot.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
+ rm -rf snapshot.tar
+ [[ false == \t\r\u\e ]]

@andy108369 andy108369 closed this Sep 26, 2024
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.

2 participants