Bug 1129945 - [RFE][cinder]: Retype can return a model_update
Summary: [RFE][cinder]: Retype can return a model_update
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/cind...
Whiteboard: upstream_milestone_none upstream_defi...
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-14 04:05 UTC by RHOS Integration
Modified: 2015-03-19 17:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2015-03-19 17:21:41 UTC

Attachments (Terms of Use)

Description RHOS Integration 2014-08-14 04:05:21 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/retype-model-update.


Make retype API allow a return of (boolean, model_update) and make it backwards compatible (just boolean still works).

boolean is the current True|False which indicates whether a retype happened.

model_update is a dict containing keys to update for the volume if the retype happened.  This implementation will be just like other existing APIs (e.g., migrate_volume) and should be a familiar concept.  The only difference here is that we should still support old implementations that return just a boolean so that we won't break them.

This fix will be needed once the pool implementation adds pool as a host suffix.  Retype can use an alternative pool, so it would like to update the model.

Specification URL (additional information):


Note You need to log in before you can comment on or make changes to this bug.