From f12b49049e30c49f24797df3d0432e966dd6ea74 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 12 Jul 2012 14:26:29 -0400 Subject: DataSourceOVF: do not log exception on failed mount during datasourceovf looking for a transport, the failed mounts were having exceptions logged (triggering an unneccessary warning also) --- cloudinit/sources/DataSourceOVF.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py index 7728b36f..d3c42f3b 100644 --- a/cloudinit/sources/DataSourceOVF.py +++ b/cloudinit/sources/DataSourceOVF.py @@ -213,8 +213,7 @@ def transport_iso9660(require_iso=True): (fname, contents) = util.mount_cb(fullp, get_ovf_env, mtype="iso9660") except util.MountFailedError: - util.logexc(LOG, "Failed mounting %s", fullp) - continue + log.debug("%s not mountable as iso9660" % fullp) if contents is not False: return (contents, fullp, fname) -- cgit v1.2.3