Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qa/suites/rbd: thrash rbd-mirror daemon during tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
- Loading branch information
Jason Dillaman
committed
Apr 23, 2018
1 parent
b28b2ee
commit e32baa2
Showing
28 changed files
with
401 additions
and
233 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
qa/suites/rbd/mirror-ha/workloads/rbd-mirror-ha-workunit.yaml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
meta: | ||
- desc: 2 ceph clusters with 1 mon and 3 osds each | ||
roles: | ||
- - cluster1.mon.a | ||
- cluster1.mgr.x | ||
- cluster2.mgr.x | ||
- cluster1.osd.0 | ||
- cluster1.osd.1 | ||
- cluster1.osd.2 | ||
- cluster1.client.0 | ||
- cluster2.client.0 | ||
- - cluster2.mon.a | ||
- cluster2.osd.0 | ||
- cluster2.osd.1 | ||
- cluster2.osd.2 | ||
- cluster1.client.mirror | ||
- cluster1.client.mirror.0 | ||
- cluster1.client.mirror.1 | ||
- cluster1.client.mirror.2 | ||
- cluster1.client.mirror.3 | ||
- cluster2.client.mirror | ||
- cluster2.client.mirror.0 | ||
- cluster2.client.mirror.1 | ||
- cluster2.client.mirror.2 | ||
- cluster2.client.mirror.3 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../basic/msgr-failures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../objectstore |
23 changes: 23 additions & 0 deletions
23
qa/suites/rbd/mirror-thrash/rbd-mirror/four-per-cluster.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
meta: | ||
- desc: run four rbd-mirror daemons per cluster | ||
tasks: | ||
- rbd-mirror: | ||
client: cluster1.client.mirror.0 | ||
- rbd-mirror: | ||
client: cluster1.client.mirror.1 | ||
- rbd-mirror: | ||
client: cluster1.client.mirror.2 | ||
- rbd-mirror: | ||
client: cluster1.client.mirror.3 | ||
- rbd-mirror: | ||
client: cluster2.client.mirror.0 | ||
- rbd-mirror: | ||
client: cluster2.client.mirror.1 | ||
- rbd-mirror: | ||
client: cluster2.client.mirror.2 | ||
- rbd-mirror: | ||
client: cluster2.client.mirror.3 | ||
- rbd-mirror-thrash: | ||
cluster: cluster1 | ||
- rbd-mirror-thrash: | ||
cluster: cluster2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
meta: | ||
- desc: configure the permissions for client.mirror | ||
overrides: | ||
ceph: | ||
conf: | ||
# override to make these names predictable | ||
client.mirror.0: | ||
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok | ||
pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid | ||
client.mirror.1: | ||
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok | ||
pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid | ||
client.mirror.2: | ||
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok | ||
pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid | ||
client.mirror.3: | ||
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok | ||
pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
qa/suites/rbd/mirror-thrash/workloads/rbd-mirror-workunit.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
meta: | ||
- desc: run the rbd_mirror.sh workunit to test the rbd-mirror daemon | ||
tasks: | ||
- workunit: | ||
clients: | ||
cluster1.client.mirror: [rbd/rbd_mirror.sh] | ||
env: | ||
# override workunit setting of CEPH_ARGS='--cluster' | ||
CEPH_ARGS: '' | ||
RBD_MIRROR_INSTANCES: '4' | ||
RBD_MIRROR_USE_EXISTING_CLUSTER: '1' | ||
RBD_MIRROR_USE_RBD_MIRROR: '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mirror-thrash/base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../basic/msgr-failures | ||
../mirror-thrash/msgr-failures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../../objectstore | ||
../mirror-thrash/objectstore |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mirror-thrash/users |
24 changes: 24 additions & 0 deletions
24
qa/suites/rbd/mirror/workloads/rbd-mirror-ha-workunit.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
meta: | ||
- desc: run the rbd_mirror_ha.sh workunit to test the rbd-mirror daemon | ||
overrides: | ||
ceph: | ||
conf: | ||
# override to make these names predictable | ||
client.mirror.4: | ||
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok | ||
pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid | ||
client.mirror.5: | ||
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok | ||
pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid | ||
client.mirror.6: | ||
admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok | ||
pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid | ||
tasks: | ||
- workunit: | ||
clients: | ||
cluster1.client.mirror: [rbd/rbd_mirror_ha.sh] | ||
env: | ||
# override workunit setting of CEPH_ARGS='--cluster' | ||
CEPH_ARGS: '' | ||
RBD_MIRROR_USE_EXISTING_CLUSTER: '1' | ||
timeout: 6h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.