diff options
author | masumotok <masumotok@nttdata.co.jp> | 2010-12-31 04:03:37 +0900 |
---|---|---|
committer | masumotok <masumotok@nttdata.co.jp> | 2010-12-31 04:03:37 +0900 |
commit | bf7bc8725fcc26cc5074ea1628bcba6ac6093768 (patch) | |
tree | dd845322f758c2353f295afa44d4e6455564ffff /nova/manager.py | |
parent | 85acbbe916df8b2d18f0dc3a0b8cad9fcfdd6907 (diff) | |
parent | bd6a3cb1acb68ac2252c1bafc531b3b12f9746d8 (diff) | |
download | nova-bf7bc8725fcc26cc5074ea1628bcba6ac6093768.tar.gz nova-bf7bc8725fcc26cc5074ea1628bcba6ac6093768.tar.xz nova-bf7bc8725fcc26cc5074ea1628bcba6ac6093768.zip |
merge recent revision(version of 2010/12/28)
Change:
1. Use greenthread instead of defer at nova.virt.libvirt_conn.live_migration.
2. Move nova.scheduler.manager.live_migration to nova.scheduler.driver
3. Move nova.scheduler.manager.has_enough_resource to nova.scheduler.driver
4. Any check routine in nova-manage.instance.live_migration is moved to
nova.scheduler.driver.schedule_live_migration.
Diffstat (limited to 'nova/manager.py')
-rw-r--r-- | nova/manager.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nova/manager.py b/nova/manager.py index 5b61f7a4c..3d38504bd 100644 --- a/nova/manager.py +++ b/nova/manager.py @@ -55,7 +55,6 @@ from nova import utils from nova import flags from nova.db import base -from twisted.internet import defer FLAGS = flags.FLAGS @@ -67,10 +66,9 @@ class Manager(base.Base): self.host = host super(Manager, self).__init__(db_driver) - @defer.inlineCallbacks def periodic_tasks(self, context=None): """Tasks to be run at a periodic interval""" - yield + pass def init_host(self): """Do any initialization that needs to be run if this is a standalone |