]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
13 months agoadded override for modals
Ivo Almeida [Fri, 31 May 2024 11:01:21 +0000 (12:01 +0100)]
added override for modals

13 months agotop navigation tests
Ivo Almeida [Fri, 31 May 2024 10:13:17 +0000 (11:13 +0100)]
top navigation tests

13 months agofixed navigation tests
Ivo Almeida [Fri, 31 May 2024 09:45:25 +0000 (10:45 +0100)]
fixed navigation tests

13 months agofixed language tests
Ivo Almeida [Fri, 31 May 2024 09:22:21 +0000 (10:22 +0100)]
fixed language tests

13 months agofixed login e2e test
Ivo Almeida [Fri, 31 May 2024 09:06:25 +0000 (10:06 +0100)]
fixed login e2e test

13 months agochanged struct of navigation
Ivo Almeida [Thu, 30 May 2024 17:18:55 +0000 (18:18 +0100)]
changed struct of navigation

13 months agoremoved cd utilities template
Ivo Almeida [Thu, 30 May 2024 15:55:36 +0000 (16:55 +0100)]
removed cd utilities template

13 months agolint fixes
Ivo Almeida [Thu, 30 May 2024 10:25:33 +0000 (11:25 +0100)]
lint fixes

13 months agofixed Object navigation items
Ivo Almeida [Thu, 30 May 2024 09:34:41 +0000 (10:34 +0100)]
fixed Object navigation items

13 months agoremoved icons ref from administration component
Ivo Almeida [Thu, 30 May 2024 09:33:49 +0000 (10:33 +0100)]
removed icons ref from administration component

13 months agomade upstream theme fallback
Ivo Almeida [Wed, 29 May 2024 16:06:33 +0000 (17:06 +0100)]
made upstream theme fallback

13 months agomoved carbon overrides to its own file
Ivo Almeida [Wed, 29 May 2024 16:01:42 +0000 (17:01 +0100)]
moved carbon overrides to its own file

13 months agomoved carbon overrides to its own file
Ivo Almeida [Wed, 29 May 2024 15:28:55 +0000 (16:28 +0100)]
moved carbon overrides to its own file

13 months agoupdated node version to latest lts
Ivo Almeida [Wed, 29 May 2024 13:21:50 +0000 (14:21 +0100)]
updated node version to latest lts

13 months agoadded size overrides to header
Ivo Almeida [Wed, 29 May 2024 10:50:09 +0000 (11:50 +0100)]
added size overrides to header

13 months agoadded size override to side nav
Ivo Almeida [Wed, 29 May 2024 10:32:34 +0000 (11:32 +0100)]
added size override to side nav

13 months agoadded overrides for sidenav bar
Ivo Almeida [Wed, 29 May 2024 08:14:13 +0000 (09:14 +0100)]
added overrides for sidenav bar

13 months agoadded brand template for upstream ceph logo
Ivo Almeida [Wed, 29 May 2024 08:13:50 +0000 (09:13 +0100)]
added brand template for upstream ceph logo

13 months agoreverted body font-size back to 12px
Ivo Almeida [Tue, 28 May 2024 14:14:34 +0000 (15:14 +0100)]
reverted body font-size back to 12px

13 months agofixed linting errors
Ivo Almeida [Tue, 28 May 2024 14:05:25 +0000 (15:05 +0100)]
fixed linting errors

13 months agofixed navigation unit test error
Ivo Almeida [Fri, 24 May 2024 09:19:50 +0000 (10:19 +0100)]
fixed navigation unit test error

13 months agofixed jest error related to icons
Ivo Almeida [Thu, 23 May 2024 15:48:44 +0000 (16:48 +0100)]
fixed jest error related to icons

13 months agoreverted telemetry notification back to its original component
Ivo Almeida [Tue, 21 May 2024 10:30:35 +0000 (11:30 +0100)]
reverted telemetry notification back to its original component

13 months agoplace language selector on the right side
Ivo Almeida [Mon, 20 May 2024 14:51:36 +0000 (15:51 +0100)]
place language selector on the right side

13 months agoadded 48px top to workbench content
Ivo Almeida [Mon, 20 May 2024 14:33:18 +0000 (15:33 +0100)]
added 48px top to workbench content

13 months agofixed active styles for navigation items
Ivo Almeida [Mon, 20 May 2024 14:29:40 +0000 (15:29 +0100)]
fixed active styles for navigation items

13 months agoincreased icon sizes. fixed ml value
Ivo Almeida [Mon, 20 May 2024 13:08:29 +0000 (14:08 +0100)]
increased icon sizes. fixed ml value

13 months agocommented out hardcoded font family and size
Ivo Almeida [Mon, 20 May 2024 12:56:32 +0000 (13:56 +0100)]
commented out hardcoded font family and size

13 months agoimplemented telemetry-notification notification component
Ivo Almeida [Mon, 20 May 2024 12:36:30 +0000 (13:36 +0100)]
implemented telemetry-notification notification component

13 months agoadded icons for lateral menu
Ivo Almeida [Mon, 20 May 2024 10:09:29 +0000 (11:09 +0100)]
added icons for lateral menu

13 months agofor hamburger meny working with existing toggle property
Ivo Almeida [Mon, 20 May 2024 09:01:40 +0000 (10:01 +0100)]
for hamburger meny working with existing toggle property

13 months agoimplemented language selector component
Ivo Almeida [Fri, 17 May 2024 15:00:24 +0000 (16:00 +0100)]
implemented language selector component

13 months agorestructured navigation component template
Ivo Almeida [Fri, 17 May 2024 14:42:57 +0000 (15:42 +0100)]
restructured navigation component template

13 months agoadded style config and ts module
Ivo Almeida [Fri, 17 May 2024 14:22:56 +0000 (15:22 +0100)]
added style config and ts module

13 months agomgr/dashboard: carbon initial setup
Ivo Almeida [Wed, 15 May 2024 08:42:47 +0000 (09:42 +0100)]
mgr/dashboard: carbon initial setup

13 months agoMerge pull request #57711 from cyx1231st/wip-seastore-fix-incorrent-reclaimable-segments
Yingxin [Thu, 30 May 2024 01:55:22 +0000 (09:55 +0800)]
Merge pull request #57711 from cyx1231st/wip-seastore-fix-incorrent-reclaimable-segments

crimson/os/seastore/async_cleaner: fix incorrect get_num_rolls()

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
13 months agoMerge pull request #57612 from Svelar/asan_rgw_kms
Rongqi Sun [Thu, 30 May 2024 01:31:06 +0000 (09:31 +0800)]
Merge pull request #57612 from Svelar/asan_rgw_kms

rgw_kms: fix Realloc and free cct

13 months agoMerge pull request #51591 from rhcs-dashboard/add-helpers-pool-compression
Avan [Wed, 29 May 2024 10:46:59 +0000 (16:16 +0530)]
Merge pull request #51591 from rhcs-dashboard/add-helpers-pool-compression

mgr/dashboard: add helpers for compression in pool form

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
13 months agoMerge pull request #57748 from yuvalif/wip-yuval-test-http
Yuval Lifshitz [Wed, 29 May 2024 09:50:15 +0000 (12:50 +0300)]
Merge pull request #57748 from yuvalif/wip-yuval-test-http

test/rgw/notification: verify network access to http server

Reviewed-By: Ali Masarwe <ali.masarwa@ibm.com>
13 months agoMerge PR #57354 into main
Venky Shankar [Wed, 29 May 2024 09:38:09 +0000 (15:08 +0530)]
Merge PR #57354 into main

* refs/pull/57354/head:
mds: relax divergent backtrace scrub failures for replicated ancestor inodes

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
13 months agoMerge PR #55758 into main
Venky Shankar [Wed, 29 May 2024 09:34:58 +0000 (15:04 +0530)]
Merge PR #55758 into main

* refs/pull/55758/head:
doc: update 'journal reset' command with --yes-i-really-really-mean-it
qa: fix cephfs-journal-tool command options and make fs inactive
cephfs-journal-tool: Add warning messages during 'journal reset' and prevent execution on active fs

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge PR #57291 into main
Venky Shankar [Wed, 29 May 2024 09:32:51 +0000 (15:02 +0530)]
Merge PR #57291 into main

* refs/pull/57291/head:
pybind/mgr/mirroring: Fix KeyError: 'directory_count' in daemon status

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agoMerge pull request #57694 from zhscn/fix-avl-alloc
Yingxin [Wed, 29 May 2024 07:49:16 +0000 (15:49 +0800)]
Merge pull request #57694 from zhscn/fix-avl-alloc

crimson/os/seastore/rbm/avlallocator: return enough regions when request size is greater than max_alloc_size

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoMerge pull request #57753 from zdover23/wip-doc-2024-05-29-doc-dev-perf-counters
Zac Dover [Wed, 29 May 2024 06:10:33 +0000 (16:10 +1000)]
Merge pull request #57753 from zdover23/wip-doc-2024-05-29-doc-dev-perf-counters

doc/dev: add note about intro of perf counters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57729 from idryomov/wip-66232
Ilya Dryomov [Tue, 28 May 2024 19:04:51 +0000 (21:04 +0200)]
Merge pull request #57729 from idryomov/wip-66232

qa/suites/rbd: override extra_system_packages directly on install task

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge PR #57688 into main
Patrick Donnelly [Tue, 28 May 2024 18:00:17 +0000 (14:00 -0400)]
Merge PR #57688 into main

* refs/pull/57688/head:
tools/first-damage: Don't skip stray directory object

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge PR #57579 into main
Patrick Donnelly [Tue, 28 May 2024 16:46:08 +0000 (12:46 -0400)]
Merge PR #57579 into main

* refs/pull/57579/head:
mds/quiesce: disable quiesce root debug parameters by default
mds/quiesce-agt: never send a synchronous ack
mds/quiesce-agt: add test for a rapid async ack
mds/quiesce: always abort fragmenting asynchronously to prevent reentrancy
mds/quiesce: overdrive an export if it hasn't frozen the tree yet
mds/quiesce: quiesce_inode should not hold on to remote auth pins
qa/cephfs: check that a completed quiesce doesn't hold remote auth pins
mds: add `--lifetime` parameter to the `lock path` asok command
mds/quiesce: accept a regular file as the quiesce root
mds: command_quiesce_path: rename `--wait` to `--await` for consistency
mds: command_quiesce_path: do not block the asok thread and return an adequate rc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agodoc/dev: add note about intro of perf counters 57753/head
Zac Dover [Tue, 28 May 2024 16:27:53 +0000 (02:27 +1000)]
doc/dev: add note about intro of perf counters

Add a note to the "perf counter" section of doc/dev/perf_counters.rst
that explains that this feature was introduced in the Reef release of
Ceph. This note will prevent us from accidentally backporting
perf-counter-related PRs to Quincy.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agoMerge pull request #57462 from rhcs-dashboard/rgw-policy-group
Nizamudeen A [Tue, 28 May 2024 16:06:10 +0000 (21:36 +0530)]
Merge pull request #57462 from rhcs-dashboard/rgw-policy-group

mgr/dashboard: rgw policy group management api

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
13 months agoMerge pull request #57655 from AliMasarweh/wip-alimasa-bn-correct-reload
Ali Masarwa [Tue, 28 May 2024 15:42:29 +0000 (18:42 +0300)]
Merge pull request #57655 from AliMasarweh/wip-alimasa-bn-correct-reload

RGW|Bucket notification: reload realm correctly

Reviewed-by: yuvalif<ylifshit@redhat.com>
13 months agoMerge pull request #57732 from rishabh-d-dave/doc-dev-teuth
Zac Dover [Tue, 28 May 2024 14:53:25 +0000 (00:53 +1000)]
Merge pull request #57732 from rishabh-d-dave/doc-dev-teuth

doc/developer_guide: update doc about installing teuthology

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agotest/rgw/notification: verify network access to http server 57748/head
Yuval Lifshitz [Tue, 28 May 2024 13:47:30 +0000 (13:47 +0000)]
test/rgw/notification: verify network access to http server

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
13 months agodoc/developer_guide: update doc about installing teuthology 57732/head
Rishabh Dave [Mon, 27 May 2024 19:37:35 +0000 (01:07 +0530)]
doc/developer_guide: update doc about installing teuthology

There are 2 more ways to install teuthology. Approach with boostrap
script is easier and more convenient while other approach is more
elaborate but manual, document both of them. Don't delete the currently
documented approach because it lets users install teuthology
conveniently in a custom virtual environment. So, keep all three.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
13 months agoMerge pull request #57070 from rhcs-dashboard/fix-read-only-landing-page
Pedro Gonzalez Gomez [Tue, 28 May 2024 10:53:11 +0000 (12:53 +0200)]
Merge pull request #57070 from rhcs-dashboard/fix-read-only-landing-page

mgr/dashboard: fix readonly landingpage

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
13 months agoMerge pull request #57720 from zdover23/wip-doc-2024-05-27-cephfs-fs-volumes
Zac Dover [Tue, 28 May 2024 10:14:22 +0000 (20:14 +1000)]
Merge pull request #57720 from zdover23/wip-doc-2024-05-27-cephfs-fs-volumes

doc/cephfs: s/subvolumegroups/subvolume groups

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57638 from yuvalif/wip-yuval-66033
Yuval Lifshitz [Tue, 28 May 2024 07:33:23 +0000 (10:33 +0300)]
Merge pull request #57638 from yuvalif/wip-yuval-66033

test/rgw/notifications: allow http server to buffer more requests

Reviewed-By: Casey Bodley <cbodley@ibm.com>
13 months agomgr/dashboard: manage flow and pipes apis 57462/head
Nizamudeen A [Tue, 14 May 2024 09:53:36 +0000 (15:23 +0530)]
mgr/dashboard: manage flow and pipes apis

Fixes: https://tracker.ceph.com/issues/66238
Signed-off-by: Nizamudeen A <nia@redhat.com>
13 months agomgr/dashboard: rgw policy group management api
Nizamudeen A [Tue, 14 May 2024 09:01:43 +0000 (14:31 +0530)]
mgr/dashboard: rgw policy group management api

Fixes: https://tracker.ceph.com/issues/66238
Signed-off-by: Nizamudeen A <nia@redhat.com>
13 months agoMerge pull request #57700 from tchaikov/wip-mgr-prometheus-packaging
Kefu Chai [Tue, 28 May 2024 01:08:04 +0000 (09:08 +0800)]
Merge pull request #57700 from tchaikov/wip-mgr-prometheus-packaging

mgr/prometheus: s/pkg_resources.packaging/packaging/

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
13 months agoqa/suites/rbd: override extra_system_packages directly on install task 57729/head
Ilya Dryomov [Mon, 27 May 2024 13:56:26 +0000 (15:56 +0200)]
qa/suites/rbd: override extra_system_packages directly on install task

[1] and [2] added support for applying extra_system_packages overrides
directly on install task, but at the same time broke our long standing
workaround where we sneaked extra_system_packages directive in through
an override on ceph task.  This is likely getting addressed in [3], but
it's better to not rely on this odd feature in the first place.

[1] https://github.com/ceph/teuthology/pull/1941
[2] https://github.com/ceph/teuthology/pull/1943
[3] https://github.com/ceph/teuthology/pull/1942

Fixes: https://tracker.ceph.com/issues/66232
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
13 months agoMerge pull request #57671 from idryomov/wip-labeler-qa
Ilya Dryomov [Mon, 27 May 2024 14:12:20 +0000 (16:12 +0200)]
Merge pull request #57671 from idryomov/wip-labeler-qa

.github: expand tests label to all files under qa

Reviewed-by: Ramana Raja <rraja@redhat.com>
13 months agoMerge pull request #57628 from joscollin/wip-B66173-doc-per-client-metrics
Zac Dover [Mon, 27 May 2024 12:59:06 +0000 (22:59 +1000)]
Merge pull request #57628 from joscollin/wip-B66173-doc-per-client-metrics

doc: document metrics exported by CephFS

Reviewed-by: Zac Dover <zac.dover@proton.me>
13 months agodoc/cephfs: s/subvolumegroups/subvolume groups 57720/head
Zac Dover [Mon, 27 May 2024 11:09:40 +0000 (21:09 +1000)]
doc/cephfs: s/subvolumegroups/subvolume groups

Use the term "subvolume groups" instead of "subvolumegroups" where the
term appears in plain English. The string "subvolumegroups" is correct
in commands, and remains unchanged.

Also add formatting to command output, to make clearer that the output
is indeed output.

Fixes: https://github.com/ceph/ceph/pull/57574#discussion_r1606988766
Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agomgr/dashboard: add helpers for compression in pool form 51591/head
avanthakkar [Fri, 19 May 2023 11:37:28 +0000 (17:07 +0530)]
mgr/dashboard: add helpers for compression in pool form

Fixes: https://tracker.ceph.com/issues/61297
Signed-off-by: avanthakkar <avanjohn@gmail.com>
Adding helpers for compression mode, algorithm, min/max blob size and
compression ratio which is set to 0.875 as default.

13 months agodoc: document metrics exported by CephFS 57628/head
Jos Collin [Wed, 22 May 2024 12:40:24 +0000 (18:10 +0530)]
doc: document metrics exported by CephFS

Fixes: https://tracker.ceph.com/issues/66173
Signed-off-by: Jos Collin <jcollin@redhat.com>
13 months agocrimson/os/seastore/async_cleaner: fix incorrect get_num_rolls() 57711/head
Yingxin Cheng [Mon, 27 May 2024 02:16:41 +0000 (10:16 +0800)]
crimson/os/seastore/async_cleaner: fix incorrect get_num_rolls()

The number of journal segments should not be based on the committed
journal_head. Otherwise, if a new journal segment is just opened and the
committed journal_head hasn't been updated, the result will be wrong.

This causes ceph_assert(get_segments_reclaimable() == 0) in
SegmentCleaner::get_next_reclaim_segment().

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoMerge pull request #57584 from rhcs-dashboard/dashboard-pendingreleasenotes 57721/head
Nizamudeen A [Mon, 27 May 2024 04:51:12 +0000 (00:51 -0400)]
Merge pull request #57584 from rhcs-dashboard/dashboard-pendingreleasenotes

doc: Update pendingreleasenotes for dashboard

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
13 months agomds/quiesce: disable quiesce root debug parameters by default 57579/head
Leonid Usov [Sun, 26 May 2024 11:33:55 +0000 (14:33 +0300)]
mds/quiesce: disable quiesce root debug parameters by default

Fixes: https://tracker.ceph.com/issues/66225
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds/quiesce-agt: never send a synchronous ack
Leonid Usov [Sun, 26 May 2024 08:16:48 +0000 (11:16 +0300)]
mds/quiesce-agt: never send a synchronous ack

Defer to the agent thread to perform all acking.
This avoids race conditions between the updating thread
and the acking thread.

Fixes: https://tracker.ceph.com/issues/66219
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds/quiesce-agt: add test for a rapid async ack
Leonid Usov [Sat, 25 May 2024 13:35:31 +0000 (16:35 +0300)]
mds/quiesce-agt: add test for a rapid async ack

In this scenario, the agent thread is able to run and generate an ack
before the db_update call returns to the caller.

Fixes: https://tracker.ceph.com/issues/66219
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds/quiesce: always abort fragmenting asynchronously to prevent reentrancy
Leonid Usov [Thu, 23 May 2024 13:45:13 +0000 (16:45 +0300)]
mds/quiesce: always abort fragmenting asynchronously to prevent reentrancy

Fixes: https://tracker.ceph.com/issues/66208
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds/quiesce: overdrive an export if it hasn't frozen the tree yet
Leonid Usov [Mon, 20 May 2024 16:17:04 +0000 (19:17 +0300)]
mds/quiesce: overdrive an export if it hasn't frozen the tree yet

Just like with the fragmenting, we should abort an ongoing export
if a quiesce is attempted for the directory.

To minimize the stress for the system, we only allow the abort
if the export hasn't yet managed to freeze the tree. If that is the case,
then quiesce will have to wait for the export to finish.

Fixes: https://tracker.ceph.com/issues/66123
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds/quiesce: quiesce_inode should not hold on to remote auth pins
Leonid Usov [Mon, 20 May 2024 22:03:15 +0000 (01:03 +0300)]
mds/quiesce: quiesce_inode should not hold on to remote auth pins

1. avoid taking a remote authpin for the quiesce lock
2. drop remote authpins that were taken because of other locks

We should not be forcing a mustpin when taking quiesce lock.
This creates unnecessary overhead due to the distributed nature
of the quiesce: all ranks will execute quiesce_inode, including
the auth rank, which will authpin the inode.

Auth pinning on the auth rank is important to synchronize quiesce
with operations that are managed by the auth, like fragmenting
and exporting.

If we let a remote quiesce process take a foreign authpin then
it may block freezing on the auth, which will stall quiesce locally.
This wouldn't be a problem if the quiesce that is blocked on the auth
and the quiesce that's holding a remote authpin from the replica side
were unrelated, but in our case it may be the same logical quiesce
that effectively steps on its own toes. This creates an opportunity
for a deadlock.

Fixes: https://tracker.ceph.com/issues/66152
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoqa/cephfs: check that a completed quiesce doesn't hold remote auth pins
Leonid Usov [Wed, 22 May 2024 11:46:50 +0000 (14:46 +0300)]
qa/cephfs: check that a completed quiesce doesn't hold remote auth pins

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds: add `--lifetime` parameter to the `lock path` asok command
Leonid Usov [Wed, 22 May 2024 08:00:13 +0000 (11:00 +0300)]
mds: add `--lifetime` parameter to the `lock path` asok command

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds/quiesce: accept a regular file as the quiesce root
Leonid Usov [Wed, 22 May 2024 09:19:08 +0000 (12:19 +0300)]
mds/quiesce: accept a regular file as the quiesce root

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds: command_quiesce_path: rename `--wait` to `--await` for consistency
Leonid Usov [Wed, 22 May 2024 18:35:51 +0000 (21:35 +0300)]
mds: command_quiesce_path: rename `--wait` to `--await` for consistency

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agomds: command_quiesce_path: do not block the asok thread and return an adequate rc
Leonid Usov [Wed, 22 May 2024 11:45:09 +0000 (14:45 +0300)]
mds: command_quiesce_path: do not block the asok thread and return an adequate rc

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoMerge PR #57393 into main
Patrick Donnelly [Sun, 26 May 2024 00:51:35 +0000 (20:51 -0400)]
Merge PR #57393 into main

* refs/pull/57393/head:
doc/man: add missing long option switches

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
13 months agoMerge pull request #57609 from Svelar/asan_rbd_mirror
Ilya Dryomov [Sat, 25 May 2024 21:42:07 +0000 (23:42 +0200)]
Merge pull request #57609 from Svelar/asan_rbd_mirror

test/rbd-mirror: free remote_journaler in PrepareRemoteImageRequest tests

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 months agoMerge pull request #56033 from yuvalif/wip-yuval-kafka-cleanup
Yuval Lifshitz [Sat, 25 May 2024 15:29:05 +0000 (18:29 +0300)]
Merge pull request #56033 from yuvalif/wip-yuval-kafka-cleanup

rgw/kafka: do not destroy the connection on errors

Reviewed-By: Krunal Chheda <kchheda3@bloomberg.net>, Casey Bodley <cbodley@ibm.com>
13 months agoMerge pull request #57701 from zdover23/wip-doc-2024-05-25-cephfs-fs-volumes
Anthony D'Atri [Sat, 25 May 2024 13:48:39 +0000 (09:48 -0400)]
Merge pull request #57701 from zdover23/wip-doc-2024-05-25-cephfs-fs-volumes

doc/cephfs: disambiguate two sentences

13 months agodoc/cephfs: disambiguate two sentences 57701/head
Zac Dover [Sat, 25 May 2024 08:41:03 +0000 (18:41 +1000)]
doc/cephfs: disambiguate two sentences

Rewrite two sentences so that they are unambgiuously in the indicative
mood and not, as they previously seemed, in the imperative mood.

Signed-off-by: Zac Dover <zac.dover@proton.me>
13 months agotest/rbd: free remote_journaler in PrepareRemoteImageRequest tests 57609/head
Rongqi Sun [Wed, 22 May 2024 06:47:50 +0000 (06:47 +0000)]
test/rbd: free remote_journaler in PrepareRemoteImageRequest tests

When sanitizer is enabled, unittest_rbd_mirror shows

```
=================================================================
==1377627==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 2 byte(s) in 2 object(s) allocated from:
    #0 0xaaaac462d088 in operator new(unsigned long) (/root/ceph/build/bin/unittest_rbd_mirror+0x30cd088) (BuildId: 054d3b6699c622daad91c7f70e36616220fbd5ad)
    #1 0xaaaac522f13c in rbd::mirror::image_replayer::PrepareRemoteImageRequest<librbd::(anonymous namespace)::MockTestImageCtx>::get_client() /root/ceph/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.cc:148:24
    #2 0xaaaac522e60c in rbd::mirror::image_replayer::PrepareRemoteImageRequest<librbd::(anonymous namespace)::MockTestImageCtx>::handle_get_mirror_info(int) /root/ceph/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.cc:120:5
    #3 0xaaaac5232d1c in librbd::util::detail::C_CallbackAdapter<rbd::mirror::image_replayer::PrepareRemoteImageRequest<librbd::(anonymous namespace)::MockTestImageCtx>, &(rbd::mirror::image_replayer::PrepareRemoteImageRequest<librbd::(anonymous namespace)::MockTestImageCtx>::handle_get_mirror_info(int))>::finish(int) /root/ceph/src/librbd/Utils.h:63:5
    #4 0xaaaac4863428 in Context::complete(int) /root/ceph/src/include/Context.h:99:5
    #5 0xaaaac489ac30 in librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()::operator()() const /root/ceph/src/librbd/asio/ContextWQ.h:31:12
    #6 0xaaaac489aaf4 in boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>::operator()() /root/ceph/build/boost/include/boost/asio/detail/bind_handler.hpp:60:5
    #7 0xaaaac489aaac in void boost::asio::asio_handler_invoke<boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()> >(boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>&, ...) /root/ceph/build/boost/include/boost/asio/handler_invoke_hook.hpp:88:3
    #8 0xaaaac489aa4c in void boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>, librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>(boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>&, librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()&) /root/ceph/build/boost/include/boost/asio/detail/handler_invoke_helpers.hpp:54:3
    #9 0xaaaac489a9ec in void boost::asio::detail::asio_handler_invoke<boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>, librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>(boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>&, boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>*) /root/ceph/build/boost/include/boost/asio/detail/bind_handler.hpp:111:3
    #10 0xaaaac4899c00 in void boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>, boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()> >(boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>&, boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>&) /root/ceph/build/boost/include/boost/asio/detail/handler_invoke_helpers.hpp:54:3
    #11 0xaaaac489c814 in boost::asio::detail::executor_op<boost::asio::detail::binder0<librbd::asio::ContextWQ::queue(Context*, int)::'lambda'()>, std::allocator<void>, boost::asio::detail::scheduler_operation>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) /root/ceph/build/boost/include/boost/asio/detail/executor_op.hpp:71:7
    #12 0xaaaac489fb4c in boost::asio::detail::scheduler_operation::complete(void*, boost::system::error_code const&, unsigned long) /root/ceph/build/boost/include/boost/asio/detail/scheduler_operation.hpp:40:5
    #13 0xaaaac489f074 in boost::asio::detail::strand_executor_service::run_ready_handlers(std::shared_ptr<boost::asio::detail::strand_executor_service::strand_impl>&) /root/ceph/build/boost/include/boost/asio/detail/impl/strand_executor_service.ipp:150:8
    #14 0xaaaac489ed2c in boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void>::operator()() /root/ceph/build/boost/include/boost/asio/detail/impl/strand_executor_service.hpp:136:5
    #15 0xaaaac489ebd4 in void boost::asio::asio_handler_invoke<boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void> >(boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void>&, ...) /root/ceph/build/boost/include/boost/asio/handler_invoke_hook.hpp:88:3
    #16 0xaaaac489e284 in void boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void>, boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void> >(boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void>&, boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void>&) /root/ceph/build/boost/include/boost/asio/detail/handler_invoke_helpers.hpp:54:3
    #17 0xaaaac48a3e08 in boost::asio::detail::executor_op<boost::asio::detail::strand_executor_service::invoker<boost::asio::io_context::basic_executor_type<std::allocator<void>, 0ul> const, void>, std::allocator<void>, boost::asio::detail::scheduler_operation>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) /root/ceph/build/boost/include/boost/asio/detail/executor_op.hpp:71:7
    #18 0xaaaac489fb4c in boost::asio::detail::scheduler_operation::complete(void*, boost::system::error_code const&, unsigned long) /root/ceph/build/boost/include/boost/asio/detail/scheduler_operation.hpp:40:5
    #19 0xaaaac6766b1c in boost::asio::detail::scheduler::do_run_one(boost::asio::detail::conditionally_enabled_mutex::scoped_lock&, boost::asio::detail::scheduler_thread_info&, boost::system::error_code const&) /root/ceph/build/boost/include/boost/asio/detail/impl/scheduler.ipp:493:12
    #20 0xaaaac67660a4 in boost::asio::detail::scheduler::run(boost::system::error_code&) /root/ceph/build/boost/include/boost/asio/detail/impl/scheduler.ipp:210:10
    #21 0xaaaac7562d48 in boost::asio::io_context::run() /root/ceph/build/boost/include/boost/asio/impl/io_context.ipp:64:24
    #22 0xaaaac7562bcc in ceph::async::io_context_pool::start(short)::'lambda'()::operator()() const /root/ceph/src/common/async/context_pool.h:69:16
    #23 0xaaaac7562b18 in void std::__invoke_impl<void, ceph::async::io_context_pool::start(short)::'lambda'()>(std::__invoke_other, ceph::async::io_context_pool::start(short)::'lambda'()&&) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:61:14
    #24 0xaaaac7562960 in std::__invoke_result<ceph::async::io_context_pool::start(short)::'lambda'()>::type std::__invoke<ceph::async::io_context_pool::start(short)::'lambda'()>(ceph::async::io_context_pool::start(short)::'lambda'()&&) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:96:14
    #25 0xaaaac7562804 in std::invoke_result<ceph::async::io_context_pool::start(short)::'lambda'()>::type std::invoke<ceph::async::io_context_pool::start(short)::'lambda'()>(ceph::async::io_context_pool::start(short)::'lambda'()&&) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/functional:97:14
    #26 0xaaaac75627dc in auto std::thread make_named_thread<ceph::async::io_context_pool::start(short)::'lambda'()>(std::basic_string_view<char, std::char_traits<char> >, ceph::async::io_context_pool::start(short)::'lambda'()&&)::'lambda'(ceph::async::io_context_pool::start(short)::'lambda'()&&)::operator()<ceph::async::io_context_pool::start(short)::'lambda'()>(ceph::async::io_context_pool::start(short)::'lambda'()&&) const /root/ceph/src/common/Thread.h:79:10
    #27 0xaaaac7562728 in ceph::async::io_context_pool::start(short)::'lambda'() std::__invoke_impl<void, std::thread make_named_thread<ceph::async::io_context_pool::start(short)::'lambda'()>(std::basic_string_view<char, std::char_traits<char> >, ceph::async::io_context_pool::start(short)::'lambda'()&&)::'lambda'(ceph::async::io_context_pool::start(short)::'lambda'()&&), ceph::async::io_context_pool::start(short)::'lambda'()>(std::__invoke_other, std::thread make_named_thread<ceph::async::io_context_pool::start(short)::'lambda'()>(std::basic_string_view<char, std::char_traits<char> >, ceph::async::io_context_pool::start(short)::'lambda'()&&)::'lambda'(ceph::async::io_context_pool::start(short)::'lambda'()&&)&&, ceph::async::io_context_pool::start(short)::'lambda'()&&) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:61:14
    #28 0xaaaac75624ec in std::__invoke_result<ceph::async::io_context_pool::start(short)::'lambda'()>::type std::__invoke<std::thread make_named_thread<ceph::async::io_context_pool::start(short)::'lambda'()>(std::basic_string_view<char, std::char_traits<char> >, ceph::async::io_context_pool::start(short)::'lambda'()&&)::'lambda'(ceph::async::io_context_pool::start(short)::'lambda'()&&), ceph::async::io_context_pool::start(short)::'lambda'()>(ceph::async::io_context_pool::start(short)::'lambda'()&&) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:96:14
    #29 0xaaaac756231c in void std::thread::_Invoker<std::tuple<std::thread make_named_thread<ceph::async::io_context_pool::start(short)::'lambda'()>(std::basic_string_view<char, std::char_traits<char> >, ceph::async::io_context_pool::start(short)::'lambda'()&&)::'lambda'(ceph::async::io_context_pool::start(short)::'lambda'()&&), ceph::async::io_context_pool::start(short)::'lambda'()> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /usr/bin/../lib/gcc/aarch64-linux-gnu/11/../../../../include/c++/11/bits/std_thread.h:259:13

SUMMARY: AddressSanitizer: 2 byte(s) leaked in 2 allocation(s).
```

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
13 months agoMerge pull request #57693 from tchaikov/cmake-shec_utils
Kefu Chai [Sat, 25 May 2024 07:57:27 +0000 (15:57 +0800)]
Merge pull request #57693 from tchaikov/cmake-shec_utils

cmake: : link shec_utils against legacy-option-headers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
13 months agomgr/prometheus: s/pkg_resources.packaging/packaging/ 57700/head
Kefu Chai [Sat, 25 May 2024 05:50:43 +0000 (13:50 +0800)]
mgr/prometheus: s/pkg_resources.packaging/packaging/

instead of relying on the internal implementation of pkg_resources,
let's import packaging directly.

in this change, we also add the dependency to the packaging module
in the packaging recipes.

See also https://github.com/pypa/setuptools/issues/4385

Fixes https://tracker.ceph.com/issues/66201
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
13 months agoMerge PR #57686 into main
Patrick Donnelly [Fri, 24 May 2024 20:43:40 +0000 (16:43 -0400)]
Merge PR #57686 into main

* refs/pull/57686/head:
script/ceph-backport: update Ceph PR id

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
13 months agoMerge pull request #57689 from kotreshhr/fix_unpack_first_damage
Venky Shankar [Fri, 24 May 2024 10:41:57 +0000 (16:11 +0530)]
Merge pull request #57689 from kotreshhr/fix_unpack_first_damage

tools/first-damage: Fix struct unpack

Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 months agocrimson/os/seastore/rbm/avlallocator: return enough regions when request size is... 57694/head
Zhang Song [Fri, 24 May 2024 09:56:48 +0000 (17:56 +0800)]
crimson/os/seastore/rbm/avlallocator: return enough regions when request size is greater than max_alloc_size

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
13 months agocmake: : link shec_utils against legacy-option-headers 57693/head
Kefu Chai [Fri, 24 May 2024 09:51:55 +0000 (17:51 +0800)]
cmake: : link shec_utils against legacy-option-headers

in c24a6ffe20, we tried to link all target dependent on legacy option
headers against legacy-option-headers, but we missed some of them.
in our CI, we spotted build failure like:
```
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/erasure-code/ErasureCode.cc:26:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/osd/osd_types.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/ceph_context.h:41:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/config_proxy.h:6:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/config.h:27:
In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/config_values.h:59:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/common/options/legacy_config_opts.h:1:10: fatal error: 'global_legacy_options.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
so in this change, we link the shec_utils to `legacy-option-headers`
as well to fulfill the build dependency.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
13 months agotools/first-damage: Fix struct unpack 57689/head
Kotresh HR [Fri, 24 May 2024 08:08:24 +0000 (13:38 +0530)]
tools/first-damage: Fix struct unpack

The first field is a 64 bit integer, the script
was unpacking it as 32 bit integer. Fixed the
same.

Also printing the 'first' value in debug

Signed-off-by: Kotresh HR <khiremat@redhat.com>
13 months agotools/first-damage: Don't skip stray directory object 57688/head
Kotresh HR [Fri, 24 May 2024 07:02:32 +0000 (12:32 +0530)]
tools/first-damage: Don't skip stray directory object

Signed-off-by: Kotresh HR <khiremat@redhat.com>
13 months agoMerge pull request #57654 from zhscn/fix-error
Yingxin [Fri, 24 May 2024 02:28:55 +0000 (10:28 +0800)]
Merge pull request #57654 from zhscn/fix-error

crimson/os/seastore: fix compile error in release build

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoMerge pull request #57656 from Matan-B/wip-matanb-crimson-get-param
Yingxin [Fri, 24 May 2024 01:39:27 +0000 (09:39 +0800)]
Merge pull request #57656 from Matan-B/wip-matanb-crimson-get-param

test/crimson/seastore/transaction_manager_test_state: fix compilation…

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
13 months agoscript/ceph-backport: update Ceph PR id 57686/head
Patrick Donnelly [Fri, 24 May 2024 00:51:15 +0000 (20:51 -0400)]
script/ceph-backport: update Ceph PR id

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
13 months agoMerge pull request #57188 from cbodley/wip-boost-asio-yield-group
Casey Bodley [Thu, 23 May 2024 17:22:24 +0000 (18:22 +0100)]
Merge pull request #57188 from cbodley/wip-boost-asio-yield-group

common/async: add primitives for structured concurrency with optional_yield

Reviewed-by: Adam Emerson <aemerson@redhat.com>
13 months agoMerge pull request #57630 from cbodley/wip-boost-asio-spawn-unlock
Casey Bodley [Thu, 23 May 2024 17:15:41 +0000 (18:15 +0100)]
Merge pull request #57630 from cbodley/wip-boost-asio-spawn-unlock

rgw/pubsub: Waiter unlocks before suspend

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
13 months ago.github: expand tests label to all files under qa 57671/head
Ilya Dryomov [Thu, 23 May 2024 16:15:08 +0000 (18:15 +0200)]
.github: expand tests label to all files under qa

The test job definition under qa/suites is an integral part of almost
any test.  Often, the test logic is split between the task or workunit
and respective snippet(s) under qa/suites.

Other files under qa are less used, but still related to nothing but
testing, so just add the label on all of it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
13 months agoRGW|Bucket notification: disable notif v2 to reload realm correctly 57655/head
Ali Masarwa [Thu, 23 May 2024 11:08:56 +0000 (14:08 +0300)]
RGW|Bucket notification: disable notif v2 to reload realm correctly

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
13 months agoMerge pull request #57554 from zdover23/wip-doc-2024-05-20-cephfs-fs-volumes-fs-subvo...
Zac Dover [Thu, 23 May 2024 14:47:54 +0000 (00:47 +1000)]
Merge pull request #57554 from zdover23/wip-doc-2024-05-20-cephfs-fs-volumes-fs-subvolumes-sections

doc/cephfs: separate commands into sections

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>