cloudstack/scripts
Will Stevens 62d2954f51 Merge pull request #1408 from wido/security-group-lock
kvm: Aqcuire lock when running security group Python scriptIt could happen that when multiple instances are starting at the same
time on a KVM host the Agent spawns multiple instances of security_group.py
which both try to modify iptables/ebtables rules.

This fails with on of the two processes failing.

The instance is still started, but it doesn't have any IP connectivity due
to the failed programming of the security groups.

This modification lets the script aqcuire a exclusive lock on a file so that
only one instance of the scripts talks to iptables/ebtables at once.

Other instances of the script which start will poll every 500ms if they can
obtain the lock and otherwise execute anyway after 15 seconds.

* pr/1408:
  kvm: Aqcuire lock when running security group Python script

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-05-04 10:32:48 -04:00
..
common/keys scripts: use cloudmanagementserver.keystore instead of cloud.keystore 2015-02-28 17:06:27 +05:30
installer CLOUDSTACK-8416: added support for FIPS compliant checksum. It will now support md5, sha1, sha224, sha256, sha384 and sha512 checksums. 2015-04-30 14:38:44 +05:30
network Formatting the router_proxy.sh script 2015-09-25 16:09:27 +02:00
storage CLOUDSTACK-9240 remove 40GB filesize limit from SSVM scripts 2016-01-17 13:26:43 +01:00
util findbugs and PMD fixes 2015-04-15 11:30:04 +05:30
vm Merge pull request #1408 from wido/security-group-lock 2016-05-04 10:32:48 -04:00