Commit Graph

290 Commits

Author SHA1 Message Date
Laura Flores
bf893680e5
Merge pull request #56619 from ljflores/wip-tracker-64864
qa/suites: add "mon down" log variations to ignorelist
2024-04-08 10:04:16 -05:00
Laura Flores
d475ac3e6a qa/suites: add "mon down" log variations to ignorelist
Fixes: https://tracker.ceph.com/issues/64864
Signed-off-by: Laura Flores <lflores@ibm.com>
2024-04-01 16:29:26 -05:00
Casey Bodley
7d68aaff3b qa/upgrade/quincy: bump ubuntu from 20->22
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-03-29 12:12:18 -04:00
Casey Bodley
849a58b087 qa/distros: add supported-container-hosts for cephadm and upgrade suites
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-01-30 10:02:52 -05:00
Adam King
967716f2e6 qa/upgrade/reef-x: pull compiled cephadm to start upgrades from reef
The compiled zipapp cephadm that began in reef needs
to be pulled differently than the old single python script
cephadm from earlier releases. This commit updates the reef-x
upgrade suite to pull cephadm in this new way.

Signed-off-by: Adam King <adking@redhat.com>
2024-01-08 09:51:52 -05:00
Radosław Zarzyński
def898c5a2 qa: drop filestore-remove-check from upgrade/reef-x
FileStore is removed in Reef.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Radoslaw Zarzynski
7af05d0944 qa: bring qa/suites/upgrade/reef-x
Bases on quincy-x.

```
$ cp -R qa/suites/upgrade/quincy-x/ qa/suites/upgrade/reef-x
$ git add qa/suites/upgrade/reef-x
$ git mv qa/suites/upgrade/reef-x/filestore-remove-check/1-ceph-install/quincy.yaml qa/suites/upgrade/reef-x/filestore-remove-check/1-ceph-install/reef.yaml
$ find qa/suites/upgrade/reef-x/ -type f -exec sed -i 's/quincy/reef/g' {} +
```

A note from rebase: changes from 05e24270a2
have been pulled in.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Radoslaw Zarzynski
081177f6a4 qa: stubs and clean up for reef
- remove upgrades from octopus
- stubs for completing upgrade to reef

Still missing the quincy-x upgrade tests.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Yuri Weinstein
139f9d1505
Merge pull request #53085 from ceph/wip-yuriw-reef-x-main
qa/tests: initial reef-x check in

Reviewed-by: Laura Flores <lflores@redhat.com>
2023-10-10 11:55:24 -07:00
Laura Flores
9c5755a4ac qa/suites/upgrade: fix env indentation in stress-split upgrade tests
This is an issue with the stress-split yaml files, as introduced in https://github.com/ceph/ceph/pull/51889.

The stress-split tests have an incorrectly-intented "env" section, which teuthology detects as an entry for "clients".

Fixes: https://tracker.ceph.com/issues/63158
Signed-off-by: Laura Flores <lflores@ibm.com>
2023-10-09 20:27:25 +00:00
Ilya Dryomov
bb8745e032
Merge pull request #51889 from idryomov/wip-61505
qa/suites/upgrade: enable default RBD image features

Reviewed-by: Mykola Golub <mgolub@suse.com>
2023-09-08 16:19:05 +02:00
Yuri Weinstein
b5a280a452 qa/tests: initial reef-x check in
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2023-08-22 08:49:01 -07:00
Casey Bodley
cbdd520995 qa/suites: install pytest for pybind tasks
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-07-17 16:31:08 -04:00
Ilya Dryomov
05e24270a2 qa/suites/upgrade: enable default RBD image features
Until commit 9fe05da413 ("Revert "test: adjust rbd test case guards
to handle new defaults""), default RBD image features were enabled only
in Python API tests; C/C++ API tests were still exercising format 1
(6-7 years after its deprecation!).

Enable format 2 with default image features universally across upgrade
suites.

Fixes: https://tracker.ceph.com/issues/61505
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-06-02 10:18:24 +02:00
Yuri Weinstein
d0381ed7e6 qa/upgrade: consistently use the tip of the branch as the start version
Also corrected line to use image: quay.ceph.io/ceph-ci/ceph:*
In order to make sure that latest versions of ceph is used as initial install

Fixes: https://tracker.ceph.com/issues/58914
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2023-04-03 08:19:11 -07:00
Nitzan Mordechai
d8202bc67c rados: upgrade suite test filestore removal
When upgrading osd with filestore to reef, restart should not be possible
the osd won't boot and error message will be showed in the osd log

Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
2023-02-12 06:11:29 +00:00
Laura Flores
f9e77f0286 qa/suites/upgrade: add telemetry coverage to existing upgrade tests
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-10-08 04:48:49 +00:00
Laura Flores
359435efb8 qa/suites/upgrade/telemetry-upgrade: add new telemetry upgrade tests
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-10-08 04:48:40 +00:00
Radoslaw Zarzynski
bd14233e1e doc, qa: bring qa/suites/upgrade/quincy-x
Bases on pacific-x.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-09-20 14:29:57 +00:00
Radoslaw Zarzynski
4baea08565 doc, qa: stubs and clean up for reef
- remove upgrades from octopus
- stubs for completing upgrade to reef

Still missing the quincy-x upgrade tests.

`c8e1f4c2b547a152e049af2b529bf415f6d76e59` has moved
the `thrash-old-clients` tests back to the rados suite.
This commit fixes the `release-checklists.rst` accordingly.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-09-20 14:29:47 +00:00
Yuval Lifshitz
acd6d4efea tests: remove pubsub tests from multisite
Fixes: https://tracker.ceph.com/issues/56572

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-09-12 18:54:46 +03:00
David Galloway
ae2e93f5f1 qa: Pull from quay.io not docker.io
We are pushing to quay.io now due to docker.io rate limiting.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-05-18 14:22:52 -04:00
Kamoltat
1bc51f057f upgrade/pacific-x/parallel: Added mds.a and mds.b
Added mds daemons so that it can create
cephFS pools and set options using
`do_set_pool()` in FSCommand.cc. Such that
we can cover corner cases like that in

https://tracker.ceph.com/issues/54263

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2022-03-02 22:34:21 +00:00
Patrick Donnelly
1f714da814
qa: fix or add missing .qa links
Using this command:

    find qa/suites/ -type d -execdir ln -sfT ../.qa/ {}/.qa \;

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2022-02-03 10:08:30 -05:00
Neha Ojha
80041e5eba qa/*/octopus-x/stress-split-erasure-code-no-cephadm: set quincy flags
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:46:21 +00:00
Neha Ojha
6ad7a8a597 qa/suites/upgrade/octopus-x/stress-split-no-cephadm: remove msgr2
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
df67040a4c qa: test upgrades with hybrid allocator
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
3b15a04455 qa: rename octopus install correctly
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
ed4bb05bd9 qa: remove leftovers from nautilus
pglog_hardlimit and msgr2

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:44:39 +00:00
Neha Ojha
8ad9aa7fde qa/suites/upgrade/octopus-x/stress-split-no-cephadm: set quincy flags
not pacific

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-01 02:43:46 +00:00
J. Eric Ivancich
08adeae354
Merge pull request #43824 from cbodley/wip-qa-rgw-upgrade-octopus-multisite-cv
qa/upgrade: rgw multisite upgrade test excludes ceph-volume

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2021-11-19 14:11:39 -05:00
Sage Weil
91157246d6 Merge PR #43934 into master
* refs/pull/43934/head:
	qa/suites/rados/dashboard: use single-container-host.yaml
	qa/distros: add single-container-host.yaml
	qa/suites: use distros/container-hosts/
	qa/distros/container-hosts: add 8.stream + crun
	qa/distros/container-hosts: add collection of container targets

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-17 17:04:57 -05:00
Casey Bodley
06b266b83c qa/upgrade: rgw multisite upgrade test excludes ceph-volume
E: Unable to locate package ceph-volume

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-11-17 14:37:49 -05:00
Sage Weil
88da4c38d4 qa/suites: use distros/container-hosts/
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-17 09:02:39 -06:00
Neha Ojha
d31130d451
Merge pull request #43938 from neha-ojha/wip-quick-fix
qa/suites/upgrade/octopus-x: set bluestore fsck quick fix on mount to true

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
2021-11-15 16:09:30 -08:00
Neha Ojha
94e3a240ad qa/suites/upgrade/octopus-x: set bluestore fsck quick fix on mount to true
First step towards catching bugs like https://tracker.ceph.com/issues/53062.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-11-15 21:39:15 +00: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
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
Sage Weil
4e525127fb qa/suites/upgrade/pacific-x: skip c-v install on pacific start
Signed-off-by: Sage Weil <sage@newdream.net>
2021-09-20 08:47:45 -04:00
Sage Weil
0b361fc8b9 qa/packages: install ceph-volume
Signed-off-by: Sage Weil <sage@newdream.net>
2021-09-19 21:51:19 -04:00
Casey Bodley
214f2f3b84 qa/rgw: move mixed-version multisite tests out of upgrade suite
not really fixing anything, but moves the failures out of the normal
upgrade suite

Fixes: https://tracker.ceph.com/issues/49955

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-08-20 10:30:42 -04:00
Sage Weil
f8f7b86571 Merge PR #42292 into master
* refs/pull/42292/head:
	qa/suites/upgrade: log_to_journald=false

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-07-26 19:23:26 -04:00
Sage Weil
ac63ab6125 Merge PR #42489 into master
* refs/pull/42489/head:
	qa/suites/upgrade/pacific-x/stress-split: do not avoid_pacific_features

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-07-26 19:23:03 -04:00
Sage Weil
69a834d21f qa/suites/upgrade/pacific-x/stress-split: do not avoid_pacific_features
We can use pacific features when installing pacific.

Otherwise, we end up with the default keyring rule for client.admin,
which uses mode 0600, which makes teuthology jobs fail.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-07-16 11:23:36 -05:00
Sage Weil
10cdb238d2 qa/suites/upgrade/pacific-x: do distro before tasks
Otherwise, we isntall new podman at the end, and the
container-selinux-policy package install triggers a bunch of selinux
errors.

Fixes: https://tracker.ceph.com/issues/50151
Signed-off-by: Sage Weil <sage@newdream.net>
2021-07-14 15:24:07 -05:00
Sage Weil
58a90d1724 qa/suites/upgrade: log_to_journald=false
In 8b95c4b7c5 we set log_to_journald=false
in the cephadm config.  However, that's not present in pre-quincy builds,
which means that when we upgrade the new daemons start spamming the
teuthology.log.  Set this (with --force, since it's not valid pre-quincy)
in the config before we start the ugprade.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-07-12 13:32:51 -05:00
Patrick Donnelly
71d2c81d41
qa: add upgrade test for devicehealth
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-06-11 19:35:17 -07:00
Sage Weil
7ba8692a2e qa/suites/upgrade/pacific-x/stress-split: add
Copied from octopus and adjusted starting version

Signed-off-by: Sage Weil <sage@newdream.net>
2021-05-07 13:23:04 -05:00
Sage Weil
75480f52e4 Merge PR #40941 into master
* refs/pull/40941/head:
	qa/suites/rados/cephadm/smoke-roleless: test client-keyring
	qa/tasks/cephadm.py: adjust client.admin key mode; place on all hosts
	cephadm: distribute client.admin keyring+conf to label:_admin on bootstrap
	doc/cephadm: document the default 'admin' label
	mgr/cephadm: 'ceph orch client-keyring ...' commands to manage keyring files
	mgr/cephadm: reimplement ceph.conf pushing
	mgr/cephadm: use _write_remote_file for ceph.conf
	mgr/cephadm: _write_remote_file helper
	mgr/cephadm: add placementspec for which hosts get ceph.conf

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Adam King <adking@redhat.com>
2021-04-28 14:26:35 -04:00
Sage Weil
b0dcaf2cfa qa/tasks/cephadm.py: adjust client.admin key mode; place on all hosts
Except during upgrades, since it is not supported there.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-04-27 18:29:50 -04:00