]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
14 months agoqa/suites/orch: add test for smb mgr module basic deploy with resources 56350/head
John Mulligan [Wed, 24 Apr 2024 15:32:54 +0000 (11:32 -0400)]
qa/suites/orch: add test for smb mgr module basic deploy with resources

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agoqa/suites/orch: add test for smb mgr module basic deploy with cli
John Mulligan [Wed, 24 Apr 2024 15:32:47 +0000 (11:32 -0400)]
qa/suites/orch: add test for smb mgr module basic deploy with cli

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agoqa/suites/orch: add test for smb mgr module ad deploy with resources
John Mulligan [Wed, 3 Apr 2024 17:35:04 +0000 (13:35 -0400)]
qa/suites/orch: add test for smb mgr module ad deploy with resources

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agoqa/suites/orch: add test for smb mgr module ad deploy with cli
John Mulligan [Wed, 3 Apr 2024 17:34:53 +0000 (13:34 -0400)]
qa/suites/orch: add test for smb mgr module ad deploy with cli

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agoqa/tasks/cephadm: add a wait_for_service_not_present task func
John Mulligan [Tue, 23 Apr 2024 12:16:19 +0000 (08:16 -0400)]
qa/tasks/cephadm: add a wait_for_service_not_present task func

Add a wait_for_service_not_present task function that will wait until a
given service name is not present in the list of running cephadm
services. This is intended for testing service cleanup operations.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agodoc/mgr: add documentation for new smb mgr module
John Mulligan [Sat, 30 Mar 2024 20:50:29 +0000 (16:50 -0400)]
doc/mgr: add documentation for new smb mgr module

Add initial documentation for the new smb mgr module. It doesn't cover
every possible thing or expected future changes but it should cover
the basics of interacting with the module from the cli.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agoceph.spec.in: add smb module and python-dataclasses dependency
John Mulligan [Wed, 20 Mar 2024 18:08:24 +0000 (14:08 -0400)]
ceph.spec.in: add smb module and python-dataclasses dependency

The only distro ceph squid+ is building for at the moment that does not
already have a python version that includes dataclasses is centos/rhel
8. Add a dependency for the backport package on rhel8.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr: use black & isort on the smb module
John Mulligan [Tue, 30 Jan 2024 21:49:25 +0000 (16:49 -0500)]
pybind/mgr: use black & isort on the smb module

Provide tox envs that check or reformat code with black and isort,
currently applied to only the new smb module.
This is similar to what we recently did for enabling tox in the
cephadmlib dir as it only applies to new code. However, other modules
that want to opt-in to automated, python-community-wide typical,
stop-thinking-and-let-tools-do-it approach to code formatting can
be added to the new envs later on.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add unit tests file tests/test_smb.py
John Mulligan [Tue, 30 Jan 2024 19:33:29 +0000 (14:33 -0500)]
pybind/mgr/smb: add unit tests file tests/test_smb.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add unit tests file tests/test_handler.py
John Mulligan [Sat, 27 Jan 2024 20:42:06 +0000 (15:42 -0500)]
pybind/mgr/smb: add unit tests file tests/test_handler.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add unit tests file tests/test_rados_store.py
John Mulligan [Wed, 13 Mar 2024 15:22:22 +0000 (11:22 -0400)]
pybind/mgr/smb: add unit tests file tests/test_rados_store.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add unit tests file tests/test_resources.py
John Mulligan [Tue, 30 Jan 2024 19:33:29 +0000 (14:33 -0500)]
pybind/mgr/smb: add unit tests file tests/test_resources.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add unit tests file tests/test_resourcelib.py
John Mulligan [Tue, 30 Jan 2024 19:33:29 +0000 (14:33 -0500)]
pybind/mgr/smb: add unit tests file tests/test_resourcelib.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add unit tests file tests/test_validation.py
John Mulligan [Wed, 7 Feb 2024 21:15:21 +0000 (16:15 -0500)]
pybind/mgr/smb: add unit tests file tests/test_validation.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add unit tests file tests/test_enums.py
John Mulligan [Tue, 30 Jan 2024 19:33:29 +0000 (14:33 -0500)]
pybind/mgr/smb: add unit tests file tests/test_enums.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: create a smb tests dir
John Mulligan [Tue, 30 Jan 2024 19:33:29 +0000 (14:33 -0500)]
pybind/mgr/smb: create a smb tests dir

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: extend module.py with real smb mgmt methods
John Mulligan [Tue, 30 Jan 2024 21:13:49 +0000 (16:13 -0500)]
pybind/mgr/smb: extend module.py with real smb mgmt methods

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add cli.py wrapper funcs for cli/mgr interaction
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr/smb: add cli.py wrapper funcs for cli/mgr interaction

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add handler.py the main business logic & transaction core
John Mulligan [Tue, 30 Jan 2024 19:15:29 +0000 (14:15 -0500)]
pybind/mgr/smb: add handler.py the main business logic & transaction core

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add results.py for result reporting types
John Mulligan [Fri, 2 Feb 2024 00:42:40 +0000 (19:42 -0500)]
pybind/mgr/smb: add results.py for result reporting types

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add fs.py functions for interacting with file systems
John Mulligan [Wed, 7 Feb 2024 01:05:13 +0000 (20:05 -0500)]
pybind/mgr/smb: add fs.py functions for interacting with file systems

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add external.py intermediate funcs for external config store
John Mulligan [Fri, 2 Feb 2024 00:42:06 +0000 (19:42 -0500)]
pybind/mgr/smb: add external.py intermediate funcs for external config store

The external stores are used to share configuration with the samba
containers.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add internal.py intermediate funcs for internal config store
John Mulligan [Fri, 2 Feb 2024 00:42:21 +0000 (19:42 -0500)]
pybind/mgr/smb: add internal.py intermediate funcs for internal config store

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add resources.py for defining resource classes
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr/smb: add resources.py for defining resource classes

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add resourcelib.py an internal resource mgmt lib
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr/smb: add resourcelib.py an internal resource mgmt lib

While I like the workflow that `ceph orch apply` provides I find the
code a little too "loose". Create a new minimalistic un/re-structuring
library that partly inspired by my work with Go, cephadm, and a little
from pydantic. But without adding any dependencies beyond python's
dataclasses.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add validation.py for generic module validation funcs
John Mulligan [Wed, 7 Feb 2024 21:15:28 +0000 (16:15 -0500)]
pybind/mgr/smb: add validation.py for generic module validation funcs

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add rados_store.py wrapping rados apis
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr/smb: add rados_store.py wrapping rados apis

Add a config store that wraps rados apis such that the values are
stored in rados objects.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add mon_store.py for wrapping the mon key-store
John Mulligan [Sun, 4 Feb 2024 22:00:57 +0000 (17:00 -0500)]
pybind/mgr/smb: add mon_store.py for wrapping the mon key-store

Add a config store based on wrapping the mon's key-store.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add config_store.py defining generic in-memory stores
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr/smb: add config_store.py defining generic in-memory stores

The config store abstraction is defined in proto.py the config_store.py
configuration stores meet this protocol with wrappers around in memory
structures.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add proto.py for protcol classes and generic types
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr/smb: add proto.py for protcol classes and generic types

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr/smb: add enums.py for general smb module enums
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr/smb: add enums.py for general smb module enums

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr: add new smb module to tox.ini
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr: add new smb module to tox.ini

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopybind/mgr: stub in a new smb mgr module
John Mulligan [Tue, 30 Jan 2024 19:39:16 +0000 (14:39 -0500)]
pybind/mgr: stub in a new smb mgr module

Currently, this module does nothing but serve as a placeholder for
the future smb manager module.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agocephadm: handle user_sources uri values in smb daemon
John Mulligan [Tue, 9 Apr 2024 23:04:18 +0000 (19:04 -0400)]
cephadm: handle user_sources uri values in smb daemon

When a smb daemon is being configured it may have user_sources - a
field containing uris that are supplemental configurations expected
to define users and/or groups for a non-AD member server. Ensure these
uris get passed to the env var for the config uris to get processed.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agomgr/cephadm: add support for user_sources smb spec field
John Mulligan [Tue, 9 Apr 2024 21:44:30 +0000 (17:44 -0400)]
mgr/cephadm: add support for user_sources smb spec field

Pass the user_sources spec field to the smb service being deployed.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agopython-common: add a user_sources field to smb service spec
John Mulligan [Tue, 9 Apr 2024 21:41:39 +0000 (17:41 -0400)]
python-common: add a user_sources field to smb service spec

We had a mechanism for passing primary configs and join sources to the
smb service but need a way to pass configs containing user (and group)
definitions for non-AD scenarios.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
14 months agoMerge pull request #56926 from samarahu/rgw-update-boost-redis
Casey Bodley [Thu, 25 Apr 2024 14:52:36 +0000 (15:52 +0100)]
Merge pull request #56926 from samarahu/rgw-update-boost-redis

RGW: boost/redis: Point to 1.85 tag

Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #56486 from soumyakoduri/wip-skoduri-lc-stall
Casey Bodley [Thu, 25 Apr 2024 14:33:51 +0000 (15:33 +0100)]
Merge pull request #56486 from soumyakoduri/wip-skoduri-lc-stall

rgw/lc: advance head if the current entry doesn't exist

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
14 months agoMerge pull request #56860 from clwluvw/rgw-crypt-ssl
Casey Bodley [Thu, 25 Apr 2024 13:09:27 +0000 (14:09 +0100)]
Merge pull request #56860 from clwluvw/rgw-crypt-ssl

rgw: eliminate ssl enforcement for sse-s3 encryption

Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #56868 from clwluvw/request-payer
Casey Bodley [Thu, 25 Apr 2024 13:09:17 +0000 (14:09 +0100)]
Merge pull request #56868 from clwluvw/request-payer

rgw: exclude logging of request payer for 403 requests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #56394 from cbodley/wip-rgw-cache-size
Casey Bodley [Thu, 25 Apr 2024 13:08:06 +0000 (14:08 +0100)]
Merge pull request #56394 from cbodley/wip-rgw-cache-size

rgw: increase default metadata cache size for accounts

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
14 months agoMerge pull request #56606 from guojidan/num_bytes
Matan Breizman [Thu, 25 Apr 2024 11:32:49 +0000 (14:32 +0300)]
Merge pull request #56606 from guojidan/num_bytes

crimson/osd/ops_executer: fix snap overlap range error

Reviewed-by: Samuel Just <sjust@redhat.com>
14 months agoMerge pull request #56942 from Svelar/fix_tox_cephadm
Rongqi Sun [Thu, 25 Apr 2024 03:07:27 +0000 (20:07 -0700)]
Merge pull request #56942 from Svelar/fix_tox_cephadm

test/cephadm: extend timeout again

14 months agoMerge pull request #57057 from adk3798/no-downgrade
Adam King [Wed, 24 Apr 2024 16:02:11 +0000 (12:02 -0400)]
Merge pull request #57057 from adk3798/no-downgrade

doc/cephadm: remove downgrade reference from upgrade docs

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
14 months agoMerge pull request #56644 from tchaikov/wip-warning-not-fatal
Kefu Chai [Wed, 24 Apr 2024 15:21:31 +0000 (23:21 +0800)]
Merge pull request #56644 from tchaikov/wip-warning-not-fatal

test: do not consider warning from Sanitizer as fatal

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #55950 from ifed01/wip-ifed-omap-pcounters
Igor Fedotov [Wed, 24 Apr 2024 14:29:42 +0000 (17:29 +0300)]
Merge pull request #55950 from ifed01/wip-ifed-omap-pcounters

os/bluestore: add omap_set* perf counters

Reviewed-by: akupczyk@ibm.com
Reviewed-by: rfriedma@ibm.com
14 months agoMerge pull request #57071 from zdover23/wip-doc-2024-04-24-rados-troubleshooting-pg
Anthony D'Atri [Wed, 24 Apr 2024 13:21:27 +0000 (09:21 -0400)]
Merge pull request #57071 from zdover23/wip-doc-2024-04-24-rados-troubleshooting-pg

doc/rados: improve t-shooting pg

14 months agoMerge pull request #57051 from zdover23/wip-doc-2024-04-23-rados-dual-stack
Zac Dover [Wed, 24 Apr 2024 11:51:32 +0000 (21:51 +1000)]
Merge pull request #57051 from zdover23/wip-doc-2024-04-23-rados-dual-stack

doc/rados: remove dual-stack docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agodoc/rados: improve t-shooting pg 57071/head
Zac Dover [Wed, 24 Apr 2024 11:48:20 +0000 (21:48 +1000)]
doc/rados: improve t-shooting pg

Incorporate Anthony D'Atri's suggestions from
https://github.com/ceph/ceph/pull/57022 into the text in
doc/rados/troubleshooting/troubleshooting-pg.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #56745 from ronen-fr/wip-rf-pgtell
Ronen Friedman [Wed, 24 Apr 2024 10:59:10 +0000 (13:59 +0300)]
Merge pull request #56745 from ronen-fr/wip-rf-pgtell

tests/scripts: use 'tell pg deep-scrub pgid' instead of 'tell pgid deep-scrub'

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
14 months agoMerge pull request #56420 from rzarzynski/wip-tools-rados-get-with-offset
Yuri Weinstein [Tue, 23 Apr 2024 23:35:24 +0000 (16:35 -0700)]
Merge pull request #56420 from rzarzynski/wip-tools-rados-get-with-offset

tools: rados get takes --offset now

Reviewed-by: Samuel Just <sjust@redhat.com>
14 months agoMerge pull request #56067 from myoungwon/wip-ceph-dedup-daemon
Yuri Weinstein [Tue, 23 Apr 2024 23:35:03 +0000 (16:35 -0700)]
Merge pull request #56067 from myoungwon/wip-ceph-dedup-daemon

tool: separating ceph-dedup-tool into tool and daemon

Reviewed-by: Samuel Just <sjust@redhat.com>
14 months agoMerge pull request #55949 from NitzanMordhai/wip-nitzan-safe-to-destroy-test-build...
Yuri Weinstein [Tue, 23 Apr 2024 23:33:29 +0000 (16:33 -0700)]
Merge pull request #55949 from NitzanMordhai/wip-nitzan-safe-to-destroy-test-build-vars

test/osd/safe-to-destroy.sh: Add checks for the test

Reviewed-by: Samuel Just <sjust@redhat.com>
14 months agoMerge pull request #54979 from pdvian/wip-mgr-optracker
Laura Flores [Tue, 23 Apr 2024 22:49:04 +0000 (17:49 -0500)]
Merge pull request #54979 from pdvian/wip-mgr-optracker

mgr: integrate optracker in ceph-mgr

14 months agoMerge pull request #57053 from idryomov/wip-labeler-rbd
Ilya Dryomov [Tue, 23 Apr 2024 19:37:20 +0000 (21:37 +0200)]
Merge pull request #57053 from idryomov/wip-labeler-rbd

.github: sync the list of paths for rbd label with CODEOWNERS

Reviewed-by: Laura Flores <lflores@redhat.com>
14 months agodoc/cephadm: remove downgrade reference from upgrade docs 57057/head
Adam King [Tue, 23 Apr 2024 16:04:39 +0000 (12:04 -0400)]
doc/cephadm: remove downgrade reference from upgrade docs

This has been in here for years, but cephadm will block
attempted upgrades to lower versions and we generally
don't want people to think this is supported or safe.

Signed-off-by: Adam King <adking@redhat.com>
14 months agoMerge pull request #56986 from cbodley/wip-65551
Casey Bodley [Tue, 23 Apr 2024 16:34:55 +0000 (17:34 +0100)]
Merge pull request #56986 from cbodley/wip-65551

rgw/account: add bucket_quota to RGWAccountInfo

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Oguzhan Ozmen <oozmen@bloomberg.net>
14 months agoMerge pull request #57038 from adk3798/mixin-max-nvme-gws-per-group
Adam King [Tue, 23 Apr 2024 15:57:53 +0000 (11:57 -0400)]
Merge pull request #57038 from adk3798/mixin-max-nvme-gws-per-group

monitoring/ceph-mixin: set NVMeoFMaxGatewaysPerGroup to 4

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
14 months agoMerge pull request #56990 from cbodley/wip-doc-rgw-realm-change
Casey Bodley [Tue, 23 Apr 2024 13:39:04 +0000 (14:39 +0100)]
Merge pull request #56990 from cbodley/wip-doc-rgw-realm-change

doc/rgw: add release note for changes to rgw_realm init

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
14 months agoMerge pull request #55983 from lxbsz/wip-64572
Leonid S. Usov [Tue, 23 Apr 2024 12:20:28 +0000 (15:20 +0300)]
Merge pull request #55983 from lxbsz/wip-64572

qa/fsx: use the master branch to build the xfstest-dev

14 months agorgw/lc: cleanup duplicate code 56486/head
Soumya Koduri [Wed, 10 Apr 2024 19:34:17 +0000 (01:04 +0530)]
rgw/lc: cleanup duplicate code

Cleaning up duplicate code around updating head

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
14 months agorgw/lc: advance head if the current entry doesn't exist
Soumya Koduri [Mon, 25 Mar 2024 18:08:57 +0000 (23:38 +0530)]
rgw/lc: advance head if the current entry doesn't exist

This is extension to https://github.com/ceph/ceph/pull/47595.

When skipping the non-exist LC entry, instead of get_next_entry(),
use advance_head() to fetch the next entry. In case the cycle
is finished for that shard, head should be reset to avoid lc process
being stuck in indefinite loop.

Fixes: https://tracker.ceph.com/issues/65160
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
14 months ago.github: sync the list of paths for rbd label with CODEOWNERS 57053/head
Ilya Dryomov [Tue, 23 Apr 2024 11:00:08 +0000 (13:00 +0200)]
.github: sync the list of paths for rbd label with CODEOWNERS

With https://github.com/actions/labeler/issues/483 still pending, do it
manually.

A couple of entries matching both files and directories were expanded
since, unlike fnmatch(3), minimatch treats slashes specially:

- src/include/rbd* -> src/include/rbd* src/include/rbd/**
- src/rbd*         -> src/rbd* src/rbd*/**
- src/test/rbd*    -> src/test/rbd* src/test/rbd*/**

A bunch of entries under src/tools were combined into:

- src/tools/rbd*/**

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
14 months agoCODEOWNERS: assign ceph-rbd-mirror systemd service to RBD
Ilya Dryomov [Tue, 23 Apr 2024 10:57:49 +0000 (12:57 +0200)]
CODEOWNERS: assign ceph-rbd-mirror systemd service to RBD

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
14 months agodoc/rados: remove dual-stack docs 57051/head
Zac Dover [Tue, 23 Apr 2024 06:37:27 +0000 (16:37 +1000)]
doc/rados: remove dual-stack docs

Remove references to dual-stack mode in
doc/rados/configuration/network-config-ref.rst and
doc/rados/configuration/msgr2.rst. This feature seems to have been
planned but never to have been completely implemented.

See the tracker issue listed below for an email exchange detailing the
confusion caused by the presence in the documentation of this
now-removed information.

Fixes: https://tracker.ceph.com/issues/65631
Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agotest/cephadm: extend timeout limit again to fix timeout issue 56942/head
Rongqi Sun [Wed, 17 Apr 2024 08:02:36 +0000 (08:02 +0000)]
test/cephadm: extend timeout limit again to fix timeout issue

When run make check(arm64) on omani series servers,
Shows:
python: timeout after 60 seconds
INFO     root:call_wrappers.py:284 Non-zero exit code 124 from /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/cephadm/.tox/py3/bin/python -c for i in range(1000000): print(i, flush=True)

Seems like 60s is not enough, extend to 300s would be fine.

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
14 months agoMerge pull request #57033 from gbregman/main
Gil Bregman [Mon, 22 Apr 2024 21:57:03 +0000 (00:57 +0300)]
Merge pull request #57033 from gbregman/main

mgr/cephadm: Some changes to nvmeof conf file defaults

14 months agoMerge PR #54067 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:08:11 +0000 (15:08 -0400)]
Merge PR #54067 into main

* refs/pull/54067/head:
mds: add dispatch killpoint and delay configs

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
14 months agoMerge PR #56047 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:07:27 +0000 (15:07 -0400)]
Merge PR #56047 into main

* refs/pull/56047/head:
mgr: process map before notifying clients

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
14 months agoMerge PR #56638 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:05:40 +0000 (15:05 -0400)]
Merge PR #56638 into main

* refs/pull/56638/head:
qa: do not iterate list being modified
qa: remove unnecessary background job cleanup

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
14 months agoMerge PR #56669 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:04:50 +0000 (15:04 -0400)]
Merge PR #56669 into main

* refs/pull/56669/head:
qa: make teardown behavior consistent for kclient/fuse mounts

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
14 months agoMerge PR #56723 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:03:51 +0000 (15:03 -0400)]
Merge PR #56723 into main

* refs/pull/56723/head:
mds: use mds_cache_quiesce_decay_rate to init quiesce_counter

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
14 months agoMerge PR #57010 into main
Patrick Donnelly [Mon, 22 Apr 2024 18:52:48 +0000 (14:52 -0400)]
Merge PR #57010 into main

* refs/pull/57010/head:
qa: update quiesce tests to expect ipolicy lock
mds: add missing policylock to test F_QUIESCE_BLOCK

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
14 months agoMerge pull request #57022 from zdover23/wip-doc-2024-04-22-rados-operations-pg-troubl...
Zac Dover [Mon, 22 Apr 2024 14:59:35 +0000 (00:59 +1000)]
Merge pull request #57022 from zdover23/wip-doc-2024-04-22-rados-operations-pg-troubleshooting

doc/rados: remove redundant pg repair commands

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agorgw: apply default quota config on account creation 56986/head
Casey Bodley [Mon, 22 Apr 2024 14:50:01 +0000 (10:50 -0400)]
rgw: apply default quota config on account creation

add new default quota config options for accounts analogous to
rgw_user_default_quota_max_objects/size. apply the default bucket quota
config options as-is

Signed-off-by: Casey Bodley <cbodley@redhat.com>
14 months agoMerge pull request #57032 from stackhpc/doc-update-ms-bind-port-max
Anthony D'Atri [Mon, 22 Apr 2024 14:11:33 +0000 (10:11 -0400)]
Merge pull request #57032 from stackhpc/doc-update-ms-bind-port-max

doc/rados: fix outdated value for ms_bind_port_max

14 months agoMerge pull request #57036 from stackhpc/fix-typo-radosgw-metrics
Anthony D'Atri [Mon, 22 Apr 2024 14:09:10 +0000 (10:09 -0400)]
Merge pull request #57036 from stackhpc/fix-typo-radosgw-metrics

doc/radosgw: fix typo in metrics.rst

14 months agomonitoring/ceph-mixin: set NVMeoFMaxGatewaysPerGroup to 4 57038/head
Adam King [Mon, 22 Apr 2024 12:48:15 +0000 (08:48 -0400)]
monitoring/ceph-mixin: set NVMeoFMaxGatewaysPerGroup to 4

Recommendation from the nvmeof team

Signed-off-by: Adam King <adking@redhat.com>
14 months agoMerge pull request #56448 from Svelar/arm_pass_check_shard_select
Rixin Luo [Mon, 22 Apr 2024 12:40:27 +0000 (20:40 +0800)]
Merge pull request #56448 from Svelar/arm_pass_check_shard_select

test/test_mempool: skip check_shard_select test on ARM64

14 months agodoc/radosgw: fix typo in metrics.rst 57036/head
Pierre Riteau [Mon, 22 Apr 2024 12:29:19 +0000 (14:29 +0200)]
doc/radosgw: fix typo in metrics.rst

Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
14 months agomgr/cephadm: some changes to nvmeof conf file defaults 57033/head
Gil Bregman [Mon, 22 Apr 2024 09:32:15 +0000 (12:32 +0300)]
mgr/cephadm: some changes to nvmeof conf file defaults
Fixes https://tracker.ceph.com/issues/65566

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
14 months agopython-common/ceph/deployment: some changes to nvmeof conf file defaults
Gil Bregman [Mon, 22 Apr 2024 09:31:16 +0000 (12:31 +0300)]
python-common/ceph/deployment: some changes to nvmeof conf file defaults
Fixes https://tracker.ceph.com/issues/65566

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
14 months agodoc/rados: fix outdated value for ms_bind_port_max 57032/head
Pierre Riteau [Mon, 22 Apr 2024 09:28:53 +0000 (11:28 +0200)]
doc/rados: fix outdated value for ms_bind_port_max

The highest port number used by OSD or MDS daemons was increased from
7300 to 7568 in [1] but the documentation still refers to 7300 in
multiple locations.

[1] https://github.com/ceph/ceph/pull/42210

Fixes: https://tracker.ceph.com/issues/65609
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
14 months agoMerge pull request #57016 from zdover23/wip-doc-2024-04-21-rados-operations-crush-map
Zac Dover [Mon, 22 Apr 2024 08:05:55 +0000 (18:05 +1000)]
Merge pull request #57016 from zdover23/wip-doc-2024-04-21-rados-operations-crush-map

doc/rados: add bucket rename command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agodoc/rados: remove redundant pg repair commands 57022/head
Zac Dover [Mon, 22 Apr 2024 06:59:15 +0000 (16:59 +1000)]
doc/rados: remove redundant pg repair commands

Incorporate the material in /doc/rados/operations/pg-repair into
/doc/rados/troubleshooting/troubleshooting-pg. Remove
/doc/rados/operations/pg-repair from the documentation. Redirect all
links to the old location to the new location.

Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agodoc/rados: add bucket rename command 57016/head
Zac Dover [Sun, 21 Apr 2024 12:46:18 +0000 (22:46 +1000)]
doc/rados: add bucket rename command

Add "ceph osd crush rename bucket" command. This commit is made in
response to a request from Michele Giacomoli.

Fixes: https://tracker.ceph.com/issues/65599
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #56353 from myoungwon/wip-apply-shallow-copy-rbm-overwrite
Yingxin [Mon, 22 Apr 2024 01:41:02 +0000 (09:41 +0800)]
Merge pull request #56353 from myoungwon/wip-apply-shallow-copy-rbm-overwrite

crimson/os/seastore: avoid new allocation when overwriting data in RBM for performance

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 months agoMerge pull request #56855 from Svelar/asan_osd_types
Rongqi Sun [Mon, 22 Apr 2024 01:12:49 +0000 (18:12 -0700)]
Merge pull request #56855 from Svelar/asan_osd_types

test/osd/types: free PriorSet::pcontdec memory

14 months agoMerge pull request #56025 from xxhdx1985126/wip-seastore-onode-loc-key
Matan Breizman [Sun, 21 Apr 2024 13:17:44 +0000 (16:17 +0300)]
Merge pull request #56025 from xxhdx1985126/wip-seastore-onode-loc-key

crimson/osd/osd_operations/client_requests: we don't support rados locator keys

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
14 months agoMerge pull request #56904 from zdover23/wip-doc-2024-04-16-security-cves
Zac Dover [Sun, 21 Apr 2024 12:56:25 +0000 (22:56 +1000)]
Merge pull request #56904 from zdover23/wip-doc-2024-04-16-security-cves

doc/security: update CVE list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
14 months agodoc/security: update CVE list 56904/head
Zac Dover [Mon, 15 Apr 2024 15:41:51 +0000 (01:41 +1000)]
doc/security: update CVE list

Update the list of CVEs in doc/security/cves.rst.

Co-authored-by: Ilya Dryomov <idryomov@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
14 months agoMerge pull request #56916 from Matan-B/wip-matanb-crimson-recovery-misc
Matan Breizman [Sun, 21 Apr 2024 11:55:33 +0000 (14:55 +0300)]
Merge pull request #56916 from Matan-B/wip-matanb-crimson-recovery-misc

crimson/osd/replicated_backend: misc fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
14 months agoMerge pull request #56848 from xxhdx1985126/wip-65453
Matan Breizman [Sun, 21 Apr 2024 11:53:38 +0000 (14:53 +0300)]
Merge pull request #56848 from xxhdx1985126/wip-65453

crimson/osd/recovery_backends: discard outdated recovery ops

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
14 months agoMerge pull request #56277 from amathuria/wip-amat-crimson-fix-pool-compression
Matan Breizman [Sun, 21 Apr 2024 09:41:13 +0000 (12:41 +0300)]
Merge pull request #56277 from amathuria/wip-amat-crimson-fix-pool-compression

crimson: Add support for pool compression

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
14 months agoMerge pull request #56611 from Matan-B/wip-matanb-crimson-replicated-peering
Matan Breizman [Sun, 21 Apr 2024 09:40:00 +0000 (12:40 +0300)]
Merge pull request #56611 from Matan-B/wip-matanb-crimson-replicated-peering

crimson/osd/replicated_recovery_backend: prepare_pull use pg_info

Reviewed-by: Samuel Just <sjust@redhat.com>
14 months agoMerge pull request #56875 from xxhdx1985126/wip-65474
Matan Breizman [Sun, 21 Apr 2024 09:39:07 +0000 (12:39 +0300)]
Merge pull request #56875 from xxhdx1985126/wip-65474

crimson/osd/osd_meta: load incremental osdmap from "inc_osdmap.XXX"

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
15 months agoMerge pull request #57012 from tchaikov/wip-python-common-pep8
Kefu Chai [Sat, 20 Apr 2024 12:37:30 +0000 (20:37 +0800)]
Merge pull request #57012 from tchaikov/wip-python-common-pep8

python-common: PEP8 related cleanups

Reviewed-by: John Mulligan <jmulligan@redhat.com>
15 months agopython-common: remove spaces around `=` 57012/head
Kefu Chai [Mon, 30 Oct 2023 02:33:06 +0000 (10:33 +0800)]
python-common: remove spaces around `=`

to be more PEP8 compliant

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
15 months agopython-common: remove trailing spaces
Kefu Chai [Mon, 30 Oct 2023 02:32:14 +0000 (10:32 +0800)]
python-common: remove trailing spaces

for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
15 months agoqa: update quiesce tests to expect ipolicy lock 57010/head
Patrick Donnelly [Fri, 19 Apr 2024 23:32:27 +0000 (19:32 -0400)]
qa: update quiesce tests to expect ipolicy lock

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>