ec2-upload-bundle doesn't work with swift3

Bug #1786288 reported by tikitavi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Swift3
New
Undecided
Unassigned

Bug Description

While enabling swift3 in devstack, we've got problems with uploading the bundle to to Amazon S3.

+++ /opt/stack/ec2-api/devstack/create_config:source:232 : wget -t 2 -T 60 -q -P /tmp/bi-afba35ec http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.zip
+++ /opt/stack/ec2-api/devstack/create_config:source:233 : unzip -d /tmp/bi-afba35ec /tmp/bi-afba35ec/ec2-ami-tools.zip
+++ /opt/stack/ec2-api/devstack/create_config:source:253 : /tmp/bi-afba35ec/ec2-ami-tools-1.5.7/bin/ec2-bundle-image --cert /tmp/bi-afba35ec/cert.pem --privatekey /tmp/bi-afba35ec/private/pk.pem --ec2cert /opt/stack/data/ec2api/cacert.pem --image /tmp/cirros-0.3.4-x86_64-disk.img --prefix cirros-0.3.4-x86_64-disk.img --user 42424242424242 --destination /tmp/bi-afba35ec/images --arch x86_64
Bundling image file...
Splitting /tmp/bi-afba35ec/images/cirros-0.3.4-x86_64-disk.img.tar.gz.enc...
Created cirros-0.3.4-x86_64-disk.img.part.0
Created cirros-0.3.4-x86_64-disk.img.part.1
Generating digests for each part...
Digests generated.
Creating bundle manifest...
Bundle manifest is /tmp/bi-afba35ec/images/cirros-0.3.4-x86_64-disk.img.manifest.xml
ec2-bundle-image complete.
+++ /opt/stack/ec2-api/devstack/create_config:source:255 : /tmp/bi-afba35ec/ec2-ami-tools-1.5.7/bin/ec2-upload-bundle --url http://34.240.42.60:8080 --access-key 0b1093e216724d8b8780f4a642945033 --secret-key a141cd92cc204b98a551f47787f41388 --bucket tmp-bundle.afba35ec --manifest /tmp/bi-afba35ec/images/cirros-0.3.4-x86_64-disk.img.manifest.xml --acl public-read --sigv 2
Specifying url has been deprecated, please use only --region
Region determined to be us-east-1
Signature version 2 authentication failed, trying different signature version
Digest::Digest is deprecated; use Digest
Digest::Digest is deprecated; use Digest
Digest::Digest is deprecated; use Digest
Digest::Digest is deprecated; use Digest
Digest::Digest is deprecated; use Digest
Signature version 4 authentication failed, trying different signature version
ERROR: undefined method `body' for nil:NilClass

tikitavi (rtikitavi)
affects: pyjuju → swift3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.