[swift] Unable to get or create objects

Alistair Coles alistairncoles at gmail.com
Tue Mar 2 10:15:53 UTC 2021


You might like to join the #openstack-swift irc channel to get help (
https://wiki.openstack.org/wiki/IRC )

It sounds like you don't have an account server running, or it is running
but listening on a different port than configured in your account ring.

You can verify which swift services are running on your storage node using:
swift-init status main

and/or check which ports they are listening on using:
lsof -i tcp +c 15  (you're looking for lines similar to 'swift-account-s
4309 vagrant   17u  IPv4 3466818      0t0  TCP localhost:6012 (LISTEN)')

The host:port should match what is in the account ring, on your controller
node, which is shown using:
swift-ring-builder /etc/swift/account.builder

You can also try to make an http request from your controller node to the
account server using something like:
curl -I http://localhost:6012/recon/version
HTTP/1.1 200 OK
Content-Length: 28
Content-Type: application/json
Date: Tue, 02 Mar 2021 10:03:47 GMT

( in your case curl -I )

If necessary start services using:
swift-init restart account

A similar diagnosis can be used if you have problems with connections to
container or object services.


On Tue, Mar 2, 2021 at 9:18 AM Cristina Mayo <admin at gsic.uva.es> wrote:

> Hello,
> I don't have a lot of knowledge about Openstack. I have installed Swift
> in my Openstack Ussuri cloud with one storage node but I am not be able to
> list or create objects. In the controller node I saw these errors:
> proxy-server: ERROR with Account server re: Trying to
> HEAD /v1/AUTH_c2b7d6242f3140f09d283e8fbb88732a: Connection refused (txn:
> tx370fb5929a6c4cf397384-00603dfe35)
> proxy-server: Account HEAD returning 503 for []
> (txn:tx370fb5929a6c4cf397384-00603dfe35)
> Any idea?
> Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210302/adf07a0a/attachment-0001.html>

More information about the openstack-discuss mailing list