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/twistd.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/twistd.py')
-rw-r--r-- | nova/twistd.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/twistd.py b/nova/twistd.py index cb5648ce6..29be9c4e1 100644 --- a/nova/twistd.py +++ b/nova/twistd.py @@ -43,7 +43,7 @@ else: FLAGS = flags.FLAGS -flags.DEFINE_string('logdir', None, 'directory to keep log files in ' +flags.DEFINE_string('logdir', None, 'directory to keep log files in ' '(will be prepended to $logfile)') @@ -208,7 +208,7 @@ def stop(pidfile): pid = None if not pid: - message = "pidfile %s does not exist. Daemon not running?\n" + message = _("pidfile %s does not exist. Daemon not running?\n") sys.stderr.write(message % pidfile) # Not an error in a restart return @@ -229,7 +229,7 @@ def stop(pidfile): def serve(filename): - logging.debug("Serving %s" % filename) + logging.debug(_("Serving %s") % filename) name = os.path.basename(filename) OptionsClass = WrapTwistedOptions(TwistdServerOptions) options = OptionsClass() @@ -281,7 +281,7 @@ def serve(filename): else: logging.getLogger().setLevel(logging.WARNING) - logging.debug("Full set of FLAGS:") + logging.debug(_("Full set of FLAGS:")) for flag in FLAGS: logging.debug("%s : %s" % (flag, FLAGS.get(flag, None))) |