]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add entry create and cast tasks to manage workflow
authorAnton Arefiev <aarefiev@mirantis.com>
Mon, 9 Feb 2015 13:30:45 +0000 (15:30 +0200)
committerAnton Arefiev <aarefiev@mirantis.com>
Mon, 27 Jul 2015 16:20:22 +0000 (19:20 +0300)
commita1e4ad9ff2e9366a5f41b176b5a88d451079557c
treee37f980313e17ad0492e288e7ae1145d3fbb0da3
parentd84c501a60e44e9db78bf257cf449cf38f450a70
Add entry create and cast tasks to manage workflow

This change adds manage existing api task in flow. The task
is used in the volume api to provide full value task flow for
manage existing process. All errors occurred during manage
flow set volume to 'error' state.

Entry creating moved from volume api to EntryCreateTask. Also
added ManageCastTask to provide manage process to scheduler.

Related-Bug: #1364550
Change-Id: I12a4311953c1c86d584b5bf2fe2888e5b5127d43
cinder/exception.py
cinder/tests/unit/volume/flows/__init__.py [new file with mode: 0644]
cinder/tests/unit/volume/flows/fake_volume_api.py [new file with mode: 0644]
cinder/tests/unit/volume/flows/test_create_volume_flow.py [moved from cinder/tests/unit/test_create_volume_flow.py with 69% similarity]
cinder/tests/unit/volume/flows/test_manage_volume_flow.py [new file with mode: 0644]
cinder/volume/api.py
cinder/volume/flows/api/manage_existing.py [new file with mode: 0644]
tox.ini