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

aws cli with keystone #176

Open
nhocchi007 opened this issue May 17, 2019 · 0 comments
Open

aws cli with keystone #176

nhocchi007 opened this issue May 17, 2019 · 0 comments

Comments

@nhocchi007
Copy link

nhocchi007 commented May 17, 2019

My proxy-server.conf:

OpenIO managed

[DEFAULT]
use_stderr = False
bind_ip = 192.168.2.154
bind_port = 6007
workers = 3
user = openio
log_facility = /dev/log
log_level = INFO
eventlet_debug = false

sds_namespace = OPENIO
sds_proxy_url = http://192.168.2.154:6006
sds_default_account = default

sds_connection_timeout = 5
sds_read_timeout = 35
sds_write_timeout = 35

sds_pool_connections = 500
sds_pool_maxsize = 500
sds_max_retries = 0

[pipeline:main]
#pipeline = catch_errors gatekeeper healthcheck proxy-logging cache bulk tempurl proxy-logging swift3 tempauth proxy-logging copy container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache tempurl ratelimit authtoken swift3 s3token copy container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server

[filter:catch_errors]
use = egg:swift#catch_errors

[filter:gatekeeper]
use = egg:swift#gatekeeper

[filter:healthcheck]
use = egg:swift#healthcheck

[filter:proxy-logging]
access_log_headers = False
use = egg:swift#proxy_logging
access_log_headers_only =

[filter:cache]
use = egg:swift#memcache
memcache_max_connections = 500
memcache_servers = 192.168.2.25:6019,192.168.2.26:6019,192.168.2.154:6019

[filter:bulk]
use = egg:swift#bulk

[filter:tempurl]
use = egg:swift#tempurl

[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
auth_url = http://192.168.2.154:35357
www_authenticate_uri = http://192.168.2.154:5000
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = swift
password = SWIFT_PASS
delay_auth_decision = True
include_service_catalog = False
#memcached_servers = 127.0.0.1:11211

[filter:swift3]
use = egg:swift3#swift3
check_bucket_owner = True
force_swift_request_proxy_log = True
location = us-east-1
s3_acl = True

#[filter:tempauth]
#use = egg:oioswift#tempauth
#user_demo_demo = DEMO_PASS .admin

[filter:s3token]
paste.filter_factory = keystonemiddleware.s3_token:filter_factory
auth_port = 35357
auth_host = 192.168.2.154
auth_protocol = http

[filter:copy]
object_post_as_copy = False
use = egg:swift#copy

[filter:container-quotas]
use = egg:swift#container_quotas

[filter:account-quotas]
use = egg:swift#account_quotas

[filter:slo]
use = egg:swift#slo

[filter:dlo]
use = egg:swift#dlo

[filter:versioned_writes]
use = egg:oioswift#versioned_writes
allow_versioned_writes = True
[filter:tempurl]
use = egg:swift#tempurl

[filter:catch_errors]
use = egg:swift#catch_errors

[filter:ratelimit]
use = egg:swift#ratelimit

[filter:healthcheck]
use = egg:swift#healthcheck

[filter:copy]
use = egg:swift#copy
object_post_as_copy = false

[app:proxy-server]
object_post_as_copy = False
use = egg:oioswift#main
log_name = OIO,OPENIO,oioswift,0
account_autocreate = True
sds_chunk_checksum_algo = md5
allow_account_management = True

I also create ec2 credential in my keystone and 'aws configure list' but still signature missmatch? How can i debug it? And does region of project in keystone related with this in proxy-server.conf?
[filter:swift3]
use = egg:swift3#swift3
check_bucket_owner = True
force_swift_request_proxy_log = True
location = us-east-1 **********************
s3_acl = True

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