Skip to content

Google Storage Bucket Support #49

@Patrick1Rhode

Description

@Patrick1Rhode

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": "my-storage-xxx-xxx@xxxx.gserviceaccount.com", "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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions