-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
I'm not a Swift guy, to say the least, but it seems your
[filter-authtoken] is not configured properly [1] (missing auth_host).
That said, you better ask official Red Hat support on why the file is
not configured properly. This list is for RDO (community supported
Openstack distribution) and not RHOSP (commercial version of Openstack
from Red Hat).
[1]:
http://docs.openstack.org/trunk/config-reference/content/proxy-server-con...
Cheers,
/Ihar
On 17/10/14 11:36, Bill Bartlett wrote:
disclaimer: Both openstack on redhat and Foreman are new to me.
I've got the cluster to a state where I'm able to launch instances,
but all of the openstack-related packages are not installing
correctly. When dealing with the neutron-controller, I am having
difficulty getting swift to start. Many other services are up and
running, but swift-proxy is complaining about log handlers which
doesn't make much sense to me. Has anyone seen this and can point
me to proper documentation on how to resolve it?
Thanks, Bill
My error log looks like this:
<snip>
Oct 17 09:06:16 mac60eb69edd808 puppet-agent[2056]:
(/Stage[main]/Swift::Proxy/Service[swift-proxy]/ensure) ensure
changed 'stopped' to 'running' Oct 17 09:06:16 mac60eb69edd808
proxy-server: Adding required filter dlo to pipeline at position 3
Oct 17 09:06:16 mac60eb69edd808 proxy-server: Adding required
filter gatekeeper to pipeline at position 0 Oct 17 09:06:16
mac60eb69edd808 proxy-server: Adding required filter catch_errors
to pipeline at position 0 Oct 17 09:06:16 mac60eb69edd808
proxy-server: Pipeline was modified. New pipeline is "catch_errors
gatekeeper healthcheck memcache proxy_logging dlo
keystoneclient.middleware.auth_token:filter_factory keystoneauth
proxy_logging proxy". Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: No handlers could be found for logger "swift"
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: Traceback
(most recent call last): Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: File "/usr/bin/swift-proxy-server", line 23, in
<module> Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080,
**options)) Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line
389, in run_wsgi Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: loadapp(conf_path, global_conf=global_conf) Oct
17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 323,
in loadapp Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
return ctx.create() Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line
710, in create Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
return self.object_type.invoke(self) Oct 17 09:06:16
mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line
207, in invoke Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
app = filter(app) Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: File
"/usr/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py",
line 1516, in auth_filter
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: return
AuthProtocol(app, conf) Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: File
"/usr/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py",
line 486, in __init__
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: if
netaddr.valid_ipv6(auth_host): Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: File
"/usr/lib/python2.7/site-packages/netaddr/strategy/ipv6.py", line
126, in valid_str Oct 17 09:06:16 mac60eb69edd808
swift-proxy-server: raise AddrFormatError('Empty strings are not
supported!') Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
netaddr.core.AddrFormatError: Empty strings are not supported! Oct
17 09:06:16 mac60eb69edd808 systemd:
openstack-swift-proxy.service: main process exited, code=exited,
status=1/FAILURE Oct 17 09:06:16 mac60eb69edd808 systemd: Unit
openstack-swift-proxy.service entered failed state.
</snip>
proxy-server.conf
<snip>
# This file is managed by puppet. Do not edit # [DEFAULT]
bind_port = 8080
bind_ip = 0.0.0.0 #bind_ip =
workers = 4 user = swift log_name = swift log_facility =
LOG_LOCAL1 log_level = INFO log_headers = False log_address =
/dev/log
[pipeline:main] pipeline = healthcheck cache proxy-logging
authtoken keystone proxy-logging proxy-server
[app:proxy-server] use = egg:swift#proxy set log_name =
proxy-server set log_facility = LOG_LOCAL1 set log_level = INFO set
log_address = /dev/log log_handoffs = true allow_account_management
= true account_autocreate = true
[filter:authtoken] log_name = swift signing_dir = /var/cache/swift
paste.filter_factory =
keystoneclient.middleware.auth_token:filter_factory auth_host =
auth_port = 35357 auth_protocol = http auth_uri = http://:5000 # if
its defined admin_tenant_name = services admin_user = swift
admin_password = r3dapt delay_auth_decision = 1 cache =
swift.cache include_service_catalog = False [filter:cache] use =
egg:swift#memcache memcache_servers = 127.0.0.1:11211
<
http://127.0.0.1:11211> [filter:catch_errors] use =
egg:swift#catch_errors
[filter:healthcheck] use = egg:swift#healthcheck
[filter:ratelimit] use = egg:swift#ratelimit clock_accuracy = 1000
max_sleep_time_seconds = 60 log_sleep_time_seconds = 0
rate_buffer_seconds = 5 account_ratelimit = 0
[filter:proxy-logging] use = egg:swift#proxy_logging
[filter:keystone] use = egg:swift#keystoneauth operator_roles =
admin, SwiftOperator is_admin = true
</snip>
_______________________________________________ Rdo-list mailing
list Rdo-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
iQEcBAEBCgAGBQJUQOczAAoJEC5aWaUY1u57L38H/0FYu7NotUxzTtojrZaKs8u8
joIzoXBuUvBy8R3HJ9AxX4Fp6mYQE7swcMbI8NZAfVcIiuzD0OtD0EILkp0hulU1
GSEbjI3SV+oaSU46s7sMQ0OS5b1/hzUwrlqMZ6fbKz75hO/85pwKLULJ9xVwCDPn
XUpzHcK/L7B0ig5aBhm3N5DaAoRglJfKxWsyEi9/hh2Yw6NTK51Xeo5m0oYRlx1V
sBTi522WXkNBPh84319ukE2POZSnCF9rV6E2f8mDpnDrB6BMx+uFL0feRLd+QURr
h7ew/ttTdZyxpBozxAGUlSr3W+tfsFBreD89JItI8DMvNocdX7a010o1+N819mA=
=lSWo
-----END PGP SIGNATURE-----