mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
B #3624: wait for xtables lock
Avoid collisions with non OpenNebula process accessing xtables: `-w 3` wait 3 seconds for a xtables lock `-W 20000` check the lock each 20000 microseconds = 0.02 seconds Co-authored-by: Anton Todorov <a.todorov@storpool.com>
This commit is contained in:
1 parent
3e019b0ced
commit
75ec892d4e
1 file changed
+3
-3
@@ -22,9 +22,9 @@ module VNMMAD
|
||||
# to local installations. Any modification requires to sync the hosts
|
||||
# with onehost sync command.
|
||||
COMMANDS = {
|
||||
:ebtables => 'sudo -n ebtables',
|
||||
:iptables => 'sudo -n iptables',
|
||||
:ip6tables=> 'sudo -n ip6tables',
|
||||
:ebtables => 'sudo -n ebtables --concurrent',
|
||||
:iptables => 'sudo -n iptables -w 3 -W 20000',
|
||||
:ip6tables=> 'sudo -n ip6tables -w 3 -W 20000',
|
||||
:ip => 'sudo -n ip',
|
||||
:ip_unpriv=> 'ip',
|
||||
:virsh => 'virsh -c qemu:///system',
|
||||
|
||||
Reference in new issue
Block a user