As errors during an upgrade of Ganeti are harder to
understand, as two versions of Ganeti are involved,
provide more debug information for everything that happens
during that process. Note that upgrades are a rare event,
so we do not have to worry about the size of log files
too much.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 tools/post-upgrade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/post-upgrade b/tools/post-upgrade
index d625360..0804de6 100644
--- a/tools/post-upgrade
+++ b/tools/post-upgrade
@@ -55,7 +55,7 @@ def main():
 
   if utils.version.IsBefore(version, 2, 12, 5):
     result = utils.RunCmd(["gnt-cluster", "renew-crypto",
-                           "--new-node-certificates", "-f"])
+                           "--new-node-certificates", "-f", "-d"])
     if result.failed:
       cli.ToStderr("Failed to create node certificates: %s; Output %s" %
                    (result.fail_reason, result.output))
-- 
2.6.0.rc2.230.g3dd15c0

Reply via email to