diff options
| author | Ilya Alekseyev <ialekseev@griddynamics.com> | 2011-04-20 17:44:25 +0400 |
|---|---|---|
| committer | Ilya Alekseyev <ialekseev@griddynamics.com> | 2011-04-20 17:44:25 +0400 |
| commit | 45178fd6da58ff37617e35b5cddaf416ae5cee65 (patch) | |
| tree | 070de24a34294f3c6127d2637951705cd03c4bb9 | |
| parent | 50bd39e0413c2231ebdf9f4c9fb7e58d27624250 (diff) | |
fix: mark floating ip as auto assigned
| -rw-r--r-- | nova/compute/manager.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 313b9e0e1..c1dc06557 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -252,6 +252,7 @@ class ComputeManager(manager.SchedulerDependentManager): if FLAGS.auto_assign_floating_ip: public_ip = self.network_api.allocate_floating_ip(context) + self.db.floating_ip_set_auto_assigned(context, public_ip) fixed_ip = self.db.fixed_ip_get_by_address(context, address) floating_ip = self.db.floating_ip_get_by_address(context, public_ip) |
