Created
March 8, 2011 08:40
-
-
Save goldmann/860040 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D, [2011-03-08T03:31:59.156541 #13112] DEBUG -- : Executing command: 'euca-upload-bundle -U http://s3.amazonaws.com -b stormgrind-test/jeos-gholms1/centos/5/1.0/i686 -m build/appliances/i686/centos/5/jeos-gholms1/s3-plugin/ami/jeos-gholms1.ec2.manifest.xml -a <REDACTED> -s <REDACTED>' | |
D, [2011-03-08T03:31:59.552167 #13112] DEBUG -- : Traceback (most recent call last): | |
D, [2011-03-08T03:31:59.552467 #13112] DEBUG -- : File "/usr/bin/euca-upload-bundle", line 261, in <module> | |
D, [2011-03-08T03:31:59.552759 #13112] DEBUG -- : main() | |
D, [2011-03-08T03:31:59.552942 #13112] DEBUG -- : File "/usr/bin/euca-upload-bundle", line 234, in main | |
D, [2011-03-08T03:31:59.553214 #13112] DEBUG -- : conn = euca.make_connection() | |
D, [2011-03-08T03:31:59.553391 #13112] DEBUG -- : File "/usr/lib/python2.6/site-packages/euca2ools/__init__.py", line 651, in make_connection | |
D, [2011-03-08T03:31:59.559649 #13112] DEBUG -- : return boto.s3.connection.S3Connection( | |
D, [2011-03-08T03:31:59.661395 #13112] DEBUG -- : AttributeError: 'module' object has no attribute 'connection' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ip-10-245-6-210 euca2ools]# diff -Naur __init__.py.orig __init__.py | |
--- __init__.py.orig 2011-03-08 03:38:03.000000000 -0500 | |
+++ __init__.py 2011-03-08 03:39:01.000000000 -0500 | |
@@ -49,6 +49,7 @@ | |
import urlparse | |
import re | |
import shutil | |
+from boto.s3.connection import S3Connection | |
from boto.ec2.regioninfo import RegionInfo | |
from boto.ec2.blockdevicemapping import BlockDeviceMapping | |
from boto.ec2.blockdevicemapping import EBSBlockDeviceType | |
@@ -648,7 +649,7 @@ | |
path=self.service_path, | |
) | |
else: | |
- return boto.s3.connection.S3Connection( | |
+ return S3Connection( | |
aws_access_key_id=self.ec2_user_access_key, | |
aws_secret_access_key=self.ec2_user_secret_key, | |
is_secure=self.is_secure, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm curious why it doesn't work when you directly use boto.s3.connection.S3Connection()??