9578aa5fd7
We need to ensure the swift services are listening on the same IP and port as the ring is setup for. Currently we calculate these values in different ways, which leads to the possibility that the ring is setup for ports and IPs that the services are not listening on. This change ensures this by calculating the storage and replication addresses within the role - whilst still accepting overrides from outside the role. This ensures functionality does not change, but that it is now not possible for the swift services to not listen on the ports/IPs defined in the ring. As part of this change we move to set "swift_dedicated_replication" based on whether the storage and replication addresses are the same, rather than the specified network. This means you can run a dedicated replication config by configuring the services, which was possible to configure, but again would have meant the services and ring were not configured in the same way. This is required to ensure uniformity. Finally - we remove the ability to set a storage_port or repl_port within the swift_vars, this was a setting that would never work in it's current implementation. The storage/repl_port would depend entirely on which swift service was in use, and can not be set in such a blanket fashion. Since this was a completely not working funcitonality it has now been removed. Change-Id: Ibe5330cdca7fd81f379b80dc55ad06529ce4d580 |
||
---|---|---|
.. | ||
source | ||
Makefile |