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: Ilya Dryomov <idryomov@gmail.com>
- Loading branch information
Showing
14 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
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,3 @@ | ||
tasks: | ||
- install: | ||
- ceph: |
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 @@ | ||
../../../../../clusters/fixed-1.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,7 @@ | ||
overrides: | ||
ceph: | ||
conf: | ||
global: | ||
ms die on skipped message: false | ||
client: | ||
rbd default features: 5 |
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,5 @@ | ||
tasks: | ||
- workunit: | ||
clients: | ||
all: | ||
- rbd/krbd_stable_pages_required.sh |
Empty file.
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,3 @@ | ||
tasks: | ||
- install: | ||
- ceph: |
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,8 @@ | ||
roles: | ||
- [mon.a, mon.c, mgr.x, osd.0, osd.1, osd.2] | ||
- [mon.b, mgr.y, osd.3, osd.4, osd.5] | ||
- [client.0] | ||
openstack: | ||
- volumes: # attached to each instance | ||
count: 3 | ||
size: 10 # GB |
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,7 @@ | ||
overrides: | ||
ceph: | ||
conf: | ||
global: | ||
ms die on skipped message: false | ||
client: | ||
rbd default features: 5 |
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,11 @@ | ||
tasks: | ||
- exec: | ||
client.0: | ||
- "dmesg -C" | ||
- rbd: | ||
all: | ||
fs_type: ext4 | ||
- workunit: | ||
clients: | ||
all: | ||
- suites/wac.sh |
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,10 @@ | ||
overrides: | ||
ceph: | ||
conf: | ||
global: | ||
ms inject socket failures: 500 | ||
tasks: | ||
- exec: | ||
client.0: | ||
- "dmesg | grep -q 'libceph: osd.* socket closed'" | ||
- "dmesg | grep -q 'libceph: osd.* socket error on write'" |
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,5 @@ | ||
tasks: | ||
- exec: | ||
client.0: | ||
- "! dmesg | grep -q 'libceph: osd.* socket closed'" | ||
- "! dmesg | grep -q 'libceph: osd.* socket error on write'" |
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,17 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
IMAGE_NAME="stable-pages-required-test" | ||
|
||
rbd create --size 1 $IMAGE_NAME | ||
DEV=$(sudo rbd map $IMAGE_NAME) | ||
[[ $(blockdev --getsize64 $DEV) -eq 1048576 ]] | ||
grep -q 1 /sys/block/${DEV#/dev/}/bdi/stable_pages_required | ||
|
||
rbd resize --size 2 $IMAGE_NAME | ||
[[ $(blockdev --getsize64 $DEV) -eq 2097152 ]] | ||
grep -q 1 /sys/block/${DEV#/dev/}/bdi/stable_pages_required | ||
sudo rbd unmap $DEV | ||
|
||
echo OK |
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 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
wget http://download.ceph.com/qa/wac.c | ||
gcc -o wac wac.c | ||
set +e | ||
timeout 5m ./wac -l 65536 -n 64 -r wac-test | ||
RET=$? | ||
set -e | ||
[[ $RET -eq 124 ]] | ||
echo OK |