]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Refactoring of manager's create_volume flow
authorMichal Dulko <michal.dulko@intel.com>
Tue, 21 Jul 2015 10:30:56 +0000 (12:30 +0200)
committerMichal Dulko <michal.dulko@intel.com>
Fri, 24 Jul 2015 09:19:09 +0000 (11:19 +0200)
commit83d5b25ed0951de2cb55bde759557c018ed4abb0
tree0ec645c1598680436a00b568c0a9d67ce21e84c7
parent8f18900d2e42c849d627fd393c8d602f8c76ea73
Refactoring of manager's create_volume flow

This commit resolves a TODO item (bulk metadata create), rephrases
some comments and makes use of new TaskFlow functionality to save
results of revert command to make decisions in c-vol manager instead
of doing an ugly workaround by injecting the information into exception
raised.

Partial-Implements: blueprint taskflow-refactoring
Depends-On: I82ebd0102aa5f50d98d9d6b48b13cd659d6dbcec
Change-Id: Ia4739c87ca83ae725e16256e3f2c596c5e6d935b
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/flow_utils.py
cinder/volume/flows/manager/create_volume.py
cinder/volume/manager.py