Commit Graph

148900 Commits

Author SHA1 Message Date
Patrick Donnelly
de57862569
Merge PR #60210 into main
* refs/pull/60210/head:
	doc: update 'header get' output in cephfs-journal-tool.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-10-09 10:06:27 -04:00
Patrick Donnelly
d3a9045eb3
Merge PR #60204 into main
* refs/pull/60204/head:
	doc: fix email

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2024-10-09 09:25:35 -04:00
Avan Thakkar
78ae3b1350 qa/cephfs: update earmark values to valid ones in test_volumes.py
smb.test is an invalid earmark now it should be either smb or
smb.cluster.<cluster_id>. Update the test_volumes.py to set
valid earmarks wherever used.

Fixes: https://tracker.ceph.com/issues/68448
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2024-10-09 18:34:10 +05:30
Patrick Donnelly
ddd63c05d3
Merge PR #60012 into main
* refs/pull/60012/head:
	qa: ignore pg availability/degraded warnings

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2024-10-09 08:33:13 -04:00
JonBailey1993
a0c51d0e7f common/io_exerciser: Modify is_locked_by_me call in ceph_test_rados_io_sequence
is_locked_by_me() is a function of ceph::mutex which is only used in debug builds. By using the ceph_mutex_is_locked_by_me macro, we can neatly make sure we only run this function in debug mode, allowing compilation to no longer be affected when running in release mode.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
2024-10-09 11:28:51 +01:00
Jos Collin
1b535c011f
doc: update 'header get' output in cephfs-journal-tool.rst
Signed-off-by: Jos Collin <jcollin@redhat.com>
2024-10-09 15:46:00 +05:30
Jon Bailey
5463de6534
Merge pull request #60186 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequence_add_version
common/io_exerciser: Add version argument to callbacks in ceph_radios_io_sequence

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2024-10-09 09:09:02 +01:00
afreen23
1984bd305f
Merge pull request #60150 from rhcs-dashboard/add-gwgroups-to-missing-endpoints
mgr/dashboard: add gw_groups to all nvmeof endpoints

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
2024-10-09 13:23:36 +05:30
Ernesto Puerta
512eea1af5
doc: fix email
Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
2024-10-09 08:12:42 +02:00
Patrick Donnelly
a291280de6
Merge PR #60032 into main
* refs/pull/60032/head:
	mds: do not dump empty bufptr

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2024-10-08 20:56:28 -04:00
Patrick Donnelly
3c9dd67fee
Merge PR #60037 into main
* refs/pull/60037/head:
	test/common: add death test for double !recursive lock
	common/test: do not test exception raised from recursive lock
	test/common: fix invalid vim mode
	common,osdc: remove obsolete ceph::mutex_debugging
	common: assert debug mutex lock is not held if !recursive

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2024-10-08 20:55:38 -04:00
Adam Kupczyk
9fc65f160c os/bluestore: Make truncate() drop unused allocations
Now when truncate() drops unused allocations.
Modified Close() in BlueRocksEnv to unconditionally call truncate.

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

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
2024-10-08 21:08:50 +00:00
Patrick Donnelly
256b20de48
qa: do not fail cephfs QA tests for slow bluestore ops
Fixes: https://tracker.ceph.com/issues/68283
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2024-10-08 16:35:21 -04:00
Zac Dover
5074c4059b
Merge pull request #60163 from zdover23/wip-doc-2024-10-07-man-mount-ceph
doc/man: supplant "wsync" with "nowsync" as the default

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnelly@redhat.com>
2024-10-09 03:45:50 +10:00
JonBailey1993
5b90117348 common/io_exerciser: Add version argument to callbacks in ceph_radios_io_sequence
Add new version that was missing from ceph_test_rados_io_sequence callbacks due to interface changes

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
2024-10-08 09:44:12 +01:00
Xuehan Xu
97e68b20aa crimson/osd/backfill_state: add the object to be pushed in the peer
missing set of PeeringState

Fixes: https://tracker.ceph.com/issues/67874
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2024-10-08 15:07:55 +08:00
Yingxin Cheng
ec5c6c5761 crimson/os/seastore/transaction_manager: refine logs
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-10-08 10:34:43 +08:00
Yingxin Cheng
1ee32107df crimson/os/seastore/transaction_manager: misc cleanups
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-10-08 10:34:43 +08:00
Yingxin Cheng
14eacf6455 crimson/os/seastore: workaround log linkage issue under clang14
The logs printing lambda-captured variables cannot be linked correctly
with SeaStore::Shard::repeat_with_onode() under clang14.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-10-08 10:34:43 +08:00
Yingxin Cheng
589e9cb935 crimson/os/seastore: refine logs of seastore.h/cc
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-10-08 10:34:43 +08:00
Yingxin Cheng
d39949e8e9 crimson/os/seastore: adjust op names
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-10-08 10:34:43 +08:00
Yingxin Cheng
a49e49a1fd crimson/os/seastore: convert length logs to the hex format
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-10-08 10:34:43 +08:00
Yingxin Cheng
fc537c8d91 crimson/os/seastore: misc cleanups
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2024-10-08 10:34:43 +08:00
Zac Dover
afc2149108
Merge pull request #60162 from zdover23/wip-doc-2024-10-07-governance-reset
doc/governance: revert d7c144c0d7

Reviewed-by: Patrick Donnelly <pdonnelly@redhat.com>
2024-10-08 09:55:13 +10:00
Ilya Dryomov
7e5ebb7934
Merge pull request #60109 from idryomov/wip-63184
librbd/crypto/LoadRequest: clone format for migration source image

Reviewed-by: Sunil Angadi <Sunil.Angadi@ibm.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2024-10-07 20:15:54 +02:00
Md Mahamudur Rahaman Sajib
597b5b3513
Merge pull request #57582 from sajibreadd/wip-66059
OSD: PG stat is not synchronized between osds after deep-scrub
2024-10-07 20:07:40 +02:00
Yuval Lifshitz
984a76f5a3 test/rgw/lua: use stats polling instead of sleep
this makes the test more consistent as well as faster

fixes: https://tracker.ceph.com/issues/68335

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2024-10-07 15:34:15 +00:00
Jon Bailey
54e0865cd6
Merge pull request #59857 from JonBailey1993/JonBailey1993/ceph_test_rados_io_sequence
src/test/osd: create ceph_test_rados_io_sequence testing tool

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2024-10-07 15:48:06 +01:00
Zac Dover
86227c0f9c
Merge pull request #60146 from spuiuk/smb_version
doc: remove note for smb3 support

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-10-08 00:34:01 +10:00
Zac Dover
9f0af5d75d doc/man: supplant "wsync" with "nowsync" as the default
Change the default from "wsync" to "nowsync". "nowsync" has been the
default since kernel version 5.16.

This information was reported on
https://pad.ceph.com/p/Report_Documentation_Bugs by Benjamin Mare on 07
Oct 2024.

The commit relevant to this change can be seen here, in Linus's main
branch:
f7a67b463f

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-10-07 23:38:55 +10:00
Casey Bodley
af86cb51ba
Merge pull request #60001 from cbodley/wip-65654-debug
qa/rgw: add debug log to help diagnose 'bucket check unlinked' failure

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2024-10-07 09:12:05 -04:00
Casey Bodley
7ee0539576
Merge pull request #60020 from soumyakoduri/wip-skoduri-lc-process
rgw/lc: Fix a bug in LCOpAction_Transition::check()

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2024-10-07 09:11:36 -04:00
Casey Bodley
49a7596913
Merge pull request #59884 from cbodley/wip-51786
cls/user: reset stats only returns marker when truncated

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2024-10-07 09:10:41 -04:00
Casey Bodley
65851613ba
Merge pull request #59983 from tobias-urdin/rgw-presigned-500
rgw/auth: fix internal server error for presigned urls

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2024-10-07 09:10:03 -04:00
Zac Dover
0cb2636f1a doc/governance: revert d7c144c0d7
Revert the commit (manually, by restoring the file by hand to the state
it was in prior to d7c144c) to the state that it was in before I added
the Executive Council Responsibilities document to governance.rst. This
document cannot be edited at will, but must be voted on by the
Leadership Team.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-10-07 22:50:44 +10:00
Nitzan Mordechai
471ebae924 qa/suites/crimson-rados/perf: add ssh keys
cbt use ssh connection by defualt, without ssh_keys the task
won't generate public key and the cbt task will fail

Fixes: https://tracker.ceph.com/issues/68421
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
2024-10-07 12:43:16 +00:00
Aashish Sharma
1558a63b2f
Merge pull request #60113 from rhcs-dashboard/fix-68384-main
mgr/dashboard: increase timeout to detect replication user in the secondary cluster

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
2024-10-07 18:11:25 +05:30
Aashish Sharma
d80f5ffeab
Merge pull request #60114 from rhcs-dashboard/fix-68386-main
mgr/dashboard: Enable refresh button on Manage Clusters - Clusters List table


Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
2024-10-07 18:03:21 +05:30
Aashish Sharma
8dd9e9dad6 mgr/dashboard: fix gateways section error:”404 - Not Found RGW Daemon not found: None”
A case was missed here where we do have a default realm created but no default_zonegorup, in that case, the existing behavior should prevail and that's not being handled. If a default_realm is created but no default_zonegroup is there, weshould continue getting the keys from daemon_name = next(iter(daemon_keys))

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-10-07 18:00:50 +05:30
Aashish Sharma
ea53aceb8d mgr/dashboard: show non default realm sync status in rgw overview page
Currently, we just show the sync status of the default realm in rgw
overview page. This PR is to show the sync status of non-default realms
as well. Multisite sync status can be viewed for any of the active daemon
which runs in default/non-default realm.

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-10-07 17:53:44 +05:30
Yuval Lifshitz
ee16b099d5 common: missing std include with GCC 14
In file included from src/rgw/driver/posix/bucket_cache.h:19,
                 from src/test/rgw/test_posix_bucket_cache.cc:4:
src/common/cohort_lru.h: In member function _void cohort::lru::TreeX<T, TTree, CLT, CEQ, K, LK>::lock()_:
src/common/cohort_lru.h:334:14: error: _for_each_ is not a member of _std_
  334 |         std::for_each(locks.begin(), locks.end(),
      |              ^~~~~~~~
src/common/cohort_lru.h: In member function _void cohort::lru::TreeX<T, TTree, CLT, CEQ, K, LK>::unlock()_:
/home/yuvalif/ceph5/src/common/cohort_lru.h:339:14: error: _for_each_ is not a member of _std_
  339 |         std::for_each(locks.begin(), locks.end(),
      |              ^~~~~~~~

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2024-10-07 09:52:59 +00:00
kyr
368b3cb173
Merge pull request #58701 from jecluis/wip-makedist-fix
make-dist: replace all '-' for '.' for rpm release
2024-10-07 11:49:39 +02:00
afreen23
e0bf4301a6
Merge pull request #60049 from rhcs-dashboard/fix-68307-main
mgr/dashboard: Do not display restart gateway message on completion of Setup Multisite Replication wizard

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
2024-10-07 13:11:39 +05:30
Venky Shankar
eb2183136d Merge PR #58966 into main
* refs/pull/58966/head:
	qa: test 'ceph fs snapshot mirror ls' command
	doc: update docs for 'fs snapshot mirror ls' command
	cephfs_mirror: ceph fs snapshot mirror ls command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2024-10-07 12:48:52 +05:30
Venky Shankar
9f1311f900 Merge PR #59699 into main
* refs/pull/59699/head:
	mgr/status: Fix 'fs status' json output
	qa: Add test for 'fs status' in standby-replay mds setup

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2024-10-07 12:47:15 +05:30
Venky Shankar
635b554107
Merge pull request #56118 from joscollin/wip-B64711-qa-failure_cancel-mirroring-and-readd
cephfs_mirror, qa: fix test failure test_cephfs_mirror_cancel_mirroring_and_readd

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-07 12:38:40 +05:30
Nizamudeen A
0e7f5d67e8
Merge pull request #59870 from rhcs-dashboard/ignore-exception-nvmf
mgr/dashboard: ignore exceptions raised when no cert/key found

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2024-10-07 12:17:15 +05:30
Nizamudeen A
485cb05119 mgr/dashboard: add gw_groups to all nvmeof endpoints
This was missed in the previous implementation

Signed-off-by: Nizamudeen A <nia@redhat.com>
2024-10-07 12:11:11 +05:30
Aashish Sharma
401e8109fc mgr/dashboard: Enable refresh button on Manage Clusters - Clusters List table
Add fetchData() to the clusters list table to refresh the data and
enable refresh button in the table for the same.

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-10-07 11:53:06 +05:30
Aashish Sharma
4d15ed813b mgr/dashboard: increase timeout to detect replication user in the secondary cluster
Increase timeout to detect replication user in the secondary cluster in rgw multisite automation wizard. Currently its set to 2 mins, increase it to 5 minutes.
when you import realm token to the secondary cluster, we wait for the replication/system user we created in the primary cluster to be present in the secondary cluster and when we find that user we set the credentials in the secondary cluster using ceph dashboard set-rgw-crdentials . The timeout for this is set to 2 minutes and sometimes it takes more than 2 minutes for the user to be replicated in the secondary cluster

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2024-10-07 09:54:17 +05:30