euca-bundle-vol error diagnostics are unhelpful with invalid --block-device-mapping (2.0.0)

Bug #993122 reported by Antti Haapala
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
euca2ools
New
Undecided
Unassigned

Bug Description

Without --debug and provided with --block-device-mapping /dev/sda1=ami,/dev/sda2=ephemeral0,/dev/sda3=swap I get after 25 minutes the very unhelpful List index out of range error without any clue as to what its context would be. With --debug I get almost equally unhelpful traceback, with the actual exception type completely suppressed (see below):

Manifest: /mnt/image-1.8.manifest.xml
Generating manifest /mnt/image-1.8.manifest.xml
  File "/usr/bin/euca-bundle-vol", line 41, in <module>
    cmd.main_cli()
  File "/usr/lib/python2.7/dist-packages/euca2ools/commands/euca/bundlevol.py", line 312, in main_cli
    self.main()
  File "/usr/lib/python2.7/dist-packages/euca2ools/commands/euca/bundlevol.py", line 308, in main
    self.product_codes, ancestor_ami_ids)
  File "/usr/lib/python2.7/dist-packages/euca2ools/bundler.py", line 437, in generate_manifest
    dname = device_names[vname_index]
None

Revision history for this message
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at http://eucalyptus.atlassian.net/browse/TOOLS-104

Please watch that issue for further updates.

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.