[SCM] CTDB repository - branch martins-test created -
ctdb-1.0.65-51-gec354d6
Ronnie Sahlberg
sahlberg at samba.org
Thu Dec 11 22:47:02 GMT 2008
The branch, martins-test has been created
at ec354d602d20700e6769deb798436d08256a49d5 (commit)
- Log -----------------------------------------------------------------
commit ec354d602d20700e6769deb798436d08256a49d5
Merge: 3d59783c0e9478f4766c380945d6200fc654f5d9 32d460b8469eb53145f04161a5d01166f9b5f09e
Author: Martin Schwenke <martin at meltin.net>
Date: Mon Dec 8 08:57:46 2008 +1100
Merge commit 'origin/master' into martins
commit 3d59783c0e9478f4766c380945d6200fc654f5d9
Author: Martin Schwenke <martin at meltin.net>
Date: Mon Dec 8 08:15:18 2008 +1100
When running with local daemons, provided there is more than 2 of
them, randomly pick a single node that will not have any public IPs
assigned. This will make life a bit more interesting and will
simulate what happens on real clusters with a management node. Some
tests were disabling a node to implicitly trigger a ctdb restart - now
use an explicit restart of ctdb when it is required.
17_ctdb_config_delete_ip.sh now randomly chooses a public IP on any
node to disable - this works around a problem where the hardcoded node
might not have any public addresses.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 4e1c079deb0aafb99d4114bb6504ff5ba1cbdeb4
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Dec 4 17:19:51 2008 +1100
New test for getmonmode. Overload node_has_status some more to
support checking the monitoring mode.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 4ff5875c965f21ab76a5924efd92f1832aeb36d4
Merge: 805a426aaee5ecfc5bd1c097069fe58f8241dfe2 979e78cfd96d74686af6f55f726c395a75275803
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Dec 4 14:42:04 2008 +1100
Merge commit 'origin/master' into martins
commit 805a426aaee5ecfc5bd1c097069fe58f8241dfe2
Author: Martin Schwenke <martin at meltin.net>
Date: Wed Dec 3 18:08:21 2008 +1100
ctdb_test_init now contains a trap to force ctdb_test_exit to be run
if the shell exits and ctdb_test_exit cancels this trap. This means
that a testcase executing under set -e will call ctdb_test_exit on
failure, allowing the cluster to be restarted if necessary so that
following tests can complete successfully. ctdb_test_exit now
respects $?, so a test will fail if the last thing executed before
ctdb_test_exit failed - this probably means the above trap was
triggered.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit a69545d7dec78eefb85a1598e5db4667cc210bf9
Author: Martin Schwenke <martin at meltin.net>
Date: Wed Dec 3 15:48:24 2008 +1100
$PATH only inludes $CTDB_DIR/bin if we're using local sockets. Rename
$TEST_WRAP to $CTDB_TEST_WRAPPER - value now set using
$CTDB_TEST_REMOTE_SCRIPTS_DIR if that is set.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit e040a989096cf7d5c0cdece1713ff903cb7568f8
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Nov 27 18:11:22 2008 +1100
4 new tests. Hacked function node_has_status to support
frozen/unfrozen via ctdb statistics command.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit c6fc68db9061547e73ec2b811e260bd7da7f58fa
Author: Martin Schwenke <martin at meltin.net>
Date: Tue Nov 25 17:53:28 2008 +1100
4 new tests. Marked more ctdbd.sh tests as done - will remove this
file soon. Simplify 06_ctdb_getpid.sh by using -v option to
try_command_on_node.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 826e85fe5291067b8d0b9c22918d63024aa6141c
Author: Martin Schwenke <martin at meltin.net>
Date: Mon Nov 24 17:47:09 2008 +1100
New test 09_ctdb_ping.sh. Add documentation and command-line
processing to all tests. New script ctdb_test_env sets up environment
for tests, is now sourced by run_tests, and can also take a test on
the command-line, complete with options. Various cleanups and
improvements. Document tests that have been properly implemented in
ctdbd.sh.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit e5af1e4d945c25cd20d6fb5ef042e6de1aeda4a9
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Nov 21 19:12:22 2008 +1100
Incorporate temporary patch from Ronnie that adds --nopublicipcheck
option to ctdbd. Commit here because it seems to work.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 4c54772c5c2fa7d2a25963379b5b96caf0c2521c
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Nov 21 19:01:48 2008 +1100
Move tests/*.c to tests/src/*.c and adjust Makefile.in accordingly.
Move setting of $CTDB_NODES_SOCKETS to tests/scripts/run_tests and
make it only happen if $CTDB_TEST_REAL_CLUSTER is not set. Bugfix in
function ips_are_on_nodeglob. New/proper implementations of functions
stop_daemons and start_daemons, now called by function restart_ctdb.
In start_daemons.sh, add public addresses file generation/usage, use
new option --nopublicipcheck to ctdbd to avoid crazy behaviour and
kill ctdbd more carefully to avoid killing real daemons on a real
cluster - this should be able to coexist on a node of a real cluster.
start_daemons.sh is temporarily incompatible with start_daemons
function, but expecting to replace that script with function calls
very soon anyway...
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit e088116238eb107e9831fccbfd66c1db3d837a3b
Merge: eacb2ef82ea4809d874158756db973dd1e3fc8fc 6579a6a2a7161214adedf0f67dce62f4a4ad1afe
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Nov 21 13:00:37 2008 +1100
Merge commit 'origin/master' into martins
commit eacb2ef82ea4809d874158756db973dd1e3fc8fc
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Nov 20 20:40:01 2008 +1100
Add some simple tests that can be run from within the tree.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit f77a91c0828a79f99d0c422f7e09b17c69174907
Merge: 9c392c9d18e2360360122b7356874fe5cc7cca64 1f25958dc739677a487fa496fbeffcda7a0f2204
Author: Martin Schwenke <martin at meltin.net>
Date: Wed Nov 19 13:21:07 2008 +1100
Merge branch 'master' into martins
commit 9c392c9d18e2360360122b7356874fe5cc7cca64
Merge: aea77353c5996510f09c72cddfb54894ad9048b0 0098efd4443038f2d902e3a7c3640e63f06be7d1
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Oct 16 14:15:15 2008 +1100
Merge commit 'origin/master' into martins
commit aea77353c5996510f09c72cddfb54894ad9048b0
Merge: b3c431abb79a6c18464129695e482ebc84f3964d a06abf6bff6c4d379453e5063d8de1a6542c982a
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Sep 18 06:33:48 2008 +1000
Merge commit 'origin/master' into martins
commit b3c431abb79a6c18464129695e482ebc84f3964d
Merge: 6a47302c43eaee93783d83fb976ffce8cdc78be2 3ff0711fd3b288c153218ad33e8462a94b8d3275
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Sep 12 18:21:38 2008 +1000
Merge commit 'origin/master' into martins
commit 6a47302c43eaee93783d83fb976ffce8cdc78be2
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Sep 12 18:20:52 2008 +1000
Document the new descriptive node specifications.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 05bdafed82106a0d8bfa53cd730eb3e1db68a51f
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Sep 12 16:55:18 2008 +1000
onnode changes. "ok" is an alias for "healthy", "con" is an alias for
"connected". Allow "rm" or "recmaster" to be a nodespec for the
recovery master. Better error handling for interaction with ctdb
client.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 16626eaf9c63adfe780e8f51f9cd97810647e731
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Sep 12 11:22:50 2008 +1000
Changes to onnode. Add "healthy" and "connected" as possible
nodespecs. Since we're now explicitly using bash, use local variables
when sensible.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 19ccbc8a8fbc81b107fdc80afc802a107fc9fb84
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Sep 12 10:36:15 2008 +1000
Minor documentation fixes.
Signed-off-by: Martin Schwenke <martin at meltin.net>
commit 79ad588d61a56a062c043eae6aba3370ec10ac61
Merge: 8314a647d4bc38d9210c32d645d581f210b05cdc a72f5b7d1560e427e18b1c55a2932a7fb037f4c7
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Sep 12 10:34:03 2008 +1000
Merge commit 'origin/master' into martins
commit 8314a647d4bc38d9210c32d645d581f210b05cdc
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Jul 11 15:05:41 2008 +1000
Signed-off-by: Martin Schwenke <martin at meltin.net>
Minor updates to doc/onnode.1.xml.
commit 81dd4155e92fc9d11ac788a97a5fd3c50488cc80
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Jul 11 14:57:24 2008 +1000
Signed-off-by: Martin Schwenke <martin at meltin.net>
Minor fix to tools/onnode usage message.
commit f2e6b7e9d130eba9132eddda1a5e244a542a23ed
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Jul 11 12:52:01 2008 +1000
Signed-off-by: Martin Schwenke <martin at meltin.net>
In tools/onnode, remove reference to -t option in usage message.
commit 241971bb95e42a19c8a6d8641eb92b3827b79226
Merge: 93214ddf89640d65710867fefb4fde094d4aa3a8 f4a6dd98c86f2028c00b62313a071a94cafc95f9
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Jul 11 09:47:11 2008 +1000
Merge commit 'origin/master' into martins
commit 93214ddf89640d65710867fefb4fde094d4aa3a8
Author: Martin Schwenke <martin at meltin.net>
Date: Fri Jul 11 09:24:21 2008 +1000
Signed-off-by: Martin Schwenke <martin at meltin.net>
Update packaging/RPM/ctdb.spec to reflect onnode changes.
commit 747650303b87e50ebc08ef7fa63011e4f19afc4f
Merge: 8119238d1fa672814a7591593b517c3c42859315 919af5aadb797cfdd10473b6a1269f4ae2a9dbda
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Jul 10 15:08:26 2008 +1000
Merge commit 'origin/master' into martins
commit 8119238d1fa672814a7591593b517c3c42859315
Author: Martin Schwenke <martin at meltin.net>
Date: Thu Jul 10 14:19:52 2008 +1000
When in verbose mode with -p, each line is prefixed with the node
address/name. To implement this stderr has redirected to stdout -
this doesn't need to be done but is the simplest implementation.
Remove -t option since it doesn't seem to accomplish much but causes
spurious messages to be displayed by ssh. Add explicit -h and --help
options. Make style of usage message consistent with documentation.
Document new features in doc/onnode.1.xml.
commit 98f27a323e234214a161b5766f9c567f47b9dbb7
Author: Martin Schwenke <martin at meltin.net>
Date: Wed Jul 9 14:23:02 2008 +1000
Update Makefile.in for new version of onnode.
commit 6b67f180668c7a05c941b4891bd2486601790165
Author: Martin Schwenke <martin at meltin.net>
Date: Wed Jul 9 14:18:15 2008 +1000
Complete rewrite of tools/onnode. Remove old tools/onnode.ssh,
tools/onnode.rsh.
-----------------------------------------------------------------------
--
CTDB repository
More information about the samba-cvs
mailing list