Commit Graph

6 Commits

Author SHA1 Message Date
Kefu Chai
d32a3be1a6 qa/workunits/rados/test_alloc_hint.sh: sudo to ls files
The osd data dir is owned by ceph and not readable by other
non-root users.

Fixes: #12861
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-08 20:50:36 +08:00
Sage Weil
64962aafed qa/workunits/rados/test_alloc_hint.sh: sudo to list files
The osd data dir is owned by ceph and not readable by other
non-root users.

Fixes: #12861
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-02 21:58:37 -04:00
Ilya Dryomov
d323634024 qa: test_alloc_hint: set ec ruleset-failure-domain to osd
Create a custom profile with ruleset-failure-domain=osd.  (The default
ruleset-failure-domain=host won't do because this script assumes and
works only if all osds are on the same host.)  While at it, set k and m
explicitly to avoid troubles in the future.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-04-03 21:16:14 +04:00
Sage Weil
7d321d8aa6 qa/workunits/rados/test_alloc_hint: fix erasure syntax
This changed recently.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-31 09:14:36 -07:00
Ilya Dryomov
a4849fb914 qa: test_alloc_hint: flush journal before prodding the FS
OSDs that for some reason get behind on processing their op queue break
expect_alloc_hint_eq(), as it pokes the FS and not the journal.  Fix it
by flushing the journal before proceeding with anything else.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-03-19 10:59:27 +02:00
Ilya Dryomov
55c23a1a82 qa: add script for testing rados allocation hint
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-03-09 19:28:22 +02:00