Fail to create a snapshot of an instance booted from a volume backed snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Feodor Tersin |
Bug Description
Fail to create a snapshot of an instance booted from a volume backed snapshot.
It's reproduced with current (~Kilo-3) devstack.
Steps to reproduce:
$ nova boot inst --block-device id=<cirros>
$ nova image-create inst volback
$ nova boot inst-2 --image volback --flavor m1.nano
$ nova image-create inst-2 volback-2
Response:
ERROR (BadRequest): <html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
Invalid disk format 'None' for image.<br /><br />
</body>
</html> (HTTP 400) (HTTP 400)
The reason is that container_format and disk_format properties, which are passed to glance to create 'volback-2' image, are derived from 'volback' image, but they should be absent to create a new snapshot.
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | Feodor Tersin (ftersin) → Michael Still (mikalstill) |
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:/