[Pkg-ganeti-devel] [ganeti] 148/165: When hinting to do gnt-instance info, show the instance
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Tue Aug 11 13:53:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository ganeti.
commit 472d8b32db3b69b09e2e893c37f625e916869fd1
Author: Thomas Vander Stichele <thomasvs at google.com>
Date: Mon Jul 20 16:24:59 2015 -0400
When hinting to do gnt-instance info, show the instance
Signed-off-by: Thomas Vander Stichele <thomasvs at google.com>
Signed-off-by: Klaus Aehlig <aehlig at google.com>
Reviewed-by: Klaus Aehlig <aehlig at google.com>
---
lib/cmdlib/instance_storage.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/cmdlib/instance_storage.py b/lib/cmdlib/instance_storage.py
index 7292f7e..9d6bba9 100644
--- a/lib/cmdlib/instance_storage.py
+++ b/lib/cmdlib/instance_storage.py
@@ -2586,8 +2586,8 @@ class TLReplaceDisks(Tasklet):
if msg:
raise errors.OpExecError(
"Can't attach drbd disks on node %s: %s (please do a gnt-instance "
- "info to see the status of disks)" %
- (self.cfg.GetNodeName(to_node), msg))
+ "info %s to see the status of disks)" %
+ (self.cfg.GetNodeName(to_node), msg, self.instance.name))
cstep = itertools.count(5)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git
More information about the Pkg-ganeti-devel
mailing list