Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1040992

Summary: [RFE][nova]: Clean up usage of legacy block device mapping
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: Nikola Dipanov <ndipanov>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: eglynn, markmc, ndipanov, ohochman, sgordon, slong, vpopovic, yeylon
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/clean-up-legacy-block-device-mapping
Whiteboard: upstream_milestone_icehouse-rc1 upstream_status_implemented upstream_definition_approved
Fixed In Version: openstack-nova-2014.1-3.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:26:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2013-12-12 13:21:59 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/clean-up-legacy-block-device-mapping.

Description:

As part of the havana blueprint improve-block-device-handling we introduced the new block device data format, but in order to keep the work managable, we introduced the ability to transform block devices to the old (legacy) format so that we can still have code that is unaware of the new format.

Some code paths that use it:
* Delete
* Rebuild
* Snapshot
* Rescue
* Shelve
* Volume_snapshot{_create,_delete}

We should make the code use the new data format. This will likely not involve any new functionality - the functionality has been added to boot in the parent blueprint. The only place where we should be using legacy format is in the v2 API if the request format has been used to launch an instance.

Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-03 21:33:04 UTC
Assigning to Nikola as he appears to own it upstream, regression testing particularly important once implemented.

Comment 11 errata-xmlrpc 2014-07-08 15:26:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0853.html