]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 months agoqa: drop XMLSTARLET variable, use xmlstarlet directly 59433/head
Ilya Dryomov [Sun, 25 Aug 2024 11:22:08 +0000 (13:22 +0200)]
qa: drop XMLSTARLET variable, use xmlstarlet directly

The variable was added in commit 9b6b7c35d03f ("Handle
differently-named xmlstarlet binary for *suse") but this
compatibility business is long outdated:

  Mon Oct 13 08:52:37 UTC 2014 - toms@opensuse.org

  - SPEC file changes
    - Added link from /usr/bin/xml to /usr/bin/xmlstarlet as other
      distributions do the same
    - Did the same for the manpage

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 months agoMerge PR #58487 into main
Venky Shankar [Fri, 23 Aug 2024 16:32:34 +0000 (22:02 +0530)]
Merge PR #58487 into main

* refs/pull/58487/head:
qa/suites/fs/workload: drop mgrmodules stanza
qa/tasks/ceph: fix "ceph mgr module enable" command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
10 months agoMerge pull request #58336 from Svelar/uadk
Casey Bodley [Fri, 23 Aug 2024 14:32:47 +0000 (10:32 -0400)]
Merge pull request #58336 from Svelar/uadk

Compressor: add UADK support

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
10 months agoMerge pull request #59418 from zdover23/wip-doc-2024-08-23-glossary-object-storage
Anthony D'Atri [Fri, 23 Aug 2024 14:11:16 +0000 (10:11 -0400)]
Merge pull request #59418 from zdover23/wip-doc-2024-08-23-glossary-object-storage

doc/glossary: add "object storage"

10 months agoMerge pull request #59086 from phlogistonjohn/jjm-smb-ctdb-clustering
Adam King [Fri, 23 Aug 2024 13:06:33 +0000 (09:06 -0400)]
Merge pull request #59086 from phlogistonjohn/jjm-smb-ctdb-clustering

smb: ctdb clustering

Reviewed-by: Adam King <adking@redhat.com>
10 months agoMerge pull request #59175 from Yonatan-Zaken/fix_boolean_flags_handling_for_ceph_orch...
Adam King [Fri, 23 Aug 2024 12:54:21 +0000 (08:54 -0400)]
Merge pull request #59175 from Yonatan-Zaken/fix_boolean_flags_handling_for_ceph_orch_daemon_add_osd

mgr/orchestrator: fix encrypted flag handling in orch daemon add osd

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
10 months agodoc/glossary: add "object storage" 59418/head
Zac Dover [Fri, 23 Aug 2024 12:36:16 +0000 (22:36 +1000)]
doc/glossary: add "object storage"

Add a (very basic) definition of object storage.

Signed-off-by: Zac Dover <zac.dover@proton.me>
10 months agoMerge PR #56602 into main
Venky Shankar [Fri, 23 Aug 2024 09:21:41 +0000 (14:51 +0530)]
Merge PR #56602 into main

* refs/pull/56602/head:
mds: always make getattr wait for xlock to be released by the previous client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 months agoMerge pull request #44470 from orozery/rbd-external-migrate
Ilya Dryomov [Fri, 23 Aug 2024 08:20:47 +0000 (10:20 +0200)]
Merge pull request #44470 from orozery/rbd-external-migrate

librbd/migration: add external clusters support

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
10 months agoMerge pull request #59393 from anthonyeleven/caps-man-caps
Zac Dover [Thu, 22 Aug 2024 22:08:06 +0000 (08:08 +1000)]
Merge pull request #59393 from anthonyeleven/caps-man-caps

doc/releases: Correct mimic.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
10 months agoMerge pull request #59253 from clwluvw/copy-source-attrs
Casey Bodley [Thu, 22 Aug 2024 18:25:11 +0000 (14:25 -0400)]
Merge pull request #59253 from clwluvw/copy-source-attrs

rgw: load copy source bucket attrs in putobj

Reviewed-by: Casey Bodley <cbodley@redhat.com>
10 months agoMerge pull request #59318 from adk3798/cephadm-osd-original-weight-param
Adam King [Thu, 22 Aug 2024 17:38:23 +0000 (13:38 -0400)]
Merge pull request #59318 from adk3798/cephadm-osd-original-weight-param

mgr/cephadm: add "original_weight" parameter to OSD class

Reviewed-by: John Mulligan <jmulligan@redhat.com>
10 months agoMerge pull request #59204 from tchaikov/wip-ceph-volume-deps
Guillaume Abrioux [Thu, 22 Aug 2024 13:54:53 +0000 (15:54 +0200)]
Merge pull request #59204 from tchaikov/wip-ceph-volume-deps

ceph-volume: add "packaging" to install_requires

10 months agoMerge pull request #58990 from Matan-B/wip-matanb-fmt-draft
Matan Breizman [Thu, 22 Aug 2024 11:53:31 +0000 (14:53 +0300)]
Merge pull request #58990 from Matan-B/wip-matanb-fmt-draft

fmt: bump up version + related changes

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
10 months agoqa/workunits/rbd: exercise snap_{name,id} parsing in test_import_native_format() 44470/head
Ilya Dryomov [Wed, 21 Aug 2024 19:16:30 +0000 (21:16 +0200)]
qa/workunits/rbd: exercise snap_{name,id} parsing in test_import_native_format()

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 months agodoc/rbd: clarify when image_id is expected for import-only migration
Ilya Dryomov [Sat, 17 Aug 2024 08:28:50 +0000 (10:28 +0200)]
doc/rbd: clarify when image_id is expected for import-only migration

"optional if image in trash" can be easily interpreted as "required if
image not in trash".

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 months agolibrbd/migration: add external clusters support
Ilya Dryomov [Fri, 16 Aug 2024 17:09:39 +0000 (19:09 +0200)]
librbd/migration: add external clusters support

This commit extends NativeFormat (aka migration where the migration
source is an RBD image) to support external Ceph clusters, limited to
import-only mode.

Co-authored-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 months agoMerge PR #55144 into main
Venky Shankar [Thu, 22 Aug 2024 09:24:13 +0000 (14:54 +0530)]
Merge PR #55144 into main

* refs/pull/55144/head:
client: fix file cache cap leak which can stall async read call
test/client: test contiguous read for a non-contiguous write

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
10 months agoMerge PR #56816 into main
Venky Shankar [Thu, 22 Aug 2024 09:22:33 +0000 (14:52 +0530)]
Merge PR #56816 into main

* refs/pull/56816/head:
doc: mention the peer status failed when snapshot created on the remote filesystem.
qa: add test_cephfs_mirror_remote_snap_corrupt_fails_synced_snapshot
cephfs_mirror: update peer status for invalid metadata in remote snapshot

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
10 months agoMerge PR #59166 into main
Venky Shankar [Thu, 22 Aug 2024 09:20:51 +0000 (14:50 +0530)]
Merge PR #59166 into main

* refs/pull/59166/head:
mon/thrasher: set stopping

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
10 months agodoc/releases: Correct mimic.rst 59393/head
Anthony D'Atri [Thu, 22 Aug 2024 03:55:34 +0000 (23:55 -0400)]
doc/releases: Correct mimic.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
10 months agoMerge pull request #59348 from zdover23/wip-doc-2024-08-20-rados-ops-cache-tiering
Zac Dover [Wed, 21 Aug 2024 11:26:54 +0000 (21:26 +1000)]
Merge pull request #59348 from zdover23/wip-doc-2024-08-20-rados-ops-cache-tiering

doc/rados: document unfound object cache-tiering scenario

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 months agoMerge pull request #59362 from gbregman/main
Gil Bregman [Wed, 21 Aug 2024 05:46:29 +0000 (08:46 +0300)]
Merge pull request #59362 from gbregman/main

mgr/cephadm: change SPDK RPC fields in nvmeof configuration

10 months agoMerge pull request #59323 from yuvalif/wip-yuval-67514
Yuval Lifshitz [Wed, 21 Aug 2024 05:09:34 +0000 (08:09 +0300)]
Merge pull request #59323 from yuvalif/wip-yuval-67514

test/rgw/notifications: don't check for full queue if topics expired

Reviewed-By: Casey Bodley <cbodley@ibm.com>
10 months agoMerge pull request #54984 from NitzanMordhai/wip-nitzan-restful-un-boundary-keep...
NitzanMordhai [Tue, 20 Aug 2024 16:16:25 +0000 (19:16 +0300)]
Merge pull request #54984 from NitzanMordhai/wip-nitzan-restful-un-boundary-keep-requests

mgr/rest: Trim  requests array and limit size

10 months agodoc: add clustering related items to smb docs 59086/head
John Mulligan [Wed, 14 Aug 2024 18:19:17 +0000 (14:19 -0400)]
doc: add clustering related items to smb docs

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
10 months agoqa/suites/orch: add a pair of teuthology tests for ctdb smb clusters
John Mulligan [Sat, 10 Aug 2024 18:42:16 +0000 (14:42 -0400)]
qa/suites/orch: add a pair of teuthology tests for ctdb smb clusters

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
10 months agoqa/suites/orch: old smb tests need placement count 1 to avoid using clustering
John Mulligan [Sat, 10 Aug 2024 16:49:24 +0000 (12:49 -0400)]
qa/suites/orch: old smb tests need placement count 1 to avoid using clustering

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
10 months agomgr/cephadm: enable the smb service to prevent stray ctdb services
John Mulligan [Mon, 12 Aug 2024 14:56:51 +0000 (10:56 -0400)]
mgr/cephadm: enable the smb service to prevent stray ctdb services

Tell cephadm that any `ctdb` services are "owned" by the smb service
and should be ignored as not a stray.
Ideally, we do this on a per service basis but the info that the ctdb
lock helper provides to its registration function is pretty generic.
Future versions of samba may improve upon this.

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
10 months agomgr/cephadm: extend stray service detection with a general ignore hook
John Mulligan [Mon, 12 Aug 2024 14:56:36 +0000 (10:56 -0400)]
mgr/cephadm: extend stray service detection with a general ignore hook

Extend the system's current stray service detection with a new method on
the service classes so that new classes can hook into the stray services
in the case that ceph services and cephadm services have differing names
or use subsystems that call into ceph with different names (my use
case).

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
10 months agomgr/cephadm: move logic determining name in stray func
John Mulligan [Mon, 12 Aug 2024 13:52:20 +0000 (09:52 -0400)]
mgr/cephadm: move logic determining name in stray func

Encapsulate the logic determining the name of a stray service into a
method reducing the length and levels of indent in the stray checker
function.

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
10 months agomgr/smb: enable clustering when setting up a cluster
John Mulligan [Mon, 15 Jul 2024 19:41:56 +0000 (15:41 -0400)]
mgr/smb: enable clustering when setting up a cluster

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agomgr/smb: add a cluster resource field to manage clustering
John Mulligan [Mon, 15 Jul 2024 19:41:43 +0000 (15:41 -0400)]
mgr/smb: add a cluster resource field to manage clustering

Add a new `clustering` field to the smb cluster resource. This field can
be used to select either automatic clustering with ctdb, or disable it,
or require it. The default is automatic and is based on the count value
in the placement spec. A count of 1 disables clustering and any other
value it is enabled.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agomgr/cephadm: configure ctdb cluster metadata from cephadm smb service
John Mulligan [Thu, 15 Aug 2024 20:40:47 +0000 (16:40 -0400)]
mgr/cephadm: configure ctdb cluster metadata from cephadm smb service

Add support to the smb service module so that cephadm will provide
information about the layout of the smb daemons to the clustermeta
module that, in turn, will provide the information sambacc needs to
configure ctdb.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agomgr/smb: add a python module to help manage the ctdb cluster
John Mulligan [Mon, 15 Jul 2024 19:39:19 +0000 (15:39 -0400)]
mgr/smb: add a python module to help manage the ctdb cluster

Add a new module clustermeta that implements a JSON based interface
compatible with sambacc. This module will be called directly by cephadm
as it places the daemons on the cluster nodes.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agomgr/smb: add function to parse rados psuedo-uri values
John Mulligan [Mon, 15 Jul 2024 19:22:43 +0000 (15:22 -0400)]
mgr/smb: add function to parse rados psuedo-uri values

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agomgr/smb: add support for rados locks to rados store
John Mulligan [Mon, 15 Jul 2024 19:22:22 +0000 (15:22 -0400)]
mgr/smb: add support for rados locks to rados store

Add support for using rados object locks to the rados store classes.
Callers directly using the rados store outside the store interface will
be able to make use of locking.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agomgr/cephadm: improve key management of smb service
John Mulligan [Mon, 15 Jul 2024 19:38:12 +0000 (15:38 -0400)]
mgr/cephadm: improve key management of smb service

The clustered mode of a logical smb cluster needs certain additional
capabilities in the rados pool. Improve, reorganize the key
configuration functions, and add the new caps.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agopython-common: add clustering related params to SMBSpec
John Mulligan [Mon, 15 Jul 2024 19:16:56 +0000 (15:16 -0400)]
python-common: add clustering related params to SMBSpec

Add parameters related to ctdb clustering to the smb service
deployment spec.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agocephadm: add ctdb support to smb daemon type
John Mulligan [Mon, 15 Jul 2024 19:16:04 +0000 (15:16 -0400)]
cephadm: add ctdb support to smb daemon type

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agocephadm: allow longer subcomponent names
John Mulligan [Mon, 15 Jul 2024 19:14:37 +0000 (15:14 -0400)]
cephadm: allow longer subcomponent names

Allow subcomponent names up to 32 chars long.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agocephadm: add a new context getter for rank
John Mulligan [Mon, 15 Jul 2024 19:14:13 +0000 (15:14 -0400)]
cephadm: add a new context getter for rank

Add a new context getter function to fetch a daemon's rank and rank
generation value.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 months agomgr/cephadm: change SPDK RPC fields in nvmeof configuration 59362/head
Gil Bregman [Tue, 20 Aug 2024 13:29:57 +0000 (16:29 +0300)]
mgr/cephadm: change SPDK RPC fields in nvmeof configuration
Fixes https://tracker.ceph.com/issues/67629

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
10 months agopython-common/ceph/deployment: change SPDK RPC fields in nvmeof configuration
Gil Bregman [Tue, 20 Aug 2024 13:28:12 +0000 (16:28 +0300)]
python-common/ceph/deployment: change SPDK RPC fields in nvmeof configuration
Fixes https://tracker.ceph.com/issues/67629

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
10 months agodoc/rados: document unfound object cache-tiering scenario 59348/head
Zac Dover [Tue, 20 Aug 2024 12:45:29 +0000 (22:45 +1000)]
doc/rados: document unfound object cache-tiering scenario

Explain how to deal with "unfound objects" when restarting OSDs in a
cache-tiered environment.

Fixes: https://tracker.ceph.com/issues/44286
Signed-off-by: Zac Dover <zac.dover@proton.me>
10 months agoMerge pull request #58460 from rkachach/fix_issue_oauth2_support
Adam King [Tue, 20 Aug 2024 12:35:44 +0000 (08:35 -0400)]
Merge pull request #58460 from rkachach/fix_issue_oauth2_support

adding support for SSO based on auth2-proxy

Reviewed-by: Adam King <adking@redhat.com>
10 months agoMerge pull request #58860 from adk3798/cephadm-nvmeof-require-group
Adam King [Tue, 20 Aug 2024 12:20:02 +0000 (08:20 -0400)]
Merge pull request #58860 from adk3798/cephadm-nvmeof-require-group

mgr/cephadm: require "group" parameter in nvmeof specs

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
10 months agoMerge pull request #59165 from NitzanMordhai/wip-nitzan-test-rados-tools-newline...
NitzanMordhai [Tue, 20 Aug 2024 12:07:21 +0000 (15:07 +0300)]
Merge pull request #59165 from NitzanMordhai/wip-nitzan-test-rados-tools-newline-trim

test: test_rados_tools compare output without trimming newline

10 months agodoc/mgr/restful: update max_request config 54984/head
nmordech@redhat.com [Wed, 21 Feb 2024 10:01:25 +0000 (10:01 +0000)]
doc/mgr/restful: update max_request config

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
10 months agoPendingReleaseNotes: Adding note about rest module change and adding max_request...
nmordech@redhat.com [Wed, 21 Feb 2024 09:21:25 +0000 (09:21 +0000)]
PendingReleaseNotes: Adding note about rest module change and adding max_request option

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
10 months agomgr/rest: Trim request array and limit size
NitzanMordhai [Tue, 28 Nov 2023 09:52:05 +0000 (09:52 +0000)]
mgr/rest: Trim request array and limit size

Presently, the requests array in the REST module has the potential to grow
indefinitely, leading to excessive memory consumption, particularly when
dealing with lengthy and intricate request results.

To address this issue, a limit will be imposed on the requests array within
the REST module.
This limitation will be governed by the `mgr/restful/x/max_requests` configuration
parameter specific to the REST module.
when submit_request called we will check request array if exceed max_request option
if it does we will check if the future trimmed request finished and log error
message in case we are trimming un-finished requests.

Fixes: https://tracker.ceph.com/issues/59580
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
10 months agoMerge pull request #59153 from ajarr/wip-67436
Ilya Dryomov [Tue, 20 Aug 2024 10:19:23 +0000 (12:19 +0200)]
Merge pull request #59153 from ajarr/wip-67436

rbd: fix CLI output of `rbd group snap info` command when a group snapshot with no member images

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sunil Angadi <Sunil.Angadi@ibm.com>
10 months agoMerge pull request #59292 from cyx1231st/wip-seastore-revert-decouple-ool-writes
Yingxin [Tue, 20 Aug 2024 08:30:57 +0000 (16:30 +0800)]
Merge pull request #59292 from cyx1231st/wip-seastore-revert-decouple-ool-writes

Revert "crimson/os/seastore: wait ool writes in DeviceSubmission phase"

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
10 months agoMerge pull request #59241 from tobias-urdin/openstack-upperconstraints
Casey Bodley [Mon, 19 Aug 2024 17:10:57 +0000 (13:10 -0400)]
Merge pull request #59241 from tobias-urdin/openstack-upperconstraints

qa: barbican: restrict python packages with upper-constraints

Reviewed-by: Casey Bodley <cbodley@redhat.com>
10 months agotest/rgw/notifications: don't check for full queue if topics expired 59323/head
Yuval Lifshitz [Mon, 19 Aug 2024 16:48:29 +0000 (16:48 +0000)]
test/rgw/notifications: don't check for full queue if topics expired

there are other tests for queue length, so we can skip this check
if test takes too long.
also remove unnecessary delays from the test.

Fixes: https://tracker.ceph.com/issues/67514?tab=history
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
10 months agomgr/cephadm: add "original_weight" parameter to OSD class 59318/head
Adam King [Mon, 19 Aug 2024 16:30:24 +0000 (12:30 -0400)]
mgr/cephadm: add "original_weight" parameter to OSD class

Fixes: https://tracker.ceph.com/issues/67329
Signed-off-by: Adam King <adking@redhat.com>
11 months agoMerge pull request #58961 from NitzanMordhai/wip-nitzan-dencoder-test-forward-incompa...
Yuri Weinstein [Mon, 19 Aug 2024 14:25:47 +0000 (07:25 -0700)]
Merge pull request #58961 from NitzanMordhai/wip-nitzan-dencoder-test-forward-incompat-fix

workunit/dencoder: dencoder test forward incompat fix

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58594 from jamiepryde/isa-xor-raid
Yuri Weinstein [Mon, 19 Aug 2024 14:24:56 +0000 (07:24 -0700)]
Merge pull request #58594 from jamiepryde/isa-xor-raid

erasure-code/isa: Use isa/raid's xor_gen() instead of the region_xor(…

Reviewed-by: Mark Nelson <mnelson@redhat.com>
11 months agoqa: barbican: restrict python packages with upper-constraints 59241/head
Tobias Urdin [Thu, 15 Aug 2024 15:17:14 +0000 (17:17 +0200)]
qa: barbican: restrict python packages with upper-constraints

We install barbican by doing a pip install directly on the
cloned git repository but we don't honor the upper-constraints
from the OpenStack Requirements project that handles what
versions is supported.

This changes the pip install command that we issue when
installing barbican to honor the requirements for the
version (derived from the branch) that we use, in
this case it's the 2023.1 release upper-constraints [1].

This prevents us from pulling in untested Python packages.

This only updates Barbican because for the Keystone job
we dont directly issue pip but install using tox using the
`venv` environment which already by default sets the
constraints as you can see in [2].

[1] https://releases.openstack.org/constraints/upper/2023.1
[2] https://github.com/openstack/keystone/blob/stable/2023.1/tox.ini#L12

Fixes: https://tracker.ceph.com/issues/67444
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
11 months agoMerge pull request #59239 from yuvalif/wip-yuval-67513
Yuval Lifshitz [Mon, 19 Aug 2024 10:37:07 +0000 (13:37 +0300)]
Merge pull request #59239 from yuvalif/wip-yuval-67513

Reviewed-By: Casey Bodley <cbodley@ibm.com>
test/rgw/notification: use real ip address instead of localhost

based on that comment:
https://tracker.ceph.com/issues/67206#note-6
the address used by the endpoint is taken as the real IP address of the
host where the test script is running and not localhost.

we also changed the rabbitmq-server conf to allow "guest"
user to connect over non localhost address

Fixes: https://tracker.ceph.com/issues/67206
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
11 months agoMerge pull request #59200 from ifed01/wip-ifed-fix-store-test-col-ref
Igor Fedotov [Mon, 19 Aug 2024 09:47:40 +0000 (12:47 +0300)]
Merge pull request #59200 from ifed01/wip-ifed-fix-store-test-col-ref

test/store_test: fix assertions due to unclosed collection refs.

Reviewd-by: Pere Diaz Bou <pere-altea@hotmail.com>
11 months agoMerge pull request #59256 from zdover23/wip-doc-2024-08-17-cephfs-ceph-dokan-mount...
Zac Dover [Mon, 19 Aug 2024 07:21:51 +0000 (17:21 +1000)]
Merge pull request #59256 from zdover23/wip-doc-2024-08-17-cephfs-ceph-dokan-mount-point

doc/cephfs: s/mountpoint/mount point/

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
11 months agoMerge pull request #58995 from rhcs-dashboard/fix-66844-main
Nizamudeen A [Mon, 19 Aug 2024 05:49:52 +0000 (11:19 +0530)]
Merge pull request #58995 from rhcs-dashboard/fix-66844-main

qa/mgr/dashboard: fix test race condition

Reviewed-by: Nizamudeen A <nia@redhat.com>
11 months agoMerge pull request #59212 from cyx1231st/wip-seastore-more-reports
Yingxin [Mon, 19 Aug 2024 02:18:32 +0000 (10:18 +0800)]
Merge pull request #59212 from cyx1231st/wip-seastore-more-reports

crimson/os/seastore/cache: report lru usage/in/out with trans and extent type

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agoRevert "crimson/os/seastore: wait ool writes in DeviceSubmission phase" 59292/head
Yingxin Cheng [Mon, 19 Aug 2024 01:48:28 +0000 (09:48 +0800)]
Revert "crimson/os/seastore: wait ool writes in DeviceSubmission phase"

This reverts commit c9e423facea79d42f0496264f267adee5d911b87.

The commit starts to submit OOL writes before submitting the journal
write, true, but it cannot guarantee that OOL writes finish before the
journal write.

Thus it is possible that during SeaStore restart, a journal record
appears valid but its dependent OOL records are partial written, which
leads to corruption.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agolibrbd/migration: move away from util::create_ioctx() in NativeFormat
Ilya Dryomov [Mon, 5 Aug 2024 15:52:10 +0000 (17:52 +0200)]
librbd/migration: move away from util::create_ioctx() in NativeFormat

This is another step towards supporting migration from external
clusters, where creating an IoCtx from a Rados instance that has
nothing to do with dst_io_ctx would be needed.  It also allows to
get rid of a pool lookup in the middle of parsing code.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agocommon/config: export CEPH_CONF_FILE_DEFAULT
Ilya Dryomov [Fri, 16 Aug 2024 12:12:38 +0000 (14:12 +0200)]
common/config: export CEPH_CONF_FILE_DEFAULT

It used to be exported until commit 318c62f8ae16 ("common/config:
cleanup remove some unused macros").  Having CEPH_CONF_FILE_DEFAULT
avaialable is handy to prevent parse_config_files() from picking up
CEPH_CONF environment variable.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agolibrbd: RefreshParentRequest::m_parent_snap_id is unused
Ilya Dryomov [Wed, 14 Aug 2024 16:36:57 +0000 (18:36 +0200)]
librbd: RefreshParentRequest::m_parent_snap_id is unused

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agolibrbd: assert on parent in ImageCtx destructor
Ilya Dryomov [Wed, 14 Aug 2024 17:42:09 +0000 (19:42 +0200)]
librbd: assert on parent in ImageCtx destructor

... and switch to in-class initializers while at it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoqa/tasks/qemu: remove hard-coding of cluster name
Or Ozeri [Mon, 6 Nov 2023 11:56:27 +0000 (13:56 +0200)]
qa/tasks/qemu: remove hard-coding of cluster name

This commit allows running the qemu task on an arbitrary cluster name.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoqa/tasks/rbd: support non-default ceph clusters
Or Ozeri [Wed, 15 Nov 2023 09:47:54 +0000 (11:47 +0200)]
qa/tasks/rbd: support non-default ceph clusters

This commit allows running the rbd task on an arbitrary cluster name.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agolibrbd/migration: don't clone when flattening
Or Ozeri [Tue, 31 Jan 2023 11:08:22 +0000 (13:08 +0200)]
librbd/migration: don't clone when flattening

When the flatten flag is set, instead of creating the
destination image by cloning, create it independently,
as the parent relation is unnecessary in this case.
This will be particularly useful when the migration source
is located in an external Ceph cluster, which will soon be
supported.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #59290 from anthonyeleven/mountpoint
Anthony D'Atri [Sun, 18 Aug 2024 15:43:00 +0000 (08:43 -0700)]
Merge pull request #59290 from anthonyeleven/mountpoint

doc: Harmonize 'mountpoint'

11 months agodoc: Harmonize 'mountpoint' 59290/head
Anthony D'Atri [Sun, 18 Aug 2024 15:23:39 +0000 (11:23 -0400)]
doc: Harmonize 'mountpoint'

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
11 months agoMerge pull request #59257 from zdover23/wip-doc-2024-08-17-cephfs-mount-point
Zac Dover [Sat, 17 Aug 2024 20:00:23 +0000 (06:00 +1000)]
Merge pull request #59257 from zdover23/wip-doc-2024-08-17-cephfs-mount-point

doc/cephfs: s/mountpoint/mount point/

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agodoc/cephfs: s/mountpoint/mount point/ 59257/head
Zac Dover [Sat, 17 Aug 2024 03:44:30 +0000 (13:44 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486 in
which page 345 of The IBM Style Guide is referenced to back up this
change.

This commit alters only English-language text and example commands in
which the string "{mount point}" is meant to be replaced. No commands
meant for cutting-and-pasting have been altered in this commit.

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agodoc/cephfs: s/mountpoint/mount point/ 59256/head
Zac Dover [Sat, 17 Aug 2024 03:37:58 +0000 (13:37 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486
in which page 345 of The IBM Style Guide is referenced to back up this
change.

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #58355 from batrick/ceph-backport-fetchhead
Venky Shankar [Fri, 16 Aug 2024 16:14:21 +0000 (21:44 +0530)]
Merge pull request #58355 from batrick/ceph-backport-fetchhead

script/ceph-backport: robustness adjustments for local git repo quirks

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agotest/rgw/notification: use real ip address instead of localhost 59239/head
Yuval Lifshitz [Thu, 15 Aug 2024 14:34:57 +0000 (14:34 +0000)]
test/rgw/notification: use real ip address instead of localhost

based on that comment:
https://tracker.ceph.com/issues/67206#note-6
the address used by the endpoint is taken as the real IP address of the
host where the test script is running and not localhost.

we also changed the rabbitmq-server conf to allow "guest"
user to connect over non localhost address

Fixes: https://tracker.ceph.com/issues/67206
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
11 months agorgw: load copy source bucket attrs in putobj 59253/head
Seena Fallah [Fri, 16 Aug 2024 09:40:45 +0000 (11:40 +0200)]
rgw: load copy source bucket attrs in putobj

PutObj is not loading the source bucket's attrs, which prevents
the associated policies from being loaded. As a result, the
permissions granted to the user to read from the source bucket are
not being properly evaluated.

Fixes: https://tracker.ceph.com/issues/67590
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
11 months agoMerge pull request #59167 from zdover23/wip-doc-2024-08-12-cephfs-file-layouts
Zac Dover [Fri, 16 Aug 2024 09:20:01 +0000 (19:20 +1000)]
Merge pull request #59167 from zdover23/wip-doc-2024-08-12-cephfs-file-layouts

doc/cephfs: improve "layout fields" text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge PR #58896 into main
Venky Shankar [Fri, 16 Aug 2024 06:03:26 +0000 (11:33 +0530)]
Merge PR #58896 into main

* refs/pull/58896/head:
client: flush the caps release in filesystem sync

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
11 months agoMerge pull request #59205 from xxhdx1985126/wip-seastore-find-pending-version
Yingxin [Fri, 16 Aug 2024 05:48:27 +0000 (13:48 +0800)]
Merge pull request #59205 from xxhdx1985126/wip-seastore-find-pending-version

crimson/os/seastore/btree: fix minor corner case issue

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoclient: flush the caps release in filesystem sync 58896/head
Xiubo Li [Mon, 29 Jul 2024 06:20:41 +0000 (14:20 +0800)]
client: flush the caps release in filesystem sync

We have hit a race between cap releases and cap revoke request
that will cause the check_caps() to miss sending a cap revoke ack
to MDS. And the client will depend on the cap release to release
that revoking caps, which could be delayed for some unknown reasons.

In Kclient we have figured out the RCA about race and we need
a way to explictly trigger this manually could help to get rid
of the caps revoke stuck issue.

Fixes: https://tracker.ceph.com/issues/67221
Signed-off-by: Xiubo Li <xiubli@redhat.com>
11 months agoMerge pull request #58415 from ljflores/wip-tracker-66809
Laura Flores [Thu, 15 Aug 2024 19:02:36 +0000 (14:02 -0500)]
Merge pull request #58415 from ljflores/wip-tracker-66809

qa/suites/upgrade: ignore PG_AVAILABILITY and MON_DOWN for quincy-x and reef-x upgrade suites

11 months agoMerge pull request #59220 from ivoalmeida/carbon-datatable-cleanups
Ivo Almeida [Thu, 15 Aug 2024 17:07:47 +0000 (18:07 +0100)]
Merge pull request #59220 from ivoalmeida/carbon-datatable-cleanups

mgr/dashboard: carbon datatables impr and cleanups

Reviewed-by: Nizamudeen A <nia@redhat.com>
11 months agoMerge pull request #59218 from yuvalif/wip-yuval-67525
J. Eric Ivancich [Thu, 15 Aug 2024 14:22:09 +0000 (10:22 -0400)]
Merge pull request #59218 from yuvalif/wip-yuval-67525

rgw/notifications: fixing radosgw-admin notification json

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #59118 from xxhdx1985126/wip-crimson-backfill-cancellation
Matan Breizman [Thu, 15 Aug 2024 11:02:38 +0000 (14:02 +0300)]
Merge pull request #59118 from xxhdx1985126/wip-crimson-backfill-cancellation

crimson/osd/backfill_state: support backfill cancellation

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agocrimson/osd/backfill_state: support backfilling cancellation 59118/head
Xuehan Xu [Sat, 10 Aug 2024 06:22:09 +0000 (14:22 +0800)]
crimson/osd/backfill_state: support backfilling cancellation

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agocrimson/osd/pg_recovery: reset backfill_state when backfill finished
Xuehan Xu [Sat, 10 Aug 2024 06:22:52 +0000 (14:22 +0800)]
crimson/osd/pg_recovery: reset backfill_state when backfill finished

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agoMerge pull request #57966 from xxhdx1985126/wip-crimson-concurrent-recover-missing
Matan Breizman [Thu, 15 Aug 2024 08:09:23 +0000 (11:09 +0300)]
Merge pull request #57966 from xxhdx1985126/wip-crimson-concurrent-recover-missing

crimson/osd/osd_operations: make the "recover_missing" phase concurrent

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #53151 from xxhdx1985126/wip-crimson-backfill-fixes
Matan Breizman [Thu, 15 Aug 2024 08:08:25 +0000 (11:08 +0300)]
Merge pull request #53151 from xxhdx1985126/wip-crimson-backfill-fixes

crimson/osd/backfill_state: fixes two corner cases in backfilling

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
11 months agoMerge pull request #58911 from yuvalif/wip-yuval-67229
Yuval Lifshitz [Thu, 15 Aug 2024 08:00:20 +0000 (11:00 +0300)]
Merge pull request #58911 from yuvalif/wip-yuval-67229

test/cls_2pc_queue: prevent list+remove race between consumers

Reviewed-By: Casey Bodley <cbodley@ibm.com>
11 months agoMerge pull request #59219 from yuvalif/wip-yuval-50610
Yuval Lifshitz [Thu, 15 Aug 2024 07:58:50 +0000 (10:58 +0300)]
Merge pull request #59219 from yuvalif/wip-yuval-50610

doc/rgw/notification: persistent notification queue full behavior

Reviewed-By: Anthony D'Atri <anthony.datri@gmail.com>
11 months agocrimson/os/seastore/cache: report lru usage/in/out with trans and extent type 59212/head
Yingxin Cheng [Wed, 14 Aug 2024 05:22:10 +0000 (13:22 +0800)]
crimson/os/seastore/cache: report lru usage/in/out with trans and extent type

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore: cleanup periodical reporting
Yingxin Cheng [Wed, 14 Aug 2024 05:20:30 +0000 (13:20 +0800)]
crimson/os/seastore: cleanup periodical reporting

Consolidate time into a single place per SeaStore::Shard.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/cache/lru: renames
Yingxin Cheng [Fri, 9 Aug 2024 08:55:41 +0000 (16:55 +0800)]
crimson/os/seastore/cache/lru: renames

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/cache: refine lru logics
Yingxin Cheng [Fri, 9 Aug 2024 08:13:48 +0000 (16:13 +0800)]
crimson/os/seastore/cache: refine lru logics

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore: move counter_by_extent_t definition
Yingxin Cheng [Fri, 9 Aug 2024 08:01:39 +0000 (16:01 +0800)]
crimson/os/seastore: move counter_by_extent_t definition

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/seastore_types: unify checks to the extent types
Yingxin Cheng [Fri, 9 Aug 2024 06:08:38 +0000 (14:08 +0800)]
crimson/os/seastore/seastore_types: unify checks to the extent types

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>