ckanext-cloudstorage icon indicating copy to clipboard operation
ckanext-cloudstorage copied to clipboard

Google Storage Bucket Support

Open Patrick1Rhode opened this issue 4 years ago • 0 comments

I am trying to use the Google Storage Account bucket to store CKAN resources. I have installed CKAN(2.8) from the source installed the ckanext-cloudstorage extension by following the steps outlined here


# Cloud storage settings

ckanext.cloudstorage.driver = GOOGLE_STORAGE
ckanext.cloudstorage.container_name = ckanx-storage
ckanext.cloudstorage.driver_options = {"key": "[email protected]", "secret": "myprivate.priv"} 

After the file upload, I can see the uploaded file on the Google storage bucket, but it's getting the error below when the plugin tries to fetch the file.

File '/usr/lib/ckan/default/local/lib/python2.7/site-packages/libcloud/storage/drivers/s3.py', line 319 in get_object object_name=object_name) ObjectDoesNotExistError: <ObjectDoesNotExistError in <libcloud.storage.drivers.google_storage.GoogleStorageDriver object at 0x7f09a5b40bd0>, value=None, object = resources/373d57c3-4508-4c9c-ac6e-da9eb4cf828e/favicon.ico>

Detailed log here attached logs.txt.

Is this issue related to this, if so are you interested for a contribution regarding this.

Thank you.

Patrick1Rhode avatar Jun 10 '21 13:06 Patrick1Rhode