]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Donnelly [Wed, 5 Feb 2025 18:12:10 +0000 (13:12 -0500)]
qa: remove redundant and broken test
Scrub does not fix damaged dirfrags for any type of damage we currently mark
dirfrags damaged for (corrupt fnode / missing dirfrag object).
In any case, this scenario is covered in cephfs_data_scan with correct checks
for damage / handling.
Fixes: 7f0cf0b7a2d94dd2189de4bef5865b024f3c7d4b
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Tue, 28 Jan 2025 22:30:19 +0000 (17:30 -0500)]
mds: skip scrubbing damaged dirfrag
This only happens when the omap fetch fails or the fnode is corrupt. MDS can't
presently repair that damage. Without this change, the MDS enters an infinite loop of repair:
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 MDSContext::complete: 12C_RetryScrub
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack kick_off_scrubs: state=RUNNING
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack kick_off_scrubs entering with 0 in progress and 1 in the stack
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.scrubstack scrub_dirfrag [dir 0x10000000000 /dir_x/ [2,head] auth v=8 cv=7/7 ap=1+0 state=
1610612737 |complete f(v0 m2025-01-28T19:25:31.191802+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) hs=1+0,ss=0+0 | child=1 dirty=1 waiter=0 authpin=1 scrubqueue=1 0x55b1a50fa880]
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.den(0x10000000000 dir_xx) scrubbing [dentry #0x1/dir_x/dir_xx [2,head] auth (dversion lock) pv=0 v=8 ino=0x10000000001 state=
1073741824 0x55b1a50eaf00] next_seq = 2
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.cache.snaprealm(0x1 seq 1 0x55b1a50da240) get_snaps (seq 1 cached_seq 1)
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.scrubstack _enqueue with {[inode 0x10000000001 [...2,head] /dir_x/dir_xx/ auth v6 f(v0 m2025-01-28T19:25:31.193448+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) 0x55b1a4fac680]}, top=0
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.ino(0x10000000001) scrub_initialize with scrub_version 6
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.ino(0x10000000001) uninline_initialize with scrub_version 6
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack enqueue [inode 0x10000000001 [...2,head] /dir_x/dir_xx/ auth v6 f(v0 m2025-01-28T19:25:31.193448+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) 0x55b1a4fac680] to bottom of ScrubStack
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.dir(0x10000000000) get_num_head_items() = 1; fnode.fragstat.nfiles=0 fnode.fragstat.nsubdirs=1
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.dir(0x10000000000) total of child dentries: n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2)
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.dir(0x10000000000) my rstats: n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2)
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.cache.dir(0x10000000000) check_rstats complete on 0x55b1a50fa880
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.dir(0x10000000000) scrub_finished
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.cache.dir(0x10000000000) auth_unpin by 0x55b1a4f7b600 on [dir 0x10000000000 /dir_x/ [2,head] auth v=8 cv=7/7 state=
1610612737 |complete f(v0 m2025-01-28T19:25:31.191802+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) hs=1+0,ss=0+0 | child=1 dirty=1 waiter=0 authpin=0 scrubqueue=1 0x55b1a50fa880] count now 0
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.scrubstack scrub_dirfrag done
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack kick_off_scrubs dirfrag, done
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack dequeue [dir 0x10000000000 /dir_x/ [2,head] auth v=8 cv=7/7 state=
1610612737 |complete f(v0 m2025-01-28T19:25:31.191802+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) hs=1+0,ss=0+0 | child=1 dirty=1 waiter=0 authpin=0 scrubqueue=1 0x55b1a50fa880] from ScrubStack
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack kick_off_scrubs examining [inode 0x10000000001 [...2,head] /dir_x/dir_xx/ auth v6 f(v0 m2025-01-28T19:25:31.193448+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) | scrubqueue=1 0x55b1a4fac680]
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.dir(0x10000000000) can_auth_pin: auth!
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.scrubstack scrub_dir_inode [inode 0x10000000001 [...2,head] /dir_x/dir_xx/ auth v6 f(v0 m2025-01-28T19:25:31.193448+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) | scrubqueue=1 0x55b1a4fac680]
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack scrub_dir_inode recursive mode, frags [*]
2025-01-28T19:25:46.153+0000
7f9626cc5640 15 mds.0.cache.ino(0x10000000001) maybe_export_pin update=0 [inode 0x10000000001 [...2,head] /dir_x/dir_xx/ auth v6 f(v0 m2025-01-28T19:25:31.193448+0000 1=0+1) n(v0 rc2025-01-28T19:25:31.306508+0000 b1 3=1+2) | scrubqueue=1 0x55b1a4fac680]
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.cache.dir(0x10000000001) can_auth_pin: auth!
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.scrubstack scrub_dir_inode barebones [dir 0x10000000001 /dir_x/dir_xx/ [2,head] auth v=0 cv=0/0 state=
1073741824 f() n() hs=0+0,ss=0+0 0x55b1a50fb180]
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.cache.dir(0x10000000001) fetch_keys 0 keys on [dir 0x10000000001 /dir_x/dir_xx/ [2,head] auth v=0 cv=0/0 state=
1073741824 f() n() hs=0+0,ss=0+0 0x55b1a50fb180]
2025-01-28T19:25:46.153+0000
7f9626cc5640 10 mds.0.cache.dir(0x10000000001) auth_pin by 0x55b1a50fb180 on [dir 0x10000000001 /dir_x/dir_xx/ [2,head] auth v=0 cv=0/0 ap=1+0 state=
1073741824 f() n() hs=0+0,ss=0+0 | authpin=1 0x55b1a50fb180] count now 1
2025-01-28T19:25:46.153+0000
7f9626cc5640 1 -- [v2:172.21.10.4:6867/
526112796 ,v1:172.21.10.4:6872/
526112796 ] --> [v2:172.21.10.4:6802/
3852331191 ,v1:172.21.10.4:6803/
3852331191 ] -- osd_op(unknown.0.340:50 42.7 42:
e2e07930 :::
10000000001 .
00000000 :head [omap-get-header,omap-get-vals-by-keys in=4b,getxattr parent in=6b] snapc 0=[] ondisk+read+known_if_redirected+full_force+supports_pool_eio e564) -- 0x55b1a50d8c00 con 0x55b1a50d9000
2025-01-28T19:25:46.153+0000
7f9626cc5640 20 mds.0.bal hit_dir 3 pop is 1, frag * size 0 [pop IRD:[C 0.00e+00] IWR:[C 0.00e+00] RDR:[C 0.00e+00] FET:[C 1.00e+00] STR:[C 0.00e+00] *LOAD:2.0]
2025-01-28T19:25:46.153+0000
7f962ecd5640 1 -- [v2:172.21.10.4:6867/
526112796 ,v1:172.21.10.4:6872/
526112796 ] <== osd.0 v2:172.21.10.4:6802/
3852331191 3 ==== osd_op_reply(50
10000000001 .
00000000 [omap-get-header,omap-get-vals-by-keys,getxattr] v0'0 uv0 ondisk = -2 ((2) No such file or directory)) ==== 248+0+0 (crc 0 0 0) 0x55b1a4444280 con 0x55b1a50d9000
2025-01-28T19:25:46.153+0000
7f96254c2640 10 MDSIOContextBase::complete: 21C_IO_Dir_OMAP_Fetched
2025-01-28T19:25:46.153+0000
7f96254c2640 10 MDSContext::complete: 21C_IO_Dir_OMAP_Fetched
2025-01-28T19:25:46.153+0000
7f96254c2640 10 mds.0.cache.dir(0x10000000001) _fetched header 0 bytes 0 keys for [dir 0x10000000001 /dir_x/dir_xx/ [2,head] auth v=0 cv=0/0 ap=1+0 state=
1073741824 f() n() hs=0+0,ss=0+0 | authpin=1 0x55b1a50fb180]
2025-01-28T19:25:46.153+0000
7f96254c2640 0 mds.0.cache.dir(0x10000000001) _fetched missing object for [dir 0x10000000001 /dir_x/dir_xx/ [2,head] auth v=0 cv=0/0 ap=1+0 state=
1073741824 f() n() hs=0+0,ss=0+0 | authpin=1 0x55b1a50fb180]
2025-01-28T19:25:46.153+0000
7f96254c2640 -1 log_channel(cluster) log [ERR] : dir 0x10000000001 object missing on disk; some files may be lost (/dir_x/dir_xx)
2025-01-28T19:25:46.153+0000
7f96254c2640 10 mds.0.cache.dir(0x10000000001) go_bad *
2025-01-28T19:25:46.153+0000
7f96254c2640 10 mds.0.cache.dir(0x10000000001) auth_unpin by 0x55b1a50fb180 on [dir 0x10000000001 /dir_x/dir_xx/ [2,head] auth v=0 cv=0/0 state=
1073741824 f() n() hs=0+0,ss=0+0 0x55b1a50fb180] count now 0
2025-01-28T19:25:46.153+0000
7f96254c2640 11 mds.0.cache.dir(0x10000000001) finish_waiting mask 2 result -5 on [dir 0x10000000001 /dir_x/dir_xx/ [2,head] auth v=0 cv=0/0 state=
1073741824 f() n() hs=0+0,ss=0+0 0x55b1a50fb180]
2025-01-28T19:25:46.153+0000
7f96254c2640 10 MDSContext::complete: 12C_RetryScrub
Note that this partially reverts
5b56098f17 . That commit incorrectly marked a
dirfrag as repaired when it may not even exist in the metadata pool.
Fixes: 5b56098f17dd9abe4c15cbc7f487c0e94841beaf
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Wed, 29 Jan 2025 16:23:58 +0000 (11:23 -0500)]
tools/cephfs/DataScan: test equality of link including frag
To address the possibility of two primary links existing in different
fragments.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Mon, 27 Jan 2025 22:03:47 +0000 (17:03 -0500)]
tools/cephfs/DataScan: skip linkages that have been removed
Also: injected_inos may need to store multiple injected primary links found in
the metadata pool. This is especially true now that we may have multiple
primary links to a directory due to prior commit
tools/cephfs/DataScan: create all ancestors during scan_inodes
Fixes: https://tracker.ceph.com/issues/63301
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Venky Shankar [Wed, 20 Dec 2023 06:54:56 +0000 (01:54 -0500)]
tools/cephfs/DataScan: do not error out when failing to read a dentry
Give a chance for the scan tool to proceed with other inodes/dentries.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Tue, 28 Jan 2025 16:24:18 +0000 (11:24 -0500)]
tools/cephfs/DataScan: create all ancestors during scan_inodes
When arbitrary PGs are lost which consequently lose random dirfrag objects, we
may need to recover the full ancestry when the immediate parent exists. So,
always recover the ancestry and fixup the potential duplicate linkages to a
directory during scan_links.
Fixes: https://tracker.ceph.com/issues/69692
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Wed, 29 Jan 2025 19:49:25 +0000 (14:49 -0500)]
tools/cephfs/DataScan: cleanup debug prints
So it doesn't look like:
2025-01-29T18:47:36.592 INFO:teuthology.orchestra.run.smithi043.stderr:2025-01-29T18:47:36.583+0000
7fc310d1e840 20 datascan.find_or_create_dirfrag: Dirfrag already exists: 0x0x10000000000 *
or
2025-01-29T18:47:36.589 INFO:teuthology.orchestra.run.smithi043.stderr:2025-01-29T18:47:36.578+0000
7fc310d1e840 10 datascan.find_or_create_dirfrag: Created dirfrag: 0x0x1
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Wed, 29 Jan 2025 21:41:16 +0000 (16:41 -0500)]
qa: remove old MovedDir test
This is now superseded by test from the previous commit. The MovedDir workload
assumes that an ancestry with missing dirfrags will not be recreated.
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Tue, 28 Jan 2025 18:40:39 +0000 (13:40 -0500)]
qa: add data scan tests for ancestry rebuild
When one PG is lost in the metadata pool, it will seem as if arbitrary dirfrags
have been lost (and possibly other things, ignored for now). The
cephfs-data-scan tool does not presently try to reconstruct those missing
parents so these tests will fail.
Importantly, also test the case where multiple ancestry paths may exist due to
out-of-date backtraces on regular files.
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Wed, 29 Jan 2025 20:27:20 +0000 (15:27 -0500)]
qa: make the directory non-empty to force migration
rank 0 will not migrate the directory until it is non-empty. And creating a
file and promptly deleting is not reliable; the vstart_runner.py test will just
loop forever.
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Patrick Donnelly [Wed, 29 Jan 2025 20:26:45 +0000 (15:26 -0500)]
qa: avoid unnecessary mds restart
The MDS are already sitting in standby because the fs is damaged.
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Dan Mick [Wed, 29 Jan 2025 19:18:24 +0000 (11:18 -0800)]
Merge pull request #61510 from dmick/container-no-repo-creds
container/build.sh: don't require repo creds on NO_PUSH
Zac Dover [Wed, 29 Jan 2025 17:29:34 +0000 (03:29 +1000)]
Merge pull request #61566 from zdover23/wip-doc-2025-01-30-cephadm-services-osd
doc/cephadm: simplify confusing math proposition
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Adam King [Wed, 29 Jan 2025 16:28:18 +0000 (11:28 -0500)]
Merge pull request #61530 from aza547/ssl_cert
cephadm: rgw: allow specifying the ssl_certificate by filepath
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 29 Jan 2025 16:25:09 +0000 (11:25 -0500)]
Merge pull request #61511 from phlogistonjohn/jjm-ctr-label-ceph
container: add label ceph=True back
Reviewed-by: Adam King <adking@redhat.com>
Ali Masarwa [Wed, 29 Jan 2025 15:48:12 +0000 (17:48 +0200)]
Merge pull request #61565 from AliMasarweh/wip-alimasa-bn-policy-with-tenant
RGW | bucket notifications: support cross tenant operations
Reviewed-by: yuvalif<ylifshit@redhat.com>
Matt Benjamin [Wed, 29 Jan 2025 14:50:35 +0000 (09:50 -0500)]
Merge pull request #61559 from linuxbox2/wip-new-zppbits
rgw: update to latest zpp_bits.h to compile w/gcc-14 & clang 19
SrinivasaBharathKanta [Wed, 29 Jan 2025 14:16:23 +0000 (19:46 +0530)]
Merge pull request #60246 from jamiepryde/SIMD-align-64
erasure-code: Increase SIMD_ALIGN from 32 to 64
SrinivasaBharathKanta [Wed, 29 Jan 2025 14:15:32 +0000 (19:45 +0530)]
Merge pull request #59679 from ceph/add-new-ec-plugins-for-qa
qa/erasure-code: add new teuthology isa configs
Zac Dover [Wed, 29 Jan 2025 14:05:59 +0000 (00:05 +1000)]
doc/cephadm: simplify confusing math proposition
s/This means that the exact device size is 3.64 * 1000, or 3640GB"/This
means that the exact device size is 3.64TB, or 3640 GB"/
In the original text, the number "3.64" appears to refer to a quantity
(and indeed, it is a quantity of Terabytes), but it is unlabeled. Also,
on repeated recent readings of this sentence I found it more puzzling
than enlightening. So I made this commit.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Ali Masarwa [Wed, 29 Jan 2025 12:09:22 +0000 (14:09 +0200)]
RGW | bucket notifications: support cross tenant operations
Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
Pedro Gonzalez Gomez [Wed, 29 Jan 2025 12:20:51 +0000 (13:20 +0100)]
Merge pull request #61123 from rhcs-dashboard/raise-smb-msg-exception
mgr/dashboard: smb raise exception for unsucessful resource update
Reviewed-by: Afreen Misbah <afreen@ibm.com>
afreen23 [Wed, 29 Jan 2025 09:28:37 +0000 (14:58 +0530)]
Merge pull request #61317 from rhcs-dashboard/add-smb-service-msg
mgr/dashboard: add warning message on smb service management
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Nizamudeen A [Wed, 29 Jan 2025 05:14:47 +0000 (10:44 +0530)]
Merge pull request #61033 from rhcs-dashboard/rgw-user-accounts-ui
mgr/dashboard: RGW user accounts UI
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
afreen23 [Wed, 29 Jan 2025 05:09:22 +0000 (10:39 +0530)]
Merge pull request #60819 from rhcs-dashboard/smb-cluster-form
mgr/dashboard: create smb cluster
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Matt Benjamin [Tue, 28 Jan 2025 20:07:06 +0000 (15:07 -0500)]
rgw: update to latest zpp_bits.h to compile w/gcc-14 & clang 19
Fixes: https://tracker.ceph.com/issues/69696
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Zac Dover [Tue, 28 Jan 2025 18:10:00 +0000 (04:10 +1000)]
Merge pull request #61549 from zdover23/2025-01-28-radosgw-multisite
doc/radosgw: s/zonegroup/pools/
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Adam King [Tue, 28 Jan 2025 17:03:03 +0000 (12:03 -0500)]
Merge pull request #60735 from adk3798/cephadm-remove-daemon-service-name
mgr/cephadm: set service name for DaemonDescription object used during daemon removal
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Raja [Tue, 28 Jan 2025 16:30:26 +0000 (22:00 +0530)]
Merge pull request #61215 from ArbitCode/wip-rgw-raja-feature-64526
RGW:support x-amz-expected-bucket-owner to verify bucket ownership wi…
Pedro Gonzalez Gomez [Tue, 17 Dec 2024 20:08:55 +0000 (21:08 +0100)]
mgr/dashboard: smb raise exception for unsucessful resource update
Adds a decorator to raise a DashboardException with the msg error of an unsucessful smb resource update
Fixes: https://tracker.ceph.com/issues/69286
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Zac Dover [Tue, 28 Jan 2025 06:30:24 +0000 (16:30 +1000)]
doc/radosgw: s/zonegroup/pools/
s/zonegroup/pools/, where this change makes the text clearer.
This change was made in reponse to an upstream comment on
https://pad.ceph.com/p/Report_Documentation_Bugs.
Fixes: https://tracker.ceph.com/issues/69689
Signed-off-by: Zac Dover <zac.dover@proton.me>
leonidc [Tue, 28 Jan 2025 14:15:51 +0000 (16:15 +0200)]
Merge pull request #61551 from leonidc/level_of_critical_mon_ev
nvmeofgw*: change log level of critical nvmeof monitor events to 1
Matan Breizman [Tue, 28 Jan 2025 10:29:43 +0000 (12:29 +0200)]
Merge pull request #61449 from mohit84/issue_69405
neorados_pool_test: Call create_pool at the end of NeoRados delete_pool related test
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Dnyaneshwari [Tue, 19 Nov 2024 07:01:52 +0000 (12:31 +0530)]
mgr/dashboard: create smb cluster
Fixes: https://tracker.ceph.com/issues/69156
Signed-off-by: Dnyaneshwari Talwekar <dtalwekar@redhat.com>
Leonid Chernin [Tue, 28 Jan 2025 08:23:38 +0000 (08:23 +0000)]
nvmeofgw*: change log level of critical nvmeof monitor events to 1
Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
aza547 [Sun, 26 Jan 2025 18:10:59 +0000 (18:10 +0000)]
Allow passing ssl_certificate as an rgw_frontend_extra_arg.
Fixes: https://tracker.ceph.com/issues/69567
Signed-off-by: Alexander Hussein-Kershaw <alexhus@microsoft.com>
fix markup
Hezko [Mon, 27 Jan 2025 17:53:58 +0000 (19:53 +0200)]
Merge pull request #61392 from Hezko/nvmeof-gw-info-cli
Dashboard: Introduce nvmeof cli commands
Venky Shankar [Mon, 27 Jan 2025 16:23:25 +0000 (21:53 +0530)]
Merge PR #60996 into main
* refs/pull/60996/head:
mds/SimpleLock: add is_xlocked_by()
mds/SimpleLock: add has_xlock_by()
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 27 Jan 2025 16:20:40 +0000 (21:50 +0530)]
Merge PR #61250 into main
* refs/pull/61250/head:
mds: avoid acquiring the wrlock twice for a single request
mds: add 'mds_allow_async_dirops' opt to allow/disable async dirop
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 27 Jan 2025 16:19:27 +0000 (21:49 +0530)]
Merge PR #61327 into main
* refs/pull/61327/head:
client: Fix signed comparison warning
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Pedro Gonzalez Gomez [Mon, 27 Jan 2025 12:38:38 +0000 (13:38 +0100)]
Merge pull request #60935 from rhcs-dashboard/smb-cluster-delete
mgr/dashboard: delete smb cluster
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Ilya Dryomov [Mon, 27 Jan 2025 11:03:13 +0000 (12:03 +0100)]
Merge pull request #60993 from MaxKellermann/types__backward_backward
include/types.h, tools/cephfs: remove _BACKWARD_BACKWARD_WARNING_H
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Tomer Haskalovitch [Wed, 15 Jan 2025 09:49:18 +0000 (11:49 +0200)]
mgr/dashboard: Introduce nvmeof cli
Extends ceph cli with nvmeof commands
fixes: https://tracker.ceph.com/issues/62705
Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>
Dnyaneshwari [Wed, 4 Dec 2024 05:51:11 +0000 (11:21 +0530)]
mgr/dashboard: delete smb cluster
Fixes: https://tracker.ceph.com/issues/69191
https://tracker.ceph.com/issues/69605
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
Nizamudeen A [Mon, 27 Jan 2025 06:41:18 +0000 (12:11 +0530)]
Merge pull request #57895 from rhcs-dashboard/kcli-multi-cluster
mgr/dashboard: adapt kcli plan to improve multi-cluster deployment
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Nizamudeen A [Mon, 27 Jan 2025 05:46:00 +0000 (11:16 +0530)]
Merge pull request #61382 from nbalacha/dashboard-typo
mgr/dashboard: Typo in NVMe-oF create service
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Zac Dover [Sun, 26 Jan 2025 16:32:51 +0000 (02:32 +1000)]
Merge pull request #61525 from zdover23/wip-doc-2025-01-26-cephadm-host-management
doc/cephadm: correct note
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Ronen Friedman [Sun, 26 Jan 2025 07:51:31 +0000 (09:51 +0200)]
Merge pull request #61506 from ronen-fr/wip-rf-scrub-formatters
osd/scrub: use ObjectSection & ArraySection
Reviewed-by: Samuel Just <sjust@redhat.com>
Zac Dover [Sun, 26 Jan 2025 05:11:16 +0000 (15:11 +1000)]
doc/cephadm: correct note
Correct the English in a note in doc/cephadm/host-management.rst.
This commit was made in response to
https://github.com/ceph/ceph/pull/50340, which corrected some of this
note in Quincy.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Ilya Dryomov [Sat, 25 Jan 2025 17:49:05 +0000 (18:49 +0100)]
Merge pull request #61520 from idryomov/wip-osdcap-syntax-doc
doc/rados: pool and namespace are independent osdcap restrictions
Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sat, 25 Jan 2025 17:06:43 +0000 (03:06 +1000)]
Merge pull request #61503 from zdover23/wip-doc-2025-01-24-cephfs-disaster-recovery-experts
doc/cephfs: edit disaster-recovery-experts (6 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Fri, 24 Jan 2025 13:46:19 +0000 (23:46 +1000)]
doc/cephfs: edit disaster-recovery-experts (6 of x)
In doc/cephfs/disaster-recovery-experts.rst, incorporate Anthony's
suggestions in
https://github.com/ceph/ceph/pull/61462#discussion_r1923917812
and
https://github.com/ceph/ceph/pull/61462#discussion_r1923920724
and reword the sentences in the section "Using an alternate metadata
pool for recovery" to be in the imperative mood, which better suits the
ordered list format that was introduced in
https://github.com/ceph/ceph/pull/61493.
Follows https://github.com/ceph/ceph/pull/61493.
https://tracker.ceph.com/issues/69557
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Ilya Dryomov [Sat, 25 Jan 2025 10:11:14 +0000 (11:11 +0100)]
doc/rados: pool and namespace are independent osdcap restrictions
For the "profile {name}" syntax, pool and namespace restrictions are
independent of each other (i.e. specifying namespace doesn't also
require specifying pool like is currently suggested). A cap can look
like "profile rbd namespace=myns", signifying that the RBD profile is
to be allowed in myns namespace of any pool.
For the "allow {access-spec}" syntax, pool restriction is optional.
A cap can look like "allow r namespace=myns", "allow w object_prefix
myprefix" or "allow rw namespace=myns object_prefix myprefix", for
example.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Zac Dover [Sat, 25 Jan 2025 09:37:28 +0000 (19:37 +1000)]
Merge pull request #61477 from caroav/caroav-update-nvmeof-docs
doc/rbd: update nvme docs
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Aviv Caro [Tue, 31 Dec 2024 13:45:14 +0000 (15:45 +0200)]
doc/rbd: Update nvme documentation
Signed-off-by: Aviv Caro <133020857+caroav@users.noreply.github.com>
Update nvmeof-requirements.rst
Signed-off-by: Aviv Caro <133020857+caroav@users.noreply.github.com>
Update nvmeof-initiator-linux.rst
Signed-off-by: Aviv Caro <133020857+caroav@users.noreply.github.com>
Update nvmeof-initiator-esx.rst
Signed-off-by: Aviv Caro <133020857+caroav@users.noreply.github.com>
Update nvmeof-target-configure.rst
Signed-off-by: Aviv Caro <133020857+caroav@users.noreply.github.com>
doc/rbd: fix broken .rst
Fix .rst errors introduced in https://github.com/ceph/ceph/pull/61477.
This commit will be squashed.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Ilya Dryomov [Fri, 24 Jan 2025 19:51:32 +0000 (20:51 +0100)]
Merge pull request #61492 from idryomov/wip-69619
librbd: clear ctx before initiating close in Image::{aio_,}close()
Reviewed-by: Ramana Raja <rraja@redhat.com>
John Mulligan [Tue, 21 Jan 2025 21:28:42 +0000 (16:28 -0500)]
container: add label ceph=True back
Add a label used by cephadm internally that was always set by
ceph-container [1] back to the new containerfile. This should
prevent issues with cephadm shell command thinking official ceph images
are not official ceph images.
[1] https://github.com/ceph/ceph-container/blob/
30dc8b9a55f70a40983fd2da6ac31e1b9e977143 /src/__DOCKERFILE_TRACEABILITY_LABELS__#L5
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Dan Mick [Fri, 24 Jan 2025 19:00:28 +0000 (11:00 -0800)]
container/build.sh: don't require repo creds on NO_PUSH
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Ronen Friedman [Fri, 24 Jan 2025 16:37:34 +0000 (10:37 -0600)]
osd/scrub: use ObjectSection & ArraySection
Use the RAII wrappers for the dump Formatters,
instead of manually opening and closing sections.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Ronen Friedman [Fri, 24 Jan 2025 16:01:29 +0000 (18:01 +0200)]
Merge pull request #61351 from ronen-fr/wip-rf-no-load
osd/scrub: increase the default scrub load limit
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Zac Dover [Fri, 24 Jan 2025 09:03:44 +0000 (19:03 +1000)]
Merge pull request #61493 from zdover23/wip-doc-2025-01-23-cephfs-disaster-recovery-experts
doc/cephfs: edit disaster-recovery-experts (5 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Adam King [Thu, 23 Jan 2025 19:25:11 +0000 (14:25 -0500)]
Merge pull request #61396 from ShwetaBhosale1/fix_issue_69541_after_nvmeof_deployment_10008_port_not_opened
mgr/cephadm: After deploying nvmeof gateway group, the prometheus port 10008/tcp is not opened
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Thu, 23 Jan 2025 19:24:19 +0000 (14:24 -0500)]
Merge pull request #61293 from adk3798/ceph-exporter-sock-dir
cephadm: fix handling of ceph-exporter sock-dir
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Adam King [Thu, 23 Jan 2025 19:22:04 +0000 (14:22 -0500)]
Merge pull request #60943 from anuradhagadge/fix_69081_ca_cert_with_fsid
mgr/cephadm: Changes for creating root cert with manager cluster fsid
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
Adam King [Thu, 23 Jan 2025 19:20:34 +0000 (14:20 -0500)]
Merge pull request #60858 from Kushal-deb/fix_issue_2097853-upgrade_status_message
cephadm: ceph orch upgrade status - Display easily understandable message
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Thu, 23 Jan 2025 19:19:30 +0000 (14:19 -0500)]
Merge pull request #60842 from ShwetaBhosale1/fix_issue_68979_command_to_upgrade_non_ceph_daemon_images
mgr/cephadm: Command to upgrade non-ceph image services with custom image
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Thu, 23 Jan 2025 19:18:23 +0000 (14:18 -0500)]
Merge pull request #60590 from JoshuaGabriel/joshua_67905
mgr/cephadm: Retry command when SSH connection closes
Reviewed-by: Adam King <adking@redhat.com>
Pedro Gonzalez Gomez [Thu, 23 Jan 2025 19:13:41 +0000 (20:13 +0100)]
Merge pull request #61467 from rhcs-dashboard/revert-cdsModal
mgr/dashboard: revert ModalCdsService for uncarbonized pool form
Reviewed-by: nmunet <nmunet@redhat.com>
Adam King [Thu, 23 Jan 2025 19:05:24 +0000 (14:05 -0500)]
Merge pull request #61233 from anoopcs9/rm-stray-backslash
script/ceph-backport: Remove stray `\` from grep command
Reviewed-by: Adam King <adking@redhat.com>
Guillaume Abrioux [Thu, 23 Jan 2025 11:57:13 +0000 (12:57 +0100)]
Merge pull request #61258 from guits/cv-hints
ceph-volume: type annotations
Matan Breizman [Thu, 23 Jan 2025 10:47:26 +0000 (12:47 +0200)]
Merge pull request #61253 from Matan-B/wip-matanb-crimson-tri_mutex_pointer
crimson/common/tri_mutex: improve logging
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Matan Breizman [Thu, 23 Jan 2025 10:42:25 +0000 (12:42 +0200)]
Merge pull request #56446 from guojidan/metrics
crimson/mgr/client.cc: daemon_health_metrics support
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Zac Dover [Thu, 23 Jan 2025 09:49:26 +0000 (19:49 +1000)]
doc/cephfs: edit disaster-recovery-experts (5 of x)
Put the procedure in the section called "Using an alternate metadata
pool for recovery" into an ordered list, so that it is in a proper
procedure format.
This commit is meant only to break the procedure into steps. The English
language in each of these steps could be improved, but that improvement
will be done after this formatting has been merged and backported.
Follows https://github.com/ceph/ceph/pull/61462.
https://tracker.ceph.com/issues/69557
Signed-off-by: Zac Dover <zac.dover@proton.me>
Dan Mick [Thu, 23 Jan 2025 02:57:57 +0000 (18:57 -0800)]
Merge pull request #61489 from dmick/wip-fix-container-tags
container/build.sh: fix up org vs. repo naming
Dan Mick [Thu, 23 Jan 2025 02:28:15 +0000 (18:28 -0800)]
container/build.sh: fix up org vs. repo naming
release builds were using the wrong container repo name because of
confused variable naming and inadequate separation. Keep the hostname,
org name, and repo name in separate variables, and assemble the full
path with a version when tagging is done.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Ilya Dryomov [Wed, 22 Jan 2025 19:34:11 +0000 (20:34 +0100)]
librbd: clear ctx before initiating close in Image::{aio_,}close()
Image::aio_close() must clear ctx before initiating close. Otherwise
the provided callback may see a non-NULL ctx and attempt to close the
image again from Image destructor, leading to an invalid memory access
as ImageCtx and ImageState are both freed immediately after the image
is closed (i.e. before AioCompletion is completed and the callback is
executed).
The same adjustment is made to Image::close() just for consistency.
Fixes: https://tracker.ceph.com/issues/69619
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Wed, 22 Jan 2025 18:46:41 +0000 (19:46 +0100)]
Merge pull request #57997 from guojidan/migration-child
test/librbd: add unit test for flatten migration
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
J. Eric Ivancich [Wed, 22 Jan 2025 15:50:23 +0000 (10:50 -0500)]
Merge pull request #61277 from lightmelodies/rgw
rgw/lc: make lc worker thread name shorter
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Adam King [Wed, 22 Jan 2025 13:18:37 +0000 (08:18 -0500)]
Merge pull request #60800 from rkachach/fix_issue_deps_refactoring
mgr/cephadm: Refactoring and consolidating services dependencies calculation logic
Reviewed-by: Adam King <adking@redhat.com>
Zac Dover [Wed, 22 Jan 2025 11:57:08 +0000 (21:57 +1000)]
Merge pull request #61462 from zdover23/wip-doc-2025-01-21-cephfs-disaster-recovery-experts
doc/cephfs: edit disaster-recovery-experts (4 of x)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Naman Munet [Fri, 10 Jan 2025 11:46:39 +0000 (17:16 +0530)]
mgr/dashboard: Added unit tests and fixed minor issues
Fixes: https://tracker.ceph.com/issues/69140
Signed-off-by: Naman Munet <naman.munet@ibm.com>
Naman Munet [Wed, 8 Jan 2025 07:41:58 +0000 (13:11 +0530)]
mgr/dashboard: Delete account integrated
Fixes: https://tracker.ceph.com/issues/69140
Signed-off-by: Naman Munet <naman.munet@ibm.com>
Naman Munet [Tue, 7 Jan 2025 19:20:32 +0000 (00:50 +0530)]
mgr/dashboard: account edit functionality added
Fixes: https://tracker.ceph.com/issues/69140
Signed-off-by: Naman Munet <naman.munet@ibm.com>
Naman Munet [Thu, 26 Dec 2024 11:48:03 +0000 (17:18 +0530)]
mgr/dashboard: added Create Account Functionality
Fixes: https://tracker.ceph.com/issues/69140
Signed-off-by: Naman Munet <naman.munet@ibm.com>
Naman Munet [Mon, 9 Dec 2024 11:40:17 +0000 (17:10 +0530)]
mgr/dashboard: RGW user accounts UI
--> Integrated list endpoint
Fixes: https://tracker.ceph.com/issues/69140
Signed-off-by: Naman Munet <namanmunet@li-ff83bccc-26af-11b2-a85c-a4b04bfb1003.ibm.com>
Soumya Koduri [Wed, 22 Jan 2025 09:35:34 +0000 (15:05 +0530)]
Merge pull request #61436 from soumyakoduri/wip-skoduri-dbstore
rgw/dbstore: Update bucket attrs as part of put_info()
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Soumya Koduri [Wed, 22 Jan 2025 09:35:01 +0000 (15:05 +0530)]
Merge pull request #60647 from soumyakoduri/wip-skoduri-lc-crash
rgw: Add object expirer API to the SAL interface
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
junxiang Mu [Wed, 11 Sep 2024 03:06:18 +0000 (11:06 +0800)]
test/librbd: add unit test for flatten migration
Fixes: https://tracker.ceph.com/issues/65743
Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: junxiang Mu <1948535941@qq.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Yuri Weinstein [Wed, 22 Jan 2025 00:53:51 +0000 (16:53 -0800)]
Merge pull request #59050 from mohit84/issue_67270
mon: Create a local copy of scrub_state to avoid a crash
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Laura Flores [Tue, 21 Jan 2025 20:09:11 +0000 (14:09 -0600)]
Merge pull request #60984 from ljflores/wip-fix-telemetry-tests
qa/suites/upgrade/telemetry-upgrade: update telemetry tests
Yuri Weinstein [Tue, 21 Jan 2025 18:56:39 +0000 (10:56 -0800)]
Merge pull request #61007 from kamoltat/wip-ksirivad-fix-68602
qa/tasks/thrashosds-health.yaml: Add osds down to ignorelist
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Yuri Weinstein [Tue, 21 Jan 2025 18:54:52 +0000 (10:54 -0800)]
Merge pull request #58052 from jamiepryde/isal-default
core: Change the default plugin for Ceph erasure coded pools from Jerasure to ISA-L
Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Yuri Weinstein [Tue, 21 Jan 2025 18:52:41 +0000 (10:52 -0800)]
Merge pull request #56180 from yehudasa/wip-objecter-local-read
objecter: use configurable to set local and balanced reads
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Dan Mick [Tue, 21 Jan 2025 18:37:30 +0000 (10:37 -0800)]
Merge pull request #61098 from anoopcs9/add-libcephfs-daemon-containerfile
Containerfile: Add `libcephfs-daemon` package
Ronen Friedman [Tue, 21 Jan 2025 17:33:07 +0000 (19:33 +0200)]
Merge pull request #61175 from ronen-fr/wip-rf-nvme-this
mon/nvme: fix unused lambda capture warnings
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: baum <alexander.indenbaum@gmail.com>
Yuval Lifshitz [Tue, 21 Jan 2025 16:49:48 +0000 (18:49 +0200)]
Merge pull request #61282 from oshrey16/wip-lua-oshrey
rgw/lua: add configurable runtime limit for the lua state
Ali Masarwa [Tue, 21 Jan 2025 15:45:08 +0000 (17:45 +0200)]
Merge pull request #61388 from AliMasarweh/wip-alimasa-bucket-logging-log-info
RGW\logging: added missing fields
Reviewed-by: yuvalif<ylifshit@redhat.com>
Pedro Gonzalez Gomez [Tue, 21 Jan 2025 10:32:25 +0000 (11:32 +0100)]
mgr/dashboard: revert ModalCdsService for uncarbonized pool form
Fixes: https://tracker.ceph.com/issues/69607
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Mohit Agrawal [Mon, 20 Jan 2025 06:03:31 +0000 (11:33 +0530)]
neorados_pool_test: Erase a pool name from local map during delete_pool
The test case itself call CoTearDown function by the end of every test case
and the function call delete_pool on the basis of pool name exists in
local set <created_pools> and if the pool does not exist during CoTearDown
it throws an exception so the test case expects the pool should be exists
before leaving the test case.
Solution: During delete_pool erase a pool name from a local map
and CoTearDown iterate over local copy instead of the
orignal copy.
Fixes: https://tracker.ceph.com/issues/69405
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Zac Dover [Tue, 21 Jan 2025 05:53:19 +0000 (15:53 +1000)]
doc/cephfs: edit disaster-recovery-experts (4 of x)
Edit the seventh and final section of
doc/cephfs/disaster-recovery-experts.rst in preparation for adding
deeper explanations of the contexts in which one should use the various
commands listed on that page.
The section edited in this commit is
* Using an alternate metadata pool for recovery
A future commit might beneficially put this section into the format of
an ordered list. If so, such a commit should only reformat the
content and should not make any changes to the English. It's enough to
verify content or format. Let's not overload our editorial faculties by
forcing ourselves to walk and chew gum at the same time.
Follows https://github.com/ceph/ceph/pull/61442
https://tracker.ceph.com/issues/69557
Signed-off-by: Zac Dover <zac.dover@proton.me>