Redact the DRBD secret in instance queries
authorHrvoje Ribicic <riba@google.com>
Fri, 27 Nov 2015 15:58:13 +0000 (15:58 +0000)
committerHrvoje Ribicic <riba@google.com>
Mon, 30 Nov 2015 14:26:39 +0000 (15:26 +0100)
commit6e94ad76446904961744f9b0826414a5e4120693
treec8b1f7d2555eeff083ee32ed6f628d946d1a5adb
parent09fb8fc73c5fe33756cc63036d121b3d6dfa3f64
Redact the DRBD secret in instance queries

As the DRBD secret should be used only by Ganeti internals, replacing
the actual secret with None does not hamper Ganeti's work, while
preventing the secret from being leaked.

Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/cmdlib/instance_query.py