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

Resource storage://neuromation is not public anymore? #975

Closed
atemate opened this issue Aug 22, 2019 · 3 comments · Fixed by #977
Closed

Resource storage://neuromation is not public anymore? #975

atemate opened this issue Aug 22, 2019 · 3 comments · Fixed by #977

Comments

@atemate
Copy link
Contributor

atemate commented Aug 22, 2019

$ n run --detach -s cpu-small -n test --volume=HOME ubuntu "sleep 30m" 
ERROR: Not enough permissions ({"resources": [{"uri": "storage://neuromation", "action": "read"}]})
@atemate
Copy link
Contributor Author

atemate commented Aug 22, 2019

  • on dev, no neuromation resources are published.
  • on staging, we have few public resources by neuromation:
image://neuromation/fastai read
image://neuromation/rsync read
storage://neuromation/public read

It seems that we should not mount storage://neuromation by default with --volume=HOME but at least mount storage://neuromation/public (still needs to be shared on dev).

@dalazx
Copy link
Contributor

dalazx commented Aug 22, 2019

not sure storage://neuromation was even meant to be public, whereas storage://neuromation/public was.

@atemate
Copy link
Contributor Author

atemate commented Aug 22, 2019

OK, I'll issue the PR that fixes storage://neuromation -> storage://neuromation/public when --volume=HOME

Also, I'll add the following permissions on dev:

$ n acl list --shared
image://neuromation/fastai read public
image://neuromation/rsync read public
storage://neuromation/public read public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants