From 12e08378a066b3260d9c9334b5cc7926fd786bb8 Mon Sep 17 00:00:00 2001 From: wanghao Date: Mon, 27 Jul 2015 12:20:21 +0800 Subject: [PATCH] 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 --- cinder/volume/flows/manager/manage_existing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.45.2