Commit Graph

6190 Commits

Author SHA1 Message Date
Yehuda Sadeh
d04ea3aab5 qa: s3a-hadoop: fix user creation
This breaks with the new more strict radosgw-admin command line parsing

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2020-01-28 10:20:39 -08:00
Sage Weil
ad67307ed9 Merge PR #32752 into master
* refs/pull/32752/head:
	cephadm: remove `logs` command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-27 15:20:32 -06:00
Sage Weil
835ce72575 Merge PR #32920 into master
* refs/pull/32920/head:
	qa/suites/rados/rest: run restful test on el8

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-27 13:28:59 -06:00
Sage Weil
b0bea75ed7 Merge PR #32885 into master
* refs/pull/32885/head:
	qa/suites/rados/thrash: debug monc

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-27 11:36:37 -06:00
Sage Weil
e33f610af9 Merge PR #32851 into master
* refs/pull/32851/head:
	qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_2
	qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2020-01-27 11:05:29 -06:00
Sage Weil
674622190e qa/suites/rados/rest: run restful test on el8
For some reason the requests library has trouble connecting from
ubuntu 18.04.  I reproduced this locally on my 18.04 desktop, although
there it fails on the first API request instead of the last (as in QA).

In any case, this appears to be a client library problem.

Fixes: https://tracker.ceph.com/issues/43720
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-27 11:02:07 -06:00
Sage Weil
14d1490f58 Merge PR #32898 into master
* refs/pull/32898/head:
	qa/suites/rados/singleton/all/recovery-preemption: fix pg log length

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-27 10:37:16 -06:00
Michael Fritch
0d331fccdc
cephadm: remove logs command
Fixes: https://tracker.ceph.com/issues/43618
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-01-27 07:22:11 -07:00
Sage Weil
695d0be225 qa/suites/rados/singleton/all/recovery-preemption: fix pg log length
This was broken by the variable PG log lengths in
9c69c2f7cc585b5e13e4d1b0432016d38135a3de.

Disable the new option to get (roughly) the old behavior, or at least the
short logs that we want to trigger some backfill.

Fixes: https://tracker.ceph.com/issues/43810
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-27 07:42:50 -06:00
Sage Weil
05cc0d8c70 Merge PR #32853 into master
* refs/pull/32853/head:
	qa/suites/fs/upgrade: finish at octopus
	qa/suites/fs/upgrade: set min-compat-client to octopus
	qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-27 07:14:37 -06:00
Kefu Chai
fdc1e88b87 qa/workunits/rados/test_crash.sh: do not fail if coredump not found
Fixes: https://tracker.ceph.com/issues/43653
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-27 01:20:56 +08:00
Sage Weil
e04a08069f qa/suites/rados/thrash: debug monc
Hunting https://tracker.ceph.com/issues/43825

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-26 11:13:20 -06:00
Sage Weil
7ce7ac8bfc qa/suites/fs/upgrade: finish at octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-25 16:04:28 -06:00
Sage Weil
3d94bc42db qa/suites/fs/upgrade: set min-compat-client to octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-25 13:31:08 -06:00
Sage Weil
41c03aa143 qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-24 21:01:07 -06:00
Patrick Donnelly
8c52bee40d
qa: fix testing kernel branch link
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-24 15:58:41 -08:00
Sage Weil
4fda278eaf Merge PR #32750 into master
* refs/pull/32750/head:
	qa/suites/upgrade/*-x/stress-split: run latest python tests at end
	qa/tasks/ceph_manager: kludge around /var/log/ceph permissions
	mgr/pg_autoscaler: don't check anything until cluster is nautilus
	qa/suites/upgrade: install python3-* as part of final upgrade step
	qa/tasks/radosbench: only set object size if != block size
	qa/tasks/ceph: simplify mon_health_to_clog suppression during restart
	cls_hello: alias write_return_data -> writes_dont_return_data
	ceph_test_cls_hello: only do returndata test on octopus+
	qa: remove unnecessary package excludes in upgrades/nautilus*
	qa: exclude cephadm from upgrade/nautilus-x
	qa/suites/upgrade/mimic-x/parallel: fix msgr2 vs octopus ordering
	qa/suites/upgrade/nautilus-x/stress-split: fix msgr2 vs octopus ordering
	qa/suites/upgrade/mimic-x: fix msgr2 vs octopus ordering
	qa/suites/upgrade/nautilus-x: end on octopus
	qa/suites/upgrade/mimic-x: finish at octopus
	qa/suites/upgrade/nautilus-x: disable TOO_FEW_PGS warning
	qa/tasks/ceph: set mon_health_to_clog=false via mon config
	qa/suites/upgrade/mimic-x: disable TOO_FEW_PGS warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-24 17:21:28 -06:00
Neha
b20817795a qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_2
Fixes: https://tracker.ceph.com/issues/43807
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-01-24 22:42:04 +00:00
Neha
994698277b qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_1
Fixes: https://tracker.ceph.com/issues/43807
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-01-24 22:20:21 +00:00
Sage Weil
81fc73b24e Merge PR #32788 into master
* refs/pull/32788/head:
	qa/tasks/mgr/dashboard: set pg_num to 32
	mgr/pg_autoscaler: default to pg_num[_min] = 32

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-24 08:32:13 -06:00
Sage Weil
b3914e26bc qa/suites/upgrade/*-x/stress-split: run latest python tests at end
Use the master/test/x branch, so that we run the python3 variant of the
test.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-24 06:52:41 -06:00
Sage Weil
29d3eaa1a3 qa/tasks/ceph_manager: kludge around /var/log/ceph permissions
The ceph.py task normally makes these permissive.  But a package upgrade
can reset the permissions so that we can't read and write the temp
export files.  (We put them in these dirs now because it's alreadly
mapped out of cephadm containers to the host.)

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 21:25:08 -06:00
Sage Weil
37d107cd7e qa/suites/upgrade: install python3-* as part of final upgrade step
These are new packages, so they won't install just by upgrading the old
packages, and they are needed for some of the tests.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 21:14:31 -06:00
Sage Weil
fb991fa5f6 qa/tasks/radosbench: only set object size if != block size
This is mostly pointless, except that the -O option for objects size
used to be -o for pre-octopus, so passing -O breaks the upgrade tests.
Fortunately, the upgrades use the defaults, so we can just skate by here.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 21:14:31 -06:00
Sage Weil
be05f210e7 qa/tasks/ceph: simplify mon_health_to_clog suppression during restart
This only does one thing--do that.  More simply.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 21:14:31 -06:00
Patrick Donnelly
92c19067de
qa: update xfstests version
Building xfstests on CentOS 8 has build errors:

    2020-01-23T21:15:14.939 INFO:tasks.workunit.client.0.smithi155.stderr:/home/ubuntu/cephtest/mnt.0/client.0/tmp/xfstests/src/fssum.c:616: undefined reference to `major'
    2020-01-23T21:15:14.939 INFO:tasks.workunit.client.0.smithi155.stderr:/home/ubuntu/cephtest/mnt.0/client.0/tmp/xfstests/src/fssum.c:617: undefined reference to `minor'
    2020-01-23T21:15:14.940 INFO:tasks.workunit.client.0.smithi155.stderr:collect2: error: ld returned 1 exit status

From: /ceph/teuthology-archive/pdonnell-2020-01-23_20:47:47-fs-wip-pdonnell-testing-20200122.210533-distro-basic-smithi/4697257/teuthology.log

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-23 15:37:56 -08:00
Patrick Donnelly
4810d68a30
qa: install some dependencies for xfstests
These are needed for CentOS 8 / RHEL8.

Also organize the YAML to use the cleaner array syntax.

Fixes: https://tracker.ceph.com/issues/43459
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-23 15:37:47 -08:00
Josh Durgin
fa27ba5c9c qa: remove unnecessary package excludes in upgrades/nautilus*
These packages are present in nautilus.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-01-23 17:13:09 -06:00
Josh Durgin
ec560a69eb qa: exclude cephadm from upgrade/nautilus-x
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
ba31ccb533 qa/suites/upgrade/mimic-x/parallel: fix msgr2 vs octopus ordering
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
2adadc2356 qa/suites/upgrade/nautilus-x/stress-split: fix msgr2 vs octopus ordering
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
8283ea9f58 qa/suites/upgrade/mimic-x: fix msgr2 vs octopus ordering
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
45604427b8 qa/suites/upgrade/nautilus-x: end on octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
044e9247bb qa/suites/upgrade/mimic-x: finish at octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
2182e79744 qa/suites/upgrade/nautilus-x: disable TOO_FEW_PGS warning
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
777f239df9 qa/tasks/ceph: set mon_health_to_clog=false via mon config
This actually works better on new versions.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:12:56 -06:00
Sage Weil
223d5d4f9f qa/suites/upgrade/mimic-x: disable TOO_FEW_PGS warning
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:12:34 -06:00
Sage Weil
2e1c9c9409 Merge PR #32787 into master
* refs/pull/32787/head:
	qa/tasks/cephadm: work around .git suffix on ceph_repo
	qa/tasks/cephadm: learn to pull cephadm from github

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-01-23 11:25:56 -06:00
Sage Weil
1ebe7950ed qa/tasks/cephadm: work around .git suffix on ceph_repo
githubusercontent.com doesn't like the .git suffix

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 08:25:34 -06:00
Ali Maredia
1a950cd5ec
Merge pull request #32791 from liewegas/fix-rgw-website
qa/suites/rgw/website: run test on ubuntu
2020-01-23 09:01:28 -05:00
Patrick Donnelly
5d8e1d0949
Merge PR #32741 into master
* refs/pull/32741/head:
	qa/cephfs: make filelock_interrupt.py work with python3

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-22 14:41:40 -08:00
Sage Weil
acd0e31177 qa/suites/rgw/website: run test on ubuntu
The dnsmasq package on centos 8.0 is broken, see
https://tracker.ceph.com/issues/43744

For now, run this test on ubuntu.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-22 15:17:57 -06:00
Neha
d6e720b29e qa/tasks/mgr/dashboard: set pg_num to 32
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-01-22 16:38:38 +00:00
Patrick Donnelly
1a0258ed3c
Merge PR #32644 into master
* refs/pull/32644/head:
	qa: ignore trimmed cache items for dead cache drop
	qa: use unit test comparisons

Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-01-22 08:21:04 -08:00
Sage Weil
317c78cf46 qa/tasks/cephadm: learn to pull cephadm from github
Fixes: https://tracker.ceph.com/issues/43755
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-22 08:47:03 -06:00
Sage Weil
e81054c640 Merge PR #32726 into master
* refs/pull/32726/head:
	mon/ConfigMonitor: clean out bad config records
	mon/ConfigMonitor: make 'config get' on fsid work
	common/options: remove NO_MON_UPDATE from mon_dns_srv_name
	mon/ConfigMonitor: do not 'config get' on NO_MON_UPDATE options
	mon/ConfigMonitor: do not set NO_MON_UPDATE values

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-22 08:23:36 -06:00
Laura Paduano
c60b9cf27d
Merge pull request #32653 from votdev/issue_43603_clone_role
mgr/dashboard: Clone an existing user role

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-22 14:28:09 +01:00
Varsha Rao
d4b6a5c2d4 cephfs-shell: Instead of assert use stat for tests in rmdir
Using assert causes the tests to fail on teuthology due to this test being run
separately from the ceph cluster. Instead use stat for testing.

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
d21df7560e cephfs-shell: Add function for common rmdir test code
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
c512b94127 cephfs-shell: Add rmdir test for non empty directory
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
0ef7c6e849 cephfs-shell: Add rmdir -p test for non empty directory
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
32be18e239 cephfs-shell: Add rmdir -p test for non existing dir
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
dec171dddb cephfs-shell: Add rmdir -p test to delete all dirs in given path
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
31710d037c cephfs-shell: Add rmdir -p test for root directory with empty directories
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
5236f76a19 cephfs-shell: Add rmdir test for valid file
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
b93d91b171 cephfs-shell: Add rmdir test for invalid directory
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Varsha Rao
00c052fec5 cephfs-shell: Add rmdir test for valid directory
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-01-22 16:30:11 +05:30
Patrick Donnelly
6637200cac
Merge PR #31232 into master
* refs/pull/31232/head:
	test: test case for openfiletable MAX_ITEMS_PER_OBJ value verification
	mds/OpenFileTable: match MAX_ITEMS_PER_OBJ to osd_deep_scrub_large_omap_object_key_threshold

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-21 20:00:43 -08:00
Patrick Donnelly
b8fb667120
Merge PR #32763 into master
* refs/pull/32763/head:
	qa: build v5.4 kernel

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-01-21 15:08:49 -08:00
Patrick Donnelly
1dcfa5e29b
Merge PR #32739 into master
* refs/pull/32739/head:
	qa: log warning on scrub error

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-21 13:28:34 -08:00
Patrick Donnelly
bc63a6581c
qa: build v5.4 kernel
CentOS8 userspace cannot build v4.17 kernel anymore. See also [1].

[1] https://lkml.org/lkml/2019/4/23/517

Fixes: https://tracker.ceph.com/issues/43719
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-21 13:03:03 -08:00
Ali Maredia
2552974fe7 qa: pin rgw/verify to 8.0
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2020-01-21 13:02:42 -05:00
Sage Weil
ff41594ade Merge PR #32738 into master
* refs/pull/32738/head:
	qa/standalone/misc/ok-to-stop: improve test
	qa/standalone/ceph-helpers: add wait_for_peered

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-21 09:18:49 -06:00
Volker Theile
944490f34f mgr/dashboard: Clone an existing user role
Fixes: https://tracker.ceph.com/issues/43603

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-01-21 14:51:56 +01:00
Sage Weil
089e97c270 Merge PR #32725 into master
* refs/pull/32725/head:
	qa/tasks/ceph_manager: fix revive_osd path
	qa/tasks/ceph_manager: fix shell osd for ceph-objectstore-tool commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-20 22:20:25 -06:00
Sage Weil
e1dcfa6d3d Merge PR #32737 into master
* refs/pull/32737/head:
	qa/tasks/ceph_manager: fix post-osd-kill pg peered check

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-20 22:20:10 -06:00
Yan, Zheng
8c4fdbdf81 qa/cephfs: make filelock_interrupt.py work with python3
Fixes: https://tracker.ceph.com/issues/43513
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2020-01-21 10:47:51 +08:00
Patrick Donnelly
590368e956
qa: ignore trimmed cache items for dead cache drop
Fixes: https://tracker.ceph.com/issues/42986
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:52:12 -08:00
Patrick Donnelly
a37eda7612
Merge PR #32642 into master
* refs/pull/32642/head:
	qa: save MDS epoch barrier
	qa: prefer rank_asok

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:29:57 -08:00
Patrick Donnelly
8d9caddca6
qa: save MDS epoch barrier
Rather than verify the latest OSDMap is the same as the rank's
osdmap_epoch_barrier, just use the rank's version. The OSDMap may change
out-of-band with the test startup and thus the epoch's would diverge.
The file system and rank is fresh for each test so there's no reason to
care if the MDS barrier is one epoch behind the latest.

Fixes: https://tracker.ceph.com/issues/43554
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:20:57 -08:00
Patrick Donnelly
b89f3ca941
qa: prefer rank_asok
This is a trivial refactor.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:20:57 -08:00
Patrick Donnelly
a8a19501b7
qa: use unit test comparisons
So they show values on failure.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:08:44 -08:00
Patrick Donnelly
458f383cf2
mds: track high water mark for purges
This makes the corresponding test not racy.

Fixes: https://tracker.ceph.com/issues/16881
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:06:19 -08:00
Patrick Donnelly
096a5cad38
qa: use correct variable for exception debug
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:06:19 -08:00
Sage Weil
76ea774c10 qa/standalone/misc/ok-to-stop: improve test
Make sure PGs peer (simply flushing state to mon isn't enough).

Fixes: https://tracker.ceph.com/issues/43721
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 13:24:30 -06:00
Patrick Donnelly
b7454e4236
qa: log warning on scrub error
Instead of printing the (useless) traceback, just print a warning about
ignoring the failure. The traceback makes it harder to search for the
real problem in the teuthology log.

Fixes: https://tracker.ceph.com/issues/43718
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 11:24:09 -08:00
Sage Weil
78ec6aec90 qa/standalone/ceph-helpers: add wait_for_peered
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 13:23:56 -06:00
Patrick Donnelly
f3f6f56cd5
Merge PR #32524 into master
* refs/pull/32524/head:
	qa/xfstests_dev: change deps for xfstests-dev on ubuntu
	qa/cephfs: change deps for xfstests-dev on centos8
	vstart_runnner: add sh method to LocalRemote

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 11:13:06 -08:00
Sage Weil
02a745f8c9 mon/ConfigMonitor: do not set NO_MON_UPDATE values
These options are special.  Since we can't get the values from the mon,
we also shouldn't store them there.  Most of them are not options that
can be changed anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 13:12:04 -06:00
Patrick Donnelly
6109e67d93
Merge PR #32639 into master
* refs/pull/32639/head:
	qa: rename kcephfs distro overrides

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-01-20 11:08:47 -08:00
Patrick Donnelly
721c959ab3
Merge PR #32696 into master
* refs/pull/32696/head:
	mgr/volumes: fail removing subvolume with snapshots

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 11:07:55 -08:00
Ali Maredia
14981cb168
Merge pull request #32727 from liewegas/fix-rgw-os
qa/suite/rgw/verify: valgrind on centos again!
2020-01-20 12:35:41 -05:00
Sage Weil
3005d24001 qa/tasks/ceph_manager: fix revive_osd path
This was broken since it was introduced in b02e2f6cf2
a year and a half ago...

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 11:23:13 -06:00
Patrick Donnelly
476e1a85f1
Merge PR #32668 into master
* refs/pull/32668/head:
	qa: ignore slow ops for ffsb workunit

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 09:15:32 -08:00
Sage Weil
9600152593 qa/tasks/ceph_manager: fix post-osd-kill pg peered check
This was asserting that all PGs are active or peered, but that assertion
could fail if the concurrent workload created a new pool.

Switch to a loop that checks several times for the condition to be true.

Fixes: https://tracker.ceph.com/issues/43656
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 09:47:36 -06:00
Sage Weil
5c1e0e5f1f qa/suite/rgw/verify: valgrind on centos again!
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-19 18:47:13 -06:00
Sage Weil
ce16d20b2b Merge PR #32724 into master
* refs/pull/32724/head:
	qa/workunits/rados/test_crash.sh: suppress core files

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-19 18:13:43 -06:00
Sage Weil
290992e519 qa/workunits/rados/test_crash.sh: suppress core files
The cores will make teuthology fail the job--and we don't want them for
this test, where we are deliberately causing crashes.

Fixes: https://tracker.ceph.com/issues/43653
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-19 17:12:09 -06:00
Sage Weil
0aee4e5f04 qa/tasks/ceph_manager: fix shell osd for ceph-objectstore-tool commands
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-19 15:32:25 -06:00
Mykola Golub
edfc6934e2
Merge pull request #32684 from dillaman/wip-rbd-el8
tests: corrected issues with RBD tests under EL8 distros

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-01-19 20:48:09 +02:00
Kefu Chai
a048784937
Merge pull request #32719 from liewegas/wip-o-upgrades
qa/suites/upgrade: fix mimic-x-singleton

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-19 11:39:01 +08:00
Sage Weil
c5710bc8fb Merge PR #32628 into master
* refs/pull/32628/head:
	test: Fix wait_for_state() to wait for a PG to get into a state

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-18 14:39:19 -06:00
Sage Weil
65c89b93ae Merge PR #32711 into master
* refs/pull/32711/head:
	qa/standalone/mon/osd-create-pool: fix utf-8 grep LANG

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-18 12:53:24 -06:00
Rishabh Dave
b9e006a4db qa/xfstests_dev: change deps for xfstests-dev on ubuntu
Rename python to python2 if Ubuntu distro release is 19 or later.

Fixes: https://tracker.ceph.com/issues/43522
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-18 11:45:13 +05:30
Vikhyat Umrao
e0abf8c13a test: test case for openfiletable MAX_ITEMS_PER_OBJ value verification
Signed-off-by: Vikhyat Umrao <vikhyat@redhat.com>
2020-01-17 19:35:46 -08:00
Sage Weil
2d90d5778d Merge PR #32713 into master
* refs/pull/32713/head:
	qa/tasks/cephadm: start watching initial daemons before bootstrap
	qa/tasks/cephadm: create /etc/ceph if it doesn't exist
	qa/tasks/cephadm: fix log whitelist when there is no whitelist

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-17 19:46:39 -06:00
Sage Weil
5ef77e1165 qa/releases/octopus: disable autoscale warnings
Existing pools might have too many/few PGs and produce a warning that
prevents us from getting to HEALTH_OK.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:52:40 -06:00
Sage Weil
0bdaf4b953 qa/tasks/ceph_manager: fix ceph-objectstore-tool calls
Pass the correct paths based on whether this is the importing or exporting
OSD.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:08:00 -06:00
Sage Weil
878e27ee0d qa/tasks/ceph_manager: fix admin_socket remote when using cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:07:40 -06:00
Sage Weil
81c735fc9c qa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool
The config is currently fetched at osd.admin, so the keyring is not
found.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:07:40 -06:00