From 86e0e3887f466195c073a210b67c2407597c6bec Mon Sep 17 00:00:00 2001 From: Clifford Emeka Date: Wed, 22 Mar 2023 12:18:37 +0100 Subject: [PATCH] adds share server uuid on migration cancel Closes-bug: #1989819 Change-Id: I6064d31d20eb10c5e0d42e9aff18d512c200e378 --- manila/share/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manila/share/api.py b/manila/share/api.py index 204d2d0d9e..76285026ca 100644 --- a/manila/share/api.py +++ b/manila/share/api.py @@ -2995,7 +2995,8 @@ class API(base.Base): """Attempts to cancel share server migration.""" if share_server['status'] != constants.STATUS_SERVER_MIGRATING: msg = _("Migration of share server %s cannot be cancelled because " - "the provided share server is not being migrated.") + "the provided share server is not being migrated." + % (share_server['id'])) LOG.error(msg) raise exception.InvalidShareServer(reason=msg)