[Rdo-list] RHEL OSP 5 neutron controller
Bill Bartlett
bbartlett at gmail.com
Fri Oct 17 09:36:57 UTC 2014
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
[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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20141017/0dba4a09/attachment.html>
More information about the dev
mailing list