Ricardo Dias
5c737038dd
rbd-mirror: test: Fixed timeout problem in rbd_mirror_stress.sh
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-09-26 14:25:25 +01:00
Jason Dillaman
a0f65b968b
qa/workunits/rbd: fix remove mirrored image race conditions
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-09-23 09:01:52 -04:00
Jason Dillaman
a43268a4a3
qa/workunits/rbd: new mirroring forced promotion test
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-09-23 09:01:52 -04:00
Kefu Chai
b975e85afa
test: re-enable test_pg_scrub() test in ceph-helper.sh
...
this reverts d053705
. i disabled this test in hope to bisect the
offending tests that fail the mysterious jenkins failure, which was
fixed by 6f3ce3a
.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-23 14:50:03 +08:00
Loic Dachary
eb968f886e
Merge pull request #10135 from david-z/wip-enhance-ceph-disk-bluestore
...
ceph-disk: support creating block.db and block.wal with customized size for bluestore
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-09-22 18:13:00 +02:00
Kefu Chai
8f8a7a46a2
Merge pull request #11089 from dachary/wip-16477-ceph-helper
...
cli: retry when the mon is not configured
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-22 23:26:32 +08:00
Ryne Li
958fa7dcf2
add qa test of envlibrados for rocksdb
...
Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
2016-09-20 20:12:47 -07:00
Zhi Zhang
67b11b0140
ceph-disk: update/add ceph-disk test cases for bluestore
...
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
2016-09-20 11:43:26 +08:00
Kefu Chai
440c360d18
Merge pull request #10815 from ceph/wip-qa-workunits-py3
...
Python 3 compatibility for workunits
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-19 18:45:34 +08:00
Loic Dachary
a5e5119bd1
test: timeout verification that mon is unreachable
...
Without a timeout on the command, it may hang for a very long time,
hunting for new mons. If it hangs for more than 60 seconds, it is
safe to assume the mon is indeed down.
Fixes: http://tracker.ceph.com/issues/16477
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-09-16 14:20:38 +02:00
Sage Weil
be607ab636
qa/workunits/objecstore/test_fuse.sh: make it work with filestore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-13 09:40:03 -04:00
Sage Weil
265730aa5a
os/FuseStore: only flush if dirty
...
No need to rewrite the object unless it was changed.
This partially fixes truncate.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-07 18:14:16 -04:00
Sage Weil
b6870a618b
qa/workunits/objectstore: fix test_fuse.sh
...
We switched from @ to # a while back.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-07 18:14:15 -04:00
Sage Weil
5e7e22bc4c
Merge pull request #10979 from wjwithagen/wip-wjw-cephtool-test
...
qa/workunits/cephtool/test.sh: fix omission of ceph-command
2016-09-07 09:13:34 -05:00
Willem Jan Withagen
6f0e717e6b
qa/workunits/cephtool/test.sh: fix omision of ceph-command
...
- The script fails with these commands, but not for the correct reason.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-05 12:04:55 +02:00
Mykola Golub
77fd6a1c20
rbd-mirror: option to automatically resync after journal client disconnect
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 12:48:47 +03:00
Mykola Golub
330dba00ba
rbd-mirror: stop replay when client is disconnected
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 12:48:47 +03:00
Loic Dachary
7cbf1f0a5e
tests: populate /dev/disk/by-partuuid for scsi_debug
...
The scsi_debug SCSI devices do not have a symlink in /dev/disk/by-partuuid
because they are filtered out by 60-persistent-storage.rules. That was
worked around by 60-ceph-partuuid-workaround-rules which has been
removed by 9f76b9ff31
.
Add create rules targetting this specific case, only for tests since the
problem does not show in real use cases.
Fixes: http://tracker.ceph.com/issues/17100
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-08-24 10:10:30 +02:00
Anirudha Bose
724febf5ca
qa/workunits: PEP8ify
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-20 22:30:54 +05:30
Anirudha Bose
922c977c8b
qa/workunits: Python 3 compat fixes for fs/misc/direct_io.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-20 22:30:54 +05:30
Anirudha Bose
07b15e7086
qa/workunits: Allow setting $PYTHON in ceph-disk/ceph-disk.sh
...
$PYTHON defaults to "python"
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-20 01:18:33 +05:30
Anirudha Bose
92dbeabfdd
qa/workunits: Python 3 compat fixes for ceph-disk/ceph-disk-test.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-20 01:18:32 +05:30
Anirudha Bose
0b32fd50f8
qa/workunits: Python 3 compat fixes for fs/multiclient_sync_read_eof.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:29:01 +05:30
Anirudha Bose
12f9be0c9f
qa/workunits: Python 3 compat fixes for restart/test-backtraces.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:22:27 +05:30
Anirudha Bose
5d800fa47d
qa/workunits: Python 3 compat fixes for rest/test.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:22:27 +05:30
Anirudha Bose
c148526462
qa/workunits: Python 3 compat fixes for fs/misc/filelock_deadlock.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:22:26 +05:30
Anirudha Bose
b8233cc77e
qa/workunits: Python 3 compat fixes for fs/misc/filelock_interrupt.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:22:26 +05:30
Anirudha Bose
4409bb5aef
qa/workunits: Python 3 compat fixes for mon/test_mon_config_key.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-19 11:22:26 +05:30
Oleh Prypin
20c5bcf592
qa/workunits/rados/test_python.sh: Allow specifying Python executable
...
(through an environment variable)
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-08-18 23:36:32 +03:00
Anirudha Bose
f937d3464b
qa/workunits: Python 3 compat fixes for mon/ping.py
...
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-08-18 18:44:54 +05:30
Jason Dillaman
e6aa18ea0d
qa/workunits/rbd: demote/promote image on same cluster
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-16 09:09:52 -04:00
Jason Dillaman
0891ede57c
qa/workunits: support filtering cls_rbd unit test cases
...
Fixes: http://tracker.ceph.com/issues/16529
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-12 14:44:09 -04:00
John Spray
d9948bbdb7
Merge pull request #10452 from jcsp/wip-16556
...
test: break out librados-using cephfs test
2016-08-07 15:48:49 +01:00
Yuri Weinstein
bb7424e860
Merge pull request #10491 from xiexingguo/xxg-wip-osdmon-2016-07-28
...
osd/OSDMonitor: misc. fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-05 08:14:02 -07:00
Jason Dillaman
efa5f730cc
Merge pull request #10488 from lande1234/wip-lan-testing
...
rbd-mirror: add additional test scenarios
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-05 09:20:37 -04:00
Mykola Golub
a5f63f7261
qa/workunits/rbd: wait for image deleted before checking health
...
This is a fixup to the previous commit.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-08-02 20:06:17 +03:00
xie xingguo
3b160df0aa
mon/OSDMonitor: expose require_kraken_osds flag to user
...
For newly created cluster the CEPH_OSDMAP_REQUIRE_KRAKEN will be
automatically set, while for existing clusters it will not.
This change add "require_jewel_osds" to white list, so user
can access it by the "ceph osd set *" command family.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-01 12:24:26 +08:00
Mykola Golub
df2aa585c4
Merge pull request #10341 from dillaman/wip-16223
...
rbd-mirror: reduce memory footprint during journal replay
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-07-30 19:28:02 +03:00
lande1234
aba7d3b874
Test scenario
...
Signed-off-by: lande1234 <lan.de3@zte.com.cn>
2016-07-29 04:58:26 +00:00
Mykola Golub
8dbe42d345
qa/workunits/rbd: wait for image deleted before checking health
...
When a primiry image is being deleted, the mirrored image might
temporary be reported in error state, before deletion is propagated.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-07-28 14:55:42 +03:00
Mykola Golub
fdb971a266
qa/workunits/rbd: small fixup and improvements for rbd-mirror tests
...
- log to stderr;
- log status if a `wait_for` function failed;
- don't needlessly sleep in `wait_for` functions after the last
unsuccessful iteration;
- make `wait_for_pool_images` work for image removal case;
- fix `wait_for_pool_images` reset timeout (last_count set).
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-07-28 14:55:42 +03:00
John Spray
268a471632
test: break out librados-using cephfs test
...
We are seeing an issue due to the lockdep symbols
in libcephfs and librados clashing, which shows itself
after a fork in the flock tests. We can avoid this
by splitting the libcephfs tests that require librados
(access.cc) into their own compilation unit so that
the flock tests can run in a libcephfs-only process.
Fixes: http://tracker.ceph.com/issues/16556
Signed-off-by: John Spray <john.spray@redhat.com>
2016-07-27 12:18:50 +01:00
Kefu Chai
4587b0d16d
Merge pull request #10433 from SUSE/wip-16808
...
deb: merge ceph-fs-common into ceph-common
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-27 13:32:05 +08:00
Nathan Cutler
89c72828fc
qa/qa_scripts/cephscrub.sh: do not try to remove ceph-fs-common package
...
The ceph-fs-common package is being dropped.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-07-26 19:12:22 +02:00
Kefu Chai
de68fe38e1
qa/workunits/cephtool/test.sh: use absolute path for TEMP_DIR
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-25 16:58:28 +08:00
Jason Dillaman
ab5ebdef32
Merge pull request #10123 from trociny/wip-16449
...
librbd: prevent creation of clone from non-primary mirrored image
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-07-24 11:12:57 -04:00
Jason Dillaman
574be7486a
qa/workunits/rbd: override rbd-mirror integration test poll frequency
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-07-21 12:52:57 -04:00
Jason Dillaman
2f4cb26d8b
qa/workunits/rbd: exercise snapshot renames within rbd-mirror test
...
Snapshot rename operations utilize the (cluster) unique snapshot
sequence to prevent attempts at replays. When mirroring to a
different cluster, these sequences will not align.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-07-19 09:27:32 -04:00
Jason Dillaman
a3438bac71
Merge pull request #9291 from trociny/wip-15715
...
rbd-nbd does not properly handle resize notifications
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-07-18 16:44:58 -04:00
John Spray
0080b6bc92
Merge pull request #9955 from ukernel/wip-mds-snap-failover
...
mds: snap failover fixes
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-07-18 21:01:35 +01:00