← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1370265] [NEW] Crash on describing EC2 volume backed image with multiple devices

 

Public bug reported:

EC2 describe images crashes on volume backed instance snapshot which has
several volumes:

$ euca-describe-images
euca-describe-images: error (KeyError): Unknown error occurred.

Steps to reproduce
1 Create bootable volume
$ cinder create --image <image-id> <size>

2 Boot instance from volume
$ nova boot --flavor m1.nano --block-device-mapping /dev/vda=<volume_id>:::1 inst

3 Create empty volume
$ cinder create 1

4 Attach the volume to the instance
$ nova volume-attach inst <empty-volume-id> /dev/vdd

5 Create volume backed snapshot
$ nova image-create inst sn-in

6 Describe EC2 images
$ euca-describe-images

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1370265

Title:
  Crash on describing EC2 volume backed image with multiple devices

Status in OpenStack Compute (Nova):
  New

Bug description:
  EC2 describe images crashes on volume backed instance snapshot which
  has several volumes:

  $ euca-describe-images
  euca-describe-images: error (KeyError): Unknown error occurred.

  Steps to reproduce
  1 Create bootable volume
  $ cinder create --image <image-id> <size>

  2 Boot instance from volume
  $ nova boot --flavor m1.nano --block-device-mapping /dev/vda=<volume_id>:::1 inst

  3 Create empty volume
  $ cinder create 1

  4 Attach the volume to the instance
  $ nova volume-attach inst <empty-volume-id> /dev/vdd

  5 Create volume backed snapshot
  $ nova image-create inst sn-in

  6 Describe EC2 images
  $ euca-describe-images

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1370265/+subscriptions


Follow ups

References