Jason Dillaman
8ba339a41b
Merge pull request #28351 from trociny/wip-39968
...
journal: add support for aligned appends
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-06-27 13:41:02 -04:00
Gu Zhongyan
73e88f7b72
qa/workunits: add auth caps allow command case
...
this case introduces multiple quotes in caps line
it will trigger the bug like http://tracker.ceph.com/issues/22227
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2019-06-25 15:10:07 +08:00
Mykola Golub
11e2951243
qa/suites/rbd: allow to test with require-min-compat-client octopus
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-06-23 10:06:45 +01:00
Xie Xingguo
b294dc6749
Merge pull request #28629 from xiexingguo/wip-osd-df-by-pool-name
...
mgr, osd: 'osd df' by pool
Reviewed-by: Sage Weil <sage@redhat.com>
2019-06-20 10:40:40 +08:00
Jason Dillaman
9497655da5
Merge pull request #28553 from trociny/wip-40071
...
librbd: mirror image enable/disable should enable/disable journaling
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-06-19 20:21:37 -04:00
Casey Bodley
1643879218
qa/rgw: update default port in perl workunits
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-06-19 07:50:35 -04:00
xie xingguo
ec27a162de
mgr, osd: 'ceph osd df' by pool
...
Our test admin has been asking for this for the past few years:-)
Besides, this is also useful for operating on large Ceph clusters with
mutliple storage pools possibly spanning over all osds.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-06-18 20:29:40 +08:00
Mykola Golub
c99e26eff9
qa/workunits/rbd: tweak mirror tests
...
(after "image mirror disable" started to disable journaling)
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-06-18 12:08:58 +01:00
Mykola Golub
92ee1c7b8b
qa/workunits/rbd: fix compare_images and compare_image_snapshots
...
Due to pipe, sdiff return code was ignored. Also the compare functions
spent most of time in xxd, which was normally unnecessary.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-06-13 08:26:29 +01:00
Venky Shankar
0d044a97e9
test: remove fs/test-volume.sh workunit
...
.. since its ported to python now.
Fixes: http://tracker.ceph.com/issues/39949
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2019-06-12 12:43:17 -04:00
Kefu Chai
b76a6c729f
qa/workunits/rados/test_envlibrados_for_rocksdb: support SUSE distros
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:46:46 +08:00
Kefu Chai
be89e66f74
qa/workunits/rados/test_librados_build.sh: install build deps
...
to build helloworld of librados, we need to install the build
dependencies.
Fixes: https://tracker.ceph.com/issues/40155
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:46:46 +08:00
Kefu Chai
0072d487aa
qa/workunits/rados/test_envlibrados_for_rocksdb: use helper script
...
instead of having its own copy of `install()`, try to leverage the
helper in ceph-helpers-root.sh.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:46:46 +08:00
Kefu Chai
e8e72319aa
qa/workunits/ceph-helpers-root: use /etc/os-release instead
...
as lsb_release does not work on SUSE distros
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:32:38 +08:00
Xie Xingguo
302d7bcdd8
Merge pull request #27735 from xiexingguo/wip-device-class-noout
...
osd: revamp {noup,nodown,noin,noout} related commands
Reviewed-by: Sage Weil <sage@redhat.com>
2019-06-05 14:17:06 +08:00
xie xingguo
199d92aec0
qa: tolerate wildcard position
...
It does not make much sense to add this kind of restrictions
as long as user is aware of what is going on.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-05-30 10:52:38 +08:00
xie xingguo
5d695267ef
osd: add no{out,down,in,out} flags by device class
...
This works as a good supplement of https://github.com/ceph/ceph/pull/27563 .
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-05-30 10:52:35 +08:00
xie xingguo
9a05a065b9
osd,mon: add 'ceph osd {set,unset}-group <flags> <who>' command
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-05-30 09:46:51 +08:00
Jason Dillaman
b36a1ad302
qa/workunits/rbd: remove 'fast-diff' from dynamic features test
...
Fixes: http://tracker.ceph.com/issues/39946
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-05-15 16:53:43 -04:00
Nathan Cutler
cfa2c5fb4d
Merge pull request #26281 from smithfarm/wip-git-describe-long
...
make-dist: set version number only once
Reviewed-by: Tim Serong <tserong@suse.com>
2019-05-13 15:10:20 +02:00
Jason Dillaman
fb4f9a8a08
qa/workunits/rbd: use https protocol for devstack git operations
...
Fixes: http://tracker.ceph.com/issues/39656
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-05-10 11:09:54 -04:00
Nathan Cutler
f9f824448a
qa: add version number sanity singleton to rados suite
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-05-08 11:31:34 +02:00
Mykola Golub
a3de279923
Merge pull request #27981 from dillaman/wip-39598
...
qa/workunits/rbd: wait for rbd-nbd unmap to complete
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-05-07 20:58:01 +03:00
Joao Eduardo Luis
28c70208d8
Merge pull request #26488 from mogeb/per-pool-scrub-status
...
mon: show no[deep-]scrub flags per pool in the status
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2019-05-07 17:50:52 +01:00
Jason Dillaman
87278548a5
qa/workunits/rbd: wait for rbd-nbd unmap to complete
...
The "unmap" request is asynchronous, so wait for a short amount
of time for the "rbd-nbd" daemon process to exit.
Fixes: http://tracker.ceph.com/issues/39598
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-05-06 15:16:03 -04:00
Boris Ranto
aaaef9146c
restful: Expose perf counters
...
We currently do not expose perf counters in the restful module but this
is a useful piece of information to be exposed by the restful module.
Since we already have a function to gather all the information about the
perf counters, we can make this easily accessible through the restful
API.
This also supports filtering by daemons through regexps.
Signed-off-by: Boris Ranto <branto@redhat.com>
2019-04-30 13:30:14 +02:00
David Zafman
39cc14bdc1
Merge pull request #27503 from dzafman/wip-39099
...
osd: Give recovery for inactive PGs a higher priority
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-25 15:06:56 -07:00
David Zafman
444aa9f9fe
osd, mon: New pool recovery priority range -10 to 10
...
Use OSD_POOL_PRIORITY_MAX and OSD_POOL_PRIORITY_MIN constants
Scale legacy priorities if exceeds maximum
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-04-25 13:53:27 -07:00
Sage Weil
d64d14a577
Merge PR #26730 into master
...
* refs/pull/26730/head:
src/test: remove unused objects to calculate accurate dedup ratio.
src/tools: fix counting total objects
src/tools: fix printing wrong offset.
src/tools: fix dedup tool's name
qa/workunit: add rabin chunk test
src/tool: add rabin fingerprint option to cephdeduptool
src/common: add rabin fingerprint class
Initail work for rabin fingerprint
Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-24 20:38:02 -05:00
Mykola Golub
22973d9d46
Merge pull request #27683 from dillaman/wip-24668
...
qa/workunits/rbd: use more recent qemu-iotests that support Bionic
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-04-24 15:40:43 +03:00
myoungwon oh
8a8d5e89bb
src/test: remove unused objects to calculate accurate dedup ratio.
...
Signed-off-by: Myoungwon Oh <ommw@sk.com>
2019-04-24 18:22:37 +09:00
Xie Xingguo
78bcae1d6b
Merge pull request #27719 from xiexingguo/wip-crush-node-flags
...
mon/OSDMonitor: crush node flags - two fixes; add tests
Reviewed-by: Sage Weil <sage@redhat.com>
2019-04-24 08:44:08 +08:00
Jason Dillaman
b7c7a4f39e
Merge pull request #27521 from trociny/wip-rbd-remove-clone_v2-parent
...
librbd: optionally move parent image to trash on remove
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-23 08:11:38 -04:00
xie xingguo
bae2231cc5
qa: add crush-node-flags test
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-04-23 14:20:17 +08:00
Jason Dillaman
b184acd218
qa/workunits/rbd: use more recent qemu-iotests that support Bionic
...
Fixes: http://tracker.ceph.com/issues/24668
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-22 12:46:47 -04:00
Jason Dillaman
5b0a611a48
test/librbd: drop 'ceph_test_librbd_api' target
...
This was used for API backwards compatibility testing, but now that
the C++ API will not remain stable, it serves no purpose.
Fixes: http://tracker.ceph.com/issues/39072
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-19 14:18:00 -04:00
Mykola Golub
6e1434eefc
librbd: optionally move parent image to trash on remove
...
and auto-delete when the last clone is detached
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-04-19 08:53:38 +01:00
Ilya Dryomov
b56e933373
Merge pull request #27271 from idryomov/wip-krbd-wac-on-dm
...
qa: add device mapper and lvm test cases for stable pages
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-04-14 21:31:00 +02:00
myoungwon oh
d72cc5a0ee
src/tools: fix dedup tool's name
...
Signed-off-by: Myoungwon Oh <ommw@sk.com>
2019-04-08 19:19:09 +09:00
myoungwon oh
a095765f2f
qa/workunit: add rabin chunk test
...
Signed-off-by: Myoungwon Oh <ommw@sk.com>
2019-04-04 23:58:57 +09:00
Sage Weil
3760e8f918
mon/OSDMonitor: add mon_debug_no_require_octopus
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-02 16:19:43 -05:00
Sage Weil
2806de1147
mon/OSDMonitor: allow 'osd require-osd-release octopus'
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-02 16:19:43 -05:00
Mohamad Gebai
aa9cb58390
test: add tests for per-pool scrub status
...
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2019-04-02 05:50:03 -04:00
Ilya Dryomov
9c736f57ee
qa: krbd_wac.sh: add lvm test case
...
The script isn't generic anymore, move it to the rbd directory.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-29 11:20:30 +01:00
Ilya Dryomov
316ae0cfa4
qa: krbd_stable_pages_required.sh: add device mapper test cases
...
device mapper core wasn't propagating BDI_CAP_STABLE_WRITES.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-28 19:34:15 +01:00
Sage Weil
1dad9d2fe1
Merge PR #27155 into master
...
* refs/pull/27155/head:
mon/ConfigMonitor: make 'config reset' idempotent
Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-26 11:35:45 -05:00
Ilya Dryomov
0ba913ba2c
Merge pull request #27192 from idryomov/wip-krbd-discard-fixups
...
qa/workunits/rbd: fixups for the new krbd discard behavior
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-03-26 14:09:41 +01:00
Jason Dillaman
6e32108204
Merge pull request #27137 from trociny/wip-qa-rbd-qos
...
qa: add RBD QOS functional test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-03-26 08:21:18 -04:00
Ilya Dryomov
f3f757aaa3
qa/workunits/rbd: fixups for the new krbd discard behavior
...
With discard_granularity set to alloc_size, we no longer get object
size alignment from blk_bio_discard_split().
This assumption is pretty deeply ingrained in krbd_data_pool.sh, so
make it explicit. For krbd_fallocate.sh, just fix the expectation.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-25 22:06:14 +01:00
Ilya Dryomov
673673f53d
qa: krbd_fallocate.sh: zero can be munged to truncate
...
The test case is issuing discards that span two objects: the tail of
the first object is truncated, the head of the second object is zeroed.
These discards aren't serial, so there is a race:
discard i ~ i + 1: truncate i, zero i + 1
discard i + 1 ~ i + 2: truncate i + 1, zero i + 2
can be executed as
truncate i + 1, zero i + 2, truncate i, zero i + 1
For object i + 1, the sequence ends up being truncate tail, then zero
head. This zero op is munged to truncate on the OSD, resulting in size
0 instead of OBJECT_SIZE / 2.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-25 22:06:14 +01:00