]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 months agomgr/dashboard: Fix empty ceph version in GET api/hosts 62731/head
Afreen Misbah [Mon, 7 Apr 2025 19:00:08 +0000 (00:30 +0530)]
mgr/dashboard: Fix empty ceph version in GET api/hosts

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

Due to the pagination the host list is being fetched from orchestrator which caused a regression as via orchestrator list ceph version is always marked empty.
Caused by https://github.com/ceph/ceph/pull/52154

Also fixed tests , as the new version addition causing whole json object mock to fail in tests

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 1aa74cf3fce6394ad08e83e91a90923d983b03c5)

3 months agoMerge pull request #61496 from ljflores/wip-69168-squid
Kamoltat (Junior) Sirivadhna [Tue, 8 Apr 2025 15:59:16 +0000 (11:59 -0400)]
Merge pull request #61496 from ljflores/wip-69168-squid

squid: qa/workunits/mon: ensure election strategy is "connectivity" for stretch mode
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 months agoMerge pull request #62625 from aaSharma14/wip-70763-squid
Aashish Sharma [Mon, 7 Apr 2025 06:46:12 +0000 (12:16 +0530)]
Merge pull request #62625 from aaSharma14/wip-70763-squid

squid: monitoring: Fix OSDs panel in host-details grafana dashboard

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
3 months agoMerge pull request #62694 from zdover23/wip-doc-2025-04-07-backport-62687-to-squid
Anthony D'Atri [Sun, 6 Apr 2025 20:35:06 +0000 (16:35 -0400)]
Merge pull request #62694 from zdover23/wip-doc-2025-04-07-backport-62687-to-squid

squid: doc/cephadm/services: improve rgw.rst and snmp-gateway.rst

3 months agodoc/cephadm/services: improve rgw.rst and snmp-gateway.rst 62694/head
Anthony D'Atri [Sat, 5 Apr 2025 12:22:46 +0000 (08:22 -0400)]
doc/cephadm/services: improve rgw.rst and snmp-gateway.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 3d18222b46d65784335b4af0d651118b5e588d5e)

3 months agoMerge pull request #62213 from NitzanMordhai/wip-70380-squid
SrinivasaBharathKanta [Sat, 5 Apr 2025 05:24:38 +0000 (10:54 +0530)]
Merge pull request #62213 from NitzanMordhai/wip-70380-squid

squid: LogMonitor: set no_reply for forward MLog commands

3 months agoMerge pull request #62123 from ifed01/wip-ifed-some-recover-stuff-squi
Igor Fedotov [Fri, 4 Apr 2025 12:40:58 +0000 (15:40 +0300)]
Merge pull request #62123 from ifed01/wip-ifed-some-recover-stuff-squi

squid: tools/ceph-objectstore-tool: tricks to tolerate disk errors for "pg export" command

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
3 months agoMerge pull request #62053 from k0ste/wip-67124-squid
Igor Fedotov [Fri, 4 Apr 2025 12:40:03 +0000 (15:40 +0300)]
Merge pull request #62053 from k0ste/wip-67124-squid

squid: os/bluestore: Fix ExtentDecoderPartial::_consume_new_blob

Reviewed-by: Igor Fedotov <igor.fedtovo@croit.io>
3 months agoos/bluestore: Fix ExtentDecoderPartial::_consume_new_blob 62053/head
Adam Kupczyk [Wed, 5 Jun 2024 07:47:03 +0000 (07:47 +0000)]
os/bluestore: Fix ExtentDecoderPartial::_consume_new_blob

In case of corrupted data invalid iterator could be dereferenced.
Fixes: https://tracker.ceph.com/issues/66361
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit e59495b331765f4081d5aab66c939ec10b4b8344)

3 months agoMerge pull request #62666 from zdover23/wip-doc-2025-04-04-backport-62661-to-squid
Anthony D'Atri [Thu, 3 Apr 2025 20:30:29 +0000 (16:30 -0400)]
Merge pull request #62666 from zdover23/wip-doc-2025-04-04-backport-62661-to-squid

squid: doc/radosgw: Improve cloud-restore and cloud-transition

3 months agodoc/radosgw: Improve cloud-restore and cloud-transition 62666/head
Anthony D'Atri [Thu, 3 Apr 2025 17:58:49 +0000 (13:58 -0400)]
doc/radosgw: Improve cloud-restore and cloud-transition

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 6a6807470850ea972c5c3786be3735d26875b221)

3 months agoMerge pull request #62644 from zdover23/wip-doc-2025-04-03-backport-62643-to-squid
Anthony D'Atri [Thu, 3 Apr 2025 04:19:20 +0000 (00:19 -0400)]
Merge pull request #62644 from zdover23/wip-doc-2025-04-03-backport-62643-to-squid

squid: doc/cephadm: s/confg/config/

3 months agodoc/cephadm: s/confg/config/ 62644/head
Zac Dover [Thu, 3 Apr 2025 03:23:30 +0000 (13:23 +1000)]
doc/cephadm: s/confg/config/

Correct a misspelled command.

Re: https://github.com/ceph/ceph/pull/62367#discussion_r2025832937

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 0f4d9a9ea29f12333609045928499963b37ba5f3)

3 months agoMerge pull request #62504 from batrick/wip-70667-squid
Yuri Weinstein [Wed, 2 Apr 2025 23:00:47 +0000 (16:00 -0700)]
Merge pull request #62504 from batrick/wip-70667-squid

squid: mgr: add status command

Reviewed-by: Laura Flores <lflores@redhat.com>
3 months agoMerge pull request #62620 from zdover23/wip-doc-2025-04-02-backport-62617-to-squid
Anthony D'Atri [Wed, 2 Apr 2025 15:31:50 +0000 (11:31 -0400)]
Merge pull request #62620 from zdover23/wip-doc-2025-04-02-backport-62617-to-squid

squid: doc/rados/configuration: Correct admonition in ceph-conf.rst

3 months agoMerge pull request #62605 from cbodley/wip-70753-squid
Casey Bodley [Wed, 2 Apr 2025 13:47:02 +0000 (09:47 -0400)]
Merge pull request #62605 from cbodley/wip-70753-squid

squid: cephfs-top, qa: Remove unnecessary global statements in tests

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 months agoMerge pull request #62420 from clwluvw/bucket-creation-multi-zg
Tejas [Wed, 2 Apr 2025 13:00:50 +0000 (18:30 +0530)]
Merge pull request #62420 from clwluvw/bucket-creation-multi-zg

squid: rgw: bucket creation fixes for multi-zonegroup scenario

3 months agoMerge pull request #62310 from adamemerson/wip-69124-squid
Tejas [Wed, 2 Apr 2025 13:00:10 +0000 (18:30 +0530)]
Merge pull request #62310 from adamemerson/wip-69124-squid

squid: rgw/multisite: fix forwarded requests for tenanted buckets

3 months agoMerge pull request #62305 from adamemerson/wip-65473-squid
Tejas [Wed, 2 Apr 2025 12:59:53 +0000 (18:29 +0530)]
Merge pull request #62305 from adamemerson/wip-65473-squid

squid: rgw: exclude logging of request payer for 403 requests

3 months agomonitoring: Fix OSDs panel in host-details grafana dashboard 62625/head
Aashish Sharma [Fri, 28 Feb 2025 06:12:13 +0000 (11:42 +0530)]
monitoring: Fix OSDs panel in host-details grafana dashboard

OSDs panel in host-details grafana dashboard shows total of all OSDs
across all hosts even if a particular host is selected from the
ceph_hosts filter. This PR intends to fix this issue

Fixes: https://tracker.ceph.com/issues/70226
Signed-off-by: Aashish Sharnma <aasharma@redhat.com>
(cherry picked from commit 223c1363791981a35bcb3cac841e665e080cc1f5)

3 months agodoc/rados/configuration: Correct admonition in ceph-conf.rst 62620/head
Anthony D'Atri [Tue, 1 Apr 2025 23:19:18 +0000 (19:19 -0400)]
doc/rados/configuration: Correct admonition in ceph-conf.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 5ff8e3e4381764822383ba769b2c4e73876fbc0c)

3 months agoMerge pull request #61330 from adamemerson/wip-66340-squid
Yuri Weinstein [Tue, 1 Apr 2025 18:10:40 +0000 (11:10 -0700)]
Merge pull request #61330 from adamemerson/wip-66340-squid

squid: rgw/multisite: Fix use-after-move in retry logic in logbacking

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61430 from cbodley/wip-69580-squid
Yuri Weinstein [Tue, 1 Apr 2025 18:09:51 +0000 (11:09 -0700)]
Merge pull request #61430 from cbodley/wip-69580-squid

squid: rgw: /admin/user api dumps account-related user info

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61431 from cbodley/wip-69576-squid
Yuri Weinstein [Tue, 1 Apr 2025 18:05:38 +0000 (11:05 -0700)]
Merge pull request #61431 from cbodley/wip-69576-squid

squid: rgw: S3 Delete Bucket Policy should return 204 on success

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 months agocephfs-top: Removes unused `global` statements 62605/head
Kefu Chai [Sun, 30 Mar 2025 03:59:12 +0000 (11:59 +0800)]
cephfs-top: Removes unused `global` statements

Recent flake8 runs were failing with:
```
py3: flake8==7.2.0,mccabe==0.7.0,pip==25.0.1,pycodestyle==2.13.0,pyflakes==3.3.0,setuptools==75.8.0,wheel==0.45.1
py3: commands[0] /home/jenkins-build/build/workspace/ceph-pull-requests/src/tools/cephfs/top> flake8 --ignore=W503 --max-line-length=100 cephfs-top
cephfs-top:344:9: F824 `global fs_list` is unused: name is never assigned in scope
cephfs-top:466:13: F824 `global current_states` is unused: name is never assigned in scope
cephfs-top:872:9: F824 `global metrics_dict` is unused: name is never assigned in scope
cephfs-top:872:9: F824 `global current_states` is unused: name is never assigned in scope
cephfs-top:911:9: F824 `global fs_list` is unused: name is never assigned in scope
cephfs-top:981:9: F824 `global current_states` is unused: name is never assigned in scope
cephfs-top:1126:13: F824 `global current_states` is unused: name is never assigned in scope
py3: exit 1 (0.77 seconds) /home/jenkins-build/build/workspace/ceph-pull-requests/src/tools/cephfs/top> flake8 --ignore=W503 --max-line-length=100 cephfs-top pid=2309605
  py3: FAIL code 1 (8.15=setup[7.38]+cmd[0.77] seconds)
  evaluation failed :( (8.24 seconds)
```

Since these variables are only being referenced and not assigned within
their scopes, the `global` declarations are unnecessary and can be
safely removed. This change:

- Removes all flagged `global` statements
- Fixes the failing flake8 checks in the CI pipeline
- Maintains the original code behavior as variable references still work without the `global` keyword

The `global` keyword is only needed when assigning to global variables
within a function scope, not when simply referencing them.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 39b262f7a6e1d69dc96255a1df62a68297d3f931)

3 months agoqa: Remove unnecessary global statements in tests
Kefu Chai [Sun, 30 Mar 2025 03:48:28 +0000 (11:48 +0800)]
qa: Remove unnecessary global statements in tests

Removes unused `global` statements from Python test files to fix flake8
F824 errors.

Recent flake8 runs were failing with:

```
./tasks/radosgw_admin.py:330:5: F824 `global log` is unused: name is never assigned in scope
./workunits/dencoder/test_readable.py:99:5: F824 `global incompat_paths` is unused: name is never assigned in scope
./workunits/dencoder/test_readable.py:164:5: F824 `global backward_compat` is unused: name is never assigned in scope
./workunits/dencoder/test_readable.py:165:5: F824 `global fast_shouldnt_skip` is unused: name is never assigned in scope
```

Since these variables are only being referenced and not assigned within
their scopes, the `global` declarations are unnecessary and can be
safely removed. This change:

- Removes all flagged `global` statements
- Fixes the failing flake8 checks in the CI pipeline
- Maintains the original code behavior as variable references still work
  without the `global` keyword

The `global` keyword is only needed when assigning to global variables
within a function scope, not when simply referencing them.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit bcc275f98cb26c9432c320cd24ee93ff629e0574)

3 months agoMerge pull request #62526 from cbodley/wip-69811-squid
Casey Bodley [Thu, 27 Mar 2025 21:48:57 +0000 (17:48 -0400)]
Merge pull request #62526 from cbodley/wip-69811-squid

squid: rgw/s3: remove local variable 'uri' that shadows member variable

Reviewed-by: Joseph Mundackal <jmundackal@bloomberg.net>
3 months agoMerge pull request #62219 from idryomov/wip-66419-squid
Yuri Weinstein [Thu, 27 Mar 2025 14:20:40 +0000 (07:20 -0700)]
Merge pull request #62219 from idryomov/wip-66419-squid

squid: qa/workunits/rbd: wait for resize to be applied in rbd-nbd

Reviewed-by: Ramana Raja <rraja@redhat.com>
3 months agoMerge pull request #61817 from zdover23/wip-doc-2025-02-14-backport-61688-to-squid
Zac Dover [Thu, 27 Mar 2025 12:40:57 +0000 (22:40 +1000)]
Merge pull request #61817 from zdover23/wip-doc-2025-02-14-backport-61688-to-squid

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61952 from zdover23/wip-doc-2025-02-21-backport-61948-to-squid
Zac Dover [Thu, 27 Mar 2025 12:40:38 +0000 (22:40 +1000)]
Merge pull request #61952 from zdover23/wip-doc-2025-02-21-backport-61948-to-squid

squid: doc/cephadm/services: Re-improve osd.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #61664 from zdover23/wip-doc-2025-02-06-backport-61616-to-squid
Zac Dover [Thu, 27 Mar 2025 12:39:40 +0000 (22:39 +1000)]
Merge pull request #61664 from zdover23/wip-doc-2025-02-06-backport-61616-to-squid

squid: doc/cephadm: clarify "Monitoring OSD State"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Adam King <adking@redhat.com>
3 months agoMerge pull request #62290 from zdover23/wip-doc-2025-03-14-backport-62258-to-squid
Zac Dover [Thu, 27 Mar 2025 12:33:43 +0000 (22:33 +1000)]
Merge pull request #62290 from zdover23/wip-doc-2025-03-14-backport-62258-to-squid

squid: doc/rados/configuration/bluestore-config-ref: Fix lowercase typos

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 months agoMerge pull request #62377 from zdover23/wip-doc-2025-03-19-backport-61670-to-squid
Zac Dover [Thu, 27 Mar 2025 12:32:28 +0000 (22:32 +1000)]
Merge pull request #62377 from zdover23/wip-doc-2025-03-19-backport-61670-to-squid

squid: common/options: fix the description of osd_max_scrubs

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 months agorgw/s3: remove local variable 'uri' that shadows member variable 62526/head
Casey Bodley [Tue, 14 Jan 2025 16:26:26 +0000 (11:26 -0500)]
rgw/s3: remove local variable 'uri' that shadows member variable

fixes "Invalid group uri" errors from `s3cmd setacl --acl-public s3://bucketname`
introduced by account changes for squid

Fixes: https://tracker.ceph.com/issues/69527
Reported-by: Yixin Jin <yjin@akamai.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4257d11936cfcf0c96e6fabda72514236bbeeb4a)

3 months agoMerge pull request #62346 from phlogistonjohn/wip-70154-squid
Adam King [Wed, 26 Mar 2025 19:39:50 +0000 (15:39 -0400)]
Merge pull request #62346 from phlogistonjohn/wip-70154-squid

squid: container: small container image improvements

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
3 months agoMerge pull request #62155 from cbodley/wip-70343-squid
Casey Bodley [Wed, 26 Mar 2025 13:00:24 +0000 (09:00 -0400)]
Merge pull request #62155 from cbodley/wip-70343-squid

squid: radosgw-admin: lower default thread pool size

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 months agoMerge pull request #61159 from ivancich/wip-69295-squid
Yuri Weinstein [Tue, 25 Mar 2025 20:11:27 +0000 (13:11 -0700)]
Merge pull request #61159 from ivancich/wip-69295-squid

squid: rgw: append query string to redirect URL if present

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoqa: add test for `mgr status` command 62504/head
Patrick Donnelly [Mon, 24 Mar 2025 15:52:15 +0000 (11:52 -0400)]
qa: add test for `mgr status` command

Fixes: https://tracker.ceph.com/issues/70571
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 9074e2cdc750378f84debd0187b0b058aae40633)

3 months agomgr: add status command
Patrick Donnelly [Mon, 24 Mar 2025 15:50:50 +0000 (11:50 -0400)]
mgr: add status command

The Rook operator relies on a `status` (asok) command to the mgr to verify it
is operational. However, this command was actually served by the CephFS
`Client` library that the ceph-mgr daemon statically linked in and used for
sending MDS commands. That statically linked client was removed via 048fc68c
(case insensitive directory tree feature).

So, add a legitimate ceph-mgr status command which simply outputs an empty
dictionary and returns success (0). TBD on adding useful information.

Fixes: 048fc68c517f50b9978457f478ca4638f01caa09
Fixes: https://tracker.ceph.com/issues/70571
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 4a7976a57c1ff823753c1c25274b6482f0a8c8ea)

3 months agoMerge pull request #61092 from shashalu/fix-data-corruption-ETIMEDOUT-squid
Yuri Weinstein [Tue, 25 Mar 2025 17:36:26 +0000 (10:36 -0700)]
Merge pull request #61092 from shashalu/fix-data-corruption-ETIMEDOUT-squid

squid: rgw: fix data corruption when rados op return ETIMEDOUT

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 months agoMerge pull request #62467 from ljflores/wip-squid-62422
Laura Flores [Tue, 25 Mar 2025 16:53:07 +0000 (11:53 -0500)]
Merge pull request #62467 from ljflores/wip-squid-62422

squid: PendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands

3 months agoMerge pull request #62309 from adamemerson/wip-55179-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:20:21 +0000 (08:20 -0700)]
Merge pull request #62309 from adamemerson/wip-55179-squid

squid: rgw: Deleting an object with null version fix

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
3 months agoMerge pull request #62306 from adamemerson/wip-67207-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:19:22 +0000 (08:19 -0700)]
Merge pull request #62306 from adamemerson/wip-67207-squid

squid: qa/multisite: add extra checkpoints in datalog_autotrim testcase

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
3 months agoMerge pull request #61147 from cbodley/wip-69317-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:17:51 +0000 (08:17 -0700)]
Merge pull request #61147 from cbodley/wip-69317-squid

squid: rgw/posix: std::ignore return value of write()

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61134 from cbodley/wip-69297-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:17:11 +0000 (08:17 -0700)]
Merge pull request #61134 from cbodley/wip-69297-squid

squid: rgw/abortmp: Race condition on AbortMultipartUpload

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61104 from cbodley/wip-69260-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:16:08 +0000 (08:16 -0700)]
Merge pull request #61104 from cbodley/wip-69260-squid

squid: <common> fix formatter buffer out-of-bounds

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #61051 from cbodley/wip-69213-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:14:54 +0000 (08:14 -0700)]
Merge pull request #61051 from cbodley/wip-69213-squid

squid: rgw: fix bucket link operation

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #60982 from cbodley/wip-69152-squid
Yuri Weinstein [Tue, 25 Mar 2025 15:14:17 +0000 (08:14 -0700)]
Merge pull request #60982 from cbodley/wip-69152-squid

squid: radosgw-admin: bucket link/unlink support accounts

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #62327 from NitzanMordhai/wip-70496-squid
SrinivasaBharathKanta [Tue, 25 Mar 2025 04:16:30 +0000 (09:46 +0530)]
Merge pull request #62327 from NitzanMordhai/wip-70496-squid

squid: OSDMonitor: exclude destroyed OSDs from "ceph node ls" output

3 months agoPendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands 62467/head
Laura Flores [Thu, 20 Mar 2025 21:19:30 +0000 (16:19 -0500)]
PendingReleaseNotes; doc/rados/operations: document "rm-pg-upmap-primary-{all}" commands

Added a release note for `ceph osd rm-pg-upmap-primary` and documentation to
complement #62190.

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 4dee7917bf010dc6d8e24f0ef437bd8a41c355c9)

*Note: PendingReleaseNotes was modified to have the release note under the v19.2.2 section.

3 months agoMerge pull request #62421 from ljflores/wip-70592-squid
NitzanMordhai [Mon, 24 Mar 2025 07:43:32 +0000 (09:43 +0200)]
Merge pull request #62421 from ljflores/wip-70592-squid

squid: mon, osd: add command to remove invalid pg-upmap-primary entries

3 months agoMerge pull request #62363 from athanatos/wip-70537-squid
NitzanMordhai [Mon, 24 Mar 2025 07:43:15 +0000 (09:43 +0200)]
Merge pull request #62363 from athanatos/wip-70537-squid

squid: osd: fix osd mclock queue item leak

3 months agoMerge pull request #62393 from rhcs-dashboard/wip-70556-squid
Nizamudeen A [Mon, 24 Mar 2025 06:45:14 +0000 (12:15 +0530)]
Merge pull request #62393 from rhcs-dashboard/wip-70556-squid

squid: mgr/dashboard: add xlmtodict import and fix lifecycle get request

3 months agoMerge pull request #62449 from zdover23/wip-doc-2025-03-23-backport-62366-to-squid
Anthony D'Atri [Sun, 23 Mar 2025 12:28:57 +0000 (08:28 -0400)]
Merge pull request #62449 from zdover23/wip-doc-2025-03-23-backport-62366-to-squid

squid: doc/radosgw: Improve layout.rst

3 months agodoc/radosgw: Improve layout.rst 62449/head
Anthony D'Atri [Tue, 18 Mar 2025 18:54:10 +0000 (14:54 -0400)]
doc/radosgw: Improve layout.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit a7e2fab008519416d5bd91f2163ea51e82c440af)

3 months agoMerge pull request #62443 from zdover23/wip-doc-2025-03-22-backport-62422-to-squid
Anthony D'Atri [Sat, 22 Mar 2025 14:54:28 +0000 (10:54 -0400)]
Merge pull request #62443 from zdover23/wip-doc-2025-03-22-backport-62422-to-squid

squid: doc/cephadm/services: Add mention of --zap for OSD removal

3 months agodoc/cephadm/services: Add mention of --zap for OSD removal 62443/head
Anthony D'Atri [Fri, 21 Mar 2025 21:59:02 +0000 (17:59 -0400)]
doc/cephadm/services: Add mention of --zap for OSD removal

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 20b621fceb865403e19e1d7876f81e670829ff59)

3 months agoMerge pull request #62427 from zdover23/wip-doc-2025-03-21-backport-62426-to-squid
Anthony D'Atri [Fri, 21 Mar 2025 16:07:33 +0000 (12:07 -0400)]
Merge pull request #62427 from zdover23/wip-doc-2025-03-21-backport-62426-to-squid

squid: doc/cephadm/services: Correct indentation in osd.rst

3 months agodoc/cephadm/services: Correct indentation in osd.rst 62427/head
Anthony D'Atri [Fri, 21 Mar 2025 03:29:57 +0000 (23:29 -0400)]
doc/cephadm/services: Correct indentation in osd.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 7b5f73f4c17acc7cd0aab87db528e5232c8f05e1)

3 months agoMerge pull request #61832 from idryomov/wip-69911-squid
Yuri Weinstein [Thu, 20 Mar 2025 22:37:59 +0000 (15:37 -0700)]
Merge pull request #61832 from idryomov/wip-69911-squid

squid: librbd: fix mirror image status summary in a namespace

Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
3 months agomon, osd: add command to remove invalid pg-upmap-primary entries 62421/head
Laura Flores [Fri, 7 Mar 2025 06:22:00 +0000 (06:22 +0000)]
mon, osd: add command to remove invalid pg-upmap-primary entries

The current rm-pg-upmap-primary command checks that the pgid exists
in the pgmap before continuing to remove it. Due to https://tracker.ceph.com/issues/66867,
some invalid pg-upmap-primary entires may exist for pools that have been removed.
Currently, these mappings are impossible to remove since the pgids no longer
exist in the pgmap.

This new command, rm-pg-upmap-primary-all, allows users the ability to remove
any and all pg-upmap-primary mappings in the osdmap at once, which includes
valid and invalid entries.

This command may also be helpful when upgrading from versions where users
are plagued by https://tracker.ceph.com/issues/61948. Users may use an upgraded
mon to remove all pg-upmap-primray entries (valid and invalid) so they continue
to upgrade to a safe version.

See manual testing for this patch here: https://tracker.ceph.com/issues/67179#note-12

Fixes: https://tracker.ceph.com/issues/67179
Fixes: https://tracker.ceph.com/issues/69760
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 6e9e2033bf0f4779bdfac9a3a4f29115459c8c0e)

3 months agoqa/rgw: set api_name if not provided in create_zonegroup 62420/head
Seena Fallah [Thu, 19 Dec 2024 22:09:03 +0000 (23:09 +0100)]
qa/rgw: set api_name if not provided in create_zonegroup

If api_name is not set in the config, use name as the api_name,
otherwise on RGW it will be set to an empty string.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit c21b5f7e0b1a48e7a4b4e21d1d357e8f2f26a1ac)

3 months agorgw: respect location constraint in master zonegroup
Seena Fallah [Mon, 19 Aug 2024 12:30:51 +0000 (14:30 +0200)]
rgw: respect location constraint in master zonegroup

When creating a bucket with a location constraint specified by the
user, this constraint is not included in createparams. Therefore,
to create the bucket in the requested location, createparams and
bucket_zonegroup must be replaced with the user-provided values.

Fixes: https://tracker.ceph.com/issues/62309
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 19aa6f7244030720c7f4a11288d16946059b5b78)

3 months agorgw: send self zonegroup on forward to master
Seena Fallah [Mon, 19 Aug 2024 12:15:59 +0000 (14:15 +0200)]
rgw: send self zonegroup on forward to master

When creating a bucket in the secondary zonegroup, the `rgwx-zonegroup`
is mistakenly set to the master zonegroup when forwarding the request.
Instead, it should be set to the secondary zonegroup so that the master
zonegroup creates the bucket for the intended zonegroup rather than
for itself.

Fixes: https://tracker.ceph.com/issues/67610
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit a8e112cf538dfea238a88f52c32da3db35f58c8a)

3 months agorgw: initialize createparams zone_placement to avoid garbage value
Seena Fallah [Thu, 10 Oct 2024 20:55:44 +0000 (22:55 +0200)]
rgw: initialize createparams zone_placement to avoid garbage value

When creating a bucket from a secondary zonegroup and forwarding
the request to the master zonegroup
(i.e., when `bucket_zonegroup != &my_zonegroup`), the
`createparams.zone_placement` may remain uninitialized. This can
lead to garbage values and result in a segmentation fault due to
invalid memory access.

By explicitly initializing `zone_placement` to `nullptr`, we can
eliminate this issue in cases where zone_placement is referenced
like `init_default_bucket_layout`.

Fixes: https://tracker.ceph.com/issues/68500
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit b92d14a0aa9d6d0701cc51edb29a44e14af01aef)

3 months agorgw/multisite: the create_bucket forward request omits the
Shilpa Jagannath [Tue, 24 Sep 2024 21:12:02 +0000 (17:12 -0400)]
rgw/multisite: the create_bucket forward request omits the
the request body, thus missing some data if specified inside
CreateBucketConfiguration xml on the non-master zone.
also, now that we perform cksum validation against empty payloads,
such a request would fail with -ERR_AMZ_CONTENT_SHA256_MISMATCH due
to a zero content-length but a non-empty payload hash.
this fix ensures that request body is forwarded during create_bucket

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 43a6f123e24a772cc48a3a045d2136e13355c2a5)

3 months agoMerge pull request #62131 from cbodley/wip-70312-squid
Casey Bodley [Thu, 20 Mar 2025 18:14:47 +0000 (14:14 -0400)]
Merge pull request #62131 from cbodley/wip-70312-squid

squid: rgw: /admin/account APIs accept negative values

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 months agoMerge pull request #60980 from cbodley/wip-69145-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:36:53 +0000 (07:36 -0700)]
Merge pull request #60980 from cbodley/wip-69145-squid

squid: radosgw-admin: 'user create' rejects uids matching the account id format

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #60979 from cbodley/wip-69146-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:35:58 +0000 (07:35 -0700)]
Merge pull request #60979 from cbodley/wip-69146-squid

squid: radosgw-admin: allow 'sync group pipe modify' with existing user

Reviewed-by: Adam Emerson <aemerson@redhat.com>
3 months agoMerge pull request #60952 from igomon-bloomberg/wip-65912-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:34:17 +0000 (07:34 -0700)]
Merge pull request #60952 from igomon-bloomberg/wip-65912-squid

squid: rgw/s3-notifications: use user-name/password topic attributes for SASL authentication

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
3 months agoMerge pull request #60783 from jzhu116-bloomberg/wip-68983-squid
Yuri Weinstein [Thu, 20 Mar 2025 14:33:22 +0000 (07:33 -0700)]
Merge pull request #60783 from jzhu116-bloomberg/wip-68983-squid

squid: rgw/lc: delete expired delete-marker when processing Expiration lc action with Days specified

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 months agoMerge pull request #62154 from cbodley/wip-70340-squid
Casey Bodley [Thu, 20 Mar 2025 13:24:33 +0000 (09:24 -0400)]
Merge pull request #62154 from cbodley/wip-70340-squid

squid: rgw: use object ARN for InitMultipart permissions

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 months agoMerge pull request #62404 from zdover23/wip-doc-2025-03-20-backport-62394-to-squid
Zac Dover [Thu, 20 Mar 2025 12:07:35 +0000 (22:07 +1000)]
Merge pull request #62404 from zdover23/wip-doc-2025-03-20-backport-62394-to-squid

squid: doc/radosgw /notifications: fix topic details

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/radosgw /notifications: fix topic details 62404/head
Laimis Juzeliūnas [Wed, 19 Mar 2025 12:33:04 +0000 (14:33 +0200)]
doc/radosgw /notifications: fix topic details

This commit fixes documentation about many-to-many topic relationship for notifications. The current sentence states the same fact twice instead of clarifying.

Fixes: https://tracker.ceph.com/issues/64956
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit 058b95abe62893c5c13f02cdf7dd438b0a95a128)

4 months agoMerge pull request #62137 from adamemerson/wip-68836-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:32:52 +0000 (16:32 -0700)]
Merge pull request #62137 from adamemerson/wip-68836-squid

[CVE-2024-48916] rgw/sts: fix to disallow unsupported JWT algorithms

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 months agoMerge pull request #62134 from kchheda3/wip-70311-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:31:39 +0000 (16:31 -0700)]
Merge pull request #62134 from kchheda3/wip-70311-squid

squid: rgw/log: Fix crash during shutdown with ops-log enable.

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 months agoMerge pull request #62093 from cbodley/wip-70264-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:29:06 +0000 (16:29 -0700)]
Merge pull request #62093 from cbodley/wip-70264-squid

squid: rgw/rados: enable object deletion at rados pool quota

Reviewed-by: Adam Emerson <aemerson@redhat.com>
4 months agoMerge pull request #62064 from cbodley/wip-70239-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:28:11 +0000 (16:28 -0700)]
Merge pull request #62064 from cbodley/wip-70239-squid

squid: rgw: PutObjectLockConfiguration can enable object lock on existing buckets

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #62033 from cbodley/wip-70207-squid
Yuri Weinstein [Wed, 19 Mar 2025 23:27:26 +0000 (16:27 -0700)]
Merge pull request #62033 from cbodley/wip-70207-squid

squid: qa/rgw: configure 'iam root' accounts outside of rgw/verify

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
4 months agoMerge pull request #62340 from phlogistonjohn/wip-70507-squid
Adam King [Wed, 19 Mar 2025 18:04:24 +0000 (14:04 -0400)]
Merge pull request #62340 from phlogistonjohn/wip-70507-squid

squid: build-with-container: two small fixes

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dan Mick <dan.mick@redhat.com>
4 months agoMerge pull request #62379 from zdover23/wip-doc-2025-03-19-backport-62367-to-squid
Anthony D'Atri [Wed, 19 Mar 2025 14:11:50 +0000 (10:11 -0400)]
Merge pull request #62379 from zdover23/wip-doc-2025-03-19-backport-62367-to-squid

squid: doc/cephadm: Add PG autoscaler advice to upgrade.rst

4 months agomgr/dashboard: add xlmtodict import and fix lifecycle get request 62393/head
Pedro Gonzalez Gomez [Wed, 12 Feb 2025 19:24:57 +0000 (20:24 +0100)]
mgr/dashboard: add xlmtodict import and fix lifecycle get request

Fixes: https://tracker.ceph.com/issues/70128
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit 567c9e76674f490cdb88f77545da197d54e5fe85)

 Conflicts:
ceph.spec.in
debian/control
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.ts
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/tox.ini

accepted incoming and removed jmespath dependency

4 months agoMerge PR #62095 into squid
Patrick Donnelly [Wed, 19 Mar 2025 11:59:23 +0000 (07:59 -0400)]
Merge PR #62095 into squid

* refs/pull/62095/head:
include/cephfs: dump optmetadata
mds: set alternate_name for new fullbit dentries
qa: test alternate_name recovery during mds failover
client: avoid multiple calls to path_walk
libcephfs: getcwd after chdir for API constraint
client: unwrap dentries for getcwd
client: refactor / optimize chdir
test/libcephfs: test getcwd with case insensitive dir
test/libcephfs: refactor ManyNestedDirs
include/filepath: add iterators for components
cmake/cephfs: fix options to enable client and dependencies
pybind/cephfs: use legacy noexcept for cdefs for cython 3.Y.Z
pybind/cephfs: increment ref before calling out to c++
client: skip unexpected command replies
mgr: indicate map message is acked instead of unhandled
osdc/Objecter: convert to ms_dispatch2 for ack
client: indicate maps are acked not processed
msg: add alternate statuses for ms_dispatch2 handling
tools/cephfs_mirror: do not process maps with fast dispatch
doc: add docs for volumes interface for charmap
qa: add tests for subvolume charmap settings
pybind/mgr/volumes: wire up charmap for subvol/subvolgroup
pybind/mgr: send MDS commands through cephfs client
pybind/cephfs: wire up mds_command2
mgr: add module method to send notifications
libcephfs: add mds_command2 for asynchronous commands
mgr: excise CephFS client from mgr C++ base
mgr: use std namespace
doc: add docs for CephFS charmap config
qa: add charmap tests
qa: add helpful exceptions for attr changes
qa: ignore libicu leaks
client: add wrappings for charmap manipuluation of dentry names
client: add dir_result_t::dentry::print
win32: add libicu Windows build
CMakeLists: add boost::locale dependency for client
install-deps: unconditionally install boost libraries
test/libcephfs: update root operation return values
client: refactor all path traversals through path_walk
test/libcephfs: test parallel creates
test/libcephfs: add test for lookup failure after readdir
client: init dentry shared_gen with invalid value
client: add _lookup debugging
client: remove redundant check
client: dump InodeStat from mds
mds: encode optmetadata in InodeStat sent to clients
mds: check client features for charmap
mds: add client feature bit for charmap
mds: wire up vxattr for changing charmap
mds: inherit charmap on mkdir
mds,include: add charmap optmetadata
mds,include: add inode_t optional metadata
client: hide alternate_name from API
client: move alternate_name once
client: optimize alternate_name passing to helper
client: relocate definition
client: print dentry with alternate_name on dump
client: move inode dump to print method
mds: add debugging for encoding lease stat
mds: make encode_lease a proper method
mds: add fscrypt metadata for inode stat size
client: use DentryRef for ref counting in MetaRequest
client: add DentryRef
client: add helper for determining if a perm check is necessary
client: cache client_permissions config
client: add debugging for conf changes
client: sort configs
client/UserPerm: add print method
client: note mount parameters in debug log
client: print stat mode in octal
common: add missing op string
include/filepath: add empty path check
python-common: add a utils function to replace distutils.util.strtobool

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
4 months agoMerge pull request #62384 from aaSharma14/wip-70546-squid
Aashish Sharma [Wed, 19 Mar 2025 11:56:00 +0000 (17:26 +0530)]
Merge pull request #62384 from aaSharma14/wip-70546-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in pool.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #62383 from aaSharma14/wip-70548-squid
Aashish Sharma [Wed, 19 Mar 2025 11:55:40 +0000 (17:25 +0530)]
Merge pull request #62383 from aaSharma14/wip-70548-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in osd.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #62382 from aaSharma14/wip-70547-squid
Aashish Sharma [Wed, 19 Mar 2025 11:55:19 +0000 (17:25 +0530)]
Merge pull request #62382 from aaSharma14/wip-70547-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in host.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agoMerge pull request #62381 from aaSharma14/wip-70549-squid
Aashish Sharma [Wed, 19 Mar 2025 11:54:57 +0000 (17:24 +0530)]
Merge pull request #62381 from aaSharma14/wip-70549-squid

squid: mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in cephfs.libsonnet to fix inconsistency in Line Graphs

Reviewed-by: Afreen Misbah <afreen@ibm.com>
4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in pool.libsonnet 62384/head
Piyush Agarwal [Wed, 22 Jan 2025 05:21:58 +0000 (10:51 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in pool.libsonnet

Fixes:- https://tracker.ceph.com/issues/70229
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit 09807250719b566c3c20fe57d2f323eb81b38ee5)

4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in osd.libsonnet 62383/head
Piyush Agarwal [Tue, 21 Jan 2025 23:46:03 +0000 (05:16 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in osd.libsonnet

Fixes:- https://tracker.ceph.com/issues/70227
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit 171954e7dd677d1b73db65555736d82cefefc62e)

4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in host.libsonnet 62382/head
Piyush Agarwal [Tue, 21 Jan 2025 08:32:51 +0000 (14:02 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in host.libsonnet

Fixes:- https://tracker.ceph.com/issues/70228
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit f155abe51879f219b2dc944851ef1bc5f4577fe9)

4 months agomgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in cephfs.libsonnet 62381/head
Piyush Agarwal [Thu, 2 Jan 2025 08:52:03 +0000 (14:22 +0530)]
mgr/dashboard: Changing SimpleGraphPanel to TimeSeries Panel in cephfs.libsonnet

Tracker:- https://tracker.ceph.com/issues/69404
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
(cherry picked from commit 1772dc1cdf0a5fd47bf4954c343b18f70d357304)

4 months agodoc/cephadm: Add PG autoscaler advice to upgrade.rst 62379/head
Anthony D'Atri [Tue, 18 Mar 2025 19:35:34 +0000 (15:35 -0400)]
doc/cephadm: Add PG autoscaler advice to upgrade.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit ee69f52193996d528410a71c2c67fc27b47dee31)

4 months agocommon/options: fix the description of osd_max_scrubs 62377/head
Satoru Takeuchi [Thu, 12 Dec 2024 00:40:41 +0000 (00:40 +0000)]
common/options: fix the description of osd_max_scrubs

osd_max_scrubs takes effect even though mclock is used.

```
$ ceph config show-with-defaults osd.0 | grep '^osd_max_scrubs' | sed -E -e 's/( +)/ /g'
osd_max_scrubs 3 default
$ ceph config show-with-defaults osd.0 | grep '^osd.* override ' | sed -E -e 's/( +)/ /g'
osd_delete_sleep 0.000000 override
osd_delete_sleep_hdd 0.000000 override
osd_delete_sleep_hybrid 0.000000 override
osd_delete_sleep_ssd 0.000000 override
osd_pg_delete_cost 15728640 override
osd_recovery_sleep 0.000000 override
osd_recovery_sleep_hdd 0.000000 override
osd_recovery_sleep_hybrid 0.000000 override
osd_recovery_sleep_ssd 0.000000 override
osd_scrub_sleep 0.000000 override
osd_snap_trim_sleep 0.000000 override
osd_snap_trim_sleep_hdd 0.000000 override
osd_snap_trim_sleep_hybrid 0.000000 override
osd_snap_trim_sleep_ssd 0.000000 override
```

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 153639ca7f47e58b00377d86ba6baadc45431a48)

4 months agoMerge pull request #62353 from aaSharma14/wip-70524-squid
Aashish Sharma [Wed, 19 Mar 2025 05:52:18 +0000 (11:22 +0530)]
Merge pull request #62353 from aaSharma14/wip-70524-squid

squid: mgr/dashboard: When configuring the RGW Multisite endpoints from the UI allow FQDN(Not only IP)

Reviewed-by: Naman Munet <naman.munet@ibm.com>
4 months agoMerge pull request #62375 from zdover23/wip-doc-2025-03-19-backport-62371-to-squid
Zac Dover [Wed, 19 Mar 2025 05:30:43 +0000 (15:30 +1000)]
Merge pull request #62375 from zdover23/wip-doc-2025-03-19-backport-62371-to-squid

squid: doc/dev/developer_guide/essentials: update mailing lists

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 months agodoc/dev/developer_guide/essentials: update mailing lists 62375/head
Laimis Juzeliūnas [Tue, 18 Mar 2025 22:24:50 +0000 (00:24 +0200)]
doc/dev/developer_guide/essentials: update mailing lists

Update information for subscribing to Ceph development mailing lists as current documentation is outdated.

Fixes: https://tracker.ceph.com/issues/64580
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
(cherry picked from commit e7bf607269335ac40d91cb4b8f265064ffaac402)

4 months agodmclock/.../dmclock_server: do not clean clients with requests 62363/head
Samuel Just [Thu, 13 Feb 2025 04:16:47 +0000 (04:16 +0000)]
dmclock/.../dmclock_server: do not clean clients with requests

PriorityQueueBase::do_clean() shouldn't remove ClientRec instances which
still have queued requests.  Otherwise, very low priority clients might
end up having requests actually lost, which shouldn't be possible.

In the OSD, this resulted in PGRecovery items being lost if queued with
background_best_effort while expanding a cluster.  Such items can
legitimately sit in the queue for a long period of time as they
represent background data migration which is allowed to be starved by an
aggressive client workload.  Dropping the items broke an assumption in
the OSD that all items enqueued would eventually be dequeued resulting
in resources being leaked.

Fixes: https://tracker.ceph.com/issues/61594
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 35cf0f6c1355ff420c431340ac36d9a3c029d6c2)

4 months agotest/osd/TestMClockScheduler: TestMultiClientOrderedEnqueueDequeue use client class
Samuel Just [Thu, 13 Feb 2025 04:06:49 +0000 (04:06 +0000)]
test/osd/TestMClockScheduler: TestMultiClientOrderedEnqueueDequeue use client class

Otherwise, scheduler will yield a delay eventually.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 0938a592e922c284cb939561dd1bd1589e154ae3)

4 months agotest/osd/TestMClockScheduler: create_item should pass prio < cutoff
Samuel Just [Thu, 13 Feb 2025 03:54:28 +0000 (03:54 +0000)]
test/osd/TestMClockScheduler: create_item should pass prio < cutoff

Cutoff is set to 12, so let's pass something < 12 rather than 12.
Comments in some tests suggest that the intent is for create_item
to create things in the mclock queue rather than the high_queue.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 5562ecbcdb1b0ae43145cb7ea9c7a3c76e6449f4)

4 months agotest/osd/TestMClockScheduler: add test for very slow dequeue
Samuel Just [Thu, 13 Feb 2025 02:55:27 +0000 (02:55 +0000)]
test/osd/TestMClockScheduler: add test for very slow dequeue

Related: https://tracker.ceph.com/issues/61594
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit b35589f7eb39e6bfabe7df1c55281f41925eca61)