← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1439820] [NEW] EC2 API fails to create a snapshot of a volume backed instance

 

Public bug reported:

EC2 API fails to create a snapshot of a volume backed instance

It's reproduced with current (~Kilo-3) devstack.

Steps to reproduce:

$ nova boot inst --block-device id=<cirros>,source=image,dest=volume,bootindex=0,size=1--flavor m1.nano
$ euca-create-image <ec2-instance-id> -n volback-ec2

Returns:
euca-create-image: error (AttributeError): Unknown error occurred.

n-api logs:
Unexpected AttributeError raised: 'NoneType' object has no attribute 'split'
EC2 error response: AttributeError: Unknown error occurred. ec2_error_response /opt/stack/nova/nova/api/ec2/faults.py:29
0.748414s 169.254.5.50 POST / CloudController:CreateImage 500 [euca2ools/3.0.1 (CPython 2.7.6; Linux 3.13.0-48-generic; x86_64) requestbuilder/0.1.0-beta1 requests/2.2.1] application/x-www-form-urlencoded text/xml

EC2 API layer tries to construct metadata for a snapshot from an
instance image, but it is None. EC2 API doesn't expect this.

** 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/1439820

Title:
  EC2 API fails to create a snapshot of a volume backed instance

Status in OpenStack Compute (Nova):
  New

Bug description:
  EC2 API fails to create a snapshot of a volume backed instance

  It's reproduced with current (~Kilo-3) devstack.

  Steps to reproduce:

  $ nova boot inst --block-device id=<cirros>,source=image,dest=volume,bootindex=0,size=1--flavor m1.nano
  $ euca-create-image <ec2-instance-id> -n volback-ec2

  Returns:
  euca-create-image: error (AttributeError): Unknown error occurred.

  n-api logs:
  Unexpected AttributeError raised: 'NoneType' object has no attribute 'split'
  EC2 error response: AttributeError: Unknown error occurred. ec2_error_response /opt/stack/nova/nova/api/ec2/faults.py:29
  0.748414s 169.254.5.50 POST / CloudController:CreateImage 500 [euca2ools/3.0.1 (CPython 2.7.6; Linux 3.13.0-48-generic; x86_64) requestbuilder/0.1.0-beta1 requests/2.2.1] application/x-www-form-urlencoded text/xml

  EC2 API layer tries to construct metadata for a snapshot from an
  instance image, but it is None. EC2 API doesn't expect this.

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


Follow ups

References