]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/cephtool/test.sh: disable dup test for mds respawn cmd 9736/head
authorKefu Chai <kchai@redhat.com>
Fri, 17 Jun 2016 05:54:59 +0000 (13:54 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 17 Jun 2016 07:22:26 +0000 (15:22 +0800)
commitf3643efc80f177adab7527af2cdcc956c2a9be81
tree805c244f675b1d0230947216d34b44b3673fcd81
parent94fac96aa0712b44626e29d78b427f37fd756296
qa/workunits/cephtool/test.sh: disable dup test for mds respawn cmd

we set the CEPH_CLI_TEST_DUP_COMMAND enn var to verify the successful
commands are idempotent. but some of them are just not. among the other
things:
- ceph tell mds.a exit
- ceph tell mds.a respawn
the respawn command restart the mds daemon, its bind port changes and
all run-time status are reset. so strictly speaking, even the from the
point of view of client, this command is not idempotent. further more,
it fails the test, if the client sends the 2nd command too soon. because
the monitor might not able to update the re-spawned mds address before
the client asking for the new fsmap. so the cephfs client will just
use the old address of the specified mds, and hence will send the
request to port no one is listening anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh