[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a
Garrett Holmstrom
gholms at fedoraproject.org
Sun Jun 16 02:31:03 UTC 2013
The following commit has been merged in the master branch:
commit 01311b8f0f5c302a11b809e4cb83cd032349f64e
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Tue Apr 16 14:33:51 2013 -0700
Log walrus server error messages
diff --git a/euca2ools/commands/walrus/__init__.py b/euca2ools/commands/walrus/__init__.py
index 5246ca6..db6f039 100644
--- a/euca2ools/commands/walrus/__init__.py
+++ b/euca2ools/commands/walrus/__init__.py
@@ -84,12 +84,15 @@ class WalrusRequest(requestbuilder.request.BaseRequest):
new_url, self.redirects_left)
self.service.endpoint = new_url
if isinstance(self.body, file):
- self.log.info('re-seeking body to beginning of file')
+ self.log.debug('re-seeking body to beginning of file')
self.body.seek(0)
return self.send()
else:
self.log.warn('too many redirects; giving up')
- raise
+ raise
+ else:
+ return requestbuilder.request.BaseRequest.handle_server_error(
+ self, err)
def validate_generic_bucket_name(bucket):
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list