EC2 API fails to create a snapshot of a volume backed instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Feodor Tersin |
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>
$ 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/
0.748414s 169.254.5.50 POST / CloudController
EC2 API layer tries to construct metadata for a snapshot from an instance image, but it is None. EC2 API doesn't expect this.
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | Feodor Tersin (ftersin) → Michael Still (mikalstill) |
Changed in nova: | |
assignee: | Michael Still (mikalstill) → Feodor Tersin (ftersin) |
Changed in nova: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-3 → 12.0.0 |
Fix proposed to branch: master /review. openstack. org/170243
Review: https:/