* Make RMQ unblock call safe (remove all discovered RMQ
blocking rules, if there are many of them).
* Use unblock safe call prior to the blocking one.
* Make block call idempotent and add 5 retries for iptables.
* Add info log messages about block/unblock actions. Notify
if RMQ blocking rule cannot be added for some strange reason.
Reviewed: https:/ /review. openstack. org/128305 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=9be38a61348 6eb115050d8d165 ce212d4a185f35
Committed: https:/
Submitter: Jenkins
Branch: stable/5.1
commit 9be38a613486eb1 15050d8d165ce21 2d4a185f35
Author: Bogdan Dobrelya <email address hidden>
Date: Thu Sep 25 20:55:43 2014 +0300
Fix blocking reject rule for rabbit ocf
* Make RMQ unblock call safe (remove all discovered RMQ
blocking rules, if there are many of them).
* Use unblock safe call prior to the blocking one.
* Make block call idempotent and add 5 retries for iptables.
* Add info log messages about block/unblock actions. Notify
if RMQ blocking rule cannot be added for some strange reason.
Partial-bug: #1373569
Closes-bug: #1375824
Change-Id: I46c6bf3c83ada4 273eaa05530e808 86ebac7e75f
Signed-off-by: Bogdan Dobrelya <email address hidden>