ceph/qa/workunits
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
..
caps doc: more c* -> ceph-* renames 2011-09-22 16:18:37 -07:00
cephtool qa/workunits: cephtool: don't remove self's key on auth tests 2014-10-20 18:00:15 +01:00
cls cls/hello: hello, world rados class 2013-08-15 17:21:29 -07:00
direct_io qa/workunits/direct_io/test_sync_io.c: add proper error handling 2013-03-20 16:56:03 +01:00
erasure-code erasure-code: HTML display of benchmark results 2014-08-04 11:42:05 +02:00
filestore Rename test/filestore to test/objectstore 2014-02-08 15:41:52 +08:00
fs qa: Update data pool ID for vxattrs test 2014-07-01 18:40:02 +01:00
hadoop qa: fix+cleanup hadoop wordcount test 2014-08-29 13:29:22 +01:00
libcephfs ceph-test: give binaries from ceph-test package useful names 2013-02-10 18:33:56 +01:00
libcephfs-java test: updating libcephfs-java tests 2013-02-26 10:46:47 -08:00
mon qa/workunits: mon: auth_caps: account for mon blank caps 2014-10-03 16:24:20 +01:00
osdc ceph-test: give binaries from ceph-test package useful names 2013-02-10 18:33:56 +01:00
rados qa/workunits/rados/test_rados_tool: add a few xattr tests 2014-08-06 17:06:26 -07:00
rbd qa/workunits/rbd/import_export.sh: be case insensitive 2014-10-15 12:26:00 -07:00
rename
rest qa/workunits/rest/test.py: use rbd instead of data pool for size tests 2014-08-16 22:07:56 -07:00
restart qa/workunits/restart: Add test to check backtrace 2013-03-16 11:45:36 -05:00
rgw Fix s3 tests in the rgw workunit. 2014-04-28 13:56:29 -07:00
snaps qa/workunits/snaps: New allow_new_snaps syntax 2014-02-05 21:00:12 +00:00
suites tools: use cout instead of cerr in journal tool 2014-08-29 18:34:39 +01:00
false.sh
kernel_untar_build.sh ceph.newdream.net -> ceph.com 2012-06-16 14:50:29 -07:00
Makefile qa: move fs test binary into workunits dir so teuthology can build it 2013-07-05 11:16:08 -07:00
post-file.sh qa/workunits/post-file.sh 2014-07-11 15:33:35 -07:00
true.sh qa: scripts to help test ceph-qa-suite 2014-09-05 17:49:40 +02:00