]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 months agocls/numops: add missing include 61794/head
Max Kellermann [Wed, 30 Oct 2024 19:41:11 +0000 (20:41 +0100)]
cls/numops: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agocls/rbd: add missing includes
Max Kellermann [Sun, 27 Oct 2024 12:35:26 +0000 (13:35 +0100)]
cls/rbd: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agocls/cephfs: add missing forward declaration
Max Kellermann [Sat, 26 Oct 2024 18:08:20 +0000 (20:08 +0200)]
cls/cephfs: add missing forward declaration

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agocls/2pc_queue: add missing include
Max Kellermann [Sat, 26 Oct 2024 17:40:39 +0000 (19:40 +0200)]
cls/2pc_queue: add missing include

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agojournal: add missing includes
Max Kellermann [Sat, 26 Oct 2024 17:52:06 +0000 (19:52 +0200)]
journal: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
5 months agoMerge pull request #61768 from idryomov/wip-69911
Ilya Dryomov [Fri, 14 Feb 2025 10:30:10 +0000 (11:30 +0100)]
Merge pull request #61768 from idryomov/wip-69911

librbd: fix mirror image status summary in a namespace

Reviewed-by: N Balachandran <nibalach@redhat.com>
5 months agoMerge pull request #61698 from afreen23/wip-fix-nsapi
afreen23 [Fri, 14 Feb 2025 09:34:48 +0000 (15:04 +0530)]
Merge pull request #61698 from afreen23/wip-fix-nsapi

mgr/dashboard: (refactor)fix image size in nvmeof namespace create/update api

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #61734 from rhcs-dashboard/delete-storage-class
Nizamudeen A [Fri, 14 Feb 2025 05:54:53 +0000 (11:24 +0530)]
Merge pull request #61734 from rhcs-dashboard/delete-storage-class

mgr/dashboard: RGW - Delete storage class

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
5 months agoMerge PR #61763 into main
Patrick Donnelly [Thu, 13 Feb 2025 21:15:03 +0000 (16:15 -0500)]
Merge PR #61763 into main

* refs/pull/61763/head:
pybind/mgr/mgr_module: turn off all automatic transactions

Reviewed-by: John Mulligan <jmulligan@redhat.com>
5 months agoMerge pull request #61688 from dmick/wip-ceph-release-docs
Dan Mick [Thu, 13 Feb 2025 20:33:52 +0000 (12:33 -0800)]
Merge pull request #61688 from dmick/wip-ceph-release-docs

doc/dev/release-process.rst: release builds cannot build containers

5 months agoMerge PR #61680 into main
Patrick Donnelly [Thu, 13 Feb 2025 20:18:13 +0000 (15:18 -0500)]
Merge PR #61680 into main

* refs/pull/61680/head:
mds: do not schedule quiesce for non-head imported inodes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 months agoMerge PR #61675 into main
Patrick Donnelly [Thu, 13 Feb 2025 20:17:04 +0000 (15:17 -0500)]
Merge PR #61675 into main

* refs/pull/61675/head:
qa: do read checks with non-empty file

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
5 months agoMerge pull request #61700 from MaxKellermann/rgw_includes
Adam Emerson [Thu, 13 Feb 2025 18:12:00 +0000 (13:12 -0500)]
Merge pull request #61700 from MaxKellermann/rgw_includes

rgw: add missing includes

Reviewed-by: Adam Emerson <aemerson@redhat.com>
5 months agoMerge pull request #60791 from Jayaprakash-ibm/jaya-branch
Jaya Prakash [Thu, 13 Feb 2025 16:21:42 +0000 (21:51 +0530)]
Merge pull request #60791 from Jayaprakash-ibm/jaya-branch

blk/kernel : Make bdev stop immediately

Reviewed-by : Adam Kupczyk <akupczyk@ibm.com>
Reviewed-by : Igor Fedotov <igor.fedotov@croit.io>

5 months agoMerge pull request #56925 from ifed01/wip-ifed-dencoder-crc32
Yuri Weinstein [Thu, 13 Feb 2025 15:30:34 +0000 (07:30 -0800)]
Merge pull request #56925 from ifed01/wip-ifed-dencoder-crc32

tools/ceph-dencoder: introduce add_crc32c command to append crc32 for…

Reviewed-by: Md Mahamudur Rahaman Sajib <mahamudur.sajib@croit.io>
5 months agoMerge pull request #61428 from rhcs-dashboard/fix-69575-main
afreen23 [Thu, 13 Feb 2025 14:54:13 +0000 (20:24 +0530)]
Merge pull request #61428 from rhcs-dashboard/fix-69575-main

mgr/dashboard: fix service/daemon events not showing up in service details

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #61769 from Matan-B/wip-matanb-clang-14-only
Matan Breizman [Thu, 13 Feb 2025 13:51:57 +0000 (15:51 +0200)]
Merge pull request #61769 from Matan-B/wip-matanb-clang-14-only

script/lib-build: Use clang 14

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
5 months agoMerge pull request #61089 from pecastro/mgr_proto_build_generation
Nizamudeen A [Thu, 13 Feb 2025 11:49:05 +0000 (17:19 +0530)]
Merge pull request #61089 from pecastro/mgr_proto_build_generation

pybind/mgr: Protobuffer file generation for grpc deps.

Reviewed-by: baum <NOT@FOUND>
Reviewed-by: ceph-jenkins <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
5 months agoMerge pull request #60994 from MaxKellermann/formatter
Max Kellermann [Thu, 13 Feb 2025 09:25:18 +0000 (10:25 +0100)]
Merge pull request #60994 from MaxKellermann/formatter

Formatter code cleanup

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoMerge pull request #61759 from yuvalif/wip-yuval-boto-example-bucket-param
Yuval Lifshitz [Thu, 13 Feb 2025 09:24:28 +0000 (11:24 +0200)]
Merge pull request #61759 from yuvalif/wip-yuval-boto-example-bucket-param

rgw/notification/logging: add bucket as context param

5 months agoMerge pull request #60305 from MaxKellermann/blk_interface
Max Kellermann [Thu, 13 Feb 2025 09:19:37 +0000 (10:19 +0100)]
Merge pull request #60305 from MaxKellermann/blk_interface

blk/CMakeLists.txt: generate interface library if `libblk` is disabled

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
5 months agoMerge pull request #61699 from MaxKellermann/crimson_includes
Max Kellermann [Thu, 13 Feb 2025 09:12:33 +0000 (10:12 +0100)]
Merge pull request #61699 from MaxKellermann/crimson_includes

crimson/backref_entry: add missing includes

Reviewed-By: Yingxin Cheng <yingxin.cheng@intel.com>
5 months agoMerge pull request #61705 from MaxKellermann/neorados_includes
Max Kellermann [Thu, 13 Feb 2025 09:06:08 +0000 (10:06 +0100)]
Merge pull request #61705 from MaxKellermann/neorados_includes

neorados: include cleanup

Reviewed-by: Adam Emerson <aemerson@redhat.com>
5 months agoMerge pull request #61775 from yuvalif/wip-yuval-fix-loggin-obj-name
Yuval Lifshitz [Thu, 13 Feb 2025 07:33:43 +0000 (09:33 +0200)]
Merge pull request #61775 from yuvalif/wip-yuval-fix-loggin-obj-name

rgw/logging: flush command should print flushed log object name

5 months agomgr/dashboard: RGW - Delete Storage Class 61734/head
Dnyaneshwari [Sun, 9 Feb 2025 12:32:11 +0000 (18:02 +0530)]
mgr/dashboard: RGW - Delete Storage Class

Fixes: https://tracker.ceph.com/issues/69880
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
5 months agodoc/dev/release-process.rst: release builds cannot build containers 61688/head
Dan Mick [Fri, 7 Feb 2025 04:35:57 +0000 (20:35 -0800)]
doc/dev/release-process.rst: release builds cannot build containers

Document that container images are not built by the ceph-build job,
but must be done manually after the package signing and upload
to download.ceph.com.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
5 months agoMerge pull request #61746 from adamemerson/wip-boost.1.87-fixes
Adam Emerson [Wed, 12 Feb 2025 22:25:10 +0000 (17:25 -0500)]
Merge pull request #61746 from adamemerson/wip-boost.1.87-fixes

Boost 1.87 Build Fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
5 months agoMerge pull request #60995 from MaxKellermann/messages__includes
Max Kellermann [Wed, 12 Feb 2025 20:07:49 +0000 (21:07 +0100)]
Merge pull request #60995 from MaxKellermann/messages__includes

messages/*: add missing includes

5 months agoMerge pull request #61418 from cbodley/wip-rgw-multisite-sync-delta-counters
J. Eric Ivancich [Wed, 12 Feb 2025 19:24:12 +0000 (14:24 -0500)]
Merge pull request #61418 from cbodley/wip-rgw-multisite-sync-delta-counters

rgw: add labeled counters for sync deltas of shards

Reviewed-by: Adam Emerson <aemerson@redhat.com>
5 months agoMerge pull request #61290 from BBoozmen/wip-oozmen-67846
J. Eric Ivancich [Wed, 12 Feb 2025 19:23:34 +0000 (14:23 -0500)]
Merge pull request #61290 from BBoozmen/wip-oozmen-67846

RGW/S3: truncate S3 LastModified response (timestamp) to exact seconds

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agoMerge pull request #61009 from cbodley/wip-69169
J. Eric Ivancich [Wed, 12 Feb 2025 19:22:57 +0000 (14:22 -0500)]
Merge pull request #61009 from cbodley/wip-69169

rgw/rados: resolve CopyObject crash from remote zonegroup

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
5 months agoMerge pull request #61090 from soumyakoduri/wip-skoduri-cloud-restore
J. Eric Ivancich [Wed, 12 Feb 2025 19:22:29 +0000 (14:22 -0500)]
Merge pull request #61090 from soumyakoduri/wip-skoduri-cloud-restore

rgw/cloud-restore: Do not send internal headers to cloud-endpoint

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agoMerge pull request #61358 from richardpoole/main
J. Eric Ivancich [Wed, 12 Feb 2025 19:22:12 +0000 (14:22 -0500)]
Merge pull request #61358 from richardpoole/main

rgw: allow management of `accounts` user caps

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agoMerge pull request #61573 from clwluvw/log-new-req-id
J. Eric Ivancich [Wed, 12 Feb 2025 19:21:56 +0000 (14:21 -0500)]
Merge pull request #61573 from clwluvw/log-new-req-id

rgw: log request_id on start new request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agomgr/dashboard: fix image size in nvmeof namespace create/update api 61698/head
Afreen Misbah [Fri, 7 Feb 2025 11:43:51 +0000 (17:13 +0530)]
mgr/dashboard: fix image size in nvmeof namespace create/update api

- Different name is used in POST and PATCH for `rbd_image_size`
- Using same name in both requests
- fixing typing issues in frontend

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #60175 from MaxKellermann/misc_optimizations
Max Kellermann [Wed, 12 Feb 2025 16:12:33 +0000 (17:12 +0100)]
Merge pull request #60175 from MaxKellermann/misc_optimizations

Misc optimizations

5 months agorgw/logging: flush command should print flushed log object name 61775/head
Yuval Lifshitz [Wed, 12 Feb 2025 15:33:55 +0000 (15:33 +0000)]
rgw/logging: flush command should print flushed log object name

and not the next pending log object name

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
5 months agoMerge pull request #61621 from joscollin/wip-B69669-fix-exception-smaller-pad-width
Venky Shankar [Wed, 12 Feb 2025 15:00:21 +0000 (20:30 +0530)]
Merge pull request #61621 from joscollin/wip-B69669-fix-exception-smaller-pad-width

cephfs-top: exception when terminal size greater than PAD_WIDTH

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 months agoscript/lib-build: Use clang 14 61769/head
Matan Breizman [Wed, 12 Feb 2025 13:29:02 +0000 (13:29 +0000)]
script/lib-build: Use clang 14

In attempt to update to clang16 some of the code is not yet adapted
due to deprecated functions.
Let's disable clang 16 usage until https://github.com/ceph/ceph/pull/61740
is merged.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
5 months agoqa/workunits/rbd: use create_image_and_enable_mirror() in bootstrap tests 61768/head
Ilya Dryomov [Wed, 12 Feb 2025 10:25:48 +0000 (11:25 +0100)]
qa/workunits/rbd: use create_image_and_enable_mirror() in bootstrap tests

The reason create_image() + enable_mirror() happens to work for
PARENT_POOL is that PARENT_POOL is enabled for mirroring in image mode
unconditionally, unlike POOL, POOL/NS1 or PARENT_POOL/NS1 for which
MIRROR_POOL_MODE setting is respected.  This isn't immediately obvious
because it's done in setup_pools() in rbd_mirror_helpers.sh.

Switch to create_image_and_enable_mirror() for clarity.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 months agorbd: don't clone ioctx before calling get_mirror_peer_sites()
Ilya Dryomov [Tue, 11 Feb 2025 20:01:13 +0000 (21:01 +0100)]
rbd: don't clone ioctx before calling get_mirror_peer_sites()

get_mirror_peer_sites() transitions to the default namespace
internally, doing it in advance at the call sites is redundant.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 months agolibrbd: fix mirror image status summary in a namespace
Ilya Dryomov [Tue, 11 Feb 2025 16:44:51 +0000 (17:44 +0100)]
librbd: fix mirror image status summary in a namespace

For the purposes of the summary with image counts, "rbd mirror pool
status" command is supposed to count each image only once.  To this
end, for unidirectional mirroring the status of the receiving site
should be taken while for bidirectional mirroring the statuses should
be combined/reduced.  For example, if mirroring is enabled on a single
image and everything is in order, the summary is expected to be

  image health: OK
  images: 1 total
      1 replaying

on both clusters even though on the primary the local status is
MIRROR_IMAGE_STATUS_STATE_STOPPED and only on the secondary it's
MIRROR_IMAGE_STATUS_STATE_REPLAYING.

Currently this isn't the case for custom namespaces.  In the same
scenario the primary ends up reporting

  image health: OK
  images: 1 total
      1 stopped

based solely on the local status in a namespace.

Fixes: https://tracker.ceph.com/issues/69911
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 months agoMerge pull request #61695 from MaxKellermann/tools_includes
Ilya Dryomov [Wed, 12 Feb 2025 08:40:13 +0000 (09:40 +0100)]
Merge pull request #61695 from MaxKellermann/tools_includes

tools: add missing includes

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
5 months agoMerge pull request #61723 from ljflores/wip-tracker-67913
Laura Flores [Wed, 12 Feb 2025 06:48:23 +0000 (00:48 -0600)]
Merge pull request #61723 from ljflores/wip-tracker-67913

5 months agopybind/mgr/mgr_module: turn off all automatic transactions 61763/head
Patrick Donnelly [Wed, 12 Feb 2025 02:28:40 +0000 (21:28 -0500)]
pybind/mgr/mgr_module: turn off all automatic transactions

I misunderstood autocommit=False in prior patches. The sqlite3 binding will
still create transactions automatically which confused newer bindings using
autocommit.

So, turn off automatic transaction management completely to maintain backwards
compatibility.

Fixes: https://tracker.ceph.com/issues/69912
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agocephfs-top: exception when terminal size greater than PAD_WIDTH 61621/head
Jos Collin [Mon, 27 Jan 2025 06:10:43 +0000 (11:40 +0530)]
cephfs-top: exception when terminal size greater than PAD_WIDTH

Fixes: https://tracker.ceph.com/issues/69669
Signed-off-by: Jos Collin <jcollin@redhat.com>
5 months agoMerge pull request #61758 from anthonyeleven/taipoh
Anthony D'Atri [Tue, 11 Feb 2025 23:08:41 +0000 (18:08 -0500)]
Merge pull request #61758 from anthonyeleven/taipoh

doc/rados/operations: Improve pools.rst

5 months agoMerge pull request #61607 from MaxKellermann/mgr_includes
Ilya Dryomov [Tue, 11 Feb 2025 21:20:17 +0000 (22:20 +0100)]
Merge pull request #61607 from MaxKellermann/mgr_includes

mgr: include cleanup

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
5 months agoMerge PR #61755 into main
Patrick Donnelly [Tue, 11 Feb 2025 20:34:29 +0000 (15:34 -0500)]
Merge PR #61755 into main

* refs/pull/61755/head:
script/clean-ci: allow specifying custom remote name to push/fetch
script/clean-ci: do not push if there is nothing to delete

Reviewed-by: David Galloway <dgallowa@redhat.com>
5 months agodoc/rados/operations: Improve pools.rst 61758/head
Anthony D'Atri [Tue, 11 Feb 2025 17:34:28 +0000 (12:34 -0500)]
doc/rados/operations: Improve pools.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
5 months agoMerge pull request #61326 from adamemerson/wip-69240
Jaya Prakash [Tue, 11 Feb 2025 16:44:24 +0000 (22:14 +0530)]
Merge pull request #61326 from adamemerson/wip-69240

os/bluestore: Fix signed comparison warning

5 months agoMerge pull request #60123 from aclamk/wip-aclamk-cbt-add-bluefs-files
Jaya Prakash [Tue, 11 Feb 2025 16:43:59 +0000 (22:13 +0530)]
Merge pull request #60123 from aclamk/wip-aclamk-cbt-add-bluefs-files

os/bluestore: Add 'bluefs-files' command to ceph-bluestore-tool.

5 months agoMerge pull request #60120 from aclamk/wip-aclamk-improve-rocksdb-estimate-prefix
Jaya Prakash [Tue, 11 Feb 2025 16:43:32 +0000 (22:13 +0530)]
Merge pull request #60120 from aclamk/wip-aclamk-improve-rocksdb-estimate-prefix

kv/RocksDBStore: Improve estimate_prefix_size.

5 months agoscript/clean-ci: allow specifying custom remote name to push/fetch 61755/head
Patrick Donnelly [Tue, 11 Feb 2025 16:07:24 +0000 (11:07 -0500)]
script/clean-ci: allow specifying custom remote name to push/fetch

Github actions want to use remote==origin because of how ceph-ci is checked
out.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoscript/clean-ci: do not push if there is nothing to delete
Patrick Donnelly [Tue, 11 Feb 2025 16:06:33 +0000 (11:06 -0500)]
script/clean-ci: do not push if there is nothing to delete

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoMerge pull request #61742 from anthonyeleven/rgw-inlining
Anthony D'Atri [Tue, 11 Feb 2025 15:17:44 +0000 (10:17 -0500)]
Merge pull request #61742 from anthonyeleven/rgw-inlining

Improve rgw_max_chunk_size descriptions with respect to HEAD inlining

5 months agoMerge PR #61709 into main
Patrick Donnelly [Tue, 11 Feb 2025 14:22:36 +0000 (09:22 -0500)]
Merge PR #61709 into main

* refs/pull/61709/head:
script: add bash script to cleanup ceph-ci.git

Reviewed-by: David Galloway <dgallowa@redhat.com>
5 months agoMerge PR #61662 into main
Patrick Donnelly [Tue, 11 Feb 2025 13:34:21 +0000 (08:34 -0500)]
Merge PR #61662 into main

* refs/pull/61662/head:
qa: cut squid nightlies to one-per-week

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
5 months agoMerge pull request #60909 from ifed01/wip-ifed-client-cache-trim-repro
Venky Shankar [Tue, 11 Feb 2025 12:25:18 +0000 (17:55 +0530)]
Merge pull request #60909 from ifed01/wip-ifed-client-cache-trim-repro

libcephfs/client: pin inode/dentry for an opened directory

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 months agoMerge pull request #60103 from gardran/wip-gardran-no-autovec
SrinivasaBharathKanta [Tue, 11 Feb 2025 10:17:19 +0000 (15:47 +0530)]
Merge pull request #60103 from gardran/wip-gardran-no-autovec

kv/BinnedLRUCache: do not use autovector to track deleted cache entries.

5 months agoMerge pull request #61743 from cbodley/wip-revert-stale-bot-backport
Ilya Dryomov [Tue, 11 Feb 2025 08:17:56 +0000 (09:17 +0100)]
Merge pull request #61743 from cbodley/wip-revert-stale-bot-backport

Revert ".github/workflows: Do not exempt PRs with milestone"

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Joseph Mundackal <jmundackal@bloomberg.net>
5 months agoMerge pull request #61183 from rhcs-dashboard/smb-join_auth-usersgroups-mgmt
afreen23 [Tue, 11 Feb 2025 06:52:21 +0000 (12:22 +0530)]
Merge pull request #61183 from rhcs-dashboard/smb-join_auth-usersgroups-mgmt

mgr/dashboard: smb join-auth and usersgroups resources listing

Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agoMerge pull request #59943 from majianpeng/blk-iouring-busy
SrinivasaBharathKanta [Tue, 11 Feb 2025 03:28:19 +0000 (08:58 +0530)]
Merge pull request #59943 from majianpeng/blk-iouring-busy

blk: Don't forget call io_uring_unregister_files.

5 months agoMerge pull request #61456 from cyx1231st/wip-fix-crimson-net-66606
Yingxin Cheng [Tue, 11 Feb 2025 02:15:13 +0000 (10:15 +0800)]
Merge pull request #61456 from cyx1231st/wip-fix-crimson-net-66606

crimson/net/io_handler: drop io_state_t::none

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
5 months agoMerge pull request #61741 from cityofships/main
Anthony D'Atri [Tue, 11 Feb 2025 01:56:19 +0000 (20:56 -0500)]
Merge pull request #61741 from cityofships/main

docs/mgr: fix typo

5 months agoqa: cut squid nightlies to one-per-week 61662/head
Patrick Donnelly [Wed, 5 Feb 2025 21:29:51 +0000 (16:29 -0500)]
qa: cut squid nightlies to one-per-week

Now that it's released, we should go back to typical release branch cadence
(teuthology queue is also growing).

Also, update the priority (ahead of reef) now that it's released.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agotests/ceph_timer: Fix link error that keeps showing up 61746/head
Adam Emerson [Mon, 10 Feb 2025 21:01:38 +0000 (16:01 -0500)]
tests/ceph_timer: Fix link error that keeps showing up

We keep hitting link errors from GTest trying to print the values and
iostreams for `<chrono>` being flaky.

Just make it a straight up `EXPECT_TRUE` so it stops breaking
differently on different platforms.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
5 months agoMerge pull request #61736 from phlogistonjohn/jjm-cephadm-test-list_daemons
Adam King [Mon, 10 Feb 2025 21:00:43 +0000 (16:00 -0500)]
Merge pull request #61736 from phlogistonjohn/jjm-cephadm-test-list_daemons

cephadm: add a new set of specific tests for list_daemons

Reviewed-by: Adam King <adking@redhat.com>
5 months agoexporter: Asio deprecations
Adam Emerson [Fri, 13 Dec 2024 20:22:22 +0000 (15:22 -0500)]
exporter: Asio deprecations

Signed-off-by: Adam Emerson <aemerson@redhat.com>
5 months agorgw: Asio deprecations
Adam Emerson [Fri, 13 Dec 2024 20:22:12 +0000 (15:22 -0500)]
rgw: Asio deprecations

Signed-off-by: Adam Emerson <aemerson@redhat.com>
5 months agoimmutable_object_cache: Asio deprecations
Adam Emerson [Fri, 13 Dec 2024 20:21:49 +0000 (15:21 -0500)]
immutable_object_cache: Asio deprecations

Signed-off-by: Adam Emerson <aemerson@redhat.com>
5 months agotest/neorados: Use `asio::post` free function
Adam Emerson [Thu, 12 Dec 2024 21:11:32 +0000 (16:11 -0500)]
test/neorados: Use `asio::post` free function

Signed-off-by: Adam Emerson <aemerson@redhat.com>
5 months agocommon/Graylog: Fix Asio resolve call
Adam Emerson [Thu, 12 Dec 2024 21:11:04 +0000 (16:11 -0500)]
common/Graylog: Fix Asio resolve call

Signed-off-by: Adam Emerson <aemerson@redhat.com>
5 months agosrc/common/options: improve rgw_max_chunk_size description 61742/head
Anthony D'Atri [Mon, 10 Feb 2025 15:59:19 +0000 (10:59 -0500)]
src/common/options: improve rgw_max_chunk_size description

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
5 months agorgw/notification/logging: add bucket as context param 61759/head
Yuval Lifshitz [Mon, 10 Feb 2025 17:07:21 +0000 (17:07 +0000)]
rgw/notification/logging: add bucket as context param

when URI has the form: "/{Bucket}?<action>"
the "Bucket" parameter has to be added as context parameter for
botocore based clients to send the operation as a bucket
operation

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
5 months agoMerge pull request #61601 from phlogistonjohn/jjm-cephadm-small-moves-2
Adam King [Mon, 10 Feb 2025 16:47:12 +0000 (11:47 -0500)]
Merge pull request #61601 from phlogistonjohn/jjm-cephadm-small-moves-2

cephadm: move a few other small things out of cephadm.py

Reviewed-by: Adam King <adking@redhat.com>
5 months agoRevert ".github/workflows: Do not exempt PRs with milestone" 61743/head
Casey Bodley [Mon, 10 Feb 2025 16:29:44 +0000 (11:29 -0500)]
Revert ".github/workflows: Do not exempt PRs with milestone"

This reverts commit 6054be59c56a13670abd7d00b828d43730c535c8.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 months agoscript: add bash script to cleanup ceph-ci.git 61709/head
Patrick Donnelly [Fri, 7 Feb 2025 15:26:21 +0000 (10:26 -0500)]
script: add bash script to cleanup ceph-ci.git

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
5 months agoMerge pull request #61739 from zdover23/wip-doc-2025-02-10-cephadm-services-osd
Anthony D'Atri [Mon, 10 Feb 2025 15:32:47 +0000 (10:32 -0500)]
Merge pull request #61739 from zdover23/wip-doc-2025-02-10-cephadm-services-osd

doc/cephadm: improve "Activate Existing OSDs".

5 months agoMerge pull request #61354 from phlogistonjohn/jjm-fix-log-test
Casey Bodley [Mon, 10 Feb 2025 14:57:05 +0000 (09:57 -0500)]
Merge pull request #61354 from phlogistonjohn/jjm-fix-log-test

log: ignore return value of write in unit test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 months agodocs/mgr: fix typo 61741/head
Piotr Parczewski [Mon, 10 Feb 2025 13:59:34 +0000 (14:59 +0100)]
docs/mgr: fix typo

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
5 months agoMerge pull request #60822 from perezjosibm/wip-perezjos-balance-cpu
Jose Juan Palacios-Perez [Mon, 10 Feb 2025 13:19:39 +0000 (13:19 +0000)]
Merge pull request #60822 from perezjosibm/wip-perezjos-balance-cpu

[vstart]: add --crimson-balance-cpu option to set CPU distribution policy

5 months agoblk/kernel : Make bdev stop immediately 60791/head
Jaya Prakash [Mon, 10 Feb 2025 11:07:59 +0000 (16:37 +0530)]
blk/kernel : Make bdev stop immediately

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

Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
5 months agoMerge pull request #59979 from rzarzynski/wip-os-simplify-ostxn
SrinivasaBharathKanta [Mon, 10 Feb 2025 10:50:43 +0000 (16:20 +0530)]
Merge pull request #59979 from rzarzynski/wip-os-simplify-ostxn

os: simplify os::Transaction -- get rid of the Transaction::decode_bp()

5 months agoMerge pull request #59529 from YiteGu/fix-discard-thread-wakeup-each-other
SrinivasaBharathKanta [Mon, 10 Feb 2025 10:50:13 +0000 (16:20 +0530)]
Merge pull request #59529 from YiteGu/fix-discard-thread-wakeup-each-other

blk/kerneldevice: notify_all only required when discard_drain wait for condition

5 months agoMerge pull request #60934 from shraddhaag/wip-add-pg-degraded-ignorelist
SrinivasaBharathKanta [Mon, 10 Feb 2025 10:48:43 +0000 (16:18 +0530)]
Merge pull request #60934 from shraddhaag/wip-add-pg-degraded-ignorelist

rados/test_crash.sh: add PG_DEGRADED to ignorelist

5 months agoMerge pull request #60359 from MaxKellermann/Dispatcher__marrival_simplified
SrinivasaBharathKanta [Mon, 10 Feb 2025 10:48:24 +0000 (16:18 +0530)]
Merge pull request #60359 from MaxKellermann/Dispatcher__marrival_simplified

msg/Dispatcher: simplify and optimize the `marrival` tree

5 months agodoc/cephadm: improve "Activate Existing OSDs". 61739/head
Zac Dover [Mon, 10 Feb 2025 08:12:34 +0000 (18:12 +1000)]
doc/cephadm: improve "Activate Existing OSDs".

Make three minor changes to doc/cephadm/services/osd.rst. These three
changes were suggested by Eugen Block, who reviewed this procedure after
developing it.

Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
5 months agoMerge pull request #61534 from rhcs-dashboard/fix-69670-main
Nizamudeen A [Mon, 10 Feb 2025 05:33:46 +0000 (11:03 +0530)]
Merge pull request #61534 from rhcs-dashboard/fix-69670-main

mgr/dashboard: Multi-site replication wizard breaks when a default realm is already present in the secondary cluster.

Reviewed-by: Nizamudeen A <nia@redhat.com>
5 months agomgr/dashboard: smb join-auth and usersgroups resources listing 61183/head
Pedro Gonzalez Gomez [Wed, 25 Dec 2024 12:11:53 +0000 (13:11 +0100)]
mgr/dashboard: smb join-auth and usersgroups resources listing

Fixes: https://tracker.ceph.com/issues/69361
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
5 months agoMerge pull request #61270 from rhcs-dashboard/smb-share-list
Pedro Gonzalez Gomez [Mon, 10 Feb 2025 05:01:12 +0000 (06:01 +0100)]
Merge pull request #61270 from rhcs-dashboard/smb-share-list

mgr/dashboard: add smb share listing in UI

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
5 months agocephadm: add cephadmlib to tox coverage environment 61736/head
John Mulligan [Fri, 7 Feb 2025 16:41:41 +0000 (11:41 -0500)]
cephadm: add cephadmlib to tox coverage environment

When using the `coverage` tox environment we want to see the coverage
for the majority of the cephadm code. There is now a lot of code in
cephadmlib and so it makes sense to extend the default coverage report
to include cephadmlib.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 months agocephadm: add a new set of specific tests for list_daemons
John Mulligan [Thu, 30 Jan 2025 22:02:58 +0000 (17:02 -0500)]
cephadm: add a new set of specific tests for list_daemons

Signed-off-by: John Mulligan <jmulligan@redhat.com>
5 months agoMerge pull request #60799 from rhcs-dashboard/host-form-followups
Nizamudeen A [Sun, 9 Feb 2025 05:51:10 +0000 (11:21 +0530)]
Merge pull request #60799 from rhcs-dashboard/host-form-followups

mgr/dashboard: fix host form issues

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Naman Munet <nmunet@redhat.com>
5 months agoos: get rid of the Transaction::decode_bp() 59979/head
Radoslaw Zarzynski [Wed, 18 Sep 2024 13:14:45 +0000 (13:14 +0000)]
os: get rid of the Transaction::decode_bp()

`os::Transaction::decode_bp()` has only one user: `_setattrs()`
of `BlueStore`. It uses that for optimization purposes: keeping
up contigous space instead of potentially fragmented `bufferlist`
that would require rectifying memcpy later.
The problem is `_setattrs()` also needs to avoid keeping large
raw buffers with only small subset being referenced. It achieves
this by copying the data if `bufferptr:::is_partial()` returns
`true`. However, this means the memcpy happens virtually always
as it's hard to even imagine the `val`, decoded from the wire,
can fulfill the 0 waste requirement.
Therefore the optimization doesn't make sense; it only imposes
costs in terms of complexity breaking the symmetry between encode
and decode in `os::Transation` (there is no `encode_bp()`).

This commit kills the optimization and simplifies `os::Transaction`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 months agoMerge pull request #61163 from rzarzynski/wip-build-f41
Radoslaw Zarzynski [Sat, 8 Feb 2025 13:06:44 +0000 (14:06 +0100)]
Merge pull request #61163 from rzarzynski/wip-build-f41

do_cmake.sh: add support for Fedora 41

Reviewed-by: John Mulligan <jmulligan@redhat.com>
5 months agoMove proto generation code block out of if(WITH_MGR_DASHBOARD_FRONTEND). 61089/head
Paulo E. Castro [Fri, 7 Feb 2025 22:04:53 +0000 (22:04 +0000)]
Move proto generation code block out of if(WITH_MGR_DASHBOARD_FRONTEND).

- This ensures protos are built during the RPM build process.
- gitignore the sourced gateway.proto file.

Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
5 months agopybind/mgr: Generate pb2 file in src/pybind/mgr/dashboard/services/proto using the...
Paulo E. Castro [Wed, 15 Jan 2025 22:47:43 +0000 (22:47 +0000)]
pybind/mgr: Generate pb2 file in src/pybind/mgr/dashboard/services/proto using the protobuf file from the gateway submodule.

- Remove old gateway-proto.
- Updated src/nvmeof/gateway to the latest sha-1 from devel.

Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
5 months agopybind/mgr: Protobuffer file generation for grpc deps.
Paulo E. Castro [Thu, 12 Dec 2024 23:29:56 +0000 (23:29 +0000)]
pybind/mgr: Protobuffer file generation for grpc deps.

Fixes: https://tracker.ceph.com/issues/64681
Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
5 months agoMerge pull request #61708 from anthonyeleven/reimprove-61660
Zac Dover [Sat, 8 Feb 2025 10:01:12 +0000 (20:01 +1000)]
Merge pull request #61708 from anthonyeleven/reimprove-61660

doc: Clarify that there are no tertiary OSDs

Reviewed-by: Zac Dover <zac.dover@proton.me>