]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
17 months agoqa/tests: added squid option 55602/head
Yuri Weinstein [Thu, 15 Feb 2024 17:14:12 +0000 (09:14 -0800)]
qa/tests: added squid option

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
17 months agoMerge pull request #55566 from zdover23/wip-doc-2024-02-14-cephadm-services-nfs
Adam King [Thu, 15 Feb 2024 14:42:50 +0000 (09:42 -0500)]
Merge pull request #55566 from zdover23/wip-doc-2024-02-14-cephadm-services-nfs

doc/cephadm: correct nfs config pool name

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
17 months agoMerge pull request #55539 from zdover23/wip-doc-2024-02-12-glossary-osd-terms
zdover23 [Thu, 15 Feb 2024 14:24:49 +0000 (00:24 +1000)]
Merge pull request #55539 from zdover23/wip-doc-2024-02-12-glossary-osd-terms

doc/glossary: improve OSD definitions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55537 from guits/node-proxy-handle-fetch-oob-error
Guillaume Abrioux [Thu, 15 Feb 2024 08:04:20 +0000 (09:04 +0100)]
Merge pull request #55537 from guits/node-proxy-handle-fetch-oob-error

node-proxy: improve http error handling in fetch_oob_details

17 months agoMerge pull request #55297 from VallariAg/fix-gtest-xml-path
Vallari Agrawal [Thu, 15 Feb 2024 04:29:29 +0000 (09:59 +0530)]
Merge pull request #55297 from VallariAg/fix-gtest-xml-path

qa/workunits/rados/test.sh: fix GTEST_OUTPUT path

17 months agodoc/glossary: improve OSD definitions 55539/head
Zac Dover [Mon, 12 Feb 2024 13:08:27 +0000 (23:08 +1000)]
doc/glossary: improve OSD definitions

Remove expletive construction from three OSD-id-related terms.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55585 from zdover23/wip-doc-2024-02-15-rados-operations-placement...
Anthony D'Atri [Wed, 14 Feb 2024 20:28:27 +0000 (15:28 -0500)]
Merge pull request #55585 from zdover23/wip-doc-2024-02-15-rados-operations-placement-groups-sage-blog-post

doc/rados: add link to pg blog post

17 months agoMerge pull request #55584 from batrick/backport-create-squid
Ilya Dryomov [Wed, 14 Feb 2024 18:40:54 +0000 (19:40 +0100)]
Merge pull request #55584 from batrick/backport-create-squid

script: add squid release to backport-create-issue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
17 months agoMerge pull request #55533 from ronen-fr/wip-rf-sdocs-1
Ronen Friedman [Wed, 14 Feb 2024 16:31:28 +0000 (18:31 +0200)]
Merge pull request #55533 from ronen-fr/wip-rf-sdocs-1

doc/osd: documentation changes related to scrub

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
17 months agoscript: add squid to backports 55584/head
Patrick Donnelly [Wed, 14 Feb 2024 15:37:24 +0000 (10:37 -0500)]
script: add squid to backports

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
17 months agodoc/rados: add link to pg blog post 55585/head
Zac Dover [Wed, 14 Feb 2024 15:32:40 +0000 (01:32 +1000)]
doc/rados: add link to pg blog post

Add a link in the "Placement Groups" section that links to Sage Weil's
April 5, 2019 blog post "New in Nautilus: PG merging and autotuning".

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55551 from ivoalmeida/cephfs-mount-details
Ivo Almeida [Wed, 14 Feb 2024 13:48:16 +0000 (10:48 -0300)]
Merge pull request #55551 from ivoalmeida/cephfs-mount-details

mgr/dashboard: added cephfs mount details

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
17 months agoMerge pull request #55577 from cityofships/typo
Anthony D'Atri [Wed, 14 Feb 2024 13:02:11 +0000 (08:02 -0500)]
Merge pull request #55577 from cityofships/typo

doc/start: fix wording & syntax

17 months agodoc/osd: fix 'scrub a PG' commands in the documentation 55533/head
Ronen Friedman [Sun, 11 Feb 2024 17:53:44 +0000 (19:53 +0200)]
doc/osd: fix 'scrub a PG' commands in the documentation

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agodoc/start: fix wording & syntax 55577/head
Piotr Parczewski [Wed, 14 Feb 2024 10:15:09 +0000 (11:15 +0100)]
doc/start: fix wording & syntax

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
17 months agomgr/dashboard: added cephfs mount details 55551/head
Ivo Almeida [Mon, 12 Feb 2024 10:08:09 +0000 (10:08 +0000)]
mgr/dashboard: added cephfs mount details

Fixes: https://tracker.ceph.com/issues/64405
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
17 months agomgr/cephadm: add fullreport in ceph orch CLI (node-proxy) 55537/head
Guillaume Abrioux [Wed, 14 Feb 2024 09:02:50 +0000 (09:02 +0000)]
mgr/cephadm: add fullreport in ceph orch CLI (node-proxy)

This adds the `fullreport` category to the `ceph orch hardware status` CLI.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agomgr/cephadm: conditionally deploy node-proxy
Guillaume Abrioux [Mon, 12 Feb 2024 16:20:42 +0000 (16:20 +0000)]
mgr/cephadm: conditionally deploy node-proxy

Only attempt to deploy the node-proxy agent when oob details
are provided for a given host.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agonode-proxy: call time.sleep() after each reporter iteration
Guillaume Abrioux [Mon, 12 Feb 2024 14:25:24 +0000 (14:25 +0000)]
node-proxy: call time.sleep() after each reporter iteration

This makes sure time.sleep() is always call in the reporter loop.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agonode-proxy: improve http error handling in fetch_oob_details
Guillaume Abrioux [Mon, 12 Feb 2024 12:22:41 +0000 (12:22 +0000)]
node-proxy: improve http error handling in fetch_oob_details

This makes the daemon handle the error nicer in fetch_oob_details()

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
17 months agoMerge pull request #54295 from rhcs-dashboard/edit-bucket-acl-tags
Nizamudeen A [Wed, 14 Feb 2024 07:38:26 +0000 (13:08 +0530)]
Merge pull request #54295 from rhcs-dashboard/edit-bucket-acl-tags

mgr/dashboard: add ACLs

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge PR #54690 into main
Venky Shankar [Wed, 14 Feb 2024 05:10:49 +0000 (10:40 +0530)]
Merge PR #54690 into main

* refs/pull/54690/head:
client: handle callback completion if the async I/O failed
client: make sure the callback is finished when returning ENOTCONN
client: do not accept zero byte write request
client: check for negative value of iovcnt
src/test: test zero bytes async i/o
src/test: test async I/O with negative iov structures count
src/test: test async I/O if the client is not mounted
src/test: test async I/O with read only file
src/test: test async I/O with a file created with O_PATH

Reviewed-by: Frank S. Filz <ffilzlnx@mindspring.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
17 months agodoc/cephadm: correct nfs config pool name 55566/head
Zac Dover [Tue, 13 Feb 2024 17:04:26 +0000 (03:04 +1000)]
doc/cephadm: correct nfs config pool name

s/nfs-ganesha/.nfs/ in doc/cephadm/services/nfs, in accordance with
information given to me by John Mulligan over Slack.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55521 from ivoalmeida/snapshot-schedule-subvolume-copies
Ivo Almeida [Tue, 13 Feb 2024 12:16:30 +0000 (09:16 -0300)]
Merge pull request #55521 from ivoalmeida/snapshot-schedule-subvolume-copies

mgr/dashboard: snapshot schedule added subvolume and translations

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agomgr/dashboard: add ACLs 54295/head
Pedro Gonzalez Gomez [Wed, 1 Nov 2023 15:06:49 +0000 (16:06 +0100)]
mgr/dashboard: add ACLs

Fixes: https://tracker.ceph.com/issues/63547
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
17 months agoMerge pull request #54959 from VallariAg/wip-nvmeof-test-v2
Vallari Agrawal [Tue, 13 Feb 2024 07:50:42 +0000 (13:20 +0530)]
Merge pull request #54959 from VallariAg/wip-nvmeof-test-v2

qa: add qa/tasks/nvmeof.py

17 months agoMerge pull request #55314 from cloudbehl/rgw-dashboard-json
Aashish Sharma [Tue, 13 Feb 2024 06:30:33 +0000 (12:00 +0530)]
Merge pull request #55314 from cloudbehl/rgw-dashboard-json

mgr/dashboard: Fixing RGW graph panels

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
17 months agoMerge pull request #55546 from zdover23/wip-doc-2024-02-13-glossary-crush
zdover23 [Tue, 13 Feb 2024 00:00:52 +0000 (10:00 +1000)]
Merge pull request #55546 from zdover23/wip-doc-2024-02-13-glossary-crush

doc/glossary: Add link to CRUSH paper

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #53527 from rhcs-dashboard/add-rgw-perf-counter-cache
Adam King [Mon, 12 Feb 2024 23:34:48 +0000 (18:34 -0500)]
Merge pull request #53527 from rhcs-dashboard/add-rgw-perf-counter-cache

cephadm/rgw: make rgw perf counters cache and it's size configurable

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
17 months agoMerge pull request #55355 from adk3798/cephadm-nvmeof-version-bug
Adam King [Mon, 12 Feb 2024 23:21:25 +0000 (18:21 -0500)]
Merge pull request #55355 from adk3798/cephadm-nvmeof-version-bug

cephadm: fix get_version for nvmeof

Reviewed-by: John Mulligan <jmulligan@redhat.com>
17 months agoMerge pull request #50422 from rzarzynski/wip-bug-58915
Radoslaw Zarzynski [Mon, 12 Feb 2024 19:22:47 +0000 (20:22 +0100)]
Merge pull request #50422 from rzarzynski/wip-bug-58915

osd: don't send stale hb msgr's addresses in MOSDBoot

Reviewed-by: Laura Flores <lflores@redhat.com>
17 months agoMerge pull request #55156 from alimaredia/wip-rgw-add-cap-user-without-keys
Ali Maredia [Mon, 12 Feb 2024 18:35:09 +0000 (13:35 -0500)]
Merge pull request #55156 from alimaredia/wip-rgw-add-cap-user-without-keys

rgw: add new cap user-info-without-keys

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55487 from cbodley/wip-qa-rgw-hadoop-distro
Casey Bodley [Mon, 12 Feb 2024 17:05:33 +0000 (17:05 +0000)]
Merge pull request #55487 from cbodley/wip-qa-rgw-hadoop-distro

qa/rgw: hadoop-s3a uses supported-random-distro$

Reviewed-by: Ali Maredia <amaredia@redhat.com>
17 months agoMerge pull request #55360 from shreyanshjain7174/fix_2252048
Casey Bodley [Mon, 12 Feb 2024 17:05:02 +0000 (17:05 +0000)]
Merge pull request #55360 from shreyanshjain7174/fix_2252048

RGW: Getting an RGW service Segfault when assigning an attribute to an IAM role.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55486 from jzhu116-bloomberg/wip-64340
Casey Bodley [Mon, 12 Feb 2024 17:04:33 +0000 (17:04 +0000)]
Merge pull request #55486 from jzhu116-bloomberg/wip-64340

rgw: do not copy olh attributes in versioning suspended bucket

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55458 from tobias-urdin/cors-signature
Casey Bodley [Mon, 12 Feb 2024 17:03:49 +0000 (17:03 +0000)]
Merge pull request #55458 from tobias-urdin/cors-signature

rgw/auth: ignoring signatures for HTTP OPTIONS calls

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agomgr/dashboard: added subvolume and translations 55521/head
Ivo Almeida [Thu, 8 Feb 2024 15:23:42 +0000 (15:23 +0000)]
mgr/dashboard: added subvolume and translations

This commit adds support for subvolume snap scheduling and translations for snap schedule repeat schedules and retention policies

Fixes: https://tracker.ceph.com/issues/64372
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
17 months agoMerge pull request #55347 from lightmelodies/mon
Yuri Weinstein [Mon, 12 Feb 2024 16:05:33 +0000 (08:05 -0800)]
Merge pull request #55347 from lightmelodies/mon

mon: fix health store size growing infinitely

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
17 months agoMerge pull request #55251 from rzarzynski/wip-bug-64104
Yuri Weinstein [Mon, 12 Feb 2024 16:04:54 +0000 (08:04 -0800)]
Merge pull request #55251 from rzarzynski/wip-bug-64104

tools/cot: respect generic, Ceph-wide argvs

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
17 months agodoc/glossary: Add link to CRUSH paper 55546/head
Zac Dover [Mon, 12 Feb 2024 15:06:05 +0000 (01:06 +1000)]
doc/glossary: Add link to CRUSH paper

Add a link in the CRUSH definition to the original CRUSH paper.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoqa: add qa/tasks/nvmeof.py and rbd/nvmeof_basic_task and fio workunits 54959/head
Vallari Agrawal [Thu, 1 Feb 2024 13:07:27 +0000 (18:37 +0530)]
qa: add qa/tasks/nvmeof.py and rbd/nvmeof_basic_task and fio workunits

This is v2 of the rbd/nvmeof test: It deploys 1 gateway and 1 initiator.
Then does basic verification on nvme commands and runs fio.

This commit creates:
1. qa/tasks/nvmeof.py: adds a new 'Nvmeof' task which deploys
    the gateway and shares config with the initiator hosts.
    Sharing config was previously done by 'nvmeof_gateway_cfg' task
    in qa/tasks/cephadm.py (that task is removed in this commit).
2. qa/workunits/rbd/nvmeof_basic_tests.sh:
    Runs nvme commands (discovery, connect, connect-all, disconnect-all,
    and list-subsys) and does basic verification of the output.
3. qa/workunits/rbd/nvmeof_fio_test.sh:
    Runs fio command. Also runs iostat in parallel if IOSTAT_INTERVAL
    variable is set. This variable configures the delay between each iostat
    print.

nvmeof-cli upgrade from v0.0.6 to v0.0.7 introduced major changes
to all nvmeof commands. This commit changes v0.0.6 commands to
v0.0.7 in qa/workunits/rbd/nvmeof_initiator.sh

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
17 months agoMerge pull request #55467 from rhcs-dashboard/rgw-s3-analytics-grafana-dashboard
Aashish Sharma [Mon, 12 Feb 2024 07:16:48 +0000 (12:46 +0530)]
Merge pull request #55467 from rhcs-dashboard/rgw-s3-analytics-grafana-dashboard

mgr/dashboard: Add RGW per user/bucket panels in  grafana

Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55494 from ivoalmeida/snapshot-schedule-delete-activate
Nizamudeen A [Mon, 12 Feb 2024 06:28:03 +0000 (11:58 +0530)]
Merge pull request #55494 from ivoalmeida/snapshot-schedule-delete-activate

mgr/dashboard: added delete and activation actions

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55529 from tchaikov/cmake-cap
Kefu Chai [Mon, 12 Feb 2024 01:23:21 +0000 (09:23 +0800)]
Merge pull request #55529 from tchaikov/cmake-cap

cmake: find_package(cap) before linking against it

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agomgr/dashboard: added delete and activation actions 55494/head
Ivo Almeida [Wed, 7 Feb 2024 14:03:45 +0000 (14:03 +0000)]
mgr/dashboard: added delete and activation actions

Fixes: https://tracker.ceph.com/issues/64355
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
17 months agodoc/osd: update the documentation of several scrub-related options
Ronen Friedman [Sun, 11 Feb 2024 17:32:19 +0000 (19:32 +0200)]
doc/osd: update the documentation of several scrub-related options

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoMerge pull request #55528 from tchaikov/cmake-boost-debug
Kefu Chai [Sun, 11 Feb 2024 16:39:04 +0000 (00:39 +0800)]
Merge pull request #55528 from tchaikov/cmake-boost-debug

cmake: build boost debug variant when CMAKE_BUILD_TYPE is Debug

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55199 from igomon-bloomberg/wip-publish-commit-async
Casey Bodley [Sun, 11 Feb 2024 16:15:17 +0000 (16:15 +0000)]
Merge pull request #55199 from igomon-bloomberg/wip-publish-commit-async

rgw/s3-notifications: async commit to persistent notification queue

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
17 months agoMerge pull request #55371 from pritha-srivastava/wip-rgw-correct-err-msg
Casey Bodley [Sun, 11 Feb 2024 16:14:42 +0000 (16:14 +0000)]
Merge pull request #55371 from pritha-srivastava/wip-rgw-correct-err-msg

rgw/auth: correcting the error message to indicate

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55250 from cbodley/wip-64084
Casey Bodley [Sun, 11 Feb 2024 16:12:48 +0000 (16:12 +0000)]
Merge pull request #55250 from cbodley/wip-64084

rgw/auth/s3: validate x-amz-content-sha256 for empty payloads

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
17 months agoMerge pull request #55478 from ronen-fr/wip-rf-update-times
Ronen Friedman [Sun, 11 Feb 2024 11:25:47 +0000 (13:25 +0200)]
Merge pull request #55478 from ronen-fr/wip-rf-update-times

osd: restoring timely collection of PG stats

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
17 months agocmake: find_package(cap) before linking against it 55529/head
Kefu Chai [Sun, 11 Feb 2024 08:53:26 +0000 (16:53 +0800)]
cmake: find_package(cap) before linking against it

before this change, we link against libcap without finding it. this
works fine as long as libcap-devel or libcap-dev is installed in the
system. but if it is not, the source would fail to build due to missing
`sys/capability.h`. this is not a great developer experience.

in this change, a `Findcap.cmake` is added to find the capability
library. which would fail the build at the configure phase.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
17 months agocmake: build boost debug variant when CMAKE_BUILD_TYPE is Debug 55528/head
Kefu Chai [Sun, 11 Feb 2024 07:42:14 +0000 (15:42 +0800)]
cmake: build boost debug variant when CMAKE_BUILD_TYPE is Debug

boost has some different predefined  build variants. they are quite
like CMake's CMAKE_BUILD_TYPE. in which, "debug" enables some
features related features. so it would be nice if we can have it
enabled for the Debug build, if the boost is built from source.
see also
https://www.boost.org/build/doc/html/bbv2/overview/builtins/features.html

before this change, we always build the "release" variant.  in this
change, "debug" variant is built if Ceph's is built with
CMAKE_BUILD_TYPE=Debug. please note, this change does not change
the way how boost is built when packaging Ceph, as our debian/rpm
receipts do not define CMAKE_BUILD_TYPE and respect the distros'
settings, in that case, the "release" variant is still built.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
17 months agoMerge pull request #55525 from zdover23/wip-doc-2024-02-11-radosgw-55524-rollback
zdover23 [Sat, 10 Feb 2024 14:47:59 +0000 (00:47 +1000)]
Merge pull request #55525 from zdover23/wip-doc-2024-02-11-radosgw-55524-rollback

doc/radosgw: undo 55524

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agodoc/radosgw: undo 55524 55525/head
Zac Dover [Sat, 10 Feb 2024 14:36:29 +0000 (00:36 +1000)]
doc/radosgw: undo 55524

Roll back the docs changes made in
https://github.com/ceph/ceph/pull/55524, in accordance with Casey
Bodley's instructions to me here:
https://github.com/ceph/ceph/pull/55524#issuecomment-1937020543.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55524 from zdover23/wip-doc-2024-02-10-radosgw-lua-scripting...
Anthony D'Atri [Sat, 10 Feb 2024 11:30:41 +0000 (06:30 -0500)]
Merge pull request #55524 from zdover23/wip-doc-2024-02-10-radosgw-lua-scripting-options

doc/radosgw: remove invalid LUA context options

17 months agoMerge pull request #55507 from ljflores/wip-tracker-64343
Laura Flores [Sat, 10 Feb 2024 05:36:21 +0000 (23:36 -0600)]
Merge pull request #55507 from ljflores/wip-tracker-64343

17 months agodoc/radosgw: remove invalid LUA context options 55524/head
Zac Dover [Sat, 10 Feb 2024 03:14:59 +0000 (13:14 +1000)]
doc/radosgw: remove invalid LUA context options

Remove "background", "getdata", and "putdata" from the list of LUA
context options. Passing these options throws the following error:
"ERROR: invalid script context: background. must be one of: preRequest,
postRequest".

Fixes: https://tracker.ceph.com/issues/64327
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoqa/suites/orch: whitelist warnings that are expected in test environments 55507/head
Laura Flores [Thu, 8 Feb 2024 22:14:03 +0000 (16:14 -0600)]
qa/suites/orch: whitelist warnings that are expected in test environments

Fixes: https://tracker.ceph.com/issues/64343
Signed-off-by: Laura Flores <lflores@ibm.com>
17 months agomgr/dashboard: Add RGW per user/bucket panels in grafana 55467/head
Aashish Sharma [Tue, 6 Feb 2024 13:08:31 +0000 (18:38 +0530)]
mgr/dashboard: Add RGW per user/bucket panels in  grafana

Fixes: https://tracker.ceph.com/issues/64359
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
17 months agoMerge pull request #53521 from xxhdx1985126/wip-62857
Kefu Chai [Fri, 9 Feb 2024 15:11:18 +0000 (23:11 +0800)]
Merge pull request #53521 from xxhdx1985126/wip-62857

crimson/osd/replicated_backend: don't put pg's metadata updates in repops

Reviewed-by: Samuel Just <sjust@redhat.com>
17 months agoMerge pull request #54650 from pereman2/buffer_map-noptr
Adam Kupczyk [Fri, 9 Feb 2024 15:07:17 +0000 (16:07 +0100)]
Merge pull request #54650 from pereman2/buffer_map-noptr

os/bluestore: use buffer values instead of pointers in buffer_map

17 months agoosd: no 'legacy' form for two configuration options 55478/head
Ronen Friedman [Wed, 7 Feb 2024 13:40:32 +0000 (07:40 -0600)]
osd: no 'legacy' form for two configuration options

also - fixing review comments not addressed in the original PR.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoosd: restoring timely collection of PG stats
Ronen Friedman [Wed, 7 Feb 2024 13:25:18 +0000 (07:25 -0600)]
osd: restoring timely collection of PG stats

500 seconds is way too long, e.g. when compared to the 5s
default configuration option for the manager collection of the OSD data.

Fixes tracker issue 53342 note 5 (a specific scenario leading
to 'not all pgs scrubbed')

Fixes: https://tracker.ceph.com/issues/53342 - partial fix
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
17 months agoMerge pull request #55462 from afreen23/fix-64270
Nizamudeen A [Fri, 9 Feb 2024 07:05:47 +0000 (12:35 +0530)]
Merge pull request #55462 from afreen23/fix-64270

mgr/dashboard: fix error while accessing roles tab when policy attached

Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55365 from kotreshhr/ceph-mds-replica-debug-logs
Rishabh Dave [Fri, 9 Feb 2024 06:54:00 +0000 (12:24 +0530)]
Merge pull request #55365 from kotreshhr/ceph-mds-replica-debug-logs

mds: Add debug messages in replica handling

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
17 months agoMerge pull request #55411 from rishabh-d-dave/qa-cephfs-caps_helper
Rishabh Dave [Fri, 9 Feb 2024 06:50:13 +0000 (12:20 +0530)]
Merge pull request #55411 from rishabh-d-dave/qa-cephfs-caps_helper

qa/cephfs: declare f-string to get values to substitute variable names

Reviewed-by: Jos Collin <jcollin@redhat.com>
17 months agoMerge PR #55493 into main
Venky Shankar [Fri, 9 Feb 2024 04:33:08 +0000 (10:03 +0530)]
Merge PR #55493 into main

* refs/pull/55493/head:
client: remove unused/undefined fake_write_size()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
17 months agoMerge pull request #55499 from cbodley/wip-squid-deprecate-blkin
Casey Bodley [Thu, 8 Feb 2024 22:14:54 +0000 (22:14 +0000)]
Merge pull request #55499 from cbodley/wip-squid-deprecate-blkin

doc: deprecate blkin tracing

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agoMerge pull request #55332 from athanatos/sjust/wip-crush-multi-choose
Radoslaw Zarzynski [Thu, 8 Feb 2024 21:56:55 +0000 (22:56 +0100)]
Merge pull request #55332 from athanatos/sjust/wip-crush-multi-choose

crush: add multistep retry rules

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
17 months agoMerge pull request #54624 from cbodley/wip-cmake-qat
Casey Bodley [Thu, 8 Feb 2024 21:13:52 +0000 (21:13 +0000)]
Merge pull request #54624 from cbodley/wip-cmake-qat

cmake: add ExternalProjects to enable QAT by default

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
17 months agoMerge pull request #55490 from eroldan/patch-2
zdover23 [Thu, 8 Feb 2024 19:38:48 +0000 (05:38 +1000)]
Merge pull request #55490 from eroldan/patch-2

doc/start: fix typo in hw-recs

Reviewed-by: Zac Dover <zac.dover@proton.me>
17 months agodoc:start.rst fix typo in hw-recs 55490/head
Eduardo Roldan [Thu, 8 Feb 2024 06:40:21 +0000 (03:40 -0300)]
doc:start.rst fix typo in hw-recs

s/power less/power loss/

Signed-off-by: Eduardo Roldan <trazor@gmail.com>
17 months agodoc: deprecate blkin tracing 55499/head
Casey Bodley [Thu, 8 Feb 2024 15:56:03 +0000 (10:56 -0500)]
doc: deprecate blkin tracing

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55267 from athos-ribeiro/cmake-empty-submodules
Kefu Chai [Thu, 8 Feb 2024 15:14:09 +0000 (23:14 +0800)]
Merge pull request #55267 from athos-ribeiro/cmake-empty-submodules

cmake: quote variable to allow empty values

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
17 months agoMerge pull request #55398 from ifed01/wip-ifed-fix-ceph-vol-migrate-wal
Guillaume Abrioux [Thu, 8 Feb 2024 14:26:38 +0000 (15:26 +0100)]
Merge pull request #55398 from ifed01/wip-ifed-fix-ceph-vol-migrate-wal

ceph-volume: Fix migration from WAL to data with no DB

17 months agoclient: remove unused/undefined fake_write_size() 55493/head
Dhairya Parmar [Thu, 8 Feb 2024 12:28:42 +0000 (17:58 +0530)]
client: remove unused/undefined fake_write_size()

there are no usages of this function in entire codebase

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
17 months agomgr/dashboard: fix error while accessing roles tab when policy attached 55462/head
Afreen [Tue, 6 Feb 2024 09:43:58 +0000 (15:13 +0530)]
mgr/dashboard: fix error while accessing roles tab when policy attached

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

Issue:
======
Accessing Object->Users-Roles tab causing 500 internal servor error.
This is due to the "PermissionPolicies" which are attached to role and
backend was not handling this field for rgw roles.

Fix:
====
Added "PermissionPolicies" as the valid field in backend and updated
frontend to render the attached policy in formatted JSON

Signed-off-by: Afreen <afreen23.git@gmail.com>
17 months agoMerge pull request #55416 from ivoalmeida/snapshot-schedule-edit
Ivo Almeida [Thu, 8 Feb 2024 08:51:46 +0000 (05:51 -0300)]
Merge pull request #55416 from ivoalmeida/snapshot-schedule-edit

mgr/dashboard: added edit functionality

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55465 from neesingh-rh/wip-63991
Venky Shankar [Thu, 8 Feb 2024 05:31:04 +0000 (11:01 +0530)]
Merge pull request #55465 from neesingh-rh/wip-63991

doc: add description of metric fields for cephfs-top

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
17 months agoqa/rgw: hadoop-s3a uses supported-random-distro$ 55487/head
Casey Bodley [Wed, 7 Feb 2024 21:08:49 +0000 (16:08 -0500)]
qa/rgw: hadoop-s3a uses supported-random-distro$

without this, teuthology-suite tries to schedule against centos8 which
is not supported for squid

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #55479 from ronen-fr/wip-rf-fifolegacy
Casey Bodley [Wed, 7 Feb 2024 20:47:23 +0000 (20:47 +0000)]
Merge pull request #55479 from ronen-fr/wip-rf-fifolegacy

rgw: mark maybe_unused variables

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agorgw: do not copy olh attributes in versioning suspended bucket 55486/head
Jane Zhu [Wed, 7 Feb 2024 19:12:23 +0000 (14:12 -0500)]
rgw: do not copy olh attributes in versioning suspended bucket

Signed-off-by: Juan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com>
17 months agoMerge pull request #55475 from zdover23/wip-doc-2024-02-07-radosgw-admin-confval
zdover23 [Wed, 7 Feb 2024 19:04:35 +0000 (05:04 +1000)]
Merge pull request #55475 from zdover23/wip-doc-2024-02-07-radosgw-admin-confval

doc/radosgw: add confval directives

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55149 from rkachach/fix_issue_63992
Adam King [Wed, 7 Feb 2024 18:54:19 +0000 (13:54 -0500)]
Merge pull request #55149 from rkachach/fix_issue_63992

mgr/prometheus: fix orch check to prevent Prometheus from crashing

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
17 months agocmake: WITH_QATLIB/ZIP disabled on aarch64 54624/head
Casey Bodley [Mon, 27 Nov 2023 15:42:06 +0000 (10:42 -0500)]
cmake: WITH_QATLIB/ZIP disabled on aarch64

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocompressor: move QatAccel out of common
Casey Bodley [Thu, 23 Nov 2023 04:32:40 +0000 (23:32 -0500)]
compressor: move QatAccel out of common

move the QatAccel instance out of the Compressor base class and into
the zlib and lz4 compressors that can use it

this avoids having to link QAT into the ceph-common library, and only
the plugins where it's necessary

had to add LZ4Compressor.cc to store the new static variable

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agobuild/win32: disable qat options
Casey Bodley [Mon, 27 Nov 2023 13:32:38 +0000 (08:32 -0500)]
build/win32: disable qat options

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agorpm: add system_qat option, default on for centos9
Casey Bodley [Thu, 23 Nov 2023 01:08:19 +0000 (20:08 -0500)]
rpm: add system_qat option, default on for centos9

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: enable WITH_QATLIB and WITH_QATZIP by default
Casey Bodley [Fri, 24 Nov 2023 18:42:59 +0000 (13:42 -0500)]
cmake: enable WITH_QATLIB and WITH_QATZIP by default

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: WITH_QATZIP requires WITH_QATLIB or WITH_QATDRV
Casey Bodley [Fri, 24 Nov 2023 18:42:45 +0000 (13:42 -0500)]
cmake: WITH_QATZIP requires WITH_QATLIB or WITH_QATDRV

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build from qatzip submodule
Casey Bodley [Fri, 24 Nov 2023 19:15:12 +0000 (14:15 -0500)]
cmake: build from qatzip submodule

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build qatzip from source when WITH_SYSTEM_QATZIP=OFF
Casey Bodley [Thu, 23 Nov 2023 00:27:01 +0000 (19:27 -0500)]
cmake: build qatzip from source when WITH_SYSTEM_QATZIP=OFF

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build from qatlib submodule
Casey Bodley [Fri, 24 Nov 2023 19:10:55 +0000 (14:10 -0500)]
cmake: build from qatlib submodule

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: build qat from source when WITH_SYSTEM_QATLIB=OFF
Casey Bodley [Thu, 23 Nov 2023 00:10:59 +0000 (19:10 -0500)]
cmake: build qat from source when WITH_SYSTEM_QATLIB=OFF

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agoMerge pull request #54623 from alimaredia/wip-rgw-op-metrics-section-rename
Ali Maredia [Wed, 7 Feb 2024 15:58:08 +0000 (10:58 -0500)]
Merge pull request #54623 from alimaredia/wip-rgw-op-metrics-section-rename

rgw: change section name of rgw_op counters

Reviewed-by: Casey Bodley <cbodley@redhat.com>
17 months agomgr/prometheus: fix orch check to prevent Prometheus from crashing 55149/head
Redouane Kachach [Thu, 11 Jan 2024 16:12:07 +0000 (17:12 +0100)]
mgr/prometheus: fix orch check to prevent Prometheus from crashing
Fixes: https://tracker.ceph.com/issues/63992
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
17 months agocmake: rename qatzip->QATzip and support pkg-config
Casey Bodley [Fri, 24 Nov 2023 17:41:44 +0000 (12:41 -0500)]
cmake: rename qatzip->QATzip and support pkg-config

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: add WITH_QATLIB to build against qatlib
Casey Bodley [Fri, 24 Nov 2023 17:23:57 +0000 (12:23 -0500)]
cmake: add WITH_QATLIB to build against qatlib

FindQAT.cmake adds library targets QAT::qat and QAT::usdm for qatlib,
and FindQatDrv.cmake adds alias targets to the same

src/compressor and src/crypto/qat link against these common QAT targets

src/crypto/qat/qcccrypto.h uses new HAVE_QATDRV define to determine
which headers to include

Signed-off-by: Casey Bodley <cbodley@redhat.com>
17 months agocmake: rename WITH_QAT to WITH_QATDRV
Casey Bodley [Fri, 24 Nov 2023 17:06:28 +0000 (12:06 -0500)]
cmake: rename WITH_QAT to WITH_QATDRV

Signed-off-by: Casey Bodley <cbodley@redhat.com>