diff options
author | Hisaharu Ishii <ishii.hisaharu@lab.ntt.co.jp> | 2011-03-23 11:21:20 +0000 |
---|---|---|
committer | Tarmac <> | 2011-03-23 11:21:20 +0000 |
commit | 916bec73fd9b0c8e138aa44d9923071de6572b7f (patch) | |
tree | b089b08890c7a011dea202d8a652568f3fe02376 | |
parent | 9e9ebb70183eb0466eef148ebb837440bd1de256 (diff) | |
parent | e827b8dbae1faef2cc070c7e26395979571bcd46 (diff) | |
download | nova-916bec73fd9b0c8e138aa44d9923071de6572b7f.tar.gz nova-916bec73fd9b0c8e138aa44d9923071de6572b7f.tar.xz nova-916bec73fd9b0c8e138aa44d9923071de6572b7f.zip |
We update update_ra method to synchronize, in order to prevent crash when we request multiple instance at once.
-rw-r--r-- | nova/network/linux_net.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/network/linux_net.py b/nova/network/linux_net.py index 05cd565a2..0a273588f 100644 --- a/nova/network/linux_net.py +++ b/nova/network/linux_net.py @@ -595,6 +595,7 @@ def update_dhcp(context, network_id): _execute(*command, addl_env=env) +@utils.synchronized('radvd_start') def update_ra(context, network_id): network_ref = db.network_get(context, network_id) |