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

Google Storage Bucket Support #49

Open
Patrick1Rhode opened this issue Jun 10, 2021 · 0 comments
Open

Google Storage Bucket Support #49

Patrick1Rhode opened this issue Jun 10, 2021 · 0 comments

Comments

@Patrick1Rhode
Copy link

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.

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

No branches or pull requests

1 participant