Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to mount bucket when execute VertexAI notebook

I am unable to execute my VertexAI Instance notebook, because I cannot get gcsfuse to mount my google buckets. The gcsfuse commands work perfectly well in the regular VertexAI notebook, but do not work when I attempt to execute the notebook.

When I attempt to execute the notebook, I choose my service account, which I have ensured has the correct permissions to access the buckets. Furthermore, I have attempted to set the project in the notebook script using 

!gcloud config set project {PROJECT_ID}

, in addition to authorising the service account using a key

 !gcloud auth activate-service-account --key-file key.json

and enabling the account using  

!gcloud iam service-accounts enable

I get the following error '

{"time":"08/01/2024 05:21:11.288365","severity":"INFO","msg":"Start gcsfuse/1.3.0 (Go version go1.21.4) for app \"\" using mount point: /gcs_raw\n"}
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithStorageHandle: Mount: mount: running /usr/bin/fusermount: exit status 1

 Any help with this would be greatly appreciated!

0 2 578
2 REPLIES 2