I'm trying to mount a bucket into Ubuntu using Gcloud to authenticate me and GCSFuse to mount the bucket.
When i use the command
gcsfuse my-bucket /path/to/mount
It returns that it couldn't find the default credentials. So i changed the command to
gcsfuse --key-file filekey.json my-bucket /path/to/mount
and it says: open filekey.json no such file or directory.
After that i tried typing next to the command --foreground
and this is what's next:
File system has been succesfully mounted.
But the terminal doesn't continue ... ?
Someone can help me ?
storage-full
scope when creating the instance. If not, default credentials won't work. – jacobsa--key-file
not working—isfilekey.json
actually there in the working directory? Odd that it works with--foreground
, but it's expected that in foreground mode it doesn't return. If you're sure the key is there, please file an issue on GitHub. – jacobsa--key-file
the full path tofilekey.json
. – Dan Cornilescu