summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/compute/manager.py1
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)