Comment #3 on issue 1137 by [email protected]: Log upgrade-specific
information to a separate log file
https://code.google.com/p/ganeti/issues/detail?id=1137
commit eef3bf44c05b091a3b1f97ef3c951b8836d296fc
Author: Klaus Aehlig <[email protected]>
Date: Tue Jan 12 11:37:13 2016 +0100
Also log the high-level upgrade steps
The upgrade of a Ganeti cluster is done in several
high-level steps ("Draining queue", "Pausing the watcher",
"Stopping daemons", ...). Log those headings as well in
order to simplify reading the log file; with these headings,
it is more easy to understand which goal is aimed for with
all the micro-step RunCmd log entries.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 249abd06183c24b969946132995e86068458edaa
Author: Klaus Aehlig <[email protected]>
Date: Tue Jan 12 15:54:33 2016 +0100
Add function to provide logged user feedback
Add a utility function that provides feedback to the
user on stdout that is additionally logged (at INFO level)
in the log file.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 9d998361b3845b677731408714c890c20639217d
Author: Klaus Aehlig <[email protected]>
Date: Mon Jan 11 18:11:43 2016 +0100
Run renew-crypto in upgrades in debug mode
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]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 6ee796416dfeedbf69fb6aae58fbc348037eebfa
Author: Klaus Aehlig <[email protected]>
Date: Tue Jan 12 10:38:50 2016 +0100
Unconditionally log upgrades at debug level
Cluster upgrades to a new minor version of Ganeti are a rare
operation (in fact, new minor versions are released only every
3 months). Therefore, we do not have to worry about increased
size of log files. However, upgrades of Ganeti are complicated
in the sense that, should something break during the upgrade, it
is not immediately obvious, in which Ganeti state is left in. Therefore,
always provide full log information on upgrades. Fixes issue 1137.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings