forked from ceph/teuthology
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: JiangYu <[email protected]>
- Loading branch information
Showing
4 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
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,33 @@ | ||
check-locks: false | ||
use_existing_cluster: true | ||
|
||
roles: | ||
- [mon.a, osd.0, client.0] | ||
|
||
tasks: | ||
- install: | ||
|
||
tasks: | ||
- exec: | ||
client.0: | ||
- sudo python /root/clear_pools.py | ||
- sudo sleep 15 | ||
- sudo ceph_omapbench | ||
|
||
overrides: | ||
selinux: | ||
whitelist: | ||
- 'name="cephtest"' | ||
- 'dmidecode' | ||
- 'comm="logrotate"' | ||
- 'comm="idontcare"' | ||
- 'comm="sshd"' | ||
- 'comm="load_policy"' | ||
- 'comm="unix_chkpwd"' | ||
- 'comm="systemd-logind"' | ||
- 'comm="groupadd"' | ||
- 'comm="unix_chkpwd"' | ||
- 'comm="tp_fstore_op"' | ||
|
||
targets: | ||
[email protected]: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqlVCQnkp3m8FEI52W62ZUY/FokA443m4PCPqYbxR7ejA2IcVCpnHb50X3VMuOqz/o4KDPxahL7u1OP98ziZ+3F1ciK/21xEOKen6RL2WAqg3CT2FWvdhupPwZsW5Cn655Y8J7mjPzoZE7GDi0j/O1hhTw5qiGOrLoKOWAKOcIduITTYcH4XFHxrxjb2WzV+x6OIs5OTs53wuvJyNsoBJelv9vk/EAkjWVG1Ytf9qEP3UMqTZTfnfJrDHWdWB871PTsFlR7P2x7Ca68FpXAU+Mgk4GvBkF2QdL/8cQC4BgFXcjXOTOqO+4+n2VeKLIid5ywI4LsrI2QLAhDGtZ2JF1 |
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,33 @@ | ||
check-locks: false | ||
use_existing_cluster: true | ||
|
||
roles: | ||
- [mon.a, osd.0, client.0] | ||
|
||
tasks: | ||
- install: | ||
|
||
tasks: | ||
- exec: | ||
client.0: | ||
- sudo python /root/clear_pools.py | ||
- sudo sleep 15 | ||
- sudo ceph_perf_local | ||
|
||
overrides: | ||
selinux: | ||
whitelist: | ||
- 'name="cephtest"' | ||
- 'dmidecode' | ||
- 'comm="logrotate"' | ||
- 'comm="idontcare"' | ||
- 'comm="sshd"' | ||
- 'comm="load_policy"' | ||
- 'comm="unix_chkpwd"' | ||
- 'comm="systemd-logind"' | ||
- 'comm="groupadd"' | ||
- 'comm="unix_chkpwd"' | ||
- 'comm="tp_fstore_op"' | ||
|
||
targets: | ||
[email protected]: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqlVCQnkp3m8FEI52W62ZUY/FokA443m4PCPqYbxR7ejA2IcVCpnHb50X3VMuOqz/o4KDPxahL7u1OP98ziZ+3F1ciK/21xEOKen6RL2WAqg3CT2FWvdhupPwZsW5Cn655Y8J7mjPzoZE7GDi0j/O1hhTw5qiGOrLoKOWAKOcIduITTYcH4XFHxrxjb2WzV+x6OIs5OTs53wuvJyNsoBJelv9vk/EAkjWVG1Ytf9qEP3UMqTZTfnfJrDHWdWB871PTsFlR7P2x7Ca68FpXAU+Mgk4GvBkF2QdL/8cQC4BgFXcjXOTOqO+4+n2VeKLIid5ywI4LsrI2QLAhDGtZ2JF1 |
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,14 @@ | ||
#!/bin/bash | ||
|
||
#FILE_LIST=(cli_generic.sh concurrent.sh diff_continuous.sh diff.sh huge-tickets.sh image_read.sh import_export.sh issue-20295.sh journal.sh kernel.sh krbd_data_pool.sh krbd_exclusive_option.sh krbd_fallocate.sh krbd_stable_pages_required.sh map-snapshot-io.sh map-unmap.sh merge_diff.sh notify_master.sh notify_slave.sh permissions.sh qemu_dynamic_features.sh qemu-iotests.sh qemu_rebuild_object_map.sh rbd-ggate.sh rbd_mirror_ha.sh rbd_mirror_helpers.sh rbd_mirror.sh rbd_mirror_stress.sh rbd-nbd.sh read-flags.sh run_devstack_tempest.sh set_ro.py simple_big.sh smalliobench.sh test_admin_socket.sh test_librbd_api.sh test_librbd_python.sh test_librbd.sh test_lock_fence.sh test_rbdmap_RBDMAPFILE.sh test_rbd_mirror.sh verify_pool.sh) | ||
|
||
FILE_LIST=(ceph_omapbench ceph_perf_local) | ||
|
||
COUNT=1 | ||
for file_name in ${FILE_LIST[@]} | ||
do | ||
cp yaml_template ${file_name}.yaml | ||
sed -i "s/yaml_template/${file_name}/g" ${file_name}.yaml | ||
echo ${COUNT} | ||
COUNT=$((${COUNT}+1)) | ||
done |
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,33 @@ | ||
check-locks: false | ||
use_existing_cluster: true | ||
|
||
roles: | ||
- [mon.a, osd.0, client.0] | ||
|
||
tasks: | ||
- install: | ||
|
||
tasks: | ||
- exec: | ||
client.0: | ||
- sudo python /root/clear_pools.py | ||
- sudo sleep 15 | ||
- sudo yaml_template | ||
|
||
overrides: | ||
selinux: | ||
whitelist: | ||
- 'name="cephtest"' | ||
- 'dmidecode' | ||
- 'comm="logrotate"' | ||
- 'comm="idontcare"' | ||
- 'comm="sshd"' | ||
- 'comm="load_policy"' | ||
- 'comm="unix_chkpwd"' | ||
- 'comm="systemd-logind"' | ||
- 'comm="groupadd"' | ||
- 'comm="unix_chkpwd"' | ||
- 'comm="tp_fstore_op"' | ||
|
||
targets: | ||
[email protected]: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqlVCQnkp3m8FEI52W62ZUY/FokA443m4PCPqYbxR7ejA2IcVCpnHb50X3VMuOqz/o4KDPxahL7u1OP98ziZ+3F1ciK/21xEOKen6RL2WAqg3CT2FWvdhupPwZsW5Cn655Y8J7mjPzoZE7GDi0j/O1hhTw5qiGOrLoKOWAKOcIduITTYcH4XFHxrxjb2WzV+x6OIs5OTs53wuvJyNsoBJelv9vk/EAkjWVG1Ytf9qEP3UMqTZTfnfJrDHWdWB871PTsFlR7P2x7Ca68FpXAU+Mgk4GvBkF2QdL/8cQC4BgFXcjXOTOqO+4+n2VeKLIid5ywI4LsrI2QLAhDGtZ2JF1 |