Using --block-device-mapping option breaks euca-bundle-image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools |
Fix Released
|
Undecided
|
Unassigned | ||
euca2ools (Fedora) |
Fix Released
|
Medium
|
Bug Description
euca-bundle-image prints a traceback when the "--block-
Following are details simply copypasted from Fedora's bug report.
euca-bundle-image -i $IMAGE --cert=$EC2CERT --privatekey=$EC2PK
--user=$EC2AWSUSER -r $BASEARCH --block-
ami=sda1,
$RAMDISK
--ec2cert=
Actual results:
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
mapping = get_block_
File "/usr/bin/
mapping_pairs = mapping.split(',')
AttributeError: 'list' object has no attribute 'split'
Specifying the block-device-
--block-
also fails
Changed in euca2ools: | |
status: | Fix Committed → Fix Released |
Changed in euca2ools (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Description of problem: device- mapping
euca-bundle-image does not successfully complete when using option --block-
Version-Release number of selected component (if applicable):
euca2ools.noarch 0:1.2-1.fc12
How reproducible:
Always
Steps to Reproduce: device- mapping ami=sda1, root=/dev/ sda1,ephemeral0 =sda2,swap= sda3 --kernel $KERNEL --ramdisk $RAMDISK --ec2cert= /root/EC2/ support/ ec2-ami- tools-1. 3-31780/ etc/ec2/ amitools/ cert-ec2. pem
1. euca-bundle-image -i $IMAGE --cert=$EC2CERT --privatekey=$EC2PK --user=$EC2AWSUSER -r $BASEARCH --block-
Actual results: euca-bundle- image", line 228, in <module> euca-bundle- image", line 210, in main devs(mapping) euca-bundle- image", line 89, in get_block_devs
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
mapping = get_block_
File "/usr/bin/
mapping_pairs = mapping.split(',')
AttributeError: 'list' object has no attribute 'split'
Expected results:
A bundle
Additional info:
euca-bundle-vol likely has the same problem