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

Revad-master testing #63

Closed
michielbdejong opened this issue Oct 31, 2022 · 11 comments
Closed

Revad-master testing #63

michielbdejong opened this issue Oct 31, 2022 · 11 comments

Comments

@michielbdejong
Copy link
Collaborator

Check if the OCMD tutorial works (including webdav mount) with NC -> reva -> reva -> NC invite flow.

@michielbdejong
Copy link
Collaborator Author

Should actually use the ocmd-error-messages branch of Revad here instead of edge, to make my life easier.

@michielbdejong
Copy link
Collaborator Author

@michielbdejong
Copy link
Collaborator Author

michielbdejong commented Oct 31, 2022

docker logs meshdir.docker
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module 'node-fetch'

-> fixed with docker run -v /root/ocm-test-suite/ocm-stub:/ocm-stub stub npm install

@michielbdejong
Copy link
Collaborator Author

Next step: It's redirecting to https://meshdir.docker/meshdir?token=&providerDomain=

  • debug this

For that we need:

For that we need:

@michielbdejong
Copy link
Collaborator Author

Sending the invite is fixed now (error messaging for it is not yet!)
Error messages to improve:

  • when no invite can be generated, did reva at least respond? if so, what?
  • when nc-sciencemesh is installed but not built (maybe it's OK that Authenticate returns a 500 but we need a separate debug tool that tests this)
  • when the sending reva doesn't trust its own domain name, should list which one it was searching for and which ones it loops over

Next error:

root@ocmhost:~/ocm-test-suite# docker exec -it revanc2.docker /bin/bash
root@508c80c00442:/etc/revad# cd /reva/
root@508c80c00442:/reva# ./cmd/reva/reva -insecure -host=localhost:19000
reva-cli v2.10.0-93-g7a1d06ca (rev-7a1d06ca)
Please use `exit` or `Ctrl-D` to exit this program.
>> login basic
username: marie
password: OK
>> ocm-invite-forward -idp revanc1.docker -token 330cfd04-46ef-450e-ac43-462b199aeca3
error: code=CODE_INTERNAL msg="error forwarding invite:json: error sending post request: Post \"/ocm/invites/accept\": unsupported protocol scheme \"\"" support_trace="8800f603714a6f344f8e22e1116495a5"
>> 

@michielbdejong
Copy link
Collaborator Author

root@ocmhost:~/ocm-test-suite# docker exec -it revanc2.docker /reva/cmd/reva/reva -insecure -host localhost:19000
reva-cli v2.10.0-93-g7a1d06ca (rev-7a1d06ca)
Please use `exit` or `Ctrl-D` to exit this program.
>> login basic
username: marie
password: OK
>> ocm-invite-forward -idp revanc1.docker -token d06891dd-1714-426f-b994-45708d7df95d
error: code=CODE_INTERNAL msg="error forwarding invite:json: error sending accept post request: 401 Unauthorized: {\n  \"code\": \"UNAUTHENTICATED\",\n  \"message\": \"provider not authorized\"\n}" support_trace="5d8399a341296005897524167f05021d"

@michielbdejong
Copy link
Collaborator Author

2022-10-31 14:47:24.766 ERR ../../reva/internal/http/services/ocmd/send.go:119 > sourcePath /home/welcome.txt does not exist on the storage backend pid=7 pkg=rhttp traceid=2ed004ba63c45e43c21fda27f081b2a6

@michielbdejong
Copy link
Collaborator Author

Now running into pondersource/nc-sciencemesh#225 -> will continue with that tomorrow!

@michielbdejong michielbdejong changed the title Revad-edge testing Revad-master testing Oct 31, 2022
@michielbdejong michielbdejong reopened this Nov 1, 2022
@michielbdejong
Copy link
Collaborator Author

michielbdejong commented Nov 1, 2022

Next issue: pondersource/nc-sciencemesh#226

@michielbdejong
Copy link
Collaborator Author

Next: request not handled in the revanc1.docker logs - what does that mean?

@glpatcern
Copy link
Member

This was proven to work (as EFSS -> Reva -> EFSS, for both OC and NC) here

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

When branches are created from issues, their pull requests are automatically linked.

2 participants