From 93363a26819266bb0f48bbd2f1716b3f7e309606 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Thu, 9 Feb 2012 17:33:59 -0800 Subject: [PATCH] Reducing debug for glance. --- conf/glance/glance-api.conf.tpl | 2 +- conf/glance/glance-registry.conf.tpl | 2 +- devstack/libvirt.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/glance/glance-api.conf.tpl b/conf/glance/glance-api.conf.tpl index 08689913..15e5116a 100644 --- a/conf/glance/glance-api.conf.tpl +++ b/conf/glance/glance-api.conf.tpl @@ -6,7 +6,7 @@ verbose = True # Show debugging output in logs (sets DEBUG log level output) -debug = True +debug = False # Which backend store should Glance use by default is not specified # in a request to add a new image to Glance? Default: 'file' diff --git a/conf/glance/glance-registry.conf.tpl b/conf/glance/glance-registry.conf.tpl index 858a9b3a..4614ac8d 100644 --- a/conf/glance/glance-registry.conf.tpl +++ b/conf/glance/glance-registry.conf.tpl @@ -6,7 +6,7 @@ verbose = True # Show debugging output in logs (sets DEBUG log level output) -debug = True +debug = False # Address to bind the registry server bind_host = 0.0.0.0 diff --git a/devstack/libvirt.py b/devstack/libvirt.py index 72f75e95..ee180e73 100644 --- a/devstack/libvirt.py +++ b/devstack/libvirt.py @@ -79,7 +79,7 @@ def _status(distro): check_exit_code=False, params=mp) sysout = result[0][0] - if sysout.find("running") != -1: + if sysout.find("running") != -1 or sysout.find('start') != -1: return _ALIVE else: return _DEAD