Docker's SAIO doesn't work
Bug #2037268 reported by
Some Developer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
My env:
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release: 23.04
Codename: lunar
Docker version 24.0.6, build ed223bc
Details:
What I'm trying to do is to run SAIO's container, according to docs (https:/
docker pull openstackswift/saio
docker run -d -p 8080:8080 openstackswift/saio
Container start and I try to test communication with it:
curl http://
Trying the same from inside of a container results in "curl: (7) Failed to connect to 127.0.0.1 port 8080 after 0 ms: Couldn't connect to server"
So, SAIO doesn't work for me :)
description: | updated |
description: | updated |
Changed in swift: | |
status: | New → In Progress |
To post a comment you must log in.
I can confirm the py2 image is busted
clayg@banana: ~/Workspace/ vagrant- swift-all- in-one/ swift$ docker run -d -p 8022:8080 openstackswift/saio 0d493b7dbeaaba2 2bd78095b1e3c08 a4af19b05bf9cac d6ab ~/Workspace/ vagrant- swift-all- in-one/ swift$ docker run -d -p 8033:8080 openstackswift/ saio:py3 4fb63dec7fc116b b55aa61b533fa77 b25468ee7f17cd2 94de ~/Workspace/ vagrant- swift-all- in-one/ swift$ curl http:// 127.0.0. 1:8022/ info ~/Workspace/ vagrant- swift-all- in-one/ swift$ curl http:// 127.0.0. 1:8033/ info account_ management" : true, "account_ autocreate" : true, "max_file_size": 5368709122, "max_meta_ name_length" : 128, "max_meta_ value_length" : 256, "max_meta_count": 90, "max_meta_ overall_ size": 4096, "max_header_size": 8192, "max_object_ name_length" : 1024, "container_ listing_ limit": 10000, "account_ listing_ limit": 10000, "max_account_ name_length" : 256, "max_container_ name_length" : 256, "extra_ header_ count": 0}, "symlink": {"symloop_max": 2, "static_links": true}, "versioned_writes": {"allowed_flags": ["x-versions- location" , "x-history- location" ]}, "object_ versioning" : {}, "slo": {"max_manifest_ segments" : 1000, "max_manifest_ size": 8388608, "yield_frequency": 10, "min_segment_size": 1, "allow_ async_delete" : true}, "account_quotas": {}, "container_quotas": {}, "staticweb": {}, "tempauth": {"account_acls": true}, "s3api": {"max_bucket_ listing" : 1000, "max_parts_ listing" : 1000, "max_upload_ part_num" : 1000, "max_multi_ delete_ objects" : 1000, "allow_ multipart_ uploads" : true, "min_segment_size": 5242880, "s3_acl": false}, "ratelimit": {"account_ ratelimit" : 0.0, "max_sleep_ time_seconds" : 60.0, "container_ ratelimits" : [], "container_ listing_ ratelimits" : []}, "tempurl": {"methods": ["GET", "HEAD", "PUT", "POST", "DELETE"], "incoming_ remove_ headers" : ["x-timestamp"], "incoming_ allow_headers" : [], "outgoing_ remove_ headers" : ["x-object- meta-*" ], "outgoing_ allow_headers" : ["x-object- meta-public- *"], "allowed_digests": ["sha1", "sha256", "sha512"], "deprecated_ digests" : ["sha1"]}, "bulk_upload": {"max_container s_per_extractio n": 10000, "max_failed_ extractions" : 1000}, "bulk_delete": {"max_deletes_ per_request" : 10000, "max_failed_ deletes" : 1000}, "etag_quoter": {"enable_ by_default" : false}} ~/Workspace/ vagrant- swift-all- in-one/ swift$ curl http:// 127.0.0. 1:8022/ info
8a403202fb93fee
clayg@banana:
b55bd3eb9f432ce
clayg@banana:
curl: (56) Recv failure: Connection reset by peer
clayg@banana:
{"swift": {"version": "2.33.0.dev21", "strict_cors_mode": true, "policies": [{"name": "1replica", "aliases": "1replica", "default": true}], "allow_
clayg@banana:
curl: (56) Recv failure: Connection reset by peer
It looks like some part of the pre-req install script is failing.
As I work around I suggest we update the instructions to recommend using the py3 image (maybe drop the py2 image entirely?)