Ask Your Question
1

No handlers could be found for logger "swift-proxy"

asked 2014-04-12 11:18:32 -0500

Eslam El Husseiny gravatar image

Hi everyone, I was trying to configure OpenStack Swift on ubuntu 12.04 using havana cloud archive ppa, using steps in OpenStack Cloud Computing Cookbook 2nd edition.

when I tried to restart swift main services using : "sudo swift-init main restart" , I got the following message

No handlers could be found for logger "swift-proxy"

and here is /etc/swift/proxy-server.conf content https://gist.github.com/anonymous/10543798 (https://gist.github.com/anonymous/105...)

I also checked exit status of swift-init main restart as following :

sudo swift-init main restart
echo $?
0

so any ideas what's wrong here ?

Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-12 16:27:13 -0500

serverascode gravatar image

On Ubuntu 12.04 I just use:

sudo service swift-proxy start

I'm not sure why swifti-init wouldn't work, perhaps it doesn't control the proxy server. But starting swift-proxy with it's init.d script should work.

edit flag offensive delete link more

Comments

it seems yeah swift-init wasn't able to start swift-proxy and even some time I had to start swift-proxy manually using command exec /usr/bin/swift-init proxy-server start , but the error / warning message I posted before still exists No handlers could be found for logger "swift-proxy"

Eslam El Husseiny gravatar imageEslam El Husseiny ( 2014-04-20 11:06:17 -0500 )edit
1

It will be solved by modifying log_name from "swift-proxy" to "proxy-server" In proxy-server.conf.

I.S Kim gravatar imageI.S Kim ( 2014-06-19 20:36:30 -0500 )edit

I was able to get rid of this error by not specifying a default log route, i.e. log_name etc in the [DEFAULT] section.

timss gravatar imagetimss ( 2018-03-26 04:30:07 -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-04-12 11:18:32 -0500

Seen: 783 times

Last updated: Apr 12 '14