diff options
| author | David McNally <dave.mcnally@hp.com> | 2012-07-27 13:32:14 +0100 |
|---|---|---|
| committer | David McNally <dave.mcnally@hp.com> | 2012-07-27 14:20:19 +0100 |
| commit | 44132acbe91092de1188a3015a2c7155b5ec774c (patch) | |
| tree | 5063f8d05fe117dbc4cdea9fc2c7866b08237525 /nova/openstack | |
| parent | 0626def72e8c2271ef72910c1a2f64015ac9c38b (diff) | |
Moving where the fixed ip deallocation happens.
Fixes bug 1021352.
In network/manager/deallocate_fixed_ip the call
to mark the IP as no longer allocated occurs before
the call to update security group rules. This means
that if an error occurs in the security group
processing, or if for some reason it is very slow
there is a risk that that the address is reused by
another tenant before the rules relating to this address
have been fully revoked.
Moving the db call to after the call to trigger the
security group refresh would avoid the issue when an
error occurs (the fixed_ip should not be released in
this case).
Change-Id: Iaba1af5c9a17fbbb82e42522b1060773de61550a
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
