Ask Your Question
0

swift stat stopped responding after switching to keystone auth

asked 2014-12-30 17:35:52 -0500

Maroc gravatar image

updated 2014-12-30 19:14:15 -0500

smaffulli gravatar image

swift -A http://172.16.0.200:5000/v2.0/ -U service:swift -K swift -V 2.0 stat` " return no output any ideas? (just after configuring swift to use keystone) (worked before with tempauth)

here is my proxy-server.conf:

[DEFAULT]
bind_port = 443
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
user = swift

[pipeline:main]
# Order of execution of modules defined below
pipeline = catch_errors healthcheck cache authtoken keystoneauth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
account_autocreate = true

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

[filter:cache]
use = egg:swift#memcache
set log_name = cache

[filter:authtoken]
# paste.filter_factory = keystone.middleware.auth_token:filter_factory
paste.filter_factory = keystone.middleware.auth_token:filter_factory
auth_host = 172.16.0.200
auth_port = 35357
auth_protocol = http
auth_uri = http://172.16.0.200:5000/
admin_tenant_name = service
admin_user = swift
admin_password = swift
cache = swift.cache
include_service_catalog = False
signing_dir = /tmp/keystone-signing-swift/

[filter:keystoneauth]
use = egg:swift#keystoneauth
operator_roles = admin, Member
is_admin = true
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-12-30 18:29:54 -0500

Maroc gravatar image

output keysone.log

2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] ***** REQUEST ENVIRON ***** 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] SCRIPT_NAME = /v2.0 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] webob.adhoc_attrs = {'response': <response at="" 0x33a81d0="" 200="" ok="">} 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] REQUEST_METHOD = POST 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] PATH_INFO = /tokens 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] SERVER_PROTOCOL = HTTP/1.0 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] REMOTE_ADDR = 172.16.0.210 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] CONTENT_LENGTH = 106 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] HTTP_USER_AGENT = python-keystoneclient 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] eventlet.posthooks = [] 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] RAW_PATH_INFO = /v2.0/tokens 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] REMOTE_PORT = 56621 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] eventlet.input = <eventlet.wsgi.input object="" at="" 0x339b250=""> 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] wsgi.url_scheme = http 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] webob._body_file = (<_io.BufferedReader>, <eventlet.wsgi.input object="" at="" 0x339b250="">) 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] SERVER_PORT = 5000 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] wsgi.input = <_io.BytesIO object at 0x33240b0> 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] openstack.context = {'token_id': None, 'is_admin': False} 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] HTTP_HOST = 172.16.0.200:5000 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] wsgi.multithread = True 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] openstack.params = {u'auth': {u'tenantName': u'cookbook', u'passwordCredentials': {u'username': u'demo', u'password': u''}}} 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] HTTP_ACCEPT = */ 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] wsgi.version = (1, 0) 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] SERVER_NAME = 172.16.0.200 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] GATEWAY_INTERFACE = CGI/1.1 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] wsgi.run_once = False 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] wsgi.errors = <open file="" '<stderr="">', mode 'w' at 0x7fc89eaeb270> 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] wsgi.multiprocess = False 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] webob.is_body_seekable = True 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] CONTENT_TYPE = application/json 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] HTTP_ACCEPT_ENCODING = gzip, deflate, compress 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] ****** REQUEST BODY ***** 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] {"auth": {"tenantName": "cookbook", "passwordCredentials": {"username": "demo", "password": ""}}} 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] arg_dict: {} 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] ****** RESPONSE HEADERS ***** 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] Vary = X-Auth-Token 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] Content-Type = application/json 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] Content-Length = 2539 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] 2014-12-30 23:32:29 DEBUG [keystone.common.wsgi] ***** RESPONSE BODY ****** 2014-12-30 ... (more)

edit flag offensive delete link more

Comments

this is not an answer. Edit your question to add more details instead. Read http://ask.openstack.org/faq

smaffulli gravatar imagesmaffulli ( 2014-12-30 19:12:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-30 17:35:52 -0500

Seen: 107 times

Last updated: Dec 30 '14