Commit Graph

10318 Commits

Author SHA1 Message Date
Zack Cerza
0e959b9800
Merge pull request #53926 from zmc/workunit-assert-client-role
qa/tasks/workunit: improve assert on client names
2023-10-11 15:10:14 -06:00
Radoslaw Zarzynski
0a193b0b1b
Merge pull request #53579 from Matan-B/wip-matanb-reset_purged_snaps_last
osd/OSD: introduce reset_purged_snaps_last

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-10-11 17:01:44 +02:00
Yuri Weinstein
5457b5aa3e qa/tests: Added upgrade/reef-x to the mix
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2023-10-10 12:00:12 -07: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
Zack Cerza
64d6a91cd6 workunit: Improve assert on client names
Instead of a bare AssertionError, we can mention the problematic value.

Signed-off-by: Zack Cerza <zack@redhat.com>
2023-10-10 11:23:20 -06:00
Laura Flores
18ac19a7ae
Merge pull request #53900 from ljflores/wip-fix-stress-split-tests
qa/suites/upgrade: fix env indentation in stress-split upgrade tests
2023-10-10 11:52:01 -04:00
Matan Breizman
680e088b8d qa/tasks/ceph_manager: thrash - add reset_purged_snaps_last
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-10-10 12:04:32 +00:00
Venky Shankar
a8e3a32d6c Merge PR #53885 into main
* refs/pull/53885/head:
	Revert "mds: disable delegating inode ranges to clients"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2023-10-10 09:35:37 +05:30
Yuri Weinstein
a9359c5c56
Merge pull request #53517 from cbodley/wip-qa-distros-s
qa/distros: remove centos/rhel8 and ubuntu20.04 from supported distros

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2023-10-09 14:04:54 -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
Rishabh Dave
1f047664e1
Merge pull request #53405 from rishabh-d-dave/ceph-auth-caps-val-caps
mon/AuthMonitor: make "ceph auth caps" print error messsages

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2023-10-09 22:49:28 +05:30
Venky Shankar
c9d67526b2 Revert "mds: disable delegating inode ranges to clients"
This isn't necessary -- the MDS handles delegating inode ranges
to clients from its preallocated inode set properly - the suspected
bug involving not persisting the sessionmap and causing asserts
during replay isn't an issue. The preallocated set is persisted
with the log event and the MDS correctly rebuild the set from
this information during replay.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-10-09 22:22:21 +05:30
Venky Shankar
5856a1e6b7 qa: typo fix when checking for perf counter - s/md_thresh_evicted/mdthresh_evicted
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-10-09 14:59:18 +05:30
Venky Shankar
92200d9d10 qa: lower mds_session_metadata_threshold for tests
... and increase the number of files that are created so as to
hit the threshold with a high probability.

Fixes: http://tracker.ceph.com/issues/62873
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-10-09 14:59:18 +05:30
Rishabh Dave
4228df3f35 mds/MDSAuthCaps: re-word an error message for better clarity
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-10-06 14:22:14 +05:30
Venky Shankar
4c6660842f qa: start testing mds_client_delegate_inos_pct config
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-10-05 15:09:15 +05:30
Ilya Dryomov
6c6f0d3109
Merge pull request #53735 from idryomov/wip-63010
qa/suites/krbd: stress test for recovering from watch errors

Reviewed-by: Mykola Golub <mgolub@suse.com>
2023-10-02 17:10:19 +02:00
Ilya Dryomov
237aa221eb qa/suites/krbd: stress test for recovering from watch errors
Fixes: https://tracker.ceph.com/issues/63010
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-10-02 12:21:12 +02:00
Venky Shankar
6d8679ebcd Merge PR #53594 into main
* refs/pull/53594/head:
	qa: fix "no orch backend set" in nfs suite

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-09-29 10:01:17 +05:30
Casey Bodley
2f5657011f
Merge pull request #53608 from cbodley/wip-62536
qa/rgw/sts: keycloak task installs java manually

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2023-09-28 15:37:20 +01:00
Rishabh Dave
e404413e89 mon/AuthMonitor: make "ceph auth caps" print error messsages...
generated by MDSAuthCaps::parse(). Specifically, in this case, this
command is supposed to print an error message when permission flag passed
for MDS capability is incorrect.

This needs the method AuthMonitor::_update_or_create_entity() to be
fixed. The issue is that stderr stream is not passed from the block under
"else if" clause of "ceph auth caps" command to MDSAuthCaps::_parse()
method. Let's fix this by adding a parameter for stderr stream to every
method in stack that is between this block and MDSAuthCaps::parse()
method.

qa.tasks.cephfs.test_admin.TestPermErrMsg contains tests that checks
whether or not all the Ceph commands that accept MDS capabilites print
the error message when permission flag in this capaibility is incorrect.
Add a test to this class to check if "ceph auth caps" also print an error
message when perm flag in MDS capability sting is incorrect.

Fixes: https://tracker.ceph.com/issues/63020
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-09-28 19:52:03 +05:30
Ilya Dryomov
2094a0450d qa/suites/krbd: rename singleton to singleton-msgr-failures
A "singleton without msgr-failures" is wanted in the next commit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-09-28 12:06:11 +02:00
Casey Bodley
de55616429
Merge pull request #53607 from cfsnyder/wip-cfsnyder-bucket-check-bug
rgw: fix radosgw-admin bucket check stat calculation bug

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-09-27 18:38:42 +01:00
Kamoltat (Junior) Sirivadhna
dc5d6ffa42
Merge pull request #52442 from kamoltat/wip-ksirivad-fix-tracker-61922
pybind/mgr/pg_autoscaler: noautoscale flag retains individual pool configs
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
2023-09-25 17:57:38 -04:00
Kamoltat
0972dbf225 qa/workunits: modified tests for noautoscale flag change
modified:

`qa/workunits/mon/test_noautoscale_flag.sh`
`qa/workunits/cephtool/test.sh`

adding test coverage to files mentioned above

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

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2023-09-25 12:46:36 +00:00
Casey Bodley
3cdfef2cf6
Merge pull request #53097 from mkogan1/rgw-wip-t62141-valg-supp
valgrind: UninitCondition under __run_exit_handlers suppression

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-09-23 16:11:38 +01:00
Dhairya Parmar
9e80a71ee1 qa: fix "no orch backend set" in nfs suite
Fixes: https://tracker.ceph.com/issues/62870
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2023-09-23 03:21:42 +05:30
Casey Bodley
06f6a3e6e8 qa/rgw/sts: keycloak task installs java manually
java had already been installed automatically before centos 9. add an
override to install the jdk-17 packages manually

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 17:37:36 -04:00
Casey Bodley
3825863893 qa/distros: remove a-supported-distro.yaml that pointed to centos 7.2
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 17:23:18 -04:00
Casey Bodley
0e5746d44e qa/distros: replace supported-all-distro with supported
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 17:23:18 -04:00
Casey Bodley
a60978fc51 qa/rgw/upgrade: fix broken links to distro files
replace the broken links to qa/distros/supported/*.yaml with links under
qa/distros/all/

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 17:23:18 -04:00
Casey Bodley
7486856ba1 qa/fs/upgrade: fix broken links to distro files
replace the broken links to qa/distros/supported/centos_8.stream.yaml
with links under qa/distros/all/

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 17:23:18 -04:00
Casey Bodley
c71698c6a1 qa/fs: update distro links
remove links to rhel_8.yaml, and replace links to specific centos/ubuntu
versions with links to {distro}_latest.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 17:23:18 -04:00
Casey Bodley
2d9348ad56 qa/rgw/notifications: pin to centos_latest
the subsuite had a supported-all-distro$/ subdirectory, but that only
contained centos_8.yaml. qa/tasks/rabbitmq.py is hardcoded to use 'yum'
and rpm packages, so replace supported-all-distro$ with a link to
centos_latest.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 17:20:31 -04:00
Cory Snyder
340522f9ae rgw: add test case to reproduce bucket check stats bug for versioned bucket
Reproduces a regression where radosgw-admin bucket check incorrectly counts
objects that started as unversioned and later transitioned to versioned.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
2023-09-22 21:17:55 +00:00
Venky Shankar
8a84a6cc70 Merge PR #53279 into main
* refs/pull/53279/head:
	qa: descrease pgbench scale factor to 32 for postgresql database test

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2023-09-22 20:11:12 +05:30
Venky Shankar
8f9fc152c5 Merge PR #53418 into main
* refs/pull/53418/head:
	qa: use exisitng ignorelist override list for fs:mirror[-ha]

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2023-09-22 20:09:44 +05:30
Rishabh Dave
954ed30f3c
Merge pull request #48027 from lxbsz/wip-57154
mds/client: check the cephx mds auth access in client side

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2023-09-22 20:08:10 +05:30
Casey Bodley
9b7cd7fc7d
Merge pull request #52576 from cfsnyder/wip-62075
rgw: add radosgw-admin bucket check olh/unlinked commands

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-09-22 15:33:25 +01:00
Rishabh Dave
c4f968b931
Merge pull request #52042 from rishabh-d-dave/better-errmsg-for-perm
MDSAuthCaps: print better error message for perm flag in MDS caps

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2023-09-22 20:02:40 +05:30
Rishabh Dave
3234c696de
Merge pull request #47533 from rishabh-d-dave/ceph-fuse-cmd
qa/cephfs: cleanup code for ceph-fuse command

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2023-09-22 20:01:13 +05:30
Casey Bodley
503c855f86
Merge pull request #52259 from cbodley/wip-61859
qa/rgw: disable 'rgw lc debug interval' in most suites

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
2023-09-22 15:08:36 +01:00
Ronen Friedman
5ecd20f620
Merge pull request #53531 from ronen-fr/wip-rf-squeue2
osd/scrub: extract scrub initiation code out of the OSD

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-09-22 16:46:38 +03:00
Ilya Dryomov
f0c48dfcd6
Merge pull request #53311 from idryomov/wip-62711
qa/suites/{rbd,krbd}: disable POOL_APP_NOT_ENABLED health check

Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-09-22 15:44:35 +02:00
Rishabh Dave
104fd674b0
Merge pull request #53528 from rishabh-d-dave/cephfs-qa-mdtest
qa/cephfs: fix build failure for mdtest project

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-09-22 11:56:03 +05:30
Casey Bodley
b975270d4e qa/rgw: enable s3tests for 'storage classes'
other than the rgw/lifecycle subsuite, all of the other subsuites were just
adding storage classes to the rgw task, but not the s3tests task that
enables the storage class test cases

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-21 17:51:59 -04:00
Casey Bodley
d46af6d3de qa/rgw: disable 'rgw lc debug interval' in most suites
this has a performance cost, and the teuthology environment can
already be sluggish. if lifecycle expiration/transition testing
was limited to the rgw/lifecycle and rgw/cloud-transition suites,
the others would probably run significantly faster

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-21 17:51:59 -04:00
Casey Bodley
c7f2bc42d9 qa/s3tests: use cloudtier_tests and lifecycle_tests to control filters
when `extra_attrs` was made additive, these tests were adding both
'not lifecycle_expiration' and 'lifecycle_expiration' to the command
line. use a yaml flag instead to control whether or not the s3tests task
adds the 'not' filter

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-21 17:51:59 -04:00
Casey Bodley
62245cb5f3 qa/rgw: remove duplicate overrides in rgw/lifecycle
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-09-21 17:51:59 -04:00
Ilya Dryomov
0b68a8b4c0 qa/suites/krbd: disable POOL_APP_NOT_ENABLED health check
... same as for rbd suite.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-09-21 23:36:07 +02:00