Commit Graph

8822 Commits

Author SHA1 Message Date
Yuri Weinstein
4d137d6ca7
Merge pull request #43699 from sebastian-philipp/qa-rados-mgr-random-objectstore
qa/suites/rados/mgr: use only one objectstore instead of all

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-11-08 09:51:27 -08:00
Neha Ojha
63cead9248
Merge pull request #43814 from neha-ojha/wip-more-cv
qa/suites/upgrade/octopus-x/stress-split-no-cephadm: exclude ceph-volume

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2021-11-05 11:37:57 -07:00
Ali Maredia
c3b5ca0fe0
Merge pull request #43808 from cbodley/wip-qa-rgw-java-master
qa/rgw: master branch targets ceph-master branch of java_s3tests
2021-11-05 12:34:53 -04:00
Neha Ojha
1be081da02 qa/suites/upgrade/octopus-x/stress-split-no-cephadm: exclude ceph-volume
To address failures like

```
Command failed on smithi096 with status 100: 'sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install ceph=15.2.15-11-g5f8f263c-1focal ceph-mds=15.2.15-11-g5f8f263c-1focal ceph-mgr=15.2.15-11-g5f8f263c-1focal ceph-common=15.2.15-11-g5f8f263c-1focal ceph-fuse=15.2.15-11-g5f8f263c-1focal ceph-test=15.2.15-11-g5f8f263c-1focal ceph-volume=15.2.15-11-g5f8f263c-1focal radosgw=15.2.15-11-g5f8f263c-1focal python3-rados=15.2.15-11-g5f8f263c-1focal python3-rgw=15.2.15-11-g5f8f263c-1focal python3-cephfs=15.2.15-11-g5f8f263c-1focal python3-rbd=15.2.15-11-g5f8f263c-1focal libcephfs2=15.2.15-11-g5f8f263c-1focal librados2=15.2.15-11-g5f8f263c-1focal librbd1=15.2.15-11-g5f8f263c-1focal rbd-fuse=15.2.15-11-g5f8f263c-1focal'
```

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-11-04 21:45:21 +00:00
Patrick Donnelly
93cdc800e2
Merge PR #43666 into master
* refs/pull/43666/head:
	qa/vstart_runner: add "managers" to LocalContext instances

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-11-04 16:54:14 -04:00
Patrick Donnelly
373b750bfe
Merge PR #43638 into master
* refs/pull/43638/head:
	qa: pass subdir arg when executing workunit

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-11-04 16:53:20 -04:00
Patrick Donnelly
10d8c7a4a5
Merge PR #43613 into master
* refs/pull/43613/head:
	qa: lengthen health warning wait

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-11-04 16:52:23 -04:00
Sage Weil
d87d2bd146 Merge PR #43611 into master
* refs/pull/43611/head:
	doc/mgr/nfs: document rgw user and bucket exports
	PendingReleaseNotes: add note about nfs CLI change(s)
	qa/suites/orch/cephadm/smoke-roleless: add rgw user nfs export case
	mgr/nfs: take user-id and/or bucket for 'nfs export create rgw'
	mgr/nfs: reorder 'nfs export creage rgw' arguments
	mgr/nfs: reorder 'nfs export create cephfs' arguments
	mgr/nfs: use keyword args for 'nfs export create rgw'
	mgr/nfs: document and use keyword args for 'nfs export create cephfs'
	qa/tasks/cephfs/test_nfs: use keyword args
	pybind/ceph_argparse: handle misordered keyword arguments

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2021-11-04 14:33:45 -04:00
Casey Bodley
a25d1a70aa qa/rgw: master branch targets ceph-master branch of java_s3tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-11-04 12:12:04 -04:00
Sage Weil
d354baa82f qa/suites/orch/cephadm/smoke-roleless: add rgw user nfs export case
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-04 10:42:50 -04:00
Sage Weil
aef952bc46 mgr/nfs: use keyword args for 'nfs export create rgw'
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-02 17:06:58 -04:00
Sage Weil
9467f1e89e mgr/nfs: document and use keyword args for 'nfs export create cephfs'
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-02 17:06:58 -04:00
Sage Weil
fa4ee0f3c6 qa/tasks/cephfs/test_nfs: use keyword args
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-02 17:06:58 -04:00
Sage Weil
38b6a8e8d0 Merge PR #43101 into master
* refs/pull/43101/head:
	mgr/rook: implement apply rbd-mirror

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2021-11-01 15:27:13 -04:00
Patrick Donnelly
e0c19acbf1
Merge PR #43590 into master
* refs/pull/43590/head:
	qa: test that new mounts of same fs function after old mount is evicted
	qa: remove REQUIRE_KCLIENT_REMOTE

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-11-01 12:34:14 -04:00
Sebastian Wagner
49a07a3806
Merge pull request #43647 from adk3798/agent-on-off-tests
qa/suites/orch/cephadm: test with agent on/off

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-01 15:43:10 +01:00
Casey Bodley
74565072f7
Merge pull request #43625 from alimaredia/wip-marcus-teuthvault-2
qa/rgw: Fix vault token file access.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-29 15:14:03 -04:00
Yuri Weinstein
0f9321552c
Merge pull request #43733 from neha-ojha/wip-fix-octopusx
qa/suites/upgrade/octopus-x: exclude ceph-volume

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2021-10-29 09:45:37 -07:00
Yuri Weinstein
1dc90ce69a
Merge pull request #43714 from ceph/wip-yuriw-crontab-master
qa/tests: added back octopus-x run on master

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-10-29 07:15:31 -07:00
Sage Weil
b82ab4675c Merge PR #43709 into master
* refs/pull/43709/head:
	qa/tasks/cephfs/test_nfs: wait for fs to come up before exporting

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-29 09:54:01 -04:00
Sebastian Wagner
34502b1b22
Merge pull request #43260 from cfsnyder/wip-43692-repave-osds
mgr/orchestrator: add --zap flag to 'orch osd rm'

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-29 10:02:11 +02:00
Yuri Weinstein
69567f16f3 qa/tests: added pacific-x suite to run on master
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-10-28 16:11:50 -07:00
Neha Ojha
0ec8380990 qa/suites/upgrade/octopus-x: exclude ceph-volume
To fix failure like

Failure Reason:
Command failed on smithi085 with status 1: 'sudo yum -y install ceph-volume'

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-10-28 22:26:34 +00:00
Yuri Weinstein
e7cea80450 qa/tests: added back octopus-x run on master
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-10-28 15:13:04 -07:00
Joseph Sawaya
1b808345ee mgr/rook: implement apply rbd-mirror
This commit implements `orch apply rbd-mirror` in the rook orchestrator,
it creates a CR with a default name if the service_id isn't specified in
the spec, else it sets the name of the CR to the service_id in the spec.
This commit also adds `orch apply rbd-mirror` to the rook QA. This commit
also implements `orch rm rbd-mirror`.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-10-28 15:47:13 -04:00
Marcus Watts
454cc8a18c Fix vault token file access.
Put the vault token file in a location that ceph can read.
Make it readable only by ceph.

On rhel8 (and indeed, any vanilla rhel machine), $HOME is liable to be
mode 700.  This means the ceph user can't read things in that user's
directory.  This causes radosgw to emit the confusing message "ERROR:
Vault token file ... not found" even though the teuthology log will
plainly show it was created and made readable by ceph.

Fixes: http://tracker.ceph.com/issues/51539
Signed-off-by: Marcus Watts <mwatts@redhat.com>
2021-10-28 14:14:10 -04:00
Sage Weil
d7acc16860 qa/tasks/cephfs/test_nfs: wait for fs to come up before exporting
Signed-off-by: Sage Weil <sage@newdream.net>
2021-10-28 13:28:35 -04:00
Sebastian Wagner
116a8c4208
qa/suites/rados/mgr: use only one objectstore instead of all
I think we have enough coverage. Always testing all
objectstores is a bit excessive in my opinion

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-28 15:01:29 +02:00
Adam King
708c2fcbb8 qa/suites/orch/cephadm: test with agent on/off
Signed-off-by: Adam King <adking@redhat.com>
2021-10-27 10:56:23 -04:00
Patrick Donnelly
c8810e46e8
qa: lengthen health warning wait
It's just a little too short!

Fixes: https://tracker.ceph.com/issues/52995
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-10-26 14:26:19 -04:00
Rishabh Dave
e650bc6e87 qa/vstart_runner: add "managers" to LocalContext instances
Without this plenty tests become incompatible with vstart_runner.py.
Ideally, vstart_runner.py should've been updated in commit 7812cfb674.

Fixes: https://tracker.ceph.com/issues/53043
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2021-10-26 20:51:09 +05:30
Prasanna Kumar Kalever
2adfe55bcc qa/workunits/rbd: test map/attach with --show-cookie/--cookie options
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Cory Snyder
ea507d6c86 mgr/orchestrator: add --zap flag to 'orch osd rm'
Adds the ability to zap OSD devices after removal, implemented as a flag
on the 'orch osd rm' command.

Fixes: https://tracker.ceph.com/issues/43692
Signed-off-by: Cory Snyder <csnyder@iland.com>
2021-10-26 09:48:32 -04:00
Mykola Golub
8c646721c2
Merge pull request #41696 from MrFreezeex/fix-rbd-mirror-remove
rbd-mirror: fix mirror image removal

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-10-25 18:12:38 +03:00
Venky Shankar
01154fc41c qa: pass subdir arg when executing workunit
`_run_tests()` accepts subdir argument (to run a workunit with
the passed in sub-directory as cwd). One invocation was missing
the subdir argument causing `subdir` tag in yaml to be ineffective.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-10-25 12:40:53 +05:30
Ilya Dryomov
6278a04ac2 qa/suites/rbd: whitelist POOL_FULL due to quota for test_librbd.sh
RemoveFullTry tests fill up the pool and expect EDQUOT.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-10-23 22:04:58 +05:30
Patrick Donnelly
94b712bdab
Merge PR #43566 into master
* refs/pull/43566/head:
	qa: reduce frag split confs for dir_split counter test

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-10-21 10:26:43 -04:00
Patrick Donnelly
04aabf8bee
Merge PR #38752 into master
* refs/pull/38752/head:
	qa: enable dynamic debug support to kclient

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-10-20 22:24:32 -04:00
Ronen Friedman
352399d6a4
Merge pull request #43596 from ronen-fr/wip-rf-test_info
tests: modify osd-scrub-repair to match PR #43239 changes

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-10-20 18:03:22 +03:00
Jeff Layton
242585656c qa: test that new mounts of same fs function after old mount is evicted
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2021-10-20 10:34:01 -04:00
Neha Ojha
9fda06aa6a
Merge pull request #43572 from trociny/wip-qa-backfill-toofull-compress
qa/tasks/backfill_toofull: make test work when compression on

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-10-20 06:57:06 -07:00
Ronen Friedman
52e9fa16ef tests: modify osd-scrub-repair to match PR #43239 changes
PR #43239 has modified ECBackend::get_hash_info() behavior.
Modified the standalone scrub test to match.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2021-10-20 06:42:51 +00:00
Sage Weil
9e70065a73 Merge PR #43556 into master
* refs/pull/43556/head:
	qa/suites/orch/cephadm/osds: add osd rm/zap/add test

Reviewed-by: Cory Snyder <csnyder@iland.com>
2021-10-19 16:04:36 -04:00
Jeff Layton
5ab91d53a1 qa: remove REQUIRE_KCLIENT_REMOTE
Nothing references this variable anymore since commit 2df7caae4b (qa:
remove obsolete test).

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2021-10-19 11:07:09 -04:00
Sebastian Wagner
f1b93ec882
Merge pull request #43550 from liewegas/rook-nvme
qa/suites/orch/rook/smoke: use nvme-loop

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-19 11:30:40 +02:00
Ernesto Puerta
f5fddd6121
Merge pull request #42526 from liewegas/dashboard-nfs
mgr/dashboard: consume mgr/nfs

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Varsha Rao <rvarsha016@gmail.com>
2021-10-19 11:17:17 +02:00
Sage Weil
96319a3d39 qa/suites/orch/cephadm/osds: add osd rm/zap/add test
Signed-off-by: Sage Weil <sage@newdream.net>
2021-10-18 14:05:24 -05:00
Sage Weil
4a63e3eafd Merge PR #43510 into master
* refs/pull/43510/head:
	qa/suites/orch/cephadm/upgrade: smoke test for 'orch upgrade ls'
	mgr/cephadm: make upgrade ls output structured
	mgr/cephadm: add 'orch upgrade ls' to list available versions

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-18 15:03:24 -04:00
Sage Weil
8900775841 qa/suites/orch/cephadm/upgrade: smoke test for 'orch upgrade ls'
Signed-off-by: Sage Weil <sage@newdream.net>
2021-10-18 10:05:32 -04:00
Ilya Dryomov
cf8b6dc972
Merge pull request #42760 from ideepika/wip-iscsi-testing
qa/suites/rbd: switch iscsi tests to cephadm

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2021-10-18 14:25:36 +02:00