euca-bundle-image --block-device-mapping is broken

Bug #546548 reported by Scott Moser
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
euca2ools (Ubuntu)
Fix Released
Dustin Kirkland 

Bug Description

Binary package hint: euca2ools

$ ./uec-publish-image --type image --rename "foobar" --block-device-mapping=ephemeral0:sdc x86_64 /boot/config-2.6.32-17-generic bucket3
failed: euca-bundle-image --destination /tmp/uec-publish-image.icNUnM --arch x86_64 --image /tmp/uec-publish-image.icNUnM/.rename.CJP17k/foobar --block-device-mapping=ephemeral0:sdc
Checking image
Tarring image
Encrypting image
Splitting image...
Part: foobar.part.0
Traceback (most recent call last):
  File "/usr/bin/euca-bundle-image", line 237, in <module>
  File "/usr/bin/euca-bundle-image", line 219, in main
    mapping = get_block_devs(mapping)
  File "/usr/bin/euca-bundle-image", line 88, in get_block_devs
    mapping_pairs = mapping.split(',')
AttributeError: 'list' object has no attribute 'split'
failed to bundle image /boot/config-2.6.32-17-generic

ProblemType: Bug
Architecture: amd64
Date: Wed Mar 24 20:47:06 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
Package: euca2ools 1.2-0ubuntu6
PackageArchitecture: all
 PATH=(custom, user)
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: euca2ools
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Scott Moser (smoser) wrote :
Scott Moser (smoser)
Changed in euca2ools (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package euca2ools - 1.2-0ubuntu8

euca2ools (1.2-0ubuntu8) lucid; urgency=low

  [ Scott Moser ]
  * euca-run-instances:
    - --keypair => --key in usage and man page, LP: #530816
    - print error rather than trace on invalid instance-count, LP: #546420
    - euca-describe-instances: output "running", not "running ", LP: #531453
  * euca-revoke: only show usage once with --help
  * euca-download-bundle: fix usage, LP: #546567
  * euca-bundle-image:
    - fix failure on --block-device-mapping, LP: #546548
    - print usage on --help if userid has '-', LP: #546526
    - fix failure when image name string is in dest string, LP: #522060
  * euca-describe-image-attribute: fix --kernel or --ramdisk when
    image did not have emi or eri, LP: #546551

  [ Dustin Kirkland ]
  * Cherry-pick up to upstream r266, fixes:
    - LP: #536876 - document euca-describe-availability-zones verbose
    - LP: #526591 - enhance parsing of config file
    - LP: #531076 - fix euca-describe-images against specific image
 -- Dustin Kirkland <email address hidden> Thu, 25 Mar 2010 15:36:43 -0700

Changed in euca2ools (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

Verified that this particular fix is in 1.3.1.

Changed in euca2ools:
status: New → Fix Released
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.