summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-07-09 16:52:44 -0400
committerScott Moser <smoser@ubuntu.com>2012-07-09 16:52:44 -0400
commit114b86923a4b5272e15e083704eada79a751c7e4 (patch)
tree59386dafe206d6e5b3be9f86c4dad900d8b4ae0f /cloudinit
parent1febd1adc21da15b192f2bfec17b202c01554aa8 (diff)
downloadvyos-cloud-init-114b86923a4b5272e15e083704eada79a751c7e4.tar.gz
vyos-cloud-init-114b86923a4b5272e15e083704eada79a751c7e4.zip
url_helper.py, cc_rightscale_userdata.py: reduce WARN to DEBUG
cc_rightscale_userdata.py is likely to not be found, so its WARN was annoying in that it got to console output. The same is true of url_helper. Not all uses of readurl were fatal or justified to warn if the content was not there.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/cc_rightscale_userdata.py2
-rw-r--r--cloudinit/url_helper.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_rightscale_userdata.py b/cloudinit/config/cc_rightscale_userdata.py
index 7a134569..45d41b3f 100644
--- a/cloudinit/config/cc_rightscale_userdata.py
+++ b/cloudinit/config/cc_rightscale_userdata.py
@@ -53,7 +53,7 @@ def handle(name, _cfg, cloud, log, _args):
try:
ud = cloud.get_userdata_raw()
except:
- log.warn("Failed to get raw userdata in module %s", name)
+ log.debug("Failed to get raw userdata in module %s", name)
return
try:
diff --git a/cloudinit/url_helper.py b/cloudinit/url_helper.py
index dbf72392..732d6aec 100644
--- a/cloudinit/url_helper.py
+++ b/cloudinit/url_helper.py
@@ -127,7 +127,7 @@ def readurl(url, data=None, timeout=None,
time.sleep(sec_between)
# Didn't work out
- LOG.warn("Failed reading from %s after %s attempts", url, attempts)
+ LOG.debug("Failed reading from %s after %s attempts", url, attempts)
# It must of errored at least once for code
# to get here so re-raise the last error