Openstack swift安装(SAIO)启动错误“;找不到记录器的处理程序;KeysonMiddleware.“u common.config”;

Openstack swift安装(SAIO)启动错误“;找不到记录器的处理程序;KeysonMiddleware.“u common.config”;,swift,openstack,proxy-server,Swift,Openstack,Proxy Server,首先,我知道stackoverflow主要用于编程,但我发现没有更好的地方可以问这个问题 我尝试使用以下指南安装swift: 我在proxy-server.conf(下面)中添加了authtoken和keysteauth 并将其配置为在端口8080上侦听127.0.0.1 我无法验证swift,可能无法正确启动服务。 使用start脚本-startmain时,我得到以下输出: Starting proxy-server...(/etc/swift/proxy-server.conf) Start

首先,我知道stackoverflow主要用于编程,但我发现没有更好的地方可以问这个问题

我尝试使用以下指南安装swift:

我在proxy-server.conf(下面)中添加了authtoken和keysteauth 并将其配置为在端口8080上侦听127.0.0.1

我无法验证swift,可能无法正确启动服务。 使用start脚本-startmain时,我得到以下输出:

Starting proxy-server...(/etc/swift/proxy-server.conf)
Starting container-server...(/etc/swift/container-server/1.conf)
Starting container-server...(/etc/swift/container-server/2.conf)
Starting container-server...(/etc/swift/container-server/3.conf)
Starting container-server...(/etc/swift/container-server/4.conf)
Starting account-server...(/etc/swift/account-server/1.conf)
Starting account-server...(/etc/swift/account-server/2.conf)
Starting account-server...(/etc/swift/account-server/3.conf)
Starting account-server...(/etc/swift/account-server/4.conf)
Starting object-server...(/etc/swift/object-server/1.conf)
Starting object-server...(/etc/swift/object-server/2.conf)
Starting object-server...(/etc/swift/object-server/3.conf)
Starting object-server...(/etc/swift/object-server/4.conf)
No handlers could be found for logger "keystonemiddleware._common.config"
服务启动,它在8080端口监听,我可以发送一个无需身份验证的请求,并可以毫无问题地接收200。但当我尝试使用我收到的令牌进行身份验证时,例如:

curl-v-H“X-Auth-Token:$Token” (令牌是正确的,例如认证tk93bdad0ee5ab4814896a0d3f1cff025e) 我得到了未经授权的HTTP/1.1 401

此外,当我尝试使用swift cli命令时: swift——调试统计——我得到HTTP 500 swift--debug-A-U测试:tester-K测试stat-I get方法不允许(HTTP 405)

我的proxy-server.conf是:

[DEFAULT]
bind_ip = 127.0.0.1
bind_port = 8080
workers = 1
user = admin
log_facility = LOG_LOCAL1
eventlet_debug = true

[pipeline:main]
# Yes, proxy-logging appears twice. This is so that
# middleware-originated requests get logged too.
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache etag-quoter listing_formats bulk tempurl ratelimit  authtoken keystoneauth crossdomain container_sync tempauth staticweb copy container-quotas account-quotas slo dlo versioned_writes symlink proxy-logging proxy-server

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

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

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

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

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

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

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

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

[filter:container_sync]
use = egg:swift#container_sync
current = //saio/saio_endpoint

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

[filter:tempauth]
use = egg:swift#tempauth
user_root_root = root .root .reseller_root
user_admin_admin = admin .admin .reseller_admin
user_test_tester = testing .root
user_test_tester2 = testing2 .root
user_test_tester3 = testing3
user_test2_tester2 = testing2 .root

[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
#www_authenticate_uri = http://127.0.0.1:5000
auth_uri = http://127.0.0.1:5000
auth_url = http://127.0.0.1:5000
memcached_servers = 127.0.0.1:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = swift
password = admin
delay_auth_decision = True

[filter:keystoneauth]
use = egg:swift#keystoneauth
operator_roles = admin, swift, root
is_admin = true
#operator_roles = root,admin

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

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

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

[filter:cache]
use = egg:swift#memcache
memcache_servers = 127.0.0.1:11211

[filter:etag-quoter]
use = egg:swift#etag_quoter
enable_by_default = false

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

[filter:versioned_writes]
use = egg:swift#versioned_writes
allow_versioned_writes = true
allow_object_versioning = true

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

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

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

# To enable, add the s3api middleware to the pipeline before tempauth
[filter:s3api]
use = egg:swift#s3api
s3_acl = yes
check_bucket_owner = yes

# Example to create root secret: `openssl rand -base64 32`
[filter:keymaster]
use = egg:swift#keymaster
encryption_root_secret = changeme/changeme/changeme/changeme/change/=

# To enable use of encryption add both middlewares to pipeline, example:
# <other middleware> keymaster encryption proxy-logging proxy-server
[filter:encryption]
use = egg:swift#encryption

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
account_autocreate = true
如果我没有通过身份验证,我可能会做错什么

No handlers could be found for logger "keystonemiddleware._common.config"