]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 months agomgr/dashboard: add system users to rgw user form 56390/head
Pedro Gonzalez Gomez [Fri, 22 Mar 2024 14:20:48 +0000 (15:20 +0100)]
mgr/dashboard: add system users to rgw user form

Fixes: https://tracker.ceph.com/issues/65074
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
15 months agoMerge pull request #56054 from rhcs-dashboard/open-swagger-new-tab
Nizamudeen A [Fri, 22 Mar 2024 06:12:06 +0000 (11:42 +0530)]
Merge pull request #56054 from rhcs-dashboard/open-swagger-new-tab

mgr/dashboard: open api swagger in new tab

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
15 months agoMerge pull request #56379 from Svelar/doc_oE
Rongqi Sun [Fri, 22 Mar 2024 05:56:29 +0000 (13:56 +0800)]
Merge pull request #56379 from Svelar/doc_oE

doc/install: fix typos in openEuler-installation doc

15 months agoMerge pull request #56246 from xxhdx1985126/wip-64957
Yingxin [Fri, 22 Mar 2024 05:56:03 +0000 (13:56 +0800)]
Merge pull request #56246 from xxhdx1985126/wip-64957

crimson/os/seastore/btree: check for reserved ptrs when determining children stability

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
15 months agoMerge pull request #56237 from rhcs-dashboard/store-token-in-cookie
Nizamudeen A [Fri, 22 Mar 2024 05:54:28 +0000 (11:24 +0530)]
Merge pull request #56237 from rhcs-dashboard/store-token-in-cookie

mgr/dashboard: securely store remote cluster token

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
15 months agocrimson/os/seastore/btree: always check the stability of extents within 56246/head
Xuehan Xu [Thu, 21 Mar 2024 01:54:42 +0000 (09:54 +0800)]
crimson/os/seastore/btree: always check the stability of extents within
the current transaction's view

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
15 months agodoc/install: fix typos in openEuler-installation doc 56379/head
Rongqi Sun [Fri, 22 Mar 2024 03:12:09 +0000 (03:12 +0000)]
doc/install: fix typos in openEuler-installation doc

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
15 months agoMerge pull request #55886 from tchaikov/wip-ceph.spec-gcc-13
Samuel Just [Thu, 21 Mar 2024 21:24:39 +0000 (14:24 -0700)]
Merge pull request #55886 from tchaikov/wip-ceph.spec-gcc-13

ceph.spec.in: bump gcc-toolset to 13 and use it on rhel>=8

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
15 months agoMerge pull request #56369 from adk3798/nvmeof-new-fields
Adam King [Thu, 21 Mar 2024 19:33:24 +0000 (15:33 -0400)]
Merge pull request #56369 from adk3798/nvmeof-new-fields

mgr/cephadm: add some NVMEof gateway fields to be configurable by cephadm

Reviewed-by: Gil Bregman <gbregman@il.ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agoMerge pull request #56283 from Svelar/remove_WITH_ZBD
Dan Mick [Thu, 21 Mar 2024 18:20:11 +0000 (11:20 -0700)]
Merge pull request #56283 from Svelar/remove_WITH_ZBD

run-make: remove WITH_ZBD

16 months agoMerge pull request #55691 from ivoalmeida/snapshot-schedule-retention-fix
Ivo Almeida [Thu, 21 Mar 2024 15:36:26 +0000 (15:36 +0000)]
Merge pull request #55691 from ivoalmeida/snapshot-schedule-retention-fix

mgr/dashboard: fix retention add for subvolume

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
16 months agomgr/cephadm: add nvmeof configuration fields 56369/head
Gil Bregman [Thu, 21 Mar 2024 09:06:52 +0000 (11:06 +0200)]
mgr/cephadm: add nvmeof configuration fields

Fixes: https://tracker.ceph.com/issues/64821
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
16 months agopython-common/ceph/deployment: add nvmeof configuration fields
Gil Bregman [Thu, 21 Mar 2024 09:07:54 +0000 (11:07 +0200)]
python-common/ceph/deployment: add nvmeof configuration fields

Fixes: https://tracker.ceph.com/issues/64821
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
16 months agoMerge pull request #56008 from kchheda3/wip-notification-subsys
Casey Bodley [Thu, 21 Mar 2024 15:08:35 +0000 (15:08 +0000)]
Merge pull request #56008 from kchheda3/wip-notification-subsys

rgw/notification: add rgw notification specific debug log subsystem

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
16 months agoMerge pull request #55348 from chenyuanrun/fix-io-ctx-impl-flags
Yuri Weinstein [Thu, 21 Mar 2024 14:48:01 +0000 (07:48 -0700)]
Merge pull request #55348 from chenyuanrun/fix-io-ctx-impl-flags

librados: use CEPH_OSD_FLAG_FULL_FORCE for IoCtxImpl::remove

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agoMerge pull request #50622 from cofractal/close-range
Yuri Weinstein [Thu, 21 Mar 2024 14:47:34 +0000 (07:47 -0700)]
Merge pull request #50622 from cofractal/close-range

common: use close_range on Linux

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
16 months agorun-make: remove WITH_ZBD 56283/head
Rongqi Sun [Tue, 19 Mar 2024 13:12:51 +0000 (13:12 +0000)]
run-make: remove WITH_ZBD

This commit remove 'WITH_ZBD' in run-make.sh because of: https://github.com/ceph/ceph/pull/55054

Fixes: https://tracker.ceph.com/issues/64962
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
16 months agoMerge pull request #56278 from sachinpunadikar/vstart_ganesha_fix
Adam King [Thu, 21 Mar 2024 11:01:47 +0000 (07:01 -0400)]
Merge pull request #56278 from sachinpunadikar/vstart_ganesha_fix

vstart: Ganesha should not be started in DEBUG mode

Reviewed-by: Adam King <adking@redhat.com>
16 months agoMerge pull request #56284 from ivoalmeida/snapshot-schedule-monthly-retention-frequency
Ivo Almeida [Thu, 21 Mar 2024 09:10:57 +0000 (09:10 +0000)]
Merge pull request #56284 from ivoalmeida/snapshot-schedule-monthly-retention-frequency

mgr/dashboard: fix M retention frequency display

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
16 months agoMerge pull request #56146 from ljflores/wip-tracker-64725 56346/head
Laura Flores [Wed, 20 Mar 2024 21:50:47 +0000 (16:50 -0500)]
Merge pull request #56146 from ljflores/wip-tracker-64725

qa/suites/rados/singleton: add POOL_APP_NOT_ENABLED to ignorelist

16 months agoMerge pull request #56183 from rhcs-dashboard/fix-tags-null
Nizamudeen A [Wed, 20 Mar 2024 19:17:04 +0000 (00:47 +0530)]
Merge pull request #56183 from rhcs-dashboard/fix-tags-null

mgr/dashboard: fix empty tags

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agoMerge pull request #52617 from TomNewChao/main
Nizamudeen A [Wed, 20 Mar 2024 18:58:38 +0000 (00:28 +0530)]
Merge pull request #52617 from TomNewChao/main

mgr/dashboard/frontend:Ceph dashboard supports multiple languages

Reviewed-by: Svelar <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
16 months agoMerge pull request #55841 from Matan-B/wip-matanb-mon-rmsnap-fix
Yuri Weinstein [Wed, 20 Mar 2024 15:43:22 +0000 (08:43 -0700)]
Merge pull request #55841 from Matan-B/wip-matanb-mon-rmsnap-fix

mon/OSDMonitor: fix rmsnap command

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
16 months agoMerge pull request #55409 from cybozu/add-ceph-exporter-to-deb-package
Yuri Weinstein [Wed, 20 Mar 2024 15:40:57 +0000 (08:40 -0700)]
Merge pull request #55409 from cybozu/add-ceph-exporter-to-deb-package

debian: add ceph-exporter package

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
16 months agoMerge pull request #53308 from NitzanMordhai/wip-nitzan-qa-tasks-with-crush-rules
Yuri Weinstein [Wed, 20 Mar 2024 15:37:45 +0000 (08:37 -0700)]
Merge pull request #53308 from NitzanMordhai/wip-nitzan-qa-tasks-with-crush-rules

suites: qa tasks with crush rules

Reviewed-by: Samuel Just <sjust@redhat.com>
16 months agoMerge pull request #56266 from cbodley/wip-qa-rgw-lua-pool-application
Casey Bodley [Wed, 20 Mar 2024 14:44:17 +0000 (14:44 +0000)]
Merge pull request #56266 from cbodley/wip-qa-rgw-lua-pool-application

qa/rgw: ignore POOL_APP_NOT_ENABLED in rgw/lua subsuite

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
16 months agoMerge pull request #56220 from linuxbox2/wip-nfs-rename
Casey Bodley [Wed, 20 Mar 2024 13:41:56 +0000 (13:41 +0000)]
Merge pull request #56220 from linuxbox2/wip-nfs-rename

rgw_file: fix mv/rename cases broken by zipper integration

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
16 months agoMerge pull request #56225 from linuxbox2/wip-cors-fix
Casey Bodley [Wed, 20 Mar 2024 13:41:41 +0000 (13:41 +0000)]
Merge pull request #56225 from linuxbox2/wip-cors-fix

rgw: Add missing empty checks to the split string in is_string_in_set().

Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #56044 from pr0ton11/rgw-disable-signature-url
Casey Bodley [Wed, 20 Mar 2024 13:41:09 +0000 (13:41 +0000)]
Merge pull request #56044 from pr0ton11/rgw-disable-signature-url

RGW: allow user disabling presigned urls in rgw configuration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
16 months agoMerge pull request #55795 from kchheda3/wip-rename-notif-events
Casey Bodley [Wed, 20 Mar 2024 13:40:43 +0000 (13:40 +0000)]
Merge pull request #55795 from kchheda3/wip-rename-notif-events

rgw/notification: Make the LifeCycle & Replication events AWS Compatible and Support s3:Replication:Delete event

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agoMerge pull request #56333 from molpako/patch-3
Zac Dover [Wed, 20 Mar 2024 13:36:25 +0000 (23:36 +1000)]
Merge pull request #56333 from molpako/patch-3

doc/cephfs: fix architecture link to correct relative path

Reviewed-by: Zac Dover <zac.dover@proton.me>
16 months agomgr/dashboard: fix M retention frequency display 56284/head
Ivo Almeida [Tue, 19 Mar 2024 13:13:17 +0000 (13:13 +0000)]
mgr/dashboard: fix M retention frequency display

Fix snap schedule list monthly retention frequency display

Fixes: https://tracker.ceph.com/issues/64982
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
16 months agomgr/dashboard: open api swagger in new tab 56054/head
Pedro Gonzalez Gomez [Fri, 8 Mar 2024 05:49:28 +0000 (06:49 +0100)]
mgr/dashboard: open api swagger in new tab

Fixes: https://tracker.ceph.com/issues/62350
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
16 months agomgr/dashboard: fix empty tags 56183/head
Pedro Gonzalez Gomez [Thu, 14 Mar 2024 06:58:36 +0000 (07:58 +0100)]
mgr/dashboard: fix empty tags

Fixes: https://tracker.ceph.com/issues/64911
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
16 months agoMerge pull request #55595 from VallariAg/wip-nvmeof-test-v3
Ilya Dryomov [Wed, 20 Mar 2024 09:49:36 +0000 (10:49 +0100)]
Merge pull request #55595 from VallariAg/wip-nvmeof-test-v3

qa/suite/rbd/nvmeof: Deploy multiple gateways and namespaces

Reviewed-by: Barak Davidov <barakda@il.ibm.com>
Reviewed-by: Aviv Caro <Aviv.Caro@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
16 months agodoc/cephfs: fix architecture link to correct relative path 56333/head
molpako [Wed, 20 Mar 2024 09:43:42 +0000 (18:43 +0900)]
doc/cephfs: fix architecture link to correct relative path

Signed-off-by: molpako <35787116+molpako@users.noreply.github.com>
16 months agoMerge pull request #55864 from rosinL/wip-speedup-check-generated
Rixin Luo [Wed, 20 Mar 2024 01:19:07 +0000 (09:19 +0800)]
Merge pull request #55864 from rosinL/wip-speedup-check-generated

test/encoding/check-generated: parallel testing by type

16 months agoMerge pull request #56203 from athanatos/sjust/wip-protoc-dependencies
Dan Mick [Tue, 19 Mar 2024 23:03:00 +0000 (16:03 -0700)]
Merge pull request #56203 from athanatos/sjust/wip-protoc-dependencies

crimson: add crimson-osd rpm and deb runtime dependencies for protobuf inherited from seastar

16 months agoMerge pull request #56070 from phlogistonjohn/jjm-cephadm-sudo-cmd-auditing
Adam King [Tue, 19 Mar 2024 19:39:07 +0000 (15:39 -0400)]
Merge pull request #56070 from phlogistonjohn/jjm-cephadm-sudo-cmd-auditing

cephadm: sudo cmd auditing

Reviewed-by: Adam King <adking@redhat.com>
16 months agoMerge pull request #56178 from adk3798/cephadm-pub-net-config-check-out-of-date 56294/head 56311/head
Adam King [Tue, 19 Mar 2024 18:04:51 +0000 (14:04 -0400)]
Merge pull request #56178 from adk3798/cephadm-pub-net-config-check-out-of-date

mgr/cephadm: refresh public_network for config checks before checking

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56175 from asm0deuz/bootstrap_no_container
Adam King [Tue, 19 Mar 2024 18:01:47 +0000 (14:01 -0400)]
Merge pull request #56175 from asm0deuz/bootstrap_no_container

cephadm: bootstrap fails if no container engine installed

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #56147 from adk3798/stopped-daemon-shell
Adam King [Tue, 19 Mar 2024 18:00:29 +0000 (14:00 -0400)]
Merge pull request #56147 from adk3798/stopped-daemon-shell

cephadm: fix `cephadm shell --name <daemon-name>` for stopped/failed daemon

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agorgw/notification: add rgw notification specific debug log subsystem. 56008/head
kchheda3 [Wed, 6 Mar 2024 23:13:57 +0000 (18:13 -0500)]
rgw/notification: add rgw notification specific debug log subsystem.

decorate the events with event details while logging.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
16 months agoMerge pull request #56143 from insatomcat/timemaster
Adam King [Tue, 19 Mar 2024 17:51:19 +0000 (13:51 -0400)]
Merge pull request #56143 from insatomcat/timemaster

cephadm.py: add timemaster to timesync services list

Reviewed-by: Adam King <adking@redhat.com>
16 months agoMerge pull request #56075 from phlogistonjohn/jjm-enable-black-cephadm
Adam King [Tue, 19 Mar 2024 17:46:11 +0000 (13:46 -0400)]
Merge pull request #56075 from phlogistonjohn/jjm-enable-black-cephadm

cephadm: enforce black formatting for cephadmlib

Reviewed-by: Adam King <adking@redhat.com>
16 months agoMerge pull request #55883 from thegreenbear/ingress-haproxy-bind-ipv4v6
Adam King [Tue, 19 Mar 2024 17:43:03 +0000 (13:43 -0400)]
Merge pull request #55883 from thegreenbear/ingress-haproxy-bind-ipv4v6

Ingress service: make HAProxy to listen on IPv4 and IPv6 …

Reviewed-by: Adam King <adking@redhat.com>
16 months agoMerge pull request #55874 from adk3798/only-bind-to-network
Adam King [Tue, 19 Mar 2024 16:35:53 +0000 (12:35 -0400)]
Merge pull request #55874 from adk3798/only-bind-to-network

mgr/cephadm: allow grafana and prometheus to only bind to specific network

Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #55645 from ronen-fr/wip-rf-nextobj
Ronen Friedman [Tue, 19 Mar 2024 15:36:48 +0000 (17:36 +0200)]
Merge pull request #55645 from ronen-fr/wip-rf-nextobj

osd: improved get_objects_by_prefixes() ergonomics

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
16 months agoqa/suite/rbd/nvmeof: Deploy multiple gateways and namespaces 55595/head
Vallari Agrawal [Tue, 20 Feb 2024 07:44:32 +0000 (13:14 +0530)]
qa/suite/rbd/nvmeof: Deploy multiple gateways and namespaces

1. Deploy 2 gateways on different nodes, then check for multi-path.
    To add another gateway, only "roles" need to be changed in job yaml.
2. Create "n" nvmeof namespaces, configured by 'namespaces_count'
3. Rename qa/suites/rbd/nvmeof/cluster/fixed-3.yaml to fixed-4.yaml
    which contains 2 gateways and 2 initiators.

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
16 months agoMerge pull request #56109 from anthonyeleven/improve-monitoring 56281/head
Zac Dover [Tue, 19 Mar 2024 14:13:20 +0000 (00:13 +1000)]
Merge pull request #56109 from anthonyeleven/improve-monitoring

doc/cephadm/services: Improve monitoring.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge pull request #55877 from adk3798/cephadm-pull-usage
Adam King [Tue, 19 Mar 2024 14:11:20 +0000 (10:11 -0400)]
Merge pull request #55877 from adk3798/cephadm-pull-usage

cephadm: improve cephadm pull usage message

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
16 months agoMerge pull request #55615 from rhcs-dashboard/grafana-mount-dashboards
Adam King [Tue, 19 Mar 2024 14:03:16 +0000 (10:03 -0400)]
Merge pull request #55615 from rhcs-dashboard/grafana-mount-dashboards

mgr/cephadm: mount grafana dashboards from the path

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
16 months agoMerge pull request #52760 from thotz/add-healthchecker-timeout-haproxy
Adam King [Tue, 19 Mar 2024 13:41:54 +0000 (09:41 -0400)]
Merge pull request #52760 from thotz/add-healthchecker-timeout-haproxy

cephadm: adjust the ingress ha proxy health check interval

Reviewed-by: Adam King <adking@redhat.com>
16 months agomgr/dashboard: fix retention add for subvolume 55691/head
Ivo Almeida [Wed, 21 Feb 2024 13:02:19 +0000 (13:02 +0000)]
mgr/dashboard: fix retention add for subvolume

- Added parameters for subvolume and subvolume group when adding a new
snap schedule.
- Added call to remove retention policies when removing a snap schedule
  in case it is the last one with same path

Fixes: https://tracker.ceph.com/issues/64524
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
16 months agovstart: Ganesha should not be started in DEBUG mode 56278/head
Sachin Punadikar [Tue, 19 Mar 2024 09:41:53 +0000 (05:41 -0400)]
vstart: Ganesha should not be started in DEBUG mode

Currently vstart script, deploy NFS Ganesha in debug mode. Enabling
DEBUG mode for Ganesha leads to logging lot of debug messages, which may
not be required all the time. One can enable DEBUG mode on need basis.
Hence removing the default DEBUG mode.

Signed-off-by: Sachin Punadikar <sachin.punadikar@ibm.com>
16 months agoMerge pull request #56189 from rhcs-dashboard/fix-64913-main 56273/head
Nizamudeen A [Tue, 19 Mar 2024 05:38:46 +0000 (11:08 +0530)]
Merge pull request #56189 from rhcs-dashboard/fix-64913-main

mgr/dashboard: Allow DELETE method api request, X-TOTAL-COUNT header in CORS config in dashboard

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agoMerge pull request #56250 from myoungwon/wip-laod-metadata-during-gc
Yingxin [Tue, 19 Mar 2024 01:29:26 +0000 (09:29 +0800)]
Merge pull request #56250 from myoungwon/wip-laod-metadata-during-gc

crimson/os/seastore: cache metadata during trimming to prevent from disk read

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
16 months agoMerge pull request #56204 from zmc/do-cmake-args
Zack Cerza [Tue, 19 Mar 2024 00:35:23 +0000 (18:35 -0600)]
Merge pull request #56204 from zmc/do-cmake-args

do_cmake.sh: Use value of ARGS at runtime

16 months agoosd/SnapMapper: add common logs 55645/head
Matan Breizman [Mon, 12 Feb 2024 09:31:52 +0000 (09:31 +0000)]
osd/SnapMapper: add common logs

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit f302be018ebef365d8876d14185c4bdb246f22d8)

16 months agoosd: improved get_objects_by_prefixes() ergonomics
Ronen Friedman [Mon, 19 Feb 2024 14:50:41 +0000 (08:50 -0600)]
osd: improved get_objects_by_prefixes() ergonomics

Improved call signatures for get_next_objects_to_trim() &
get_objects_by_prefixes().

Also: as as get_next_objects_to_trim() has only a single
failure mode, we should not try to handle two distinct failures
in its callers' code.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
16 months agoMerge pull request #55846 from athanatos/sjust/for-review/wip-crimson-coroutine-support 56264/head
Samuel Just [Mon, 18 Mar 2024 19:23:54 +0000 (12:23 -0700)]
Merge pull request #55846 from athanatos/sjust/for-review/wip-crimson-coroutine-support

crimson: add coroutine support for errorated and interruptible futures

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
16 months agoMerge pull request #56034 from tchaikov/wip-msgr-dont-panic-at-hot-unplug
Yuri Weinstein [Mon, 18 Mar 2024 18:22:28 +0000 (11:22 -0700)]
Merge pull request #56034 from tchaikov/wip-msgr-dont-panic-at-hot-unplug

msg: do not abort if driver->del_event() returns -ENOENT

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
16 months agoMerge pull request #55896 from ronen-fr/wip-rf-compactref
Yuri Weinstein [Mon, 18 Mar 2024 18:21:48 +0000 (11:21 -0700)]
Merge pull request #55896 from ronen-fr/wip-rf-compactref

osd: avoid calling a virtual function in a ctor

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
16 months agoMerge pull request #55872 from aclamk/wip-aclamk-bs-fix-unused
Yuri Weinstein [Mon, 18 Mar 2024 18:21:24 +0000 (11:21 -0700)]
Merge pull request #55872 from aclamk/wip-aclamk-bs-fix-unused

os/bluestore: Mute warnings

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
16 months agoMerge pull request #54492 from Matan-B/wip-matanb-op-thread-timeout
Yuri Weinstein [Mon, 18 Mar 2024 18:20:44 +0000 (11:20 -0700)]
Merge pull request #54492 from Matan-B/wip-matanb-op-thread-timeout

qa/suites/rados/verify/validater/valgrind: increase op thread timeout

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
16 months agoMerge pull request #56240 from zdover23/wip-doc-2024-03-17-rados-config-common
Zac Dover [Mon, 18 Mar 2024 17:40:18 +0000 (03:40 +1000)]
Merge pull request #56240 from zdover23/wip-doc-2024-03-17-rados-config-common

doc/rados: update common.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
16 months agoqa/rgw: ignore POOL_APP_NOT_ENABLED in rgw/lua subsuite 56266/head
Casey Bodley [Mon, 18 Mar 2024 14:47:59 +0000 (10:47 -0400)]
qa/rgw: ignore POOL_APP_NOT_ENABLED in rgw/lua subsuite

> cluster [WRN] Health check failed: 1 pool(s) do not have an application enabled (POOL_APP_NOT_ENABLED)" in cluster log

Signed-off-by: Casey Bodley <cbodley@redhat.com>
16 months agodoc/cephadm/services: Improve monitoring.rst 56109/head
Anthony D'Atri [Sun, 10 Mar 2024 21:36:37 +0000 (17:36 -0400)]
doc/cephadm/services: Improve monitoring.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
16 months agoMerge pull request #56248 from nbalacha/wip-nbalacha-rbd-doc-man 56242/head
Zac Dover [Mon, 18 Mar 2024 13:38:02 +0000 (23:38 +1000)]
Merge pull request #56248 from nbalacha/wip-nbalacha-rbd-doc-man

doc/rbd: minor changes to the rbd man page

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
16 months agodoc/rbd: minor changes to the rbd man page 56248/head
N Balachandran [Mon, 18 Mar 2024 12:22:47 +0000 (17:52 +0530)]
doc/rbd: minor changes to the rbd man page

Fixes typos and grammar for some commands. Adds
additional details for some commandds.

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agocrimson/os/seastore: cache metadata during trimming to prevent from disk read 56250/head
myoungwon oh [Mon, 18 Mar 2024 06:48:07 +0000 (06:48 +0000)]
crimson/os/seastore: cache metadata during trimming to prevent from disk read

I encountered continous disk reads during trimming even though there are sufficient
cache available, in 4K random write test with RBM (RBD).
This is because metadata is note cached if its source is background transaction
within touch_extent(). So, seastore, including the trimming process,  needs to
constantly retrieve metadata (e.g., BACKREF_LEAF).

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
16 months agocrimson/os/seastore/cached_extent: add comments to elaborate why
Xuehan Xu [Mon, 18 Mar 2024 09:24:02 +0000 (17:24 +0800)]
crimson/os/seastore/cached_extent: add comments to elaborate why
MUTATION_PENDING and under-io extents are "stable"

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
16 months agocrimson/os/seastore/btree: check for reserved ptrs when determining
Xuehan Xu [Mon, 18 Mar 2024 02:54:24 +0000 (10:54 +0800)]
crimson/os/seastore/btree: check for reserved ptrs when determining
children stability

Fixes: https://tracker.ceph.com/issues/64957
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
16 months agoMerge pull request #56223 from guits/tracker_64951
Guillaume Abrioux [Mon, 18 Mar 2024 08:25:07 +0000 (09:25 +0100)]
Merge pull request #56223 from guits/tracker_64951

node-proxy: support more Location value formats

16 months agoMerge pull request #56247 from nbalacha/wip-nbalacha-rbd-doc-2
Anthony D'Atri [Mon, 18 Mar 2024 08:14:31 +0000 (04:14 -0400)]
Merge pull request #56247 from nbalacha/wip-nbalacha-rbd-doc-2

docs/rbd: fix typos in the rbd basic cmds documentation

16 months agoMerge pull request #56198 from ivoalmeida/fix-nfs-attach-cmd
Nizamudeen A [Mon, 18 Mar 2024 06:47:44 +0000 (12:17 +0530)]
Merge pull request #56198 from ivoalmeida/fix-nfs-attach-cmd

mgr/dashboard: fixed nfs attach command

Reviewed-by: Nizamudeen A <nia@redhat.com>
16 months agomgr/dashboard: securely store remote cluster token 56237/head
Nizamudeen A [Sat, 16 Mar 2024 11:24:22 +0000 (16:54 +0530)]
mgr/dashboard: securely store remote cluster token

Instead of using the localStorage use cookies for storing the token more
securely

Fixes: https://tracker.ceph.com/issues/64958
Signed-off-by: Nizamudeen A <nia@redhat.com>
16 months agodocs/rbd: typo in "retrieving image information" 56247/head
N Balachandran [Mon, 18 Mar 2024 04:34:44 +0000 (10:04 +0530)]
docs/rbd: typo in "retrieving image information"

Replace "for the image" with "of the image".

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agodocs/rbd: replace introspect with inspect
N Balachandran [Mon, 18 Mar 2024 04:11:10 +0000 (09:41 +0530)]
docs/rbd: replace introspect with inspect

Replace "introspect" with "inspect" in the rbd basic commands
description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agodocs/rbd: fix typo in arg name
N Balachandran [Mon, 18 Mar 2024 04:02:39 +0000 (09:32 +0530)]
docs/rbd: fix typo in arg name

Replace "{image-}" with "{image-id}" in the "rbd trash rm"
command description.

Signed-off-by: N Balachandran <nibalach@redhat.com>
16 months agoMerge pull request #56217 from xxhdx1985126/wip-seastore-remap-bug-fixes
Yingxin [Mon, 18 Mar 2024 02:29:17 +0000 (10:29 +0800)]
Merge pull request #56217 from xxhdx1985126/wip-seastore-remap-bug-fixes

test/crimson/sesastore/test_block: add constructor to construct

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
16 months agodoc/cephdam: document limiting passwordless sudo commands 56070/head
John Mulligan [Fri, 8 Mar 2024 18:56:19 +0000 (13:56 -0500)]
doc/cephdam: document limiting passwordless sudo commands

Based on the previous commits making the remote executables auditable
and explicit, document the admin's ability to restrict password-less
sudo access to only the set of commands cephadm actually uses.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
16 months agomgr/cephadm: add a simple unit test for RemoteCommand class
John Mulligan [Thu, 14 Mar 2024 18:02:17 +0000 (14:02 -0400)]
mgr/cephadm: add a simple unit test for RemoteCommand class

Converting a remote command to something that other libs uses requires
converting the enum to a string. Python behavior in the area varies
across versions so add a unit test that verifies the conversion
behaves as intended.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
16 months agomgr/cephadm: add test to ensure the list of remote commands is known
John Mulligan [Fri, 8 Mar 2024 18:19:39 +0000 (13:19 -0500)]
mgr/cephadm: add test to ensure the list of remote commands is known

Add a test file to help ensure the audit of remote commands is kept up
to date.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
16 months agomgr/cephadm: make remote command execution auditable
John Mulligan [Wed, 14 Feb 2024 16:35:57 +0000 (11:35 -0500)]
mgr/cephadm: make remote command execution auditable

Update ssh.py and other code using it to only allow commands wrapped
in particular python types as executables on the remote hosts.
By using a specific type for remote executables we make the code more
auditable, avoiding the possibility of executing arbitrary strings
as commands with sudo. This is all enforced by mypy's type checking.

The result is a list of commands that the cephadm mgr module may
execute on a remote host using sudo:
```
$ git ls-files -z | xargs -0 grep 'RemoteExecutable(' -d skip -h | grep
-v '(str)' | sed -e 's/.*RemoteExecutable(//' -e 's/)//' -e 's/,$//'
'which'
'/usr/bin/cephadm'
python
'chmod'
'ls'
'sysctl'
'chown'
'mkdir'
'mv'
'touch'
'rm'
'true'
```
Note that *python* is special as it is based on the output of which and
may vary from OS to OS. The quoted items are used exactly as named.
Only the binary at `/usr/bin/cephadm` _or_ the dynamically discovered
python3 binary will be used. This depends on a configuration option for
the cephadm module.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
16 months agodoc/rados: update common.rst 56240/head
Zac Dover [Sun, 17 Mar 2024 09:27:11 +0000 (19:27 +1000)]
doc/rados: update common.rst

Clarify some overwritten paragraphs in
doc/rados/configuration/common.rst. Cf.
https://github.com/ceph/ceph/pull/50795/files#r1153897231.

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
16 months agoMerge pull request #56182 from zdover23/wip-doc-2024-03-14-glossary-librados
Anthony D'Atri [Sat, 16 Mar 2024 00:27:16 +0000 (20:27 -0400)]
Merge pull request #56182 from zdover23/wip-doc-2024-03-14-glossary-librados

doc/glossary: add "librados" entry

16 months agoMerge PR #56218 into main
Patrick Donnelly [Fri, 15 Mar 2024 20:42:27 +0000 (16:42 -0400)]
Merge PR #56218 into main

* refs/pull/56218/head:
qa/crontab: use historically normal priorities for nightlies
doc/dev: update teuthology priority guidance

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
16 months agoMerge pull request #56177 from lbausch/docs-typo-replace-osd
Adam King [Fri, 15 Mar 2024 19:01:10 +0000 (15:01 -0400)]
Merge pull request #56177 from lbausch/docs-typo-replace-osd

doc: cephadm/services/osd: fix typo

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
16 months agomgr/cephadm: refresh public_network for config checks before checking 56178/head
Adam King [Wed, 13 Mar 2024 19:30:25 +0000 (15:30 -0400)]
mgr/cephadm: refresh public_network for config checks before checking

The place it was being run before meant it would only grab the
public_network setting once at startup of the module. This meant
if a user changed the setting, which they are likely to do if they
get the warning, cephadm would ignore the change and continue
reporting that the hosts don't match up with the old setting
for the public_network. This moves the call to refresh the
setting to right before we actually run the checks. It does
mean we'll do the `ceph config dump --format json` call
each serve loop iteration, but I've found that only tends
to take a few milliseconds, which is nothing compared to
the time to refresh other things we check during the serve
loop.

I additionally modified the use of this option to use
the attribute on the mgr, rather than calling
`get_module_option`. This was just to get it more in
line with how we tend to handle other config options

Fixes: https://tracker.ceph.com/issues/64902
Signed-off-by: Adam King <adking@redhat.com>
16 months agocephadm: fix `cephadm shell --name <daemon-name>` for stopped/failed daemon 56147/head
Adam King [Tue, 12 Mar 2024 14:26:18 +0000 (10:26 -0400)]
cephadm: fix `cephadm shell --name <daemon-name>` for stopped/failed daemon

This previously would always try to use 'podman
inspect' on the running container of the daemon,
but this doesn't work if the daemon is stopped
or failed. Doing this for stopped/failed daemons
is a valid use case as we recommend cephadm shell
with --name for running debugging tools (often
for OSDs)

Fixes: https://tracker.ceph.com/issues/64879
Signed-off-by: Adam King <adking@redhat.com>
16 months agocephadm: allow list_daemons for only a specific daemon
Adam King [Mon, 11 Mar 2024 18:44:17 +0000 (14:44 -0400)]
cephadm: allow list_daemons for only a specific daemon

At the moment, my thoughts are to use this internally
in the binary for when we need infor from list_daemons
but only for a specific daemon. I could also see wanting
this just on the command line to get info on a certain
daemon, so I've added it as a flag for `cephadm ls` as well

Signed-off-by: Adam King <adking@redhat.com>
16 months agoMerge pull request #55796 from kchheda3/wip-fix-filterrule-json
Casey Bodley [Fri, 15 Mar 2024 16:46:38 +0000 (16:46 +0000)]
Merge pull request #55796 from kchheda3/wip-fix-filterrule-json

rgw/notification: Fix the notification FilterRule to emit unique key name in json & Log successful delivery of notification event.

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
16 months agoMerge pull request #56179 from cbodley/wip-doc-rgw-notification_v2
Casey Bodley [Fri, 15 Mar 2024 15:43:10 +0000 (15:43 +0000)]
Merge pull request #56179 from cbodley/wip-doc-rgw-notification_v2

doc/rgw: document the notification_v2 zone feature

Reviewed-by: Krunal Chheda <kchheda3@bloomberg.net>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
16 months agonode-proxy: support more Location value formats 56223/head
Guillaume Abrioux [Fri, 15 Mar 2024 14:20:29 +0000 (14:20 +0000)]
node-proxy: support more Location value formats

After some tests, it turns out that depending on the hardware,
the header 'Location' which is returned by the server after logged can be different.
I could notice the following:

either:

Location: scheme://address:port/redfish/v1/SessionService/Session

or

Location: /redfish/v1/SessionService/Session

a previous tracker [1] was opened because I thought only the first one existed, which is wrong.

[1] https://tracker.ceph.com/issues/64894

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
16 months agorgw: Add missing empty checks to the split string in is_string_in_set(). 56225/head
Joshua Baergen [Tue, 12 Sep 2023 18:05:01 +0000 (14:05 -0400)]
rgw: Add missing empty checks to the split string in is_string_in_set().

In certain cases, where a user misconfigures a CORS rule, the entirety
of the string can be token characters (or, at least, the string before
and after a given token is all token characters), but != "*". If the
misconfigured string includes "*" we'll try to split the string and we
assume that we can pop the list of string elements when "*" isn't
first/last, but get_str_list() won't return anything for token-only
substrings and thus 'ssplit' will have fewer elements than would be
expected for a correct rule. In the case of an empty list, front() has
undefined behaviour; in our experience, it often results in a huge
allocation attempt because the code tries to copy the string into a
local variable 'sl'.

An example of this misconfiguration (and thus a reproduction case) is
configuring an origin of " *".

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agorgw_file: fix mv/rename cases broken by zipper integration 56220/head
Matt Benjamin [Thu, 14 Mar 2024 00:19:01 +0000 (20:19 -0400)]
rgw_file: fix mv/rename cases broken by zipper integration

There were two problems.  First, leaf object names must be
expressed as fully-qualified to the bucket as input to the
copy-object step.  Second, handle s->object in the same step
indicates the being-created destination object of the copy,
this was correct in the original zipper change but broken
later.

* add a rename/mv unit test

Tests for the following cases added:

1. move between two sub-directory paths in a single bucket
2. move between two names at the top level of a single bucket
3. move between sub-directory paths in different buckets (cross-bucket rename)

Fixes: https://tracker.ceph.com/issues/64950
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
16 months agoMerge pull request #56132 from ronen-fr/wip-rf-unreserve
Ronen Friedman [Fri, 15 Mar 2024 13:57:43 +0000 (15:57 +0200)]
Merge pull request #56132 from ronen-fr/wip-rf-unreserve

osd/scrub: handle 'release' events sent during 'scrub abort'

Reviewed-by: Samuel Just <sjust@redhat.com>
16 months agoPendingReleaseNotes: announce the notification_v2 feature and its migration 56179/head
Casey Bodley [Wed, 13 Mar 2024 22:47:35 +0000 (18:47 -0400)]
PendingReleaseNotes: announce the notification_v2 feature and its migration

Signed-off-by: Casey Bodley <cbodley@redhat.com>
16 months agodoc/radosgw: document the notification_v2 zone feature
Casey Bodley [Wed, 13 Mar 2024 22:35:40 +0000 (18:35 -0400)]
doc/radosgw: document the notification_v2 zone feature

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