Commit Graph

1505 Commits

Author SHA1 Message Date
Sage Weil
ec1b0e33d8 qa/suites/rados/cephadm/upgrade: update starting version
Need upgrade command to match!

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-20 08:11:58 -05:00
Sage Weil
41dcb3c814 mgr/orch: 'ceph upgrade ...' -> 'ceph orch upgrade ...'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-18 20:56:44 -05:00
Sage Weil
7c19c1534b qa/suites/rados/verify/validater/valgrind: tolerate SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
baeb051910 qa/suites/rados/verify/validater/valgrind: less bluestore logging
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
4fda9d50f0 qa/suites/rados/verify/validater: increase heartbeat grace
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
0bd14ab080 Revert "qa/suites/rados/verify: debug_ms = 1, osd_heartbeat_grace = 60"
This reverts commit 4f742f200d.

This was in the wrong file.. see valgrind.yaml

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
12105ed9d7 Revert "qa/suites/rados/verify/validator/valgrind: debug refs = 5"
This reverts commit 65e81e6eb4.

This slows things down too much with valgrind.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 19:32:42 -05:00
Sage Weil
40a7bcea70 qa/suites/rados/verify: set ALLOW_TIMEOUTS for workunits
When running under valgrind (and thrashing) things can be slow.  Tell
tests in case they need to tolerate timeouts.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 18:24:12 -05:00
Sage Weil
d7de2abc2f cephadm: add allow_ptrace option to enable SYS_PTRACE
In any environments it is helpful to have SYS_PTRACE so that you can
gdb attach or strace a daemon.

Leave this off by default so that the container is more secure.

Enable this in teuthology and vstart.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-16 21:04:22 -05:00
Sage Weil
7957655227 cephadm: bootstrap: deploy monitoring stack by default
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-16 12:39:44 -05:00
Sage Weil
13919b5fed qa/suites/rados/cephadm/upgrade: start from compatible build
The osd create command is changing, so upgrade from something that the
latest cephadm.py task can use.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-14 10:18:25 -05:00
Jason Dillaman
5cf9cd5d1c
Merge pull request #33900 from dillaman/wip-44459
qa/suites/rbd: removed OpenStack tempest test cases

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-12 19:22:22 -04:00
Sage Weil
ff7e2c7cfe Merge PR #33874 into octopus
* refs/pull/33874/head:
	qa/suites/powercycle: install build deps for building xfstest

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-03-12 12:34:35 -05:00
Sage Weil
281b106dc6 Merge PR #33871 into octopus
* refs/pull/33871/head:
	qa/suites/rados/verify: debug_ms = 1, osd_heartbeat_grace = 60

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-03-12 11:17:53 -05:00
Mykola Golub
e8e0382f39
Merge pull request #33831 from dillaman/wip-44396
rbd-mirror: prevent I/O modifications against a non-primary image

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-12 11:53:04 +02:00
Jason Dillaman
232d48f511 qa/suites/rbd: removed OpenStack tempest test cases
The OpenStack tempests tests do not stay stable and break approximately
every six months. Remove the test suite for now.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-11 15:36:22 -04:00
Sage Weil
4f742f200d qa/suites/rados/verify: debug_ms = 1, osd_heartbeat_grace = 60
The rados api tests are failing WatchNotify because the OSDs are so
heavily lagged.. in large part due to the high debug level of debug_ms=20
and debug_osd=25.  Reduce that.

Also increase the heartbeat grace so slow valgrind-y osds don't get marked
down.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-11 06:57:52 -05:00
Kefu Chai
8d77d134c7 qa/suites/powercycle: install build deps for building xfstest
see also qa/suites/krbd/rbd/tasks/rbd_workunit_suites_fsx.yaml

Fixes: https://tracker.ceph.com/issues/44552
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-11 19:19:49 +08:00
Jason Dillaman
606d866393 qa/suites/rbd: exercise different snapshot-based mirroring image features
Ensure that snapshot-based mirroring is tested in different RBD image
feature combinations.

Fixes: https://tracker.ceph.com/issues/44396
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-10 19:23:02 -04:00
Sage Weil
90b52cba91 qa/suites/rados/cephadm/upgrade: upgrade start point that supports the no-spec option
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-10 15:38:52 -05:00
Sage Weil
090288fa3e Merge PR #33801 into octopus
* refs/pull/33801/head:
	qa/suites/rados/ceph: drop opensuse for now

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-03-09 16:25:57 -05:00
Sage Weil
b6084c333d qa/suites/rados/cephadm/upgrade: new start point
The starting cephadm needs to look for default ceph.conf etc in /etc/ceph
for cephadm.py to be happy.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-07 15:19:07 -06:00
Sage Weil
af30e245dc qa/suites/rados/ceph: drop opensuse for now
Until https://tracker.ceph.com/issues/44501 is resolved and the builders
are able to keep up.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-07 08:23:20 -06:00
Sage Weil
bfb03adbe6 qa/suites/rados/cephadm/upgrade: adjust starting version
This version understands how to apply a mgr spec like '2;host=x' with a
semicolon.  This particular test build does.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-07 06:42:07 -06:00
Sage Weil
4e7ab6f2e6 qa/suites/rados/cephadm: deploy all monitoring components
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-06 15:51:45 -06:00
Sage Weil
86a27e5a9a Merge PR #33047 into master
* refs/pull/33047/head:
	qa/rgw: exercise DeleteRange in test_bucket_index_log_trim

Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
2020-03-04 09:58:45 -06:00
Sage Weil
c8981f9657 Merge PR #33705 into master
* refs/pull/33705/head:
	qa/suites/upgrade/nautilus-x/parallel: restart mgr.x before mons

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-03-04 08:53:24 -06:00
Kefu Chai
63f5528930
Merge pull request #33584 from liewegas/fix-39525
compressor/lz4: work around bug in liblz4 versions <1.8.2

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-04 12:44:38 +08:00
Neha
eacdf4b88a qa/suites/upgrade/nautilus-x/parallel: restart mgr.x before mons
Fixes: https://tracker.ceph.com/issues/44387
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-03-03 19:01:51 +00:00
Patrick Donnelly
416a26e733
Merge PR #33636 into master
* refs/pull/33636/head:
	qa: add upgrade test for volume upgrade from legacy

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-03-03 08:17:43 -08:00
Mykola Golub
5e15e111d3
Merge pull request #33588 from dillaman/wip-rbd-snapshot-mirror
rbd-mirror: initial end-to-end test and associated bug fixes

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-03 15:19:55 +02:00
Patrick Donnelly
0c8899c985
qa: add upgrade test for volume upgrade from legacy
This tests that volumes created using the ceph_volume_client.py library
continue to be accessible/function via the Nautilus/Octopus ceph-mgr
volumes plugin.

Fixes: https://tracker.ceph.com/issues/42723
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-03-02 20:27:15 -08:00
Sage Weil
dc4ff2b4e2 Merge PR #33648 into master
* refs/pull/33648/head:
	qa/suites/cephadm: move orchestrator_cli test into rados/cephadm

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-02 14:14:40 -06:00
Sage Weil
8c8fb59dcf qa/objectstore: test all bluestore compression algorithms
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 13:01:22 -06:00
Sage Weil
ddb8ab3dd3 qa/suites/cephadm: move orchestrator_cli test into rados/cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 10:52:24 -06:00
Jason Dillaman
d6f4ce2a38 qa: test cases for snapshot-based mirroring
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-02 10:53:44 -05:00
Casey Bodley
affc79bdcf
Merge pull request #32660 from cbodley/wip-rgw-admin-zone-shards
rgw: Increase the default number of RGW bucket shards

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-03-02 09:38:04 -05:00
Kefu Chai
59546f6a49
Merge pull request #33645 from liewegas/fix-mon-down-cephtool-test
qa/suites/rados/singleton-bluestore/cephtool: whitelist MON_DOWN

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 19:11:42 +08:00
Sage Weil
4c5827241a qa/suites/rados/singleton-bluestore/cephtool: whitelist MON_DOWN
cephtool/test.sh now includes a test that disallows mon from the quorum
for a short period.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-01 08:03:21 -06:00
Sage Weil
1400b35858 qa/suites/rados/verity/tasks/mon_recovery: whitelist SLOW_OPS
The mon can see slow ops when thrashing.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-01 07:58:11 -06:00
Casey Bodley
08e0a4289d qa/rgw: verify suite selects a random bucket sharding configuration
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-02-28 14:38:13 -05:00
Jason Dillaman
1e7e13036b
Merge pull request #33493 from zhengchengyao/read
librbd: improved support for balanced and localized reads

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 16:18:20 -05:00
zhengyin
18e683932e test: add read balance mode test case
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2020-02-26 21:33:27 +08:00
Brad Hubbard
943c307144
Merge pull request #33379 from badone/wip-upgrade-ansible-version-for-ca
qa/ceph-ansible: Upgrade ansible version
2020-02-26 09:56:02 +10:00
Nathan Cutler
47926809f3
Merge pull request #33535 from smithfarm/wip-rados-cephadm-smoke-152
qa: run cephadm/smoke on opensuse 15.2 instead of 15.1

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2020-02-25 18:36:11 +01:00
Nathan Cutler
465eb03930 qa: run cephadm/smoke on opensuse 15.2 instead of 15.1
Companion PR to https://github.com/ceph/ceph-build/pull/1509

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-25 14:28:35 +01:00
Sage Weil
a4a3a3c0a0 qa/suites/rados/singleton/all/thrash-eio: whitelist 'slow request'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-24 08:47:43 -06:00
Sridhar Seshasayee
e527067666 qa: Whitelist 'slow request' within a bunch of tests
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2020-02-24 19:59:56 +05:30
Sage Weil
3e85a09ad2 Merge PR #33328 into master
* refs/pull/33328/head:
	osd/OSD: Log slow ops/types to cluster logs

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-02-23 15:12:48 -06:00
Sage Weil
9bcdc110de Merge PR #33486 into master
* refs/pull/33486/head:
	qa/suites/rados/cephadm/smoke: run a few orch commands
	mgr/orch: fix 'host ls'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-22 12:56:26 -06:00