Swift stat [Errno 111] Connection refused
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:*
https://docs.openstack.org/project-install-guide/object-storage/ocata/verify.html (https://docs.openstack.org/project-in...)
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]: ...fail!
Please help me fixing bug...Thanks all
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?
/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 https://docs.openstack.org/swift/pike....