IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
This fixes the test to check ctdb statistics output.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 98c633ab4824e0e4d28ab2eb2532e16eb859bd94)
Although not obvious, when asking each node for nodestatus, it will report
each node is the current node.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 261258c1a4268230b2559bc5d8664b1197b22450)
Allows running arbitrary command and comparing output against
expected.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit da2e9650a97f99e7d694659926d9958927edd8ad)
To accommodate 13.per_ip-routing in output.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 0142729c96b8bfecfabe35439071557bcc6ed4da)
Remove functions for marking nodes as down/up. This is now done via
ctdb disable/enable in the stub.
Also more consistent temporary directory use.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 1db9a533aacc6e02ddbadf76241429144a949e1c)
* Proper IP (re)allocation using ctdbd's IP allocation algorithm.
* Therefore, "ctdb ip" works sensibly.
* Add enable, disable, moveip.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 6d4b4b1293ba960d8fdf81958d6e8dd23c9d771a)
Make it easier to spot differences between desired output and actual
output.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit d132a8f4a8c0573ac447713a71911f02b6f0d73c)
It is very misleading in ctdb_persistent.c, since it is used for non-persistent
dbs...
(This used to be ctdb commit a956fa3a27106d0154a3fb46987d61c0a6b7c768)
"ctdb listnodes" changed so that it never tries to contact the daemon
but reads the local nodes file instead. This fails if the nodes file
is in a non-default place but $CTDB_NODES isn't set.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit a7ad2fb75f06791508dd928d2a0c305fc7f7b814)
Recent changes to nodestring parsing generalised the error message
logged when trying to talk to a disconnected node.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit db69a39ca010b2c8853b13466e30792dda350cdb)
If this tunable is set to 1 AND the persistent database contains a record "__db_sequence_number__" then we will recover the whole database as-is instead of doing the record by record recovery
(This used to be ctdb commit 3e5d2b61fcb4d0062d2573d99724f630a4fc4622)
A recent change in the deamon's (i.e. real) IP allocation algorithm
uses qsort(3). This makes it very difficult to get the same results
in Python, since qsort's behaviour on identical keys is undefined.
Add a -e option to run "../bin/ctdb_takeover_tests ctdb_takeover_run_core"
instead of the internal Python algorithm. We pass the current cluster
state and read it back from the output of the test program.
This is currently a rough hack. Perhaps it'll be improved later...
:-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit eed3f4988290bbe317a7aaa6f61826676dd8365a)
The default in this script is still deterministic IPs. The LCP2
option should really turn off deterministic IPs.
Also fix a typo...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit c378a059b35fcc9955215a0095826c919d42153c)
1341329f6125d491b82c873f793af819e677f714 either contains typos or
attempts to influence the test depending on the host system. Whatever
the cause, a test system (e.g. my laptop) might not have
/etc/sysconfig/nfs, so that can't be used to cause the stub
etc/sysconfig/nfs to be loaded.
We make the tests work by default again, leaving in some flexibility
over configuration file location.
If the goal is to force a Debian-style test mode then:
* The tests are currently probably quite RHEL-centric anyway, so more
work is probably needed.
* Use an environment variable to indicate the distro test mode and
make functions like setup_nfs() remove all of the various
configuration files and create one in the distro-specific location.
I won't do this now... ENOTIME...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 4aa4a5790ea9ad20e4d25404760c449b358b5260)
e646142f4d28b5401235cd5edee325f7a29f8193 changes the output on the
init event. This accommodates that change.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 48cb55aae47d11487bdf004a79df56779d1825a0)
Need to filter dates before comparing...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 6127515ea62173ff1574d1217129ec05a8fbeb3f)
We'll need stubs somewhere else...
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 6f29c39d666485fddef60e9d87bf94082d179ebb)