Ask Your Question

Swift stat [Errno 111] Connection refused

asked 2017-12-12 09:40:08 -0500

shirak911 gravatar image

updated 2017-12-12 09:40:39 -0500

Hi All *I've a problem with openstack Ocata, with 1 controller node, 2 object node, 2 compute node, 1 block storage node. I'm configured additional services Swift following link:* (

and i cannot complete final step" Swift stat" because errors

"HTTPConnectionPool(host='controller', port=8080): Max retries exceeded with url: /v1/AUTH_1244ae1103294ee8b4dfca25e38e6710 (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x7f9329407290="">: Failed to establish a new connection: [Errno 111] Connection refused',))"

This is my logs on controller with commands swift stat --debug: DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller

This is my log in var/log/syslog

Dec 12 22:13:39 controller swift-proxy[29464]: LookupError: No section 'authtoken' (prefixed by 'filter') found in config /etc/swift/proxy-server.conf Dec 12 22:13:39 controller swift-proxy[29464]:!

Please help me fixing bug...Thanks all

edit retag flag offensive close merge delete


Connection refused means that there is no listener at port 8080 on controller. Is the swift proxy running and listening? Does controller resolve to the correct IP address?

Bernd Bausch gravatar imageBernd Bausch ( 2017-12-12 16:20:06 -0500 )edit

/var/log/syslog indicates that your swift proxy is at least trying to run. Perhaps it stops because of No section 'authtoken'? If so, you need to correct proxy-server.conf. See

Bernd Bausch gravatar imageBernd Bausch ( 2017-12-13 17:17:41 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-01-20 08:17:07 -0500

amer.hwitat gravatar image

Max retries exceeded with url: /v2.0/networks (Caused by NewConnectionError('<urllib3.connection.httpconnection object="" at="" 0x7fc404e6e6d0="">: Failed to establish a new connection: [Errno 111] Connection refused',))

it needs I think to clean the nodes if you have one node installation it will be like that :

openstack baremetal node list

openstack baremetal node clean <node> \ --clean-steps '[{"interface": "deploy", "step": "erase_devices_metadata"}]'

and curl -v http://controller:35357

and systemctl restart openstack* systemctl status openstack*

good luck

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-12-12 09:40:08 -0500

Seen: 1,141 times

Last updated: Dec 12 '17