diff options
author | Martin Schwenke <martin@meltin.net> | 2010-08-01 11:41:52 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2010-08-01 11:41:52 +1000 |
commit | 2e570851d590dd57cf97bb8517de99318dcc0fcb (patch) | |
tree | d02870f4d8cd78f51eaa12226635e06af7a9c552 /ctdb/tests | |
parent | d7d2c64834eab5ff7d02447c95c250155c9e786c (diff) | |
download | samba-2e570851d590dd57cf97bb8517de99318dcc0fcb.tar.gz samba-2e570851d590dd57cf97bb8517de99318dcc0fcb.tar.xz samba-2e570851d590dd57cf97bb8517de99318dcc0fcb.zip |
Testing: IP allocation simulation - save some warnings for verbose mode.
We don't need to see warnings about unallocatable IPs unless we're in
verbose mode. Can node be run with -n (and without -v or -d) to see
just the statistics.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 55370936ac5def5ebf138910388a2ddc2df9c20f)
Diffstat (limited to 'ctdb/tests')
-rwxr-xr-x | ctdb/tests/takeover/ctdb_takeover.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/tests/takeover/ctdb_takeover.py b/ctdb/tests/takeover/ctdb_takeover.py index f24940ce70..ce9cc115e6 100755 --- a/ctdb/tests/takeover/ctdb_takeover.py +++ b/ctdb/tests/takeover/ctdb_takeover.py @@ -301,7 +301,7 @@ class Cluster(object): min = num if pnn == -1: - print "Could not find node to take over public address", ip + verbose_print("Could not find node to take over public address %s" % ip) return False self.nodes[pnn].current_addresses.add(ip) @@ -331,7 +331,7 @@ class Cluster(object): min = num if pnn == -1: - print "Could not find node to take over public address", ip + verbose_print("Could not find node to take over public address %s" % ip) return False self.nodes[pnn].current_addresses.add(ip) |