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

qsfs tutorial #1539

Open
2 of 10 tasks
Tracked by #1565
xmonader opened this issue Jun 3, 2024 · 14 comments
Open
2 of 10 tasks
Tracked by #1565

qsfs tutorial #1539

xmonader opened this issue Jun 3, 2024 · 14 comments
Assignees
Milestone

Comments

@xmonader
Copy link
Contributor

xmonader commented Jun 3, 2024

https://git.ourworld.tf/tfgrid/circle_engineering/issues/23

  • how to setup
  • how to connect to created ZDB's using TFCMD
  • how to mount QSFS
  • vscript example to setup a filesystem using ZDB's all in UBuntu 23.10 using vlang vscript
  • how to see see monitoring/health
  • check that we can repair, how can we see we need repair
  • check that we can re-connect on other VM
  • make a test script where we destroy a VM which was writing to QSFS, then create new VM which remounts QSFS, there might be some data lost, but never longer than e.g. 15 min
  • check that all metadata is there as needed to reconnect, document where metadata is
  • explain architecture and how we use local ZDB as cache

repo:

Testsuite to be reviewed:

@xmonader xmonader added this to 3.14.x Jun 3, 2024
@xmonader xmonader moved this to In Progress in 3.14.x Jun 3, 2024
@xmonader xmonader added this to the 3.14 milestone Jun 3, 2024
@ramezsaeed
Copy link
Contributor

@LeeSmet
can you please update us here by what is implemented and what is not yet so we can start testning, and @Mik-TF can start doing the Docs for that.

@ramezsaeed
Copy link
Contributor

ramezsaeed commented Jun 11, 2024

@A-Harby
Copy link
Contributor

A-Harby commented Jun 25, 2024

What I found so far:

  • For terraform:
    • The docs.
    • The example, but it needs to be updated to work fine, and I reported it here but I was able to get the code to work in the end.
  • For TS client:

Update:

  • Found script for QSFS in the Go client, but it is written as a test.
  • Didn't find way to deploy in tfcmd and no docs for it.

@Mik-TF
Copy link
Contributor

Mik-TF commented Jun 25, 2024

Great! Thanks for this research and testing.

With terraform, you got it to work finally? If yes can you share the files you used? Thanks.

@A-Harby
Copy link
Contributor

A-Harby commented Jun 26, 2024

Update:

  • Found script for QSFS in the Go client, but it is written as a test.
  • Didn't find way to deploy in tfcmd and no docs for it.

I created an issue threefoldtech/tfgrid-sdk-go#1103 to add a way to deploy QSFS in TFCMD.

@ramezsaeed
Copy link
Contributor

@LeeSmet
can you please check this one as its important for @Mik-TF to complete the manual.

threefoldtech/quantum-storage#38

@A-Harby
Copy link
Contributor

A-Harby commented Jul 21, 2024

I created this issue (threefoldtech/quantum-storage#39) to create a bash script to make the installation easier for the user.

And I am still trying to get qsfs to work following these two files: https://github.com/threefoldtech/info_grid/pull/588/files and https://github.com/threefoldfoundation/info_threefold_pub/blob/main/wiki/qss/manual/qsfs_setup.md.

@Mik-TF
Copy link
Contributor

Mik-TF commented Jul 21, 2024

Scott has some work done on info_grid. It might be of use. threefoldtech/info_grid#588

@A-Harby
Copy link
Contributor

A-Harby commented Jul 22, 2024

Updates:

I have reviewed the PR and found some comments on the quantum_safe_storage_deploy.md file that need to be fixed or to have more explanation. threefoldtech/info_grid#588.

And I have also followed all the steps to deploy QSFS, but I am still failing to get it to work and am still debugging.

root@vmjlr69:~# zstor --log_file ~/zstor.log -c /etc/zstor-default.toml status
Error: ZstorError { kind: Config, internal: Other(Error { inner: ErrorInner { kind: Wanted { expected: "a right bracket", found: "an identifier" }, line: Some(28), col: 19, at: Some(586), message: "", key: [] } }) }

@A-Harby
Copy link
Contributor

A-Harby commented Jul 22, 2024

@Mik-TF
Copy link
Contributor

Mik-TF commented Jul 22, 2024

Amazing @A-Harby, you're on fire! Will check the info_grid PR with Scott. Thanks.

@A-Harby
Copy link
Contributor

A-Harby commented Jul 28, 2024

Updates:
I created a new issue for the cache: threefoldtech/quantum-storage#41.

All of the tests can't be done until all of the issues are resolved. #1539 (comment).

And I am still waiting for the fixes in the PR https://github.com/threefoldtech/info_grid/pull/588/files#diff-b0d52cfbe1929e80b61aa5d44f601ec5487d3ec6e5cf228cad7ed7af47aeea97 to check docs boxes.

@ramezsaeed ramezsaeed moved this from In Progress to Blocked in 3.14.x Aug 1, 2024
@xmonader xmonader added this to 3.15.x Aug 1, 2024
@xmonader xmonader removed this from 3.14.x Aug 1, 2024
@xmonader xmonader moved this to Blocked in 3.15.x Aug 1, 2024
@xmonader xmonader modified the milestones: 3.14, 3.15 Aug 1, 2024
@A-Harby
Copy link
Contributor

A-Harby commented Aug 6, 2024

  • how to setup
  • how to connect to created ZDB's using TFCMD
  • how to mount QSFS
  • check that all metadata is there as needed to reconnect, document where metadata is
  • explain architecture and how we use local ZDB as cache
  • how to see see monitoring/health
  • check that we can repair, how can we see we need repair
  • check that we can re-connect on other VM

These should be covered here PR.

  • make a test script where we destroy a VM which was writing to QSFS, then create new VM which remounts QSFS, there might be some data lost, but never longer than e.g. 15 min

This test and test suite will be created after the issues are solved. #1539 (comment).

  • vscript example to setup a filesystem using ZDB's all in UBuntu 23.10 using vlang vscript

There is no possible, clear way to do that yet.

@ramezsaeed ramezsaeed moved this from Blocked to In Progress in 3.15.x Aug 7, 2024
@ramezsaeed ramezsaeed mentioned this issue Aug 7, 2024
31 tasks
@A-Harby A-Harby moved this from In Progress to Blocked in 3.15.x Aug 12, 2024
@A-Harby
Copy link
Contributor

A-Harby commented Aug 12, 2024

Blocked on #1539 (comment), and @scottyeager confirmed the issue threefoldtech/quantum-storage#41, and he also found another bug threefoldtech/0-stor_v2#122.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

5 participants