]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agolibrbd: make librbd::Image moveable 56801/head
Anatoly Scheglov [Tue, 9 Apr 2024 22:13:34 +0000 (01:13 +0300)]
librbd: make librbd::Image moveable

Adds move constructor and move assignment operator to the librbd::Image.
Also marks copy ctor/assign op as deleted, and makes them public for better compiler diagnostics.

Signed-off-by: Anatoly Scheglov <finch@mts.ru>
2 years agoMerge pull request #56796 from zdover23/wip-doc-2024-04-10-mgr-zabbix
Zac Dover [Tue, 9 Apr 2024 20:18:56 +0000 (06:18 +1000)]
Merge pull request #56796 from zdover23/wip-doc-2024-04-10-mgr-zabbix

doc/mgr: remove Zabbix 1 information

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/mgr: remove Zabbix 1 information 56796/head
Zac Dover [Tue, 9 Apr 2024 20:04:28 +0000 (06:04 +1000)]
doc/mgr: remove Zabbix 1 information

Remove information about the installation of the Zabbix module and link
to a discussion of the reasoning behind Ceph's refusal to support
Zabbix.

John Jasen developed a procedure explaining how to install "Zabbix 2".
This commit removes outdated procedures and explains why those
procedures were removed. Immediately following this explanation, the
text includes an explanation of how to install "Zabbix 2".

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #56577 from nbalacha/wip-nbalacha-code-cleanup
Ilya Dryomov [Tue, 9 Apr 2024 14:05:35 +0000 (16:05 +0200)]
Merge pull request #56577 from nbalacha/wip-nbalacha-code-cleanup

rbd-mirror: rename on_stop_journal_replay() and some operator<< arguments

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #56754 from zdover23/wip-doc-2024-04-08-cephfs-client-auth-1-of-3
Zac Dover [Tue, 9 Apr 2024 11:30:49 +0000 (21:30 +1000)]
Merge pull request #56754 from zdover23/wip-doc-2024-04-08-cephfs-client-auth-1-of-3

doc/cephfs: refine client-auth (1 of 3)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #56459 from ronen-fr/wip-rf-nohist3
Ronen Friedman [Tue, 9 Apr 2024 09:55:05 +0000 (12:55 +0300)]
Merge pull request #56459 from ronen-fr/wip-rf-nohist3

osd/scrub: implement reservation state as a ReplicaActive flag

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #56641 from rhcs-dashboard/wip-65268-main
Ernesto Puerta [Tue, 9 Apr 2024 09:29:18 +0000 (11:29 +0200)]
Merge pull request #56641 from rhcs-dashboard/wip-65268-main

mgr/dashboard: update NVMeoF gRPC: "listener add" changes

Reviewed-by: gbregman <NOT@FOUND>
2 years agoMerge pull request #56383 from xxhdx1985126/wip-seastore-btree-cleanup
Yingxin [Tue, 9 Apr 2024 08:36:38 +0000 (16:36 +0800)]
Merge pull request #56383 from xxhdx1985126/wip-seastore-btree-cleanup

crimson/os/seastore/btree: clean up `FixedKVLeafNode::get_logical_child()`

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2 years agorbd_mirror: rename method 56577/head
N Balachandran [Tue, 9 Apr 2024 02:26:47 +0000 (07:56 +0530)]
rbd_mirror: rename method

Rename on_stop_journal_replay to on_stop_replay as the
function doesn't do anything journal specific.

Signed-off-by: N Balachandran <nibalach@redhat.com>
2 years agoMerge pull request #56764 from ceph/wip-yuriw-archive-pacific-main
Josh Durgin [Mon, 8 Apr 2024 21:40:57 +0000 (14:40 -0700)]
Merge pull request #56764 from ceph/wip-yuriw-archive-pacific-main

doc: moved pacific release to Archived Releases

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Josh Durgin <jdurgin@ibm.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #56469 from asm0deuz/bz2270211_ganesha_nlm
Adam King [Mon, 8 Apr 2024 20:08:30 +0000 (16:08 -0400)]
Merge pull request #56469 from asm0deuz/bz2270211_ganesha_nlm

mgr/cephadm: Allows enabling NFS Ganesha NLM

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #56637 from adk3798/node-proxy-service-expected-daemon-count
Adam King [Mon, 8 Apr 2024 19:59:11 +0000 (15:59 -0400)]
Merge pull request #56637 from adk3798/node-proxy-service-expected-daemon-count

mgr/cephadm: fix node-proxy service size

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #56674 from adk3798/wrong-grafana-uid
Adam King [Mon, 8 Apr 2024 19:57:22 +0000 (15:57 -0400)]
Merge pull request #56674 from adk3798/wrong-grafana-uid

mgr/cephadm: pass daemon's current image when reconfiguring

Reviewed-by: Laura Flores <lflores@ibm.com>
2 years agomgr/dashboard: update NVMeoF gRPC 56641/head
Ernesto Puerta [Tue, 2 Apr 2024 17:36:21 +0000 (19:36 +0200)]
mgr/dashboard: update NVMeoF gRPC

To include latest changes to the listener add call.

Fixes: https://tracker.ceph.com/issues/65268
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #56705 from adk3798/no-osd-require-osd-release
Adam King [Mon, 8 Apr 2024 19:50:17 +0000 (15:50 -0400)]
Merge pull request #56705 from adk3798/no-osd-require-osd-release

mgr/cephadm: handle setting required osd release with no OSDs during upgrade

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #56713 from adk3798/client-keyring-ceph-conf
Adam King [Mon, 8 Apr 2024 19:48:24 +0000 (15:48 -0400)]
Merge pull request #56713 from adk3798/client-keyring-ceph-conf

mgr/cephadm: make client-keyring deploying ceph.conf optional

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agodoc: moved pacific release to Archived Releases 56764/head
Yuri Weinstein [Mon, 8 Apr 2024 15:41:12 +0000 (08:41 -0700)]
doc: moved pacific release to Archived Releases

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #56760 from adk3798/cephadm-pin-pyfakefs-version
Adam King [Mon, 8 Apr 2024 18:24:08 +0000 (14:24 -0400)]
Merge pull request #56760 from adk3798/cephadm-pin-pyfakefs-version

cephadm: pin pyfakefs version for tox tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #56712 from kchheda3/wip-notif-reload-bkt
Casey Bodley [Mon, 8 Apr 2024 17:50:54 +0000 (18:50 +0100)]
Merge pull request #56712 from kchheda3/wip-notif-reload-bkt

rgw/notify: fix crashes in lc due to reload of bucket.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #56619 from ljflores/wip-tracker-64864
Laura Flores [Mon, 8 Apr 2024 15:04:16 +0000 (10:04 -0500)]
Merge pull request #56619 from ljflores/wip-tracker-64864

qa/suites: add "mon down" log variations to ignorelist

2 years agocephadm: pin pyfakefs version for tox tests 56760/head
Adam King [Mon, 8 Apr 2024 14:48:18 +0000 (10:48 -0400)]
cephadm: pin pyfakefs version for tox tests

5.4.0 seems to have caused a number of permission issues
in the test. In order to unblock make check, let's pin it
to 5.3.5 for now.

Signed-off-by: Adam King <adking@redhat.com>
2 years agodoc/cephfs: refine client-auth (1 of 3) 56754/head
Zac Dover [Mon, 8 Apr 2024 12:07:38 +0000 (22:07 +1000)]
doc/cephfs: refine client-auth (1 of 3)

Refine the first third of doc/cephfs/client-auth.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #56530 from rhcs-dashboard/enable-grpc-copr
Ernesto Puerta [Mon, 8 Apr 2024 11:50:54 +0000 (13:50 +0200)]
Merge pull request #56530 from rhcs-dashboard/enable-grpc-copr

install-deps: enable copr ceph/grpc

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #54955 from leonid-s-usov/always_on_config
Ilya Dryomov [Mon, 8 Apr 2024 07:56:16 +0000 (09:56 +0200)]
Merge pull request #54955 from leonid-s-usov/always_on_config

MgrMonitor: consider the build config when defining the always-on modules

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #54335 from batrick/i63432
Venky Shankar [Mon, 8 Apr 2024 06:19:37 +0000 (11:49 +0530)]
Merge pull request #54335 from batrick/i63432

qa: test test_kill_mdstable for all mount types

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agocrimson/os/seastore/btree: clean up `FixedKVLeafNode::get_logical_child()` 56383/head
Xuehan Xu [Fri, 22 Mar 2024 07:22:46 +0000 (15:22 +0800)]
crimson/os/seastore/btree: clean up `FixedKVLeafNode::get_logical_child()`

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 years agoMerge pull request #56627 from zhscn/wip-rewrite-snap-refcount
Yingxin [Mon, 8 Apr 2024 01:15:38 +0000 (09:15 +0800)]
Merge pull request #56627 from zhscn/wip-rewrite-snap-refcount

crimson/os/seastore: alloc mapping with refcount when rewriting logical extents

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2 years agoMerge pull request #56738 from zdover23/wip-doc-2024-04-05-dev-peering-concepts-4...
Anthony D'Atri [Sat, 6 Apr 2024 18:05:20 +0000 (14:05 -0400)]
Merge pull request #56738 from zdover23/wip-doc-2024-04-05-dev-peering-concepts-4-of-3

doc/dev: refine "Concepts" 4 of 3

2 years agoMerge pull request #56703 from tchaikov/rgw-test_posix_bucket_cache-fixture
Kefu Chai [Sat, 6 Apr 2024 07:56:05 +0000 (15:56 +0800)]
Merge pull request #56703 from tchaikov/rgw-test_posix_bucket_cache-fixture

test/rgw/test_posix_bucket_cache: structure tests with fixture

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2 years agodoc/dev: refine "Concepts" 4 of 3 56738/head
Zac Dover [Sat, 6 Apr 2024 04:43:16 +0000 (14:43 +1000)]
doc/dev: refine "Concepts" 4 of 3

s/PG's PG logs/PG's logs/

re https://github.com/ceph/ceph/pull/56727#discussion_r1553541922

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #55711 from rishabh-d-dave/fsshell-deprecation
Rishabh Dave [Fri, 5 Apr 2024 19:36:52 +0000 (01:06 +0530)]
Merge pull request #55711 from rishabh-d-dave/fsshell-deprecation

cephfs-shell: prints warning, hangs and aborts when launched

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2 years agoMerge pull request #56535 from linuxbox2/wip-lc-65188
Casey Bodley [Fri, 5 Apr 2024 17:18:30 +0000 (18:18 +0100)]
Merge pull request #56535 from linuxbox2/wip-lc-65188

rgwlc: check for no-bucket at bucket_lc_process() preamble

Reviewed-by: Lei Zhang <1091517373@qq.com>
Reviewed-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #56657 from soumyakoduri/wip-skoduri-cloud-trans
Casey Bodley [Fri, 5 Apr 2024 16:39:14 +0000 (17:39 +0100)]
Merge pull request #56657 from soumyakoduri/wip-skoduri-cloud-trans

rgw/cloud: Handle RGWRESTStreamS3PutObj initialization failures

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #56727 from zdover23/wip-doc-2024-04-05-dev-peering-concepts-3...
Zac Dover [Fri, 5 Apr 2024 13:48:18 +0000 (23:48 +1000)]
Merge pull request #56727 from zdover23/wip-doc-2024-04-05-dev-peering-concepts-3-of-3

doc/dev: refine "Concepts" 3 of 3

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agotest/rgw/test_posix_bucket_cache: structure tests with fixture 56703/head
Kefu Chai [Thu, 4 Apr 2024 12:46:37 +0000 (20:46 +0800)]
test/rgw/test_posix_bucket_cache: structure tests with fixture

before this change, we use individual tests to setup/teardown
the fixtures. this renders it difficult to run a certain test.

in this change, we structure the tests with fixtures, so that
we can run any test without worrying the dependencies between
them.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 years agoinstall-deps: enable copr ceph/grpc 56530/head
Nizamudeen A [Wed, 27 Mar 2024 16:29:55 +0000 (21:59 +0530)]
install-deps: enable copr ceph/grpc

In dashboard, to generate nvmeof apis in el8 this is needed so that it
can download the python3-grpcio packages.
https://copr.fedorainfracloud.org/coprs/ceph/grpc/

Fixes: https://tracker.ceph.com/issues/65184
Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agodoc/dev: refine "Concepts" 3 of 3 56727/head
Zac Dover [Fri, 5 Apr 2024 06:43:47 +0000 (16:43 +1000)]
doc/dev: refine "Concepts" 3 of 3

Refine the third third of the entries in the section "Concepts" in
doc/dev/peering.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #55725 from neesingh-rh/wip-63699
Venky Shankar [Fri, 5 Apr 2024 06:17:36 +0000 (11:47 +0530)]
Merge pull request #55725 from neesingh-rh/wip-63699

qa: fixing tests in test_cephfs_shell.TestShellOpts

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #56646 from zdover23/wip-doc-2024-04-02-dev-peering-concepts-2...
Zac Dover [Fri, 5 Apr 2024 03:49:24 +0000 (13:49 +1000)]
Merge pull request #56646 from zdover23/wip-doc-2024-04-02-dev-peering-concepts-2-of-3

doc/dev: refine "Concepts" 2 of 3

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #56645 from ivancich/wip-remove-example-ldap-domain
J. Eric Ivancich [Thu, 4 Apr 2024 23:32:00 +0000 (19:32 -0400)]
Merge pull request #56645 from ivancich/wip-remove-example-ldap-domain

rgw: udpate options yaml file so LDAP uri isn't an invalid example

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agoMerge pull request #55203 from jzhu116-bloomberg/wip-63995
J. Eric Ivancich [Thu, 4 Apr 2024 23:29:18 +0000 (19:29 -0400)]
Merge pull request #55203 from jzhu116-bloomberg/wip-63995

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

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agomgr/cephadm: pass daemon's current image when reconfiguring 56674/head
Adam King [Wed, 3 Apr 2024 17:11:08 +0000 (13:11 -0400)]
mgr/cephadm: pass daemon's current image when reconfiguring

Important to note here is that a reconfig will rewrite
the config files of the daemon and restart it, but not
rewrite the unit files. This lead to a bug where the
grafana image we used between the quincy and squid release
used different UIDs internally, which caused us to rewrite
the config files as owned by a UID that worked with the
new image but did not work with the image still specified
in the unit.run file. This meant the grafana daemon was down
from a bit after the mgr upgrade until the end
of the upgrade when we redeploy all the monitoring images.

Fixes: https://tracker.ceph.com/issues/65234
Signed-off-by: Adam King <adking@redhat.com>
2 years agodoc/cephadm: document new --no-ceph-conf flag for `orch client-keyring set` 56713/head
Adam King [Thu, 4 Apr 2024 19:05:34 +0000 (15:05 -0400)]
doc/cephadm: document new --no-ceph-conf flag for `orch client-keyring set`

Signed-off-by: Adam King <adking@redhat.com>
2 years agorgw/notification: Load bucket attrs before calling publish_reserve. 56712/head
kchheda3 [Thu, 4 Apr 2024 18:30:40 +0000 (14:30 -0400)]
rgw/notification: Load bucket attrs before calling publish_reserve.

As part of PR# 55657, publish_reserve would reload bucket to ensure bucket_attrs are loaded. However for lc events, where the bucket attrs were already loaded, the reloading was causing crash but there was no obvious root cause, so to avoid the crashes, remove reloading of bucket in publish_reserve and put the onus on callers to load the bucket before calling publish_reserve.

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
2 years agomgr/cephadm: make client-keyring deploying ceph.conf optional
Adam King [Thu, 4 Apr 2024 18:11:11 +0000 (14:11 -0400)]
mgr/cephadm: make client-keyring deploying ceph.conf optional

There are cases where users would like to manage their own
ceph.conf but still have cephadm deploy the client keyrings,
so this is being added to facilitate that.

Fixes: https://tracker.ceph.com/issues/65335
Signed-off-by: Adam King <adking@redhat.com>
2 years agomgr/cephadm: rename ceph_admin_key -> client_key in _calc_client_files
Adam King [Thu, 4 Apr 2024 16:28:45 +0000 (12:28 -0400)]
mgr/cephadm: rename ceph_admin_key -> client_key in _calc_client_files

I think this variable name is misleading, as we use this same
logic for all client-keyrings that can be setup, not just
the client.admin keyring

Signed-off-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #52444 from pritha-srivastava/wip-rgw-d4n
Ali Maredia [Thu, 4 Apr 2024 15:53:39 +0000 (11:53 -0400)]
Merge pull request #52444 from pritha-srivastava/wip-rgw-d4n

d4n topic branch

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2 years agomgr/cephadm: handle setting required osd release with no OSDs during upgrade 56705/head
Adam King [Wed, 3 Apr 2024 18:34:08 +0000 (14:34 -0400)]
mgr/cephadm: handle setting required osd release with no OSDs during upgrade

A change to the `ceph osd require-osd-release` command made it so
it fails if no OSDs are up unless --yes-i-really-mean-it is passed.
For real clusters this is likely not an issue, but it can be an
annoyance for trying upgrades on test clusters that may not have
OSDs deployed. This patch is to try and just pass the flag in cases
where we have no OSDs rather than failing the upgrade

Signed-off-by: Adam King <adking@redhat.com>
2 years agodoc/dev: refine "Concepts" 2 of 3 56646/head
Zac Dover [Wed, 3 Apr 2024 05:02:29 +0000 (15:02 +1000)]
doc/dev: refine "Concepts" 2 of 3

Refine the second third of the entries in the section "Concepts" in
doc/dev/peering.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #54778 from lxbsz/wip-63141
Rishabh Dave [Thu, 4 Apr 2024 12:34:59 +0000 (18:04 +0530)]
Merge pull request #54778 from lxbsz/wip-63141

qa/cephfs: fix root_squash check failure bug

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agocephfs-shell: don't use pkg_resources since its deprecated 55711/head
Rishabh Dave [Thu, 22 Feb 2024 12:31:59 +0000 (18:01 +0530)]
cephfs-shell: don't use pkg_resources since its deprecated

Currently, cephfs-shell prints warnings, hangs and aborts when launched.
This occurs because Python module "pkg_resources" has been deprecated.
We use that module only checking version of other Python modules used in
cephfs-shell. Use "Version" from "packaging.version" instead.

Fixes: https://tracker.ceph.com/issues/64538
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #55701 from joscollin/wip-B62265-use-monotonic-clocks
Rishabh Dave [Thu, 4 Apr 2024 12:24:47 +0000 (17:54 +0530)]
Merge pull request #55701 from joscollin/wip-B62265-use-monotonic-clocks

cephfs-mirror: use monotonic clocks

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #52648 from lxbsz/wip-62036
Rishabh Dave [Thu, 4 Apr 2024 12:23:02 +0000 (17:53 +0530)]
Merge pull request #52648 from lxbsz/wip-62036

mds: defer trim() until after the last cache_rejoin ack being received

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge pull request #51993 from dparmar18/wip-58072
Rishabh Dave [Thu, 4 Apr 2024 12:20:16 +0000 (17:50 +0530)]
Merge pull request #51993 from dparmar18/wip-58072

mon/MDSMonitor: enable 'ceph fs new' use 'ceph fs set' options

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge PR #55914 into main
Venky Shankar [Thu, 4 Apr 2024 11:34:13 +0000 (17:04 +0530)]
Merge PR #55914 into main

* refs/pull/55914/head:
mds: do not use item item_caps in two different lists
mds: add new item item_to_flush

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #56153 from kotreshhr/qa-data-scan
Venky Shankar [Thu, 4 Apr 2024 11:32:22 +0000 (17:02 +0530)]
Merge pull request #56153 from kotreshhr/qa-data-scan

qa: Test lost+found object removal without unmounting client

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #56514 from afreen23/wip-advanced-pools
Nizamudeen A [Thu, 4 Apr 2024 06:54:41 +0000 (12:24 +0530)]
Merge pull request #56514 from afreen23/wip-advanced-pools

mgr/dashboard:Use advanced fieldset for rbd image

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #56662 from zdover23/wip-doc-2024-04-03-zabbix-john-jasen-credit
Zac Dover [Thu, 4 Apr 2024 02:44:37 +0000 (12:44 +1000)]
Merge pull request #56662 from zdover23/wip-doc-2024-04-03-zabbix-john-jasen-credit

doc/mgr: credit John Jasen for Zabbix 2

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #55847 from athanatos/sjust/for-review/wip-crimson-clientio-coroutine
Samuel Just [Thu, 4 Apr 2024 01:25:05 +0000 (18:25 -0700)]
Merge pull request #55847 from athanatos/sjust/for-review/wip-crimson-clientio-coroutine

crimson: convert some of client_request to use coroutines

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #54735 from cbodley/wip-corpus-18.2.0
Radoslaw Zarzynski [Wed, 3 Apr 2024 18:16:57 +0000 (20:16 +0200)]
Merge pull request #54735 from cbodley/wip-corpus-18.2.0

dencoder: update ceph-object-corpus submodule for 18.2.0 coverage

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #56628 from gbregman/main
Adam King [Wed, 3 Apr 2024 17:06:55 +0000 (13:06 -0400)]
Merge pull request #56628 from gbregman/main

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

Reviewed-by: Adam King <adking@redhat.com>
2 years agorgw: udpate options yaml file so LDAP uri isn't an invalid example 56645/head
J. Eric Ivancich [Wed, 3 Apr 2024 03:10:12 +0000 (23:10 -0400)]
rgw: udpate options yaml file so LDAP uri isn't an invalid example

LDAP tries to bind the URI configuration option when RGW starts. The
default value is an example used to show the form of the URI and is
not itself valid. The default value is used, unless overrideen, and
can cause delays in start-up in some situations. The example is now
provided in the description and the default is the empty string.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2 years agoMerge pull request #55768 from batrick/i53192
Venky Shankar [Wed, 3 Apr 2024 16:39:00 +0000 (22:09 +0530)]
Merge pull request #55768 from batrick/i53192

mds: skip sr moves when target is an unlinked dir

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #55214 from AliMasarweh/wip-alimasa-notif-data-path-v2
Yuval Lifshitz [Wed, 3 Apr 2024 16:37:07 +0000 (19:37 +0300)]
Merge pull request #55214 from AliMasarweh/wip-alimasa-notif-data-path-v2

RGW: Migrate topics to data path v2

reviewed-by: kchheda3, cbodley, yuvalif

2 years agoMerge pull request #56643 from ceph/wip-lusov-with-bluestore
Leonid S. Usov [Wed, 3 Apr 2024 15:35:51 +0000 (18:35 +0300)]
Merge pull request #56643 from ceph/wip-lusov-with-bluestore

test/objectstore: honor WITH_BLUESTORE config for dependent tests

2 years agorbd-mirror: code cleanup
N Balachandran [Wed, 3 Apr 2024 15:15:35 +0000 (20:45 +0530)]
rbd-mirror: code cleanup

Renamed ostream argument in overloaded operator implementations.

Signed-off-by: N Balachandran <nibalach@redhat.com>
2 years agoMerge pull request #56562 from cbodley/wip-65212
Casey Bodley [Wed, 3 Apr 2024 14:15:04 +0000 (15:15 +0100)]
Merge pull request #56562 from cbodley/wip-65212

rgw/pubsub: CreateTopic validates topic name

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2 years agoMerge PR #56542 into main
Patrick Donnelly [Wed, 3 Apr 2024 12:28:58 +0000 (08:28 -0400)]
Merge PR #56542 into main

* refs/pull/56542/head:
mds/quiesce: prevent an overflow of the wait duration

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agodoc/mgr: credit John Jasen for Zabbix 2 56662/head
Zac Dover [Wed, 3 Apr 2024 12:21:04 +0000 (22:21 +1000)]
doc/mgr: credit John Jasen for Zabbix 2

Credit John Jasen for the development of the procedures describing the
installation of Zabbix 2.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #56635 from zdover23/wip-doc-2024-04-02-dev-peering-concepts-1...
Zac Dover [Wed, 3 Apr 2024 11:59:14 +0000 (21:59 +1000)]
Merge pull request #56635 from zdover23/wip-doc-2024-04-02-dev-peering-concepts-1-of-3

doc/dev: refine "Concepts"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agorgw/cloud: Handle RGWRESTStreamS3PutObj initialization failures 56657/head
Soumya Koduri [Wed, 3 Apr 2024 07:45:38 +0000 (13:15 +0530)]
rgw/cloud: Handle RGWRESTStreamS3PutObj initialization failures

With the recent code added to handle connection errors
(commit#e200499bb3c5703862b92a4d7fb534d98601f1bf), RGWRESTStreamS3PutObj
initialization could fail at times if there were any failed requests to the
cloud endpoint within CONN_STATUS_EXPIRE_SECS period.

This fix is to handle such errors and abort the transition/sync
requests which can be retried later by LC/Sync worker threads.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 years agocrimson/os/seastore: alloc mapping with refcount when rewriting logical extents 56627/head
Zhang Song [Wed, 3 Apr 2024 09:21:43 +0000 (17:21 +0800)]
crimson/os/seastore: alloc mapping with refcount when rewriting logical extents

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 years agocrimson/os/seastore/btree_lba_manager: update_refcount returns the refcount of interm...
Zhang Song [Wed, 3 Apr 2024 09:10:31 +0000 (17:10 +0800)]
crimson/os/seastore/btree_lba_manager: update_refcount returns the refcount of intermediate mapping

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 years agocrimson/os/seastore/btree_lba_manager: cleanup methods that return std::pair
Zhang Song [Wed, 3 Apr 2024 09:07:52 +0000 (17:07 +0800)]
crimson/os/seastore/btree_lba_manager: cleanup methods that return std::pair

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 years agocrimson/os/seastore: introduce extent_ref_count_t
Zhang Song [Wed, 3 Apr 2024 08:27:50 +0000 (16:27 +0800)]
crimson/os/seastore: introduce extent_ref_count_t

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 years agocrimson/os/seastore: remove unused return value of RecordScanner::scan_valid_records
Zhang Song [Wed, 3 Apr 2024 08:02:22 +0000 (16:02 +0800)]
crimson/os/seastore: remove unused return value of RecordScanner::scan_valid_records

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 years agoosd/scrub: uniform handling of reservation requests 56459/head
Ronen Friedman [Wed, 3 Apr 2024 07:52:35 +0000 (02:52 -0500)]
osd/scrub: uniform handling of reservation requests

we now allow - on the replica side - reservation requests
regardless of the ReplicaActive sub-state. I.e. - we will
honor such requests even when handling a chunk request
(in ReplicaActiveOp).

Note that the current Primary code would never send such
a request. But a future primary code might.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agocrimson/common/interruptible_future: add discard_result
Zhang Song [Wed, 3 Apr 2024 08:01:59 +0000 (16:01 +0800)]
crimson/common/interruptible_future: add discard_result

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 years agoMerge pull request #56509 from rhcs-dashboard/replace-table-panel-grafana
Aashish Sharma [Wed, 3 Apr 2024 07:40:00 +0000 (13:10 +0530)]
Merge pull request #56509 from rhcs-dashboard/replace-table-panel-grafana

mgr/dashboard: replace deprecated table panel in grafana with a newer table panel

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agopython-common/ceph/deployment: add nvmeof configuration fields 56628/head
Gil Bregman [Tue, 2 Apr 2024 10:23:43 +0000 (13:23 +0300)]
python-common/ceph/deployment: add nvmeof configuration fields
Fixes https://tracker.ceph.com/issues/65259

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2 years agoMerge PR #56228 into main
Venky Shankar [Wed, 3 Apr 2024 05:27:56 +0000 (10:57 +0530)]
Merge PR #56228 into main

* refs/pull/56228/head:
doc: fixing doc/cephfs/fs-volumes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
2 years agodoc/dev: refine "Concepts" 56635/head
Zac Dover [Tue, 2 Apr 2024 12:23:13 +0000 (22:23 +1000)]
doc/dev: refine "Concepts"

Refine the text in the first third of the entries in the section
"Concepts" in doc/dev/peering.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #56625 from tchaikov/wip-osd-hitset-free
Kefu Chai [Wed, 3 Apr 2024 00:43:58 +0000 (08:43 +0800)]
Merge pull request #56625 from tchaikov/wip-osd-hitset-free

test/osd/hitset: free allocated HitSet

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agotest/objectstore: honor WITH_BLUESTORE config for dependent tests 56643/head
Leonid Usov [Tue, 2 Apr 2024 23:23:21 +0000 (19:23 -0400)]
test/objectstore: honor WITH_BLUESTORE config for dependent tests

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2 years agoMerge PR #56565 into main
Patrick Donnelly [Tue, 2 Apr 2024 23:30:08 +0000 (19:30 -0400)]
Merge PR #56565 into main

* refs/pull/56565/head:
msg: trivial destructor should be default

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agomds/quiesce: prevent an overflow of the wait duration 56542/head
Leonid Usov [Thu, 28 Mar 2024 05:32:26 +0000 (01:32 -0400)]
mds/quiesce: prevent an overflow of the wait duration

QuiesceTimeInterval::max() may overflow inside of a call to
std::condition_variable::wait_for and result in a busy-loop,
making the call to timeout immediately

The solution is to cap the wait duration to a value which can
certainly fit in whichever clock std library is using internally.

Fixes: https://tracker.ceph.com/issues/65276
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2 years agoMerge PR #56566 into main
Patrick Donnelly [Tue, 2 Apr 2024 22:30:30 +0000 (18:30 -0400)]
Merge PR #56566 into main

* refs/pull/56566/head:
qa: add missing pg_health fragment links in fs suite
qa: ignore PG health warnings in CephFS QA

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge PR #56529 into main
Patrick Donnelly [Tue, 2 Apr 2024 22:28:53 +0000 (18:28 -0400)]
Merge PR #56529 into main

* refs/pull/56529/head:
mds: remove unnecssary quiesce finisher variable
mds: attach quiesce_path mdr to finisher at creation not dispatch

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
2 years agoMerge PR #55647 into main
Patrick Donnelly [Tue, 2 Apr 2024 22:26:30 +0000 (18:26 -0400)]
Merge PR #55647 into main

* refs/pull/55647/head:
mds: use cephfs errno for fragment size check

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2 years agoMerge pull request #56617 from adk3798/wip-revert-55346
Adam King [Tue, 2 Apr 2024 21:59:22 +0000 (17:59 -0400)]
Merge pull request #56617 from adk3798/wip-revert-55346

Revert "mgr: use un-deprecated APIs to initialize Python interpretor"

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 years agotest/rgw/noitifications: run basic/http/migration tests with 2 RGWs 55214/head
Yuval Lifshitz [Mon, 18 Mar 2024 16:44:39 +0000 (16:44 +0000)]
test/rgw/noitifications: run basic/http/migration tests with 2 RGWs

this is useful to:
* cover the cls_lock code with persistent notifications
* cover v1 to v2 migration collisions between RGWs

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2 years agorgw/notifications: run v2 migration tests in teuthology
Yuval Lifshitz [Thu, 14 Mar 2024 12:21:19 +0000 (12:21 +0000)]
rgw/notifications: run v2 migration tests in teuthology

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2 years agoRGW/Rados: Migrate topics to data path v2
Ali Masarwa [Tue, 9 Jan 2024 21:51:54 +0000 (23:51 +0200)]
RGW/Rados: Migrate topics to data path v2

also add migration tests

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
2 years agovstart: Add `flushall` call if redis server found 52444/head
Samarah [Wed, 20 Mar 2024 17:11:39 +0000 (17:11 +0000)]
vstart: Add `flushall` call if redis server found

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2 years agoqa/d4n: Remove unused import
Samarah [Tue, 12 Mar 2024 19:20:10 +0000 (19:20 +0000)]
qa/d4n: Remove unused import

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2 years agorgw/redis: Remove unused lambda variable
Samarah [Tue, 5 Mar 2024 13:03:05 +0000 (13:03 +0000)]
rgw/redis: Remove unused lambda variable

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2 years agoqa/d4n: Start redis up before rgw
Samarah [Fri, 1 Mar 2024 17:15:36 +0000 (17:15 +0000)]
qa/d4n: Start redis up before rgw

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2 years agorgw/redis: Implement RedisDriver::get_async and RedisDriver::put_async
Samarah [Wed, 8 Nov 2023 15:16:07 +0000 (15:16 +0000)]
rgw/redis: Implement RedisDriver::get_async and RedisDriver::put_async

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2 years agoqa/d4n: Add test for large object
Samarah [Wed, 21 Feb 2024 15:55:26 +0000 (15:55 +0000)]
qa/d4n: Add test for large object

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
2 years agod4n/policy: Add test for redis_sync method
Samarah [Wed, 21 Feb 2024 18:07:17 +0000 (18:07 +0000)]
d4n/policy: Add test for redis_sync method

Signed-off-by: Samarah <samarah.uriarte@ibm.com>