swap and ephemeral devices defined in the flavor are not created as a block device mapping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Nikola Đipanov | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When booting an instance specifying the swap and/or ephemeral devices, those will be created as a block device mapping in the database together with the image and volumes if present.
If, instead, we rely on libvirt to define the swap and ephemeral devices later from the specified instance type, those devices won't be added to the block device mapping list.
To be consistent and to prevent any errors when trying to guess the device name from the existing block device mappings, we should create a mappings for those devices if present in the instance type. We should create them from the API layer, before validating the block device mappings and only if no swap or ephemeral device are defined by the user.
Changed in nova: | |
status: | New → Confirmed |
tags: | added: icehouse-rc-potential |
Changed in nova: | |
milestone: | icehouse-rc1 → none |
tags: |
added: icehouse-backport-potential removed: icehouse-rc-potential |
Changed in nova: | |
assignee: | nobody → Nikola Đipanov (ndipanov) |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-1 → 12.0.0 |
Fix proposed to branch: master /review. openstack. org/83516
Review: https:/