Commit Graph

197 Commits

Author SHA1 Message Date
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
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
cbeb24323a qa/suites/upgrade/nautilus-x-singleton: ensure hit sets behave across upgrade
Create a pool that generates hit sets before the upgrade, and ensure that
they (continue to) trim after the upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-07 16:44:18 -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
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
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
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
5673ff2e00 qa/suites/upgrade/mimix-x-singleton: upgrading to octopus, not n
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 15:06:54 -06:00
Patrick Donnelly
02b3883dd0
Merge PR #32363 into master
* refs/pull/32363/head:
	qa: add .qa link

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-06 12:18:12 -08:00
Sage Weil
5ec92e79a2 Merge PR #32232 into master
* refs/pull/32232/head:
	qa: no need to exclude ceph-mgr-diskprediction-cloud from package list to be installed
	qa/packages: do not install ceph-mgr-diskprediction-cloud by default
	ceph.spec.in: add runtime deps for mgr-diskprediction-cloud

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-24 08:17:35 -06:00
Patrick Donnelly
4562823a19
qa: add .qa link
Continuation of 716db6e2fd.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-19 14:31:09 -08:00
Sage Weil
aa9272d872 qa/tasks/swift: remove swift tests
- This is an ancient swift version
- The tempest tests are newer and show provide similar coverage
- It somehow broke with the py3 transition

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-19 12:21:21 -06:00
Kefu Chai
4148ff42b5 qa: no need to exclude ceph-mgr-diskprediction-cloud from package list to be installed
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-17 21:52:18 +08:00
Sage Weil
462ee827cf qa/suites/upgrade: all upgrades to octopus on ubuntu only
We cannot do a traditional upgrade (install old package, start cluster,
install new package, ...) because nautilus is el7-only and octopus is
el8-only.

So, do these tests on ubuntu.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-16 12:41:34 -06:00
Sage Weil
cd1c05acbb mgr/ssh -> mgr/cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 19:14:24 -06:00
Sage Weil
c8750b7066 files,rpm,deb: rename ceph-daemon -> cephadm
This is just renaming the files and adjusting the packages.  Lots of
cleanup to do still.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 19:14:09 -06:00
Patrick Donnelly
094df5c3f0
qa: test fs:upgrade when running upgrade suite
Sometimes this suite breaks because it's not usually tested when upgrade
suites are modified.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-28 20:41:29 -07:00
Sage Weil
9f912c2158 qa/suites/upgrade/*-x-singleton: suppress TOO_FEW_PGS warning
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-22 15:53:05 -05:00
Sage Weil
f2e2cb1541 qa: add ceph-daemon
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-04 20:33:35 -05:00
Sage Weil
f011c13547 Merge PR #29292 into master
* refs/pull/29292/head:
	os/bluestore: warn on no per-pool omap
	os/bluestore: fsck: warning (not error) by default on no per-pool omap
	os/bluestore: fsck: int64_t for error count
	os/bluestore: default size of 1 TB for testing
	os/bluestore: behave if we *do* set PGMETA and PERPOOL flags
	os/bluestore: do not set both PGMETA_OMAP and PERPOOL_OMAP
	os/bluestore: fsck: only generate 1 error per omap_head
	os/bluestore: make fsck repair convert to per-pool omap
	os/bluestore: teach fsck to tolerate per-pool omap
	os/bluestore: ondisk format change to 3 for per-pool omap
	mon/PGMap: add data/omap breakouts for 'df detail' view
	osd/osd_types: separate get_{user,allocated}_bytes() into data and omap variants
	mon/PGMap: fix stored_raw calculation
	mon/PGMap: add in actual omap usage into per-pool stats
	osd: report per-pool omap support via store_statfs_t
	os/bluestore: set per_pool_omap key on mkfs
	osd/osd_types: count per-pool omap capable OSDs
	os/bluestore: report omap_allocated per-pool
	os/bluestore: add pool prefix to omap keys
	kv/KeyValueDB: take key_prefix for estimate_prefix_size()
	os/bluestore: fix manual omap key manipulation to use Onode::get_omap_key()
	os/bluestore: make omap key helpers Onode methods
	os/bluestore: add Onode::get_omap_prefix() helper
	os/bluestore: change _do_omap_clear() args

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-08-09 10:40:45 -05:00
Sage Weil
b8501164ef os/bluestore: warn on no per-pool omap
Signed-off-by: Sage Weil <sage@redhat.com>
2019-08-09 08:21:18 -05:00
Yuri Weinstein
644ed83e24 qa/tests: added rbd task on ec
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-08-08 08:10:37 -07:00
Yuri Weinstein
f34f96dc4a qa/tests: added rgw into upgrade sequence to improve coverage
added rgw into upgrade sequence to improve coverage - splits
See https://github.com/ceph/ceph/pull/29234 https://github.com/ceph/ceph/pull/29282

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-31 08:48:03 -07:00
Yuri Weinstein
c3df207003 qa/tests: added rgw into upgrade sequence to improve coverage - splits
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-24 13:25:32 -07:00
Yuri Weinstein
99d6890d0f qa/tests: added rgw into upgrade sequence to improve coverage
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-23 17:37:40 -07:00
Yuri Weinstein
a2ac7e2f36
Merge pull request #28931 from yuriw/wip-yuriw-40452-master
qa/tests: added ragweed coverage to stress-split* upgrade suites
2019-07-09 12:54:07 -07:00
Yuri Weinstein
0f6b30d600 qa/tests: added ragweed coverage to stress-split* upgrade suites
added ceph config set global bluestore_warn_on_legacy_statfs fals
changed user "foo" to "ragweed" in ragweed.py

Fixes: http://tracker.ceph.com/issues/40452
Fices: http://tracker.ceph.com/issues/40467
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-08 12:51:51 -07:00
Yuri Weinstein
291629b417 qa/tests: added ragweed coverage to stress-split* upgrade suites
added ceph config set global bluestore_warn_on_legacy_statfs fals
chnaged user "foo" to "ragweed" in ragweed.py

Fixes: http://tracker.ceph.com/issues/40452
Fices: http://tracker.ceph.com/issues/40467
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 5e7e1f382f)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-08 12:38:25 -07:00
Sage Weil
fdf6f8b26b qa/suites/upgrade/mimic-x-singleton: suppress legacy statfs warning
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-28 19:21:52 -05:00
Sage Weil
8de8eadc6e Merge PR #27786 into master
* refs/pull/27786/head:
	qa/suites/upgrade/*-x-singleton: enable bluestore debugging settings

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-26 13:23:04 -05:00
Sage Weil
0fe0ec3343 qa/suites/upgrade/*-x-singleton: enable bluestore debugging settings
We default to bluestore already; use the yaml explicitly so that we get
debugging turned up.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-25 08:33:56 -05:00
Neha Ojha
5f1702e87c qa/suites/upgrade: use correct branch names
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-04-24 13:01:20 -07:00
Sage Weil
cea39d2f01 qa/suites/upgrade/nautilus-x-singleton: upgrade mgrs early
The mgrmap may change when the mons upgrade, causing the mgr daemons to
respawn.  Restart mgr daemons before mons to avoid a mismatch between
the running version and the ondisk binary.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-02 16:41:15 -05:00
Sage Weil
2436eadcfd qa/suites/upgrade/mimic-x-singleton: upgrade mgrs later
The mgrmap may change when the mons upgrade, causing the mgr daemons to
respawn.  Delay the upgrade until later so that the ondisk binary does
not change out from underneath them.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-02 16:39:58 -05:00
Sage Weil
0adc99511f qa/suites: add upgrade/nautilus-x-singleton and symlink from rados/upgrade
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-02 16:35:25 -05:00
Sage Weil
7fbc0f6e2c qa/suites: move rados/upgrade/mimic-x-singleton to upgrade/ and symlink
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-02 16:33:38 -05:00
Sage Weil
f3499b10b3 qa/suites/upgrade/nautilus-x: misc updates
- start with msgr2 enabled (defaults)
- run nautilus branch for workunits
- drop msgr2 enable step at teh end
- add octopus placeholder (although it is empty for now)

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-22 16:38:27 -05:00
Kefu Chai
1231a306ec qa/suites: do not test luminous-x upgrade path
in this change,

* suites/rados/upgrade: luminous-x-singleton => mimic-x-singleton
* suites/upgrade: luminous-x => nautilus-x

we support upgrade from n to n+2 release. otherwise monitor refuses to
do so:

mon.a@-1(probing) e1 current monmap has min_mon_release 15 (luminous)
which is >2 releases older than me 15 (octopus), stopping.

Fixes: https://tracker.ceph.com/issues/38845
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-22 22:39:42 +08:00
Kefu Chai
6f1fd44bbc
Merge pull request #27011 from liewegas/wip-redirect-mimic
qa/suites/upgrade/mimic-x/parallel: enable all classes

Reviewed-by: Myoungwon Oh <omwmw@sk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-18 01:22:44 +08:00
Sage Weil
b71a766d19 qa/suitse/upgrade/luminous-x/stress-split-erasure-code: disable c-o-t tests
The stress-split thrasher already had this off, but the ec variant did
not.  We don't support ceph-objectstore-tool exports/imports between major
versions.

Fixes: http://tracker.ceph.com/issues/38294
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-17 04:59:36 -05:00
Sage Weil
bfd0581c5f qa/suites/upgrade/mimic-x/parallel: enable all classes
This fixes the redirect tiering tests, which need the 'cas' class.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-16 15:27:29 -05:00
Sage Weil
a376a151ea qa/suites/upgrade/mimic-x/parallel: run master rados/test.sh
We rename ceph_test_rados_api_tier to add _pp, so the mimic version doesn't
work.  And in any case, at this stage the client host has master installed.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-06 16:50:12 -06:00
Sage Weil
d198831c44 Merge PR #26262 into master
* refs/pull/26262/head:
	mgr/orch/ssh: add qa test
	qa: install/exclude ceph-mgr-ssh package
	debian: package ssh orchestrator
	spec.ceph: package ssh orchestrator
	ssh/orch: add ssh orchestrator
2019-02-20 13:05:11 -06:00