ceph/qa
Joao Eduardo Luis ac3c1cb5d0 qa/workunits: cephtool: don't remove self's key on auth tests
Suites run with CEPH_TEST_CLI_DUP_COMMAND=1, which will send a duplicate
command for every command issued with the 'ceph' tool.  Behavior is to
get a reply from the command and then send a duplicate, looking for the
same outcome (guaranteeing idempotency of the operations).  However, it
so happens that if you remove the entity's own key from the keyring and
you happen to be unlucky enough so that the client's connection gets
failed (we also run tests with connection failure injections), the
'ceph' tool won't be able to reconnect to the cluster to send the
duplicate command (as it's entity no longer exists in the cluster's
keyring).

We rewrite the test instead of resorting to ugly hacks to work around
this behavior, simply having a new 'role-definer' added by the existing
'role-definer' (which we weren't testing anyway, so bonus points for
that) and then have one removing the other (to test the procedure) and
finally using 'client.admin' to remove the last 'role-definer'.

Fixes: #9820

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
2014-10-20 18:00:15 +01:00
..
btrfs
client
fs qa/fs/.gitignore 2013-07-26 21:06:14 -07:00
libceph
mds
mon/bootstrap
qa_scripts librbd: better error when unprotect fails on unprotected snap 2013-12-31 16:26:07 -08:00
rbd
rgw
workunits qa/workunits: cephtool: don't remove self's key on auth tests 2014-10-20 18:00:15 +01:00
loopall.sh
Makefile qa: move fs test binary into workunits dir so teuthology can build it 2013-07-05 11:16:08 -07:00
run_xfstests_krbd.sh qa: add run_xfstests_krbd.sh wrapper 2014-06-02 19:41:01 +04:00
run_xfstests_qemu.sh qa: cp run_xfstests.sh run_xfstests-obsolete.sh 2014-06-02 19:41:00 +04:00
run_xfstests-obsolete.sh qa: cp run_xfstests.sh run_xfstests-obsolete.sh 2014-06-02 19:41:00 +04:00
run_xfstests.sh qa: catch up with xfstests changes 2014-06-02 19:41:00 +04:00
runallonce.sh
runoncfuse.sh
runonkclient.sh
setup-chroot.sh