GENICLOUD-25
authorMarco Yuen <marcoy@gmail.com>
Wed, 22 Jun 2011 18:06:42 +0000 (14:06 -0400)
committerMarco Yuen <marcoy@gmail.com>
Wed, 22 Jun 2011 18:15:11 +0000 (14:15 -0400)
Start a thread that will poll Eucalyptus for instance data.

sfa/managers/aggregate_manager_eucalyptus.py

index fdd299b..26e5742 100644 (file)
@@ -158,6 +158,10 @@ def init_server():
     EucaInstance.createTable(ifNotExists=True)
     IP.createTable(ifNotExists=True)
 
+    # Start the update thread to keep track of the meta data
+    # about Eucalyptus instance.
+    Thread(target=updateMeta).start()
+
     # Make sure the schema exists.
     if not os.path.exists(EUCALYPTUS_RSPEC_SCHEMA):
         err = 'Cannot location schema at %s' % EUCALYPTUS_RSPEC_SCHEMA