Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

help to configure s3cmd to access the data store #2326

Description

@aledbf

I don't know if this is a good idea but I don't see any documentation about using the data store with a S3 compatible client like s3cmd. The default configuration doesn't work (it's possible to run ls but not to access the content of a bucket)

in the cfg:

access_key = # content from $(etcdctl get /deis/store/gateway/accessKey)
secret_key = # content from $(etcdctl get /deis/store/gateway/secretKey)
host_base =  deis-store.local3.deisapp.com
host_bucket = deis-store.local3.deisapp.com

change S3.py (from s3cmd)
from

def format_uri(self, resource):
                if resource['bucket'] and not check_bucket_name_dns_conformity(resource['bucket']):

to

def format_uri(self, resource):
                if resource['bucket']:

now ls in a bucket works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions