redhat-openstack/astapor — pull request #185 by cwolferh (2014-04-24 08:16:12+00:00)
Title: HA swift proxy and storage node tweaks

Two fixes here. 1. is to not blow away .conf files as part of an rsync. 2. is a typo fix needed for the swift storage node to work off of its swift_local_interface.

I did an end-to-end test using the ha-all-in-one-controller host group (with include_heat set to false due to a port 8080 conflict) and the swift storage host group.
Verified that bind_ip was correct (based off of private_iface) and different in each /etc/swift/proxy-server.conf, e.g. "bind_ip = 192.168.200.10" on one node, "bind_ip = 192.168.200.20" on the 2nd, etc.
Verified bound to correct frontend and backend ip's, e.g.

# netstat -tulpn | grep 8080
tcp 0 0 192.168.201.73:8080 0.0.0.0:* LISTEN 11579/haproxy
tcp 0 0 192.168.200.10:8080 0.0.0.0:* LISTEN 10328/python

Note that currently there are three unused parameters in quickstack::pacemaker::swift: swift_internal_ip, swift_internal_iface, swift_internal_network. This should get cleaned up soon.

Yaml for the HA-all-in-one-controller: http://fpaste.org/96492/39832726/
Yaml for the Swift Storage host: http://fpaste.org/96493/83273311/