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

vastai: error: unrecognized arguments: --cloud_service #74

Open
kenorb opened this issue Jan 5, 2024 · 1 comment
Open

vastai: error: unrecognized arguments: --cloud_service #74

kenorb opened this issue Jan 5, 2024 · 1 comment
Labels

Comments

@kenorb
Copy link

kenorb commented Jan 5, 2024

This is from help:

$ vastai cloud copy --help
...
Examples:
 vast cloud_copy --src folder --dst /workspace --cloud_service "Amazon S3" --instance_id 6003036 --cloud_service_selected 52 --transfer "Cloud To Instance"

However when I'm trying to use this syntax, I've got the error:

$ vastai cloud copy --src /mybucketname/ --dst 123123:/workspace --cloud_service "Amazon S3" 
usage: vastai [-h] [--url URL] [--retry RETRY] [--raw] [--explain] [--api-key API_KEY] command ...
vastai: error: unrecognized arguments: --cloud_service Amazon S3
  • Secondly the example suggest cloud_copy command, but it doesn't exist.
  • For the third, --instance_id doesn't exist either, but --instance exists.
  • The format for both src and dst is [instance_id:]path, I don't think this is correct either.

I'm using vastai v0.1.8.

Are there any docs with more syntax examples which can work?


I've also tried:

vastai cloud copy --src s3://mybucketname/ --dst 123123:/workspace

and this one:

$ vastai cloud copy --src /mybucketname/ --dst 123123:/workspace --transfer "Cloud To Instance"
copying /mybucketname/ 123123:/workspace None None Cloud To Instance
failed with error 400: No Cloud Operation Selected. If you have one selected, but it is sending this error, refresh the page

but didn't work.

@kenorb
Copy link
Author

kenorb commented Jan 5, 2024

Ok, the following syntax worked:

vastai cloud copy --src /mybucket/subdir --dst /root/subdir --transfer "Cloud To Instance" --connection 52 --instance 123123

Where --connection ID can be found with vastai show connections, and instance ID with vastai show instances.

I think docs should be updated.

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

No branches or pull requests

2 participants