Commit Graph

146579 Commits

Author SHA1 Message Date
Sridhar Seshasayee
9265bdb1da qa/tasks: Initialize 'monitoring_profiles' spec to an empty dict
Initialize 'monitoring_profiles' to an empty python dictionary instead of
'None' to prevent the cbt task from failing due to the TypeError exception
when attempting to iterate a 'NoneType'.

The bug was introduced as part of https://github.com/ceph/ceph/pull/51438
and commit e174c6e2cf.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
Fixes: https://tracker.ceph.com/issues/66799
2024-07-02 13:17:27 +05:30
Adam King
2c16096b56
Merge pull request #55564 from adk3798/cephadm-cert-store
mgr/cephadm: Add Cert/Key Store 

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2024-07-01 17:57:39 -04:00
Ilya Dryomov
3686d67ecf
Merge pull request #58092 from zdover23/wip-doc-2024-06-18-start-os-recs
doc/start: remove mention of Centos 8 support

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2024-07-01 23:04:11 +02:00
Adam King
61a7e5d3fe
Merge pull request #58230 from rkachach/fix_secure_monitoring_check
mgr/cephadm: redeploy when some dependency daemon is add/removed

Reviewed-by: Adam King <adking@redhat.com>
2024-07-01 16:03:19 -04:00
Adam King
4086a4500e
Merge pull request #58154 from tengjie5/tmp3
mgr: excute cmd 'ceph orch apply osd' returned without error info

Reviewed-by: Adam King <adking@redhat.com>
2024-07-01 16:01:58 -04:00
Adam King
d17814ff58
Merge pull request #57975 from dvanders/dvanders_ipv4
cephadm: disable ms_bind_ipv4 if we will enable ms_bind_ipv6

Reviewed-by: Adam King <adking@redhat.com>
2024-07-01 16:00:05 -04:00
Adam King
b77f89fdce
Merge pull request #57848 from thegreenbear/cephadm-haproxy-bugged-config
cephadm/services/ingress: fixed keepalived config bug

Reviewed-by: Adam King <adking@rehat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-07-01 15:55:16 -04:00
Adam King
ea40435d99
Merge pull request #57338 from phlogistonjohn/jjm-mgr-module-cleanups
pybind/mgr: mgr_module.py pep8/flake8 cleanups & tox updates

Reviewed-by: Adam King <adking@redhat.com>
2024-07-01 15:53:43 -04:00
Adam King
0434c44554
Merge pull request #57394 from phlogistonjohn/jjm-smb-module-testing
smb: improve smb module test coverage

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2024-07-01 15:52:29 -04:00
Zac Dover
6b149e4f6a doc/start: remove mention of Centos 8 support
Remove information so that it is clear that Centos 8 will no longer be
supported by Ceph.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-07-02 04:19:12 +10:00
Artem Vasiliev
d702c398c1
rgw: Changed discard buffer size
Signed-off-by: Artem Vasilev <art.a.vasilev@tbank.ru>
2024-07-01 19:39:58 +03:00
Patrick Donnelly
cdf1874f32
qa/crontab: convert fs main run to monthly at higher priority
The lab can't keep up with current nightly load; reduce fs runs on main branch
to once a month but raise priority so we have a reliable baseline.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2024-07-01 12:25:29 -04:00
Nizamudeen A
31603f3273
Merge pull request #57238 from rhcs-dashboard/lifecycle-policies
mgr/dashboard: add RGW lifecycle management

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-07-01 19:59:45 +05:30
Zac Dover
c1b69fb07f
Merge pull request #58366 from zdover23/wip-doc-2024-07-01-cephfs-mount-prereqs
doc/cephfs: update cephfs-shell link

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-07-01 21:13:20 +10:00
Nizamudeen A
82e3be89ad
Merge pull request #58260 from rhcs-dashboard/rgw-sync-policy
mgr/dashborad: RGW sync policy

Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-07-01 15:41:43 +05:30
Matan Breizman
94c6055307
Merge pull request #56150 from xxhdx1985126/wip-seastore-teuthology
qa/suites/crimson-rados: add seastore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-07-01 12:02:57 +03:00
Xuehan Xu
0de50ca29e crimson/os/seastore/btree: correct out-dated comments
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-07-01 15:31:44 +08:00
neeraj pratap singh
525a3beeb7 mds: prevent scrub start for standby-replay MDS
Fixes: https://tracker.ceph.com/issues/62537
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2024-07-01 12:36:23 +05:30
Pedro Gonzalez Gomez
b54efd44e8 mgr/dashboard: add RGW lifecycle management
Fixes: https://tracker.ceph.com/issues/50327
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2024-07-01 08:19:52 +02:00
Naman Munet
94f9a2bf18 mgr/dashborad: RGW sync policy
Fixes: https://tracker.ceph.com/issues/66576

Signed-off-by: Naman Munet <nmunet@redhat.com>
2024-07-01 11:30:56 +05:30
Zac Dover
4f8903cf80 doc/cephfs: update cephfs-shell link
Repair the link to cephfs-shell.rst in doc/cephfs/cephfs-shell.rst that
was broken in https://github.com/ceph/ceph/pull/41165/ when
doc/cephfs/cephfs-shell.rst was moved to doc/man/8/cephfs-shell.rst.

This commit is made in response to a request by Lander Duncan that was
made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-07-01 15:57:40 +10:00
Anthony D'Atri
ebc0221162
Merge pull request #58363 from zdover23/wip-doc-2024-07-01-start-hardware-recs
doc/start: s/overprovsioning/overprovisioning/
2024-07-01 00:16:07 -04:00
Zac Dover
2f386ffa6d doc/start: s/overprovsioning/overprovisioning/
Restore a missing "i" in "overprovisioning" in
doc/start/hardware-recommendations.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-07-01 13:27:40 +10:00
Casey Bodley
9a6d6b4b05
Merge pull request #58102 from yuvalif/wip-yuval-64690
rgw/amqp: fix valgrind errors on uninitialized memory

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2024-06-30 15:58:01 +01:00
Matan Breizman
69b241a462 qa/suites/crimson-rados: disable seastore with default thrash
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>
2024-06-30 12:32:09 +03:00
Kefu Chai
3acca68492
Merge pull request #58124 from myoungwon/wip-fix-66368
debian: add ceph-dedup-daemon to the ceph-test package

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2024-06-30 17:05:55 +08:00
Anthony D'Atri
81225aa06f
Merge pull request #58358 from zdover23/wip-doc-2024-06-29-cephfs-fs-vols
doc/cephfs: take Anthony's suggestion
2024-06-29 10:22:01 -04:00
Zac Dover
7a78dda0a9 doc/cephfs: take Anthony's suggestion
Incorporate Anthony's suggestion in
https://github.com/ceph/ceph/pull/57567#discussion_r1607016050 into
doc/cephfs/fs-volumes.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-06-29 22:11:55 +10:00
Xuehan Xu
8f58b862f8 crimson/os/seastore/onode: add hobject_t into Onode
So that we can see the onodes' identities in the logs

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-06-29 18:20:23 +08:00
Xuehan Xu
5d85dd225b crimson/os/seastore/btree: improve lba pointer related UT checks
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-06-29 14:41:49 +08:00
Shilpa Jagannath
45db16e654
Merge pull request #58133 from TRYTOBE8TME/wip-rgw-null-ver-final
src/rgw: Deleting an object with null version fix
2024-06-28 16:06:23 -07:00
Alex Wojno
4401be8442 rgw: correct tag checking logic in bucket_exports_object
Signed-off-by: Alex Wojno <awojno@bloomberg.net>
2024-06-28 14:32:55 -04:00
Venky Shankar
cf514170fb
Merge pull request #55945 from lxbsz/wip-64679-new
mds/client: return -ENODATA when xattr doesn't exist for removexattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-06-28 22:42:17 +05:30
Shilpa Jagannath
92002be04e rgw/multisite: use bilog_flags in cls_rgw_bucket_unlink_instance as well.
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2024-06-28 13:06:38 -04:00
Casey Bodley
3faf163cab rgw: PubObj uses RGWObjTags by value
stop wrapping RGWObjTags in a unique_ptr, and just use empty() or count() to determine whether any tags are present

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-06-28 13:03:32 -04:00
Ilya Dryomov
9d2646b09e
Merge pull request #58300 from idryomov/wip-66300-test-fixup
test/librbd: avoid caching effects TestGroup.add_snapshot{,PP}

Reviewed-by: Ramana Raja <rraja@redhat.com>
2024-06-28 13:40:32 +02:00
Seena Fallah
5913f584cb rgw: use s3website REST when higher priority and no host header
If the Host header is missing, but the s3website API is enabled and
has a higher priority than the regular S3 API, then we should still
treat the request as a website request.

Fixes: https://tracker.ceph.com/issues/66748
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-06-28 12:30:54 +02:00
Guillaume Abrioux
cbc6d66d94
Merge pull request #58290 from guits/fix_nvme_loop
tests: make sure nvmetcli and nvme-cli are up to date
2024-06-28 12:25:32 +02:00
Aashish Sharma
1f06e876ae mgr/dashboard: add api for rgw multisite replication wizard
Fixes: https://tracker.ceph.com/issues/66227

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-06-28 15:40:31 +05:30
Ilya Dryomov
314971d6d8
Merge pull request #58201 from idryomov/wip-66570
librbd: make diff-iterate in fast-diff mode aware of encryption

Reviewed-by: Ramana Raja <rraja@redhat.com>
2024-06-28 11:56:34 +02:00
Ilya Dryomov
92f82d6c89
Merge pull request #58265 from idryomov/wip-rbd-pybind-utc-timestamps
pybind/rbd: change to return "aware" datetime objects

Reviewed-by: Ramana Raja <rraja@redhat.com>
2024-06-28 11:54:41 +02:00
Nizamudeen A
6e42fb9e3b
Merge pull request #58286 from rhcs-dashboard/clone-validation
mgr/dashboard: fix clone async validators with different groups

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
2024-06-28 12:27:03 +05:30
Xiubo Li
b2a07f8a1b test/libcephfs: add ceph_test_libcephfs_vxattr
Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2024-06-28 13:01:08 +08:00
Xiubo Li
1a2767046e test/libcephfs: add removexattr test support
There have two ways to remove xattrs, removexattr() and setxattr()
with the XATTR_REPLACE flags set.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2024-06-28 13:01:08 +08:00
Xiubo Li
ec30c46d17 test/libcephfs: move FsCrypt xattr test to dedicated test file
Switch to use XATTR_CREATE.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2024-06-28 13:01:08 +08:00
Xiubo Li
797e926921 mds/client: return -ENODATA when xattr doesn't exist for removexattr
The POSIX says we should return -ENODATA when the corresponding
attribute doesn't exist when removing it. While there is one
exception for the acl ones in the local filesystems, for exmaple
for xfs, which will treat it as success.

While in the MDS side there have two ways to remove the xattr:
sending a CEPH_MDS_OP_SETXATTR request by setting the 'flags' with
CEPH_XATTR_REMOVE and just issued a CEPH_MDS_OP_RMXATTR request
directly.

For the first one it will always return 0 when the corresponding
xattr doesn't exist, while for the later one it will return
-ENODATA instead, this should be fixed in MDS to make them to be
consistent.

Added a CEPH_XATTR_REMOVE2 new flags and will return -ENODATA errno
directly when the crresponding xattr doesn't exist. Just keeps the
old CEPH_XATTR_REMOVE flags to make it to be compatible with old
clients.

Fixes: https://tracker.ceph.com/issues/64679
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2024-06-28 13:01:08 +08:00
Kalpesh Pandya
7103b310d5 src/test/rgw: Adding a test for check
Addition of a test to rgw_multi to check the
working of deleting an object with null version.

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
2024-06-27 21:18:19 -04:00
Shilpa Jagannath
485020f97b rgw/multisite: add a flag to bilog_flags and use it to set/unset null version
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2024-06-27 21:18:19 -04:00
Venky Shankar
dbc9816d2e Merge PR #57619 into main
* refs/pull/57619/head:
	qa/cephfs: use wait_for_daemon() instead of sleep()-ing
	qa/cephfs: mark file system joinable for fs rename tests before unmounting clients

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-06-27 22:04:37 +05:30
Yuri Weinstein
f38a5de481
Merge pull request #57271 from tj90241/a-better-crc32c
common: Leverage a better CRC32C implementation

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2024-06-27 08:53:16 -07:00