summaryrefslogtreecommitdiff
path: root/cloudinit/sources
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-07-12 14:26:29 -0400
committerScott Moser <smoser@ubuntu.com>2012-07-12 14:26:29 -0400
commitf12b49049e30c49f24797df3d0432e966dd6ea74 (patch)
treeb4fcb325851de74f3ed67c07028db6e2013228d0 /cloudinit/sources
parent29303d3bd372ab8cf711a59a580f3373c6f42254 (diff)
downloadvyos-cloud-init-f12b49049e30c49f24797df3d0432e966dd6ea74.tar.gz
vyos-cloud-init-f12b49049e30c49f24797df3d0432e966dd6ea74.zip
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)
Diffstat (limited to 'cloudinit/sources')
-rw-r--r--cloudinit/sources/DataSourceOVF.py3
1 files changed, 1 insertions, 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)