summaryrefslogtreecommitdiffstats
path: root/nova/service.py
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-03-14 22:29:30 -0700
committerJustin Santa Barbara <justin@fathomdb.com>2011-03-14 22:29:30 -0700
commit855da579147709b8070811751b3b3f684f9f78d6 (patch)
treed2039e0d03d6182c9eb9114ba4d777a82c361805 /nova/service.py
parent2b20306fcaddcb6b9bc57fb55b17230d709cd1ce (diff)
parent5da32f8b917d461388d0186af52946a3f7d2c665 (diff)
downloadnova-855da579147709b8070811751b3b3f684f9f78d6.tar.gz
nova-855da579147709b8070811751b3b3f684f9f78d6.tar.xz
nova-855da579147709b8070811751b3b3f684f9f78d6.zip
Merged with trunk. Had to hold bazaar's hand as it got lost again.
Diffstat (limited to 'nova/service.py')
-rw-r--r--nova/service.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/nova/service.py b/nova/service.py
index af20db01c..d60df987c 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -92,6 +92,9 @@ class Service(object):
except exception.NotFound:
self._create_service_ref(ctxt)
+ if 'nova-compute' == self.binary:
+ self.manager.update_available_resource(ctxt)
+
conn1 = rpc.Connection.instance(new=True)
conn2 = rpc.Connection.instance(new=True)
if self.report_interval: