From: wanghao Date: Mon, 27 Jul 2015 04:20:21 +0000 (+0800) Subject: Fixing notify message of manage_existing flow X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=12e08378a066b3260d9c9334b5cc7926fd786bb8;p=openstack-build%2Fcinder-build.git Fixing notify message of manage_existing flow Use manage_existing.end instead of create.end to send notify when process of managing existing is finished. Change-Id: If3a56eb0ddba045851f6790230a8d35fb1a0b11a Closes-Bug: #1478758 --- diff --git a/cinder/volume/flows/manager/manage_existing.py b/cinder/volume/flows/manager/manage_existing.py index 12f70e59f..dcbd8ae37 100644 --- a/cinder/volume/flows/manager/manage_existing.py +++ b/cinder/volume/flows/manager/manage_existing.py @@ -114,7 +114,8 @@ def get_flow(context, db, driver, host, volume_id, ref): create_api.QuotaReserveTask(), ManageExistingTask(db, driver), create_api.QuotaCommitTask(), - create_mgr.CreateVolumeOnFinishTask(db, "create.end")) + create_mgr.CreateVolumeOnFinishTask(db, + "manage_existing.end")) # Now load (but do not run) the flow using the provided initial data. return taskflow.engines.load(volume_flow, store=create_what)