Can not set volume attributes at instance launch by EC2 API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Nikola Đipanov | ||
ec2-api |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
AWS allows to change block device attributes (such as volume size, delete on termination behavior, existence) at instance launch.
For example, image xxx has devices:
vda, size 10, delete on termination
vdb, size 100, delete on termination
vdc, size 100, delete on termination
We can run an instance by
euca-run-instances ... xxx -b /dev/vda=:20 -b /dev/vdb=::false -b /dev/vdc=none
to get the instance with devices:
vda, size 20, delete on termination
vdb, size 100, not delete on termination
For Nova we get now:
$ euca-run-instances --instance-type m1.nano -b /dev/vda=::true ami-0000000a
euca-run-instances: error (InvalidBDMFormat): Block Device Mapping is Invalid: Unrecognized legacy format.
tags: | added: ec2 |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in ec2-api: | |
status: | New → Confirmed |
Changed in nova: | |
status: | In Progress → Won't Fix |
Changed in ec2-api: | |
status: | Confirmed → Fix Committed |
Changed in nova: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-3 → 12.0.0 |
Changed in ec2-api: | |
status: | Fix Committed → Fix Released |
Related fix proposed to branch: master /review. openstack. org/190323
Review: https:/