]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test,qa/workunits: add tests for public_bind_addr
authorBassam Tabbara <bassam.tabbara@quantum.com>
Fri, 7 Jul 2017 08:13:35 +0000 (01:13 -0700)
committerBassam Tabbara <bassam.tabbara@quantum.com>
Fri, 14 Jul 2017 17:41:49 +0000 (10:41 -0700)
commita8da9fd0771c5b708b2863f7bb5f5646d3397e89
tree65d8dc12dc28141ac323479b722ca4640f3637ec
parentbf4938567943c80345966f9c5a3bdc75a913175b
test,qa/workunits: add tests for public_bind_addr

Add a set of new tests for the case when public_addr and public_bind_addr
are different for a mon. In order to test this properly I had to employ
port forwarding with socat. This helps simulate what would happen in a
environment like Kubernetes. socat is now a build dependency.

Also, moved jq_success to ceph-helpers.sh and refactored run_mon to enable
creating the mons without creating the rbd pool immediately.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
ceph.spec.in
debian/control
install-deps.sh
qa/workunits/ceph-helpers.sh
src/test/mon/CMakeLists.txt
src/test/mon/misc.sh
src/test/mon/mon-bind.sh [new file with mode: 0755]