Object server wont start if the ring contains hostnames and servers_per_port is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned |
Bug Description
setting hostnames instead of IP in the ring isn't an issue, but when enabling servers_per_port the object server silently loops reading the ring and doesn't bind to any interface.
to reproduce on SAIO :
set "export SERVERS_PER_PORT=1" in localrc
in the vm :
for i in {1..4} ; do swift-ring-builder /etc/swift/
edit /etc/hosts accordingly (actually this doesn't change anything)
swift-ring-builder /etc/swift/
swift-init object start
The server tries to compare the hostname in the ring (https:/
We are using swift v2.22.0, reproduced on master in saio