This is based on a test added in commit 237aa221eb ("qa/suites/krbd:
stress test for recovering from watch errors") for regular mappings.
Fixes: https://tracker.ceph.com/issues/67097
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
* refs/pull/57857/head:
qa: set debug_ms=2 for cephfs tests
msg: decrease the level to print the sending msgs from the protocol
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
qa/suites/rados/verify/validater: increase heartbeat grace timeout
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Set the cephadm single_host_defaults option for the smb tests that use a
single node ceph cluster. Without this option the mgr_pool and the
sqlite3 db support needed by the smb mgr module will not be available.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
'server min protocol' smb.conf option indicates the minimum SMB protocol
version that the server can support during client negotiation phase. We
can be generous in this case to accept various client implementations
with a subset of supported protocol versions. With 'SMB2' it selects the
highest available version from the list of sub protocols. Instead we
refrain from configuring the option to support the least possible SMB2
version by default(which is SMB2_02 at this point in time) from Samba.
ref: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Samba allows to store full Windows(NT) ACLs and bypass any lossy mapping
attempts to and from POSIX ACLs. Therefore we stack an additional module
in front of ceph to store NTACLs in a special extended attribute. Due to
certain limitations within containers the default xattr from security
namespace can't be used. Instead we configure a similar xattr from more
flexible 'user' namespace with the help of an option to the module.
ref: https://www.samba.org/samba/docs/current/man-html/vfs_acl_xattr.8.html
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
This fixes a lot of errors induced by the log scrapper check.
Fixes: https://tracker.ceph.com/issues/66751
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Since main is now what will become the T release,
we only need to be testing upgrades from reef and
squid. Upgrades from quincy won't be valid once
we've branched off
Signed-off-by: Adam King <adking@redhat.com>
Currently we have 2 types of thrash tests: default and simple.
Seastore passes only the simple one.
The 2 types are seperated to diffrent dirs. `thrash` dir
will be tested with bluestore only.
`thrash_simple` will be tested with both backend.
Once Seastore passes default ones, we can merge back the two dirs
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Our upgared suites failed beacuse of those warning without good
reason, we can ignore them and continue testings.
Fixes: https://tracker.ceph.com/issues/65422
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
Test netsplit between 2 datacenters
in a stretch mode cluster.
Observe if:
- PGs are active
- Cluster is accessible
- Writes and Reads went through
Signed-off-by: Kamoltat <ksirivad@redhat.com>
The last PR modified the suites to only check for host thrasher.
This update fixes that issue by implementing different settings
with dedicated YAML files for host thrashing
Fixes: https://tracker.ceph.com/issues/66657
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
IO is frozen when the injectfull command is sent as part of the test
which causes the cleanup to hang so we need to clear it.
Fixes: https://tracker.ceph.com/issues/59380
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
`quay.io/ceph/daemon-base:latest-quincy` points to the latest quincy tag (v17.2.7),
not the tip of quincy, which is actually what we want to test.
Pulling the daemon-base:latest-quincy image shows it is running v17.2.7:
```
lflores:ceph$ podman run --rm -it daemon-base:latest-quincy
[root@e4eb265e7fa0 /]# ceph -v
ceph version 17.2.7 (b12291d110049b2f35e32e0de30d70e9a4c060d2) quincy (stable)
```
It is important that we test the tip of quincy in case there is a fix there that
we want to pick up.
I referenced this commit to make the change: d0381ed7e6
Signed-off-by: Laura Flores <lflores@ibm.com>
Update how cephadm is pulled:
`cephadm_git_url` and `cephadm_branch` are used in releases older than reef
to install cephadm. Both of these keys are needed to install it from the github
repo.
However, in reef and on, the compiled zipapp cephadm needs to be pulled differently
than the old single python script `cephadm` from earlier releases.
This commit is what I referenced for this change: 967716f2e6
-------
Change image reference:
`quay.io/ceph/daemon-base:latest-reef` points to the latest reef tag (v18.2.2),
not the tip of reef, which is actually what we want to test.
Pulling the daemon-base:latest-reef image shows it is running v18.2.2:
```
lflores:ceph$ podman run --rm -it daemon-base:latest-reef
[root@d4d9a0eb04be /]# ceph -v
ceph version 18.2.2 (531c0d11a1c5d39fbfe6aa8a521f023abf3bf3e2) reef (stable)
```
It is important that we test the tip of reef in case there is a fix there that we
want to pick up.
I referenced this commit to make the change: d0381ed7e6
Signed-off-by: Laura Flores <lflores@ibm.com>
The warnings added to the ignorelist show up in the cluster log, but they are
expected during upgrades and should thus be ignored.
We also need to set require_osd_release=squid to avoid this warning:
```
cluster [WRN] Health check failed: all OSDs are running squid or later but require_osd_release < squid (OSD_UPGRADE_FINISHED)
```
Signed-off-by: Laura Flores <lflores@ibm.com>
* refs/pull/55792/head:
tools/cephfs: recover alternate_name of dentries from journal
qa: add test to verify recovery of alternate_name from journal
tools/cephfs/JournalTool: add some more debugging
tools/cephfs/JournalTool: remove extraneous 0x in debug output
mds: dump alternate_name to formatter
mds: add warning about encoding new fields
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Few tests that deploying osds that causing the test fail
beacuse of warning during the period time that the osds
restart. adding to ignore list.
Fixes: https://tracker.ceph.com/issues/64872
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>