Reduce the log level for the guestfs being missing.

There are platforms where we can never reasonably expect libguestfs
to be functional (FreeBSD, libvirt / lxc, etc). Reduce the log
level of the message recording that libguestfs is unavailable to
reduce operator confusion.

As discussed on openstack-dev at:

  http://lists.openstack.org/pipermail/openstack-dev/2014-September/046910.html

Change-Id: I4bd7ed4fbffb8ac22aea4285fe74ee0d78e1581c
This commit is contained in:
Michael Still
2014-09-24 08:44:20 +10:00
parent 51de439a4d
commit c464ed4e76

View File

@@ -13,7 +13,7 @@
# under the License.
from nova import exception
from nova.i18n import _LW
from nova.i18n import _LI
from nova.openstack.common import importutils
from nova.openstack.common import log as logging
@@ -63,7 +63,7 @@ class VFS(object):
# check for capabilities.
raise
else:
LOG.warn(_LW("Unable to import guestfs"
LOG.info(_LI("Unable to import guestfs"
"falling back to VFSLocalFS"))
return importutils.import_object(