From c90f032c4d4f33aecfbba35cd08ce1c20a8a41db Mon Sep 17 00:00:00 2001 From: Marco Yuen Date: Wed, 22 Jun 2011 14:06:42 -0400 Subject: [PATCH] GENICLOUD-25 Start a thread that will poll Eucalyptus for instance data. --- sfa/managers/aggregate_manager_eucalyptus.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sfa/managers/aggregate_manager_eucalyptus.py b/sfa/managers/aggregate_manager_eucalyptus.py index fdd299bd..26e5742e 100644 --- a/sfa/managers/aggregate_manager_eucalyptus.py +++ b/sfa/managers/aggregate_manager_eucalyptus.py @@ -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 -- 2.45.2