]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 months agodoc/rbd: add namespace information for mirror commands 60269/head
N Balachandran [Thu, 29 Aug 2024 09:04:44 +0000 (14:34 +0530)]
doc/rbd: add namespace information for mirror commands

Updates the rbd man page to clarify  that some mirror commands
can apply to pools and namespaces.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 5e64748927d029ceffc27edbc6cbf7c774a7b291)

9 months agoMerge pull request #60232 from aaSharma14/wip-68480-squid
Aashish Sharma [Fri, 11 Oct 2024 05:19:28 +0000 (10:49 +0530)]
Merge pull request #60232 from aaSharma14/wip-68480-squid

squid: mgr/dashboard: show non default realm sync status in rgw overview page

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #60231 from aaSharma14/wip-68479-squid
afreen23 [Thu, 10 Oct 2024 20:27:31 +0000 (01:57 +0530)]
Merge pull request #60231 from aaSharma14/wip-68479-squid

squid: mgr/dashboard: fix gateways section error:”404 - Not Found RGW Daemon not found: None”

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #60233 from zdover23/wip-doc-2024-10-10-backport-60204-to-squid
Anthony D'Atri [Thu, 10 Oct 2024 12:44:35 +0000 (08:44 -0400)]
Merge pull request #60233 from zdover23/wip-doc-2024-10-10-backport-60204-to-squid

squid: doc: fix email

9 months agoMerge pull request #60133 from liangmingyuanneo/wip-55592-and-57630-squid
Casey Bodley [Thu, 10 Oct 2024 12:25:11 +0000 (08:25 -0400)]
Merge pull request #60133 from liangmingyuanneo/wip-55592-and-57630-squid

squid: rgw: switch back to boost::asio for spawn() and yield_context

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 months agodoc: fix email 60233/head
Ernesto Puerta [Wed, 9 Oct 2024 06:12:42 +0000 (08:12 +0200)]
doc: fix email

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
(cherry picked from commit 512eea1af52126e9b082744ee7b870c12c23d55d)

9 months agoMerge pull request #59900 from rhcs-dashboard/wip-68163-squid
Nizamudeen A [Thu, 10 Oct 2024 06:47:18 +0000 (12:17 +0530)]
Merge pull request #59900 from rhcs-dashboard/wip-68163-squid

Squid: mgr/dashboard: NFS Export form fixes

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agomgr/dashboard: show non default realm sync status in rgw overview page 60232/head
Aashish Sharma [Wed, 25 Sep 2024 12:39:32 +0000 (18:09 +0530)]
mgr/dashboard: show non default realm sync status in rgw overview page

Currently, we just show the sync status of the default realm in rgw
overview page. This PR is to show the sync status of non-default realms
as well. Multisite sync status can be viewed for any of the active daemon
which runs in default/non-default realm.

Fixes: https://tracker.ceph.com/issues/68329
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit ea53aceb8d72187f7f8629aa6d3b66c7cca88a86)

9 months agomgr/dashboard: fix gateways section error:”404 - Not Found RGW Daemon not found:... 60231/head
Aashish Sharma [Thu, 3 Oct 2024 08:28:14 +0000 (13:58 +0530)]
mgr/dashboard: fix gateways section error:”404 - Not Found RGW Daemon not found: None”

A case was missed here where we do have a default realm created but no default_zonegorup, in that case, the existing behavior should prevail and that's not being handled. If a default_realm is created but no default_zonegroup is there, weshould continue getting the keys from daemon_name = next(iter(daemon_keys))

Fixes: https://tracker.ceph.com/issues/68376
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 8dd9e9dad6a5ad9b427d73c4547286fe46b67d46)

9 months agoMerge pull request #60154 from rhcs-dashboard/wip-68313-squid
afreen23 [Wed, 9 Oct 2024 13:54:44 +0000 (19:24 +0530)]
Merge pull request #60154 from rhcs-dashboard/wip-68313-squid

squid: mgr/dashboard: fix doc links in rgw-multisite

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agomgr/dashboard: NFS Export form fixes 59900/head
Dnyaneshwari [Wed, 7 Aug 2024 07:26:10 +0000 (12:56 +0530)]
mgr/dashboard: NFS Export form fixes
Fixes: https://tracker.ceph.com/issues/67400
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit 28d2fa30c25cb9d089e93921ef3be022c98ac35e)

9 months agomgr/dashboard: fix doc links in rgw-multisite 60154/head
Pedro Gonzalez Gomez [Fri, 27 Sep 2024 13:59:15 +0000 (15:59 +0200)]
mgr/dashboard: fix doc links in rgw-multisite

Conflicts:
- mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zonegroup-form/rgw-multisite-zonegroup-form.component.html
- mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.html

Fixes: https://tracker.ceph.com/issues/68295
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit ad471f553d305c8cf7bdacecd3eccc01519ec0f7)

9 months agoMerge pull request #60139 from zdover23/wip-doc-2024-10-06-backport-60115-to-squid
Anthony D'Atri [Sun, 6 Oct 2024 14:17:16 +0000 (10:17 -0400)]
Merge pull request #60139 from zdover23/wip-doc-2024-10-06-backport-60115-to-squid

squid: doc/governance: add exec council responsibilites

9 months agodoc/governance: add exec council responsibilites 60139/head
Zac Dover [Fri, 4 Oct 2024 13:21:32 +0000 (23:21 +1000)]
doc/governance: add exec council responsibilites

Add the Ceph Executive Council's responsibilties to the
doc/governance.rst document. It was decided during the weekly CLT
meeting on 30 Sep 2024 to add this to the ceph/ceph git repository.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 31a5d5f2f97b8fb6a0cd560fe510dbb95f637f3b)

9 months agoMerge pull request #60134 from zdover23/wip-doc-2024-10-05-backport-60116-to-squid
Anthony D'Atri [Sat, 5 Oct 2024 15:41:52 +0000 (11:41 -0400)]
Merge pull request #60134 from zdover23/wip-doc-2024-10-05-backport-60116-to-squid

squid: doc/governance: add Zac Dover's updated email

9 months agodoc/governance: add Zac Dover's updated email 60134/head
Zac Dover [Fri, 4 Oct 2024 13:25:30 +0000 (23:25 +1000)]
doc/governance: add Zac Dover's updated email

Update Zac Dover's email address.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 322c1a792062a72e958a9cfbd6a24a3e7333908d)

9 months agorgw/pubsub: Waiter unlocks before suspend 60133/head
Casey Bodley [Wed, 22 May 2024 12:24:26 +0000 (08:24 -0400)]
rgw/pubsub: Waiter unlocks before suspend

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 629ad4562bdfce798090788236e6aa0b25476e9d)

9 months agospawn: remove spawn submodule
Casey Bodley [Thu, 15 Feb 2024 04:20:43 +0000 (23:20 -0500)]
spawn: remove spawn submodule

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 79a64599c339c82c7abbb29509cb2abbd1422426)

9 months agorgw: switch back to boost::asio for spawn() and yield_context
Casey Bodley [Thu, 15 Feb 2024 03:53:47 +0000 (22:53 -0500)]
rgw: switch back to boost::asio for spawn() and yield_context

a fork of boost::asio::spawn() was introduced in 2020 with spawn::spawn() from #31580. this fork enabled rgw to customize how the coroutine stacks are allocated in order to avoid stack overflows in frontend request coroutines. this customization was based on a StackAllocator concept from the boost::context library

in boost 1.80, that same StackAllocator overload was added to boost::asio::spawn(), along with other improvements like per-op cancellation. now that boost has everything we need, switch back and drop the spawn submodule

this required switching a lot of async functions from async_completion<> to async_initiate<>. similar changes were necessary to enable the c++20 coroutine token boost::asio::use_awaitable

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 9dd892e289b32a90b24d55ab8e1b7d7601af21ca)

9 months agorgw/aio: YieldingAioThrottle::async_wait() uses async_initiate
Casey Bodley [Thu, 15 Feb 2024 03:51:25 +0000 (22:51 -0500)]
rgw/aio: YieldingAioThrottle::async_wait() uses async_initiate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 911735290919e84429984b4342dd17bb445187a1)

9 months agorgw/dmclock: async_request() uses async_initiate
Casey Bodley [Thu, 15 Feb 2024 03:50:40 +0000 (22:50 -0500)]
rgw/dmclock: async_request() uses async_initiate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d478d66bf38f1e9edf10fd364bbdec0b39923626)

9 months agorgw/d3n: async_read() uses async_initiate
Casey Bodley [Thu, 15 Feb 2024 03:49:14 +0000 (22:49 -0500)]
rgw/d3n: async_read() uses async_initiate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0651e434893a7253a94f625976939c0ff43295f7)

9 months agorgw/http: async_wait() uses async_initiate
Casey Bodley [Thu, 15 Feb 2024 03:42:56 +0000 (22:42 -0500)]
rgw/http: async_wait() uses async_initiate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit c21bdb974dadf1496557e7cb21181c5e8c83ec01)

9 months agorgw/pubsub: Waiter uses async_initiate
Casey Bodley [Thu, 15 Feb 2024 03:42:10 +0000 (22:42 -0500)]
rgw/pubsub: Waiter uses async_initiate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3618271b30b6b48de98c37cdc51de9b7475ed8a0)

9 months agolibrados/asio: functions use async_initiate
Casey Bodley [Thu, 15 Feb 2024 03:36:46 +0000 (22:36 -0500)]
librados/asio: functions use async_initiate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 675df440fc2f9a64228db74ce1004bc393f09e86)

9 months agocommon/async: SharedMutex uses async_initiate
Casey Bodley [Thu, 15 Feb 2024 02:18:13 +0000 (21:18 -0500)]
common/async: SharedMutex uses async_initiate

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit c2ec0c0eb6922b5aed12198d23e103eda631b125)

9 months agocrypto/qat: use async_initiate and any_completion_handler
Casey Bodley [Thu, 15 Feb 2024 02:03:13 +0000 (21:03 -0500)]
crypto/qat: use async_initiate and any_completion_handler

the qat async initiator functions were based on async_completion<> and
its completion_handler member, but the updated boost::asio::yield_context
doesn't provide a completion_handler. switch to the updated
async_initate() method which does work with boost::asio::yield_context

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 91b629b266641aafe9975ee9f4240f6563f98c19)

9 months agocommon/async: context_pool satisfies ExecutionContext
Casey Bodley [Fri, 19 Apr 2024 19:31:31 +0000 (15:31 -0400)]
common/async: context_pool satisfies ExecutionContext

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit c428bc16541cc676b1607f28d1d137e20e56c896)

9 months agoMerge pull request #60075 from kshtsk/wip-68348-squid
kyr [Fri, 4 Oct 2024 14:49:10 +0000 (16:49 +0200)]
Merge pull request #60075 from kshtsk/wip-68348-squid

squid: ceph.spec.in: we need jsonnet for all distroes for make check

9 months agoMerge pull request #60089 from idryomov/wip-68213-squid
Ilya Dryomov [Fri, 4 Oct 2024 07:17:35 +0000 (09:17 +0200)]
Merge pull request #60089 from idryomov/wip-68213-squid

squid: qa/suites/rbd/iscsi: enable all supported container hosts

Reviewed-by: N Balachandran <nibalach@redhat.com>
9 months agoMerge pull request #58267 from amathuria/wip-66695-squid
Yuri Weinstein [Thu, 3 Oct 2024 16:21:56 +0000 (09:21 -0700)]
Merge pull request #58267 from amathuria/wip-66695-squid

squid: suites: adding ignore list for stray daemon

Reviewed-by: Adam King adking@redhat.com
9 months agosuites: adding ignore list for stray daemon 58267/head
Nitzan Mordechai [Wed, 19 Jun 2024 05:59:39 +0000 (05:59 +0000)]
suites: adding ignore list for stray daemon

Few tests that deploying osds that causing the test fail
beacuse of warning during the period time that the osds
restart. adding to ignore list.

Fixes: https://tracker.ceph.com/issues/64872
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit 3c7ffde71fe14cab578cd9719fc8f1545c0815ca)

9 months agoMerge pull request #59863 from guits/wip-68080-squid
Adam King [Wed, 2 Oct 2024 12:56:00 +0000 (08:56 -0400)]
Merge pull request #59863 from guits/wip-68080-squid

squid: orch: refactor boolean handling in drive group spec

Reviewed-by: Adam King <adking@redhat.com>
9 months agoMerge pull request #59968 from guits/wip-68220-squid
Guillaume Abrioux [Wed, 2 Oct 2024 12:53:00 +0000 (14:53 +0200)]
Merge pull request #59968 from guits/wip-68220-squid

squid: ceph-volume: add call to `ceph-bluestore-tool zap-device`

9 months agoMerge pull request #59953 from guits/wip-68192-squid
Guillaume Abrioux [Wed, 2 Oct 2024 12:51:57 +0000 (14:51 +0200)]
Merge pull request #59953 from guits/wip-68192-squid

squid: ceph-volume: fix OSD lvm/tpm2 activation

9 months agoMerge pull request #60021 from guits/wip-68191-squid
Guillaume Abrioux [Wed, 2 Oct 2024 12:50:27 +0000 (14:50 +0200)]
Merge pull request #60021 from guits/wip-68191-squid

squid: qa: remove all bluestore signatures on devices

9 months agoMerge pull request #60078 from afreen23/wip-68357-squid
Pedro Gonzalez Gomez [Wed, 2 Oct 2024 10:06:52 +0000 (12:06 +0200)]
Merge pull request #60078 from afreen23/wip-68357-squid

squid: mgr/dashboard: Fix adding listener and null issue for groups

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
9 months agoqa/suites/rbd/iscsi: enable all supported container hosts 60089/head
Ilya Dryomov [Tue, 24 Sep 2024 12:06:42 +0000 (14:06 +0200)]
qa/suites/rbd/iscsi: enable all supported container hosts

On Ubuntu open-iscsi and multipath-tools need to be installed instead
of iscsi-initiator-utils and device-mapper-multipath.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 29e122f8754aa56a2b1cdc56ac4f0591828e5269)

9 months agoqa: avoid a non-standard shell construct in rbd/iscsi_client.t
Ilya Dryomov [Thu, 26 Sep 2024 15:36:37 +0000 (17:36 +0200)]
qa: avoid a non-standard shell construct in rbd/iscsi_client.t

dash which is used as /bin/sh on Ubuntu interprets "2&> /dev/null" as
an instruction to launch iscsiadm in the background.  While that is
mostly compensated by the following sleep, stderr isn't redirected to
/dev/null either -- the output gets polluted and the test fails.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit d3f385aaed0b7631f6d69bf1ed88f9570b1d8f50)

9 months agoqa: don't hardcode podman in rbd/gwcli_{create,delete}.t
Ilya Dryomov [Wed, 25 Sep 2024 09:34:34 +0000 (11:34 +0200)]
qa: don't hardcode podman in rbd/gwcli_{create,delete}.t

If podman isn't available (e.g. on Ubuntu), cephadm falls back to
docker.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b66b98e76d424b2881084d97d5da0e3c9ce062be)

9 months agoqa/tasks/ceph_iscsi_client: don't use mpathconf
Ilya Dryomov [Wed, 25 Sep 2024 07:53:35 +0000 (09:53 +0200)]
qa/tasks/ceph_iscsi_client: don't use mpathconf

... since it's not available on Ubuntu.  In this case mpathconf just
sets a couple of default values and defines an empty blacklist section,
so it's easy enough to replicate.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 9022ef19a58155620b3626080ea58b3c60b6fa36)

9 months agoMerge pull request #60084 from zdover23/wip-doc-2024-10-02-backport-59164-to-squid
Anthony D'Atri [Tue, 1 Oct 2024 21:33:16 +0000 (17:33 -0400)]
Merge pull request #60084 from zdover23/wip-doc-2024-10-02-backport-59164-to-squid

squid: doc:update e-mail addresses governance

9 months agodoc:update e-mail addresses governance 60084/head
Tobias Fischer [Mon, 12 Aug 2024 09:30:48 +0000 (11:30 +0200)]
doc:update e-mail addresses governance

with the consent of my colleagues
- Dan van der Ster
- João Eduardo Luis
- Mark Nelson

changed their e-mail addresses to the current one

Signed-off-by: Tobias Fischer <tobias.fischer@clyso.com>
Signed-off-by: Tobias Fischer <138117964+toficly@users.noreply.github.com>
(cherry picked from commit 180378b5adee303fe57ecd4951b0f0ff46afa5e1)

9 months agomgr/dashboard: Allow adding all listeners unders a subsystems 60078/head
Afreen Misbah [Wed, 25 Sep 2024 11:15:10 +0000 (16:45 +0530)]
mgr/dashboard: Allow adding all listeners unders a subsystems

Issue:

- Currently a user cannot add all listeners under a subsystem
- This results into an error: `Failure adding nqn.2001-07.com.ceph:1725013182540 listener at 10.70.44.140:4420: Gateway's host name must match current host (dhcp47-54)`

Reason:

- The gateway address used while creating listener is random now in nvmeof client
- After checking the gateway logs of each node, its is found that no grpc request recieved for adding listener on the respective node rather going to the node that is chosen by default in nvmeof client.
- But nvmeof backend check that current gateway matches the one with sent in request for adding listener (ref: https://github.com/ceph/ceph-nvmeof/blob/devel/control/grpc.py#L2104)

Fix:

- Using `traddr` from listener API to set the current gateway address
- Since `traddr` gives only IP address, without port therefore extracting full address from `NvmeofGatewaysConfig.get_gateways_config()`
- This ensures correct path usage

Fixes https://tracker.ceph.com/issues/68229
Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
(cherry picked from commit 287ff3b3603291763b3cd08f9b1543fe60d5f3b9)

9 months agoceph.spec.in: we need jsonnet for all distroes for make check 60075/head
Kyr Shatskyy [Thu, 18 Jul 2024 00:45:26 +0000 (02:45 +0200)]
ceph.spec.in: we need jsonnet for all distroes for make check

Fixes: https://tracker.ceph.com/issues/67938
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
(cherry picked from commit e7139a8f438c2a019de4c1fc8a81d735ca27e35a)

9 months agoMerge pull request #58988 from rhcs-dashboard/wip-67200-squid
afreen23 [Mon, 30 Sep 2024 07:46:58 +0000 (13:16 +0530)]
Merge pull request #58988 from rhcs-dashboard/wip-67200-squid

squid: mgr/dashboard: Changes for Sign out text to Login out

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #60046 from zdover23/wip-doc-2024-09-30-backport-60039-to-squid
Anthony D'Atri [Mon, 30 Sep 2024 04:30:14 +0000 (00:30 -0400)]
Merge pull request #60046 from zdover23/wip-doc-2024-09-30-backport-60039-to-squid

squid: doc/rados: edit "Placement Groups Never Get Clean"

9 months agodoc/rados: edit "Placement Groups Never Get Clean" 60046/head
Zac Dover [Sun, 29 Sep 2024 06:10:29 +0000 (16:10 +1000)]
doc/rados: edit "Placement Groups Never Get Clean"

Make grammar improvements (and correct a verb disagreement) in the
section "Placement Groups Never Get Clean" in
doc/rados/troubleshooting/troubleshooting-pg.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2baa027b13c0b4ac8b9fb864858a42e010ca8948)

9 months agoMerge pull request #60033 from zdover23/wip-doc-2024-09-28-backport-60030-to-squid
Anthony D'Atri [Sat, 28 Sep 2024 03:18:22 +0000 (23:18 -0400)]
Merge pull request #60033 from zdover23/wip-doc-2024-09-28-backport-60030-to-squid

squid: doc: Document the Windows CI job

9 months agodoc: Document the Windows CI job 60033/head
Lucian Petrut [Fri, 27 Sep 2024 14:09:34 +0000 (14:09 +0000)]
doc: Document the Windows CI job

We're adding a document that describes:

* the steps performed by the Windows CI job
* artifact structure
* frequently asked questions

The document is meant to assist the Ceph developers in investigating
CI failures. This is especially important as the Windows CI job runs
integration tests that would otherwise only be executed by
Teuthology, thus helping catch potential regressions quickly.

Note that the identified regressions are not necessarily Windows
specific, usually affecting Linux builds as well.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit bb7d5b62d9db13ca8c0268d00b8e353443285957)

9 months agoMerge pull request #59995 from rhcs-dashboard/wip-68276-squid
Nizamudeen A [Fri, 27 Sep 2024 09:46:23 +0000 (15:16 +0530)]
Merge pull request #59995 from rhcs-dashboard/wip-68276-squid

Squid: mgr/dashboard: Forbid snapshot name "." and any containing "/".

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoqa: remove all bluestore signatures on devices 60021/head
Guillaume Abrioux [Wed, 18 Sep 2024 14:30:23 +0000 (16:30 +0200)]
qa: remove all bluestore signatures on devices

We must ensure BlueStore signatures are removed altogether since
multiple BlueStore label replications have been introduced.

Fixes: https://tracker.ceph.com/issues/68171
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 902a45a23c582e3f71d999145a843ad386c60bf9)

9 months agoMerge pull request #59997 from guits/wip-68277-squid
Guillaume Abrioux [Fri, 27 Sep 2024 07:46:51 +0000 (09:46 +0200)]
Merge pull request #59997 from guits/wip-68277-squid

squid: node-proxy: fix a regression when processing the RedFish API

9 months agoMerge pull request #59869 from ceph/squid-release
Laura Flores [Thu, 26 Sep 2024 22:18:47 +0000 (17:18 -0500)]
Merge pull request #59869 from ceph/squid-release

v19.2.0

9 months agonode-proxy: fix a regression when processing the RedFish API 59997/head
Guillaume Abrioux [Wed, 25 Sep 2024 14:28:01 +0000 (14:28 +0000)]
node-proxy: fix a regression when processing the RedFish API

ce360a4a5f6 introduced a regression.

`Endpoint()` doesn't take a `EndpointMgr` object as parameter.
The call `e = Endpoint(self, _url, self.client)` obviously throws the
following error:

```
TypeError: __init__() takes 3 positional arguments but 4 were given
```

This commit fixes it.

Fixes: https://tracker.ceph.com/issues/68231
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit ad0a7fa655e525194e1099a66907a691a3e5e2cf)

9 months agosquid: mgr/dashboard: Forbid snapshot name "." and any containing "/". 59995/head
Dnyaneshwari [Tue, 24 Sep 2024 06:23:01 +0000 (11:53 +0530)]
squid: mgr/dashboard: Forbid snapshot name "." and any containing "/".

Fixes: https://tracker.ceph.com/issues/68198
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit 8a101ef9be5cfaaa9d9703e4ccdda9106416c362)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html

9 months agoMerge pull request #59991 from zdover23/wip-doc-2024-09-26-backport-59986-to-squid
Anthony D'Atri [Thu, 26 Sep 2024 11:35:13 +0000 (07:35 -0400)]
Merge pull request #59991 from zdover23/wip-doc-2024-09-26-backport-59986-to-squid

squid: doc: fix typo

9 months agoMerge pull request #59967 from aclamk/wip-68217-squid
Adam Kupczyk [Thu, 26 Sep 2024 10:10:02 +0000 (12:10 +0200)]
Merge pull request #59967 from aclamk/wip-68217-squid

squid: ceph-bluestore-tool: Fixes for multilple bdev label

9 months agodoc: fix typo 59991/head
N Balachandran [Thu, 26 Sep 2024 04:16:56 +0000 (09:46 +0530)]
doc: fix typo

Fixed a typo in the jaeger traces documentation.

Signed-off-by: N Balachandran <nibalach@redhat.com>
(cherry picked from commit 5a11bc00e6c068c965bb7d961feeb47353cc893c)

9 months agoMerge pull request #59970 from aaSharma14/wip-68226-squid
Aashish Sharma [Thu, 26 Sep 2024 05:20:58 +0000 (10:50 +0530)]
Merge pull request #59970 from aaSharma14/wip-68226-squid

squid: mgr/dashboard: fix setting compression type while editing rgw zone

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59965 from rhcs-dashboard/squid-rgw-multisite-sync-policy-improve...
Nizamudeen A [Wed, 25 Sep 2024 08:50:36 +0000 (14:20 +0530)]
Merge pull request #59965 from rhcs-dashboard/squid-rgw-multisite-sync-policy-improvements

Squid: mgr/dashboard: multisite sync policy improvements

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agomgr/dashboard: fix setting compression type while editing rgw zone 59970/head
Aashish Sharma [Mon, 23 Sep 2024 08:28:22 +0000 (13:58 +0530)]
mgr/dashboard: fix setting compression type while editing rgw zone

Fixes: https://tracker.ceph.com/issues/68176
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit ff7aa420b1abc5b1ecc03804ccc6fe8bdb962704)

9 months agoMerge pull request #59964 from aaSharma14/wip-68209-squid
Aashish Sharma [Wed, 25 Sep 2024 08:10:41 +0000 (13:40 +0530)]
Merge pull request #59964 from aaSharma14/wip-68209-squid

squid: mgr/dashboard: update period after migrating to multi-site

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59961 from aaSharma14/wip-68207-squid
Aashish Sharma [Wed, 25 Sep 2024 07:26:21 +0000 (12:56 +0530)]
Merge pull request #59961 from aaSharma14/wip-68207-squid

squid: mgr/dashboard: fix handling NaN values in dashboard charts

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoceph-volume: add call to `ceph-bluestore-tool zap-device` 59968/head
Guillaume Abrioux [Wed, 11 Sep 2024 15:37:59 +0000 (15:37 +0000)]
ceph-volume: add call to `ceph-bluestore-tool zap-device`

BlueStore now writes its metadata at multiple offset on devices [1].
It means `ceph-volume lvm zap` doesn't remove BlueStore signature altogether.
This can confuse ceph-volume when redeploying an OSD on a previously
zapped device because there is still old BlueStore metadata on it.

ceph-volume should call `ceph-bluestore-tool zap-device` [2]
in addition to the existing calls when wiping a device.

[1] https://github.com/ceph/ceph/pull/55374
[2] https://github.com/ceph/ceph/pull/59632

Fixes: https://tracker.ceph.com/issues/68035
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit dcf743928e301c3724a2b7c4d13c0be8ea0714d7)

9 months agotools/ceph-bluestore-tool: Added zap-device documentation 59967/head
Adam Kupczyk [Thu, 12 Sep 2024 10:46:33 +0000 (10:46 +0000)]
tools/ceph-bluestore-tool: Added zap-device documentation

- added zap documentation
- explained show-label lock exclusion

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit afeaeb711fafc55acd1cf056f721c62746ee596f)

Conflicts:
doc/man/8/ceph-bluestore-tool.rst
Trivial conflict with 'trim' feature.

9 months agotools/ceph-bluestore-tool: remove param zap_size
Adam Kupczyk [Thu, 12 Sep 2024 10:45:05 +0000 (10:45 +0000)]
tools/ceph-bluestore-tool: remove param zap_size

Make zapping precisely target block device labels.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 1a80319bbff39f25a09d1fc6f8cd975ed1e3748b)

 Conflicts:
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
src/os/bluestore/bluestore_tool.cc
Trivial conficts with 'trim' feature.

9 months agotools/ceph-bluestore-tool: Allow show-label even if OSD is running
Adam Kupczyk [Thu, 12 Sep 2024 10:43:40 +0000 (10:43 +0000)]
tools/ceph-bluestore-tool: Allow show-label even if OSD is running

ceph-volume needs to query the devices for `ceph-volume raw list`.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 1b431a3757e7f27224a5267722e07188fa191d53)

9 months agotool/bluestore-tool: add zap_device command support
Igor Fedotov [Fri, 6 Sep 2024 09:46:01 +0000 (12:46 +0300)]
tool/bluestore-tool: add zap_device command support

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit c9c30bcdb07b6d32c94d5438d6b2fd3dfb11ce14)

Conflicts:
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
src/os/bluestore/bluestore_tool.cc
Trivial conflicts with non-existent 'trim' feature.

9 months agotools/ceph-bluestore-tool: fix "--yes-i-really-really-mean-it" option
Igor Fedotov [Thu, 5 Sep 2024 19:01:01 +0000 (22:01 +0300)]
tools/ceph-bluestore-tool: fix "--yes-i-really-really-mean-it" option

Fixes: https://tracker.ceph.com/issues/67926
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit c266ef0f61f7de29b56119171625dd61b8c0f0a2)
Conflicts:
  'trim' option was not present, but --yes-i-really-really-mean-it was
used

9 months agomgr/dashboard: multisite sync policy improvements 59965/head
Naman Munet [Tue, 17 Sep 2024 06:59:37 +0000 (12:29 +0530)]
mgr/dashboard: multisite sync policy improvements

https://tracker.ceph.com/issues/68097

Changes for this PR includes:
1) Populating the destination zones select option with a set of options to choose from, for flow and pipe so that user can't enter any invalid zone name
2) Provided zone option as 'All Zones (*)' in pipe, if user want to select all zones for source and destination zones
3) We are hiding the UniqueId column on sync policy table as we do not want to show it as this column is introduced just to uniquely identify a row in the table and should not be displayed to users as it is part of the internal logic to work.

Signed-off-by: Naman Munet <nmunet@redhat.com>
(cherry picked from commit af437b4e7f13e448a93583ee22c625cb1c74aae7)

9 months agomgr/dashboard: update period after migrating to multisite 59964/head
Aashish Sharma [Fri, 20 Sep 2024 05:25:26 +0000 (10:55 +0530)]
mgr/dashboard: update period after migrating to multisite

Fixes: https://tracker.ceph.com/issues/68161
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit ea3bdc6f678bf8be0f7cd573fb4587daad814c26)

9 months agomgr/dashboard: fix handling NaN values in dashboard charts 59961/head
Aashish Sharma [Fri, 20 Sep 2024 05:36:21 +0000 (11:06 +0530)]
mgr/dashboard: fix handling NaN values in dashboard charts

Fixes: https://tracker.ceph.com/issues/68162
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 49ee68245b78779ffd6766f143315b5bf526afda)

9 months agoMerge pull request #59951 from rhcs-dashboard/wip-68199-squid
Nizamudeen A [Wed, 25 Sep 2024 04:56:41 +0000 (10:26 +0530)]
Merge pull request #59951 from rhcs-dashboard/wip-68199-squid

Squid: mgr/dashboard: Cloning subvolume not listing _nogroup if no subvolume

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59939 from zdover23/wip-doc-2024-09-24-backport-59854-to-squid
Avan [Tue, 24 Sep 2024 17:43:44 +0000 (23:13 +0530)]
Merge pull request #59939 from zdover23/wip-doc-2024-09-24-backport-59854-to-squid

squid: doc: update nfs doc for Kerberos setup of ganesha in Ceph

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
9 months agoceph-volume: fix OSD lvm/tpm2 activation 59953/head
Guillaume Abrioux [Thu, 19 Sep 2024 13:13:48 +0000 (15:13 +0200)]
ceph-volume: fix OSD lvm/tpm2 activation

After an OSD is successfully prepared, the activation step fails
because the mapper is left open which makes `systemd-cryptsetup attach`
complain about that and prompt for password.
In order to avoid any other potential issue that would make activation
step hang for ever, I'm adding `headless=true`.

Fixes: https://tracker.ceph.com/issues/68150
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 142c96e7ca5a8cdc3229f3a1b56dc5a1204384c9)

9 months agomgr/dashboard: Changes for Sign out text 58988/head
Prachi Goel [Thu, 25 Jul 2024 09:18:23 +0000 (14:48 +0530)]
mgr/dashboard: Changes for Sign out text

Fixes: https://tracker.ceph.com/issues/67075
Signed-off-by: Prachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
(cherry picked from commit 039377fa2904c8537f3ec4d5effbdb4f4ac4a95a)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html

Changed text from Sign out to Log out

9 months agomgr/dashboard: Cloning subvolume not listing _nogroup subvolumegroup if there are... 59951/head
Dnyaneshwari [Wed, 4 Sep 2024 10:48:08 +0000 (16:18 +0530)]
mgr/dashboard: Cloning subvolume not listing _nogroup subvolumegroup if there are no subvols in _nogroup
Fixes: https://tracker.ceph.com/issues/67891
Signed-off-by: Dnyaneshwari talwekar <dtalweka@redhat.com>
(cherry picked from commit 5c6c4a07d8dcd7bde46057310fbd1c5580a0da2f)

9 months agodoc: update nfs doc for Kerberos setup of ganesha in Ceph 59939/head
Avan Thakkar [Wed, 18 Sep 2024 10:18:42 +0000 (15:48 +0530)]
doc: update nfs doc for Kerberos setup of ganesha in Ceph

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit 0f6039f9afa223ad70601d4dc36fc99f6fd78b49)

9 months agoMerge pull request #59791 from ronen-fr/wip-rf-59636-to-squid
Ronen Friedman [Mon, 23 Sep 2024 15:23:52 +0000 (18:23 +0300)]
Merge pull request #59791 from ronen-fr/wip-rf-59636-to-squid

squid: osd/scrub: decrease default deep scrub chunk size

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
9 months agoMerge pull request #59892 from rhcs-dashboard/squid-zonegroup-level-policy-sync
Nizamudeen A [Mon, 23 Sep 2024 05:58:11 +0000 (11:28 +0530)]
Merge pull request #59892 from rhcs-dashboard/squid-zonegroup-level-policy-sync

Squid: mgr/dashboard: zonegroup level policy created at master zone did not sync to non-master zone

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59907 from zdover23/wip-doc-2024-09-21-backport-59904-to-squid
Anthony D'Atri [Fri, 20 Sep 2024 17:06:27 +0000 (13:06 -0400)]
Merge pull request #59907 from zdover23/wip-doc-2024-09-21-backport-59904-to-squid

squid: doc: Update "Getting Started" to link to start not install

9 months agodoc: Update "Getting Started" to link to start not install 59907/head
Matthew Vernon [Fri, 20 Sep 2024 14:07:37 +0000 (15:07 +0100)]
doc: Update "Getting Started" to link to start not install

Currently the "Getting Started" link points at the install page, not the "Intro to Ceph" section, which seems more appropriate.

If you're happy with this, can it get backported to the still-supported releases, please?

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
(cherry picked from commit d257eacb05a463c93872ae8aa8210806affda4ec)

9 months agoMerge pull request #59865 from kamoltat/wip-ksirivad-fix-67879
Kamoltat (Junior) Sirivadhna [Fri, 20 Sep 2024 15:48:32 +0000 (11:48 -0400)]
Merge pull request #59865 from kamoltat/wip-ksirivad-fix-67879

upgrade/cephfs/mds_upgrade_sequence: ignore osds down
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
9 months agomgr/dashboard: zonegroup level policy created at master zone did not sync to non... 59892/head
Naman Munet [Thu, 12 Sep 2024 11:59:22 +0000 (17:29 +0530)]
mgr/dashboard: zonegroup level policy created at master zone did not sync to non-master zone

added period update for zonegroup level changes so as to sync them

Fixes: https://tracker.ceph.com/issues/68049
Signed-off-by: Naman Munet <nmunet@redhat.com>
(cherry picked from commit 52278f169fe94136c474a1758d4d0048e65edb50)

9 months agoMerge pull request #59879 from rhcs-dashboard/test-image
afreen23 [Thu, 19 Sep 2024 18:12:01 +0000 (23:42 +0530)]
Merge pull request #59879 from rhcs-dashboard/test-image

squid: mgr/dashboard: custom image for kcli bootstrap script

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59851 from rhcs-dashboard/squid-remove-orch-required-decorator
afreen23 [Thu, 19 Sep 2024 13:47:17 +0000 (19:17 +0530)]
Merge pull request #59851 from rhcs-dashboard/squid-remove-orch-required-decorator

Squid: mgr/dashboard: remove orch required decorator from host UI router (list)

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59871 from zdover23/wip-doc-2024-09-19-backport-59856-to-squid
Anthony D'Atri [Thu, 19 Sep 2024 11:41:25 +0000 (07:41 -0400)]
Merge pull request #59871 from zdover23/wip-doc-2024-09-19-backport-59856-to-squid

squid: doc/rados: add confval directives to health-checks

9 months agosquid: mgr/dashboard: custom image for kcli bootstrap script 59879/head
Pedro Gonzalez Gomez [Thu, 19 Sep 2024 10:09:26 +0000 (12:09 +0200)]
squid: mgr/dashboard: custom image for kcli bootstrap script

Update test environment image to squid

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
10 months agodoc/rados: add confval directives to health-checks 59871/head
Zac Dover [Wed, 18 Sep 2024 11:36:24 +0000 (21:36 +1000)]
doc/rados: add confval directives to health-checks

Add confval directives to doc/rados/operations/health-checks.rst, as
requested by Anthony D'Atri here: https://github.com/ceph/ceph/pull/59635#pullrequestreview-2286205705

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a159821ddfcecaa75f5a92af7e22ea198d82a8db)

10 months agoupgrade/cephfs/mds_upgrade_sequence: ignore osds down 59865/head
Kamoltat Sirivadhna [Wed, 18 Sep 2024 20:19:04 +0000 (20:19 +0000)]
upgrade/cephfs/mds_upgrade_sequence: ignore osds down

Fixes: https://tracker.ceph.com/issues/67879
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
10 months agoMerge pull request #59812 from neha-ojha/wip-rtd-squid
Neha Ojha [Wed, 18 Sep 2024 18:56:14 +0000 (11:56 -0700)]
Merge pull request #59812 from neha-ojha/wip-rtd-squid

squid: doc/dev/release-checklists.rst: enable rtd for squid

Reviewed-by:Anthony D'Atri <anthony.datri@gmail.com>

10 months agoorch: Fix `daemon add osd` boolean param handling 59863/head
Guillaume Abrioux [Tue, 17 Sep 2024 12:00:23 +0000 (14:00 +0200)]
orch: Fix `daemon add osd` boolean param handling

- Correct usage examples for 'ceph orch daemon add osd'
- Fix boolean argument handling for drive group specifications

Fixes: https://tracker.ceph.com/issues/68045
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 45327462e0949638b37f66f9cceff2ff5ef07242)

10 months agoorch: refactor boolean handling in drive group spec
Guillaume Abrioux [Thu, 12 Sep 2024 06:09:21 +0000 (06:09 +0000)]
orch: refactor boolean handling in drive group spec

The intent of 42721c03ee6f was to address an issue where boolean
parameters weren't handled correctly.

I noticed that a parameter (`tpm2`) was missed, which made me realize
that maintaining a list of these boolean parameters is necessary.

To simplify things, we should only accept `"true"` or `"false"` (in any case),
allowing us to avoid the need to maintain a list of boolean parameters.

This change introduces a `list_drive_group_spec_bool_arg` to store boolean
arguments related to drive group specifications, simplifying the validation
process for boolean values by directly checking if the values are 'true' or 'false'.

Fixes: https://tracker.ceph.com/issues/68045
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit e3d8a37ef6e31eaf69671cec6ee5b1ed11ca267d)

10 months ago19.2.0 59869/head v19.2.0
Ceph Release Team [Wed, 18 Sep 2024 16:27:51 +0000 (16:27 +0000)]
19.2.0

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
10 months agoMerge pull request #59672 from rishabh-d-dave/wip-67961-squid
Rishabh Dave [Wed, 18 Sep 2024 15:43:53 +0000 (21:13 +0530)]
Merge pull request #59672 from rishabh-d-dave/wip-67961-squid

squid: cephfs,mon: fix bugs related to updating MDS caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
10 months agodoc/dev/release-checklists.rst: enable rtd for squid 59812/head
Neha Ojha [Mon, 16 Sep 2024 19:17:38 +0000 (19:17 +0000)]
doc/dev/release-checklists.rst: enable rtd for squid

https://docs.ceph.com/en/squid/dev/release-checklists/

Signed-off-by: Neha Ojha <nojha@redhat.com>
10 months agoMerge pull request #59813 from yaarith/squid-release-checklist-telemetry
Neha Ojha [Wed, 18 Sep 2024 15:25:37 +0000 (08:25 -0700)]
Merge pull request #59813 from yaarith/squid-release-checklist-telemetry

squid: doc/dev/release-checklist: check telemetry validation

Reviewed-by:Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
10 months agosquid: cephadm: update latest stable release and default image
Adam King [Tue, 17 Sep 2024 11:33:02 +0000 (07:33 -0400)]
squid: cephadm: update latest stable release and default image

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 35f22cbdf672c29ead5b19c172d50f28daa6b523)

10 months agoMerge pull request #58923 from NitzanMordhai/wip-67234-squid
Casey Bodley [Wed, 18 Sep 2024 12:51:16 +0000 (08:51 -0400)]
Merge pull request #58923 from NitzanMordhai/wip-67234-squid

squid: corpus: update submodule with mark cls_rgw_reshard_entry forward_inco…

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