Commit f0f8d060 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Show old primary/secondary node on disk replacement

People unfamiliar with Ganeti's internals might be confused with the
different hostnames showing up later in the process.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarBernardo Dal Seno <>
parent 64be07b1
......@@ -10780,11 +10780,15 @@ class TLReplaceDisks(Tasklet):
"Should not own any node group lock at this point"
if not self.disks:
feedback_fn("No disks need replacement")
feedback_fn("No disks need replacement for instance '%s'" %
feedback_fn("Replacing disk(s) %s for %s" %
feedback_fn("Replacing disk(s) %s for instance '%s'" %
feedback_fn("Current primary node: %s", self.instance.primary_node)
feedback_fn("Current seconary node: %s",
activate_disks = (self.instance.admin_state != constants.ADMINST_UP)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment