]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 months agomgr/dashboard: add RGW lifecycle management 58593/head
Pedro Gonzalez Gomez [Thu, 2 May 2024 14:37:38 +0000 (16:37 +0200)]
mgr/dashboard: add RGW lifecycle management

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

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts

12 months agoMerge pull request #58578 from zdover23/wip-doc-2024-07-15-backport-58574-to-squid
Anthony D'Atri [Sun, 14 Jul 2024 17:22:24 +0000 (13:22 -0400)]
Merge pull request #58578 from zdover23/wip-doc-2024-07-15-backport-58574-to-squid

squid: doc/cephfs: edit "is mount helper present"

12 months agoMerge pull request #58001 from amathuria/wip-66421-squid
Yuri Weinstein [Sun, 14 Jul 2024 14:25:07 +0000 (07:25 -0700)]
Merge pull request #58001 from amathuria/wip-66421-squid

squid: osd/scrub: Change scrub cost to average object size

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
12 months agoMerge pull request #57618 from sajibreadd/wip-66143-squid
Yuri Weinstein [Sun, 14 Jul 2024 14:23:25 +0000 (07:23 -0700)]
Merge pull request #57618 from sajibreadd/wip-66143-squid

squid: osd: CEPH_OSD_OP_FLAG_BYPASS_CLEAN_CACHE flag is passed from ECBackend

Reviewed-by: Samuel Just <sjust@redhat.com>
12 months agoMerge pull request #57195 from k0ste/wip-64591-squid
Yuri Weinstein [Sun, 14 Jul 2024 14:21:54 +0000 (07:21 -0700)]
Merge pull request #57195 from k0ste/wip-64591-squid

squid: os/bluestore: fix the problem of l_bluefs_log_compactions double recording

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
12 months agodoc/cephfs: edit "is mount helper present" 58578/head
Zac Dover [Sun, 14 Jul 2024 06:40:14 +0000 (16:40 +1000)]
doc/cephfs: edit "is mount helper present"

Edit the section called "Is mount helper present?", the title of which
prior to this commit was "Is mount helper is present?". Other small
disambiguating improvements have been made to the text in the section.
An unselectable prompt has been added before a command.

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

12 months agoMerge pull request #58071 from yuvalif/wip-66497-squid
Casey Bodley [Sat, 13 Jul 2024 16:15:04 +0000 (17:15 +0100)]
Merge pull request #58071 from yuvalif/wip-66497-squid

squid: rgw/admin/notification: add command to dump notifications

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
12 months agoMerge pull request #58538 from cbodley/wip-66913-squid
Casey Bodley [Sat, 13 Jul 2024 16:14:24 +0000 (17:14 +0100)]
Merge pull request #58538 from cbodley/wip-66913-squid

squid: rgw/datalog: fix LazyFIFO race fix

Reviewed-by: Adam Emerson <aemerson@redhat.com>
12 months agoMerge pull request #58545 from smanjara/wip-66919-squid
Casey Bodley [Sat, 13 Jul 2024 16:13:49 +0000 (17:13 +0100)]
Merge pull request #58545 from smanjara/wip-66919-squid

squid: rgw/multisite: allow PutACL replication.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agoMerge pull request #58550 from idryomov/wip-test-cookie-squid
Ilya Dryomov [Fri, 12 Jul 2024 16:16:44 +0000 (18:16 +0200)]
Merge pull request #58550 from idryomov/wip-test-cookie-squid

squid: test/librbd: clean up unused TEST_COOKIE variable

Reviewed-by: Ramana Raja <rraja@redhat.com>
12 months agoMerge pull request #58477 from afreen23/wip-backport-nvmeof-service
Pedro Gonzalez Gomez [Fri, 12 Jul 2024 14:17:19 +0000 (16:17 +0200)]
Merge pull request #58477 from afreen23/wip-backport-nvmeof-service

Batch backport of nvmeof service configuration

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agoMerge pull request #58521 from cbodley/wip-66897-squid
Casey Bodley [Fri, 12 Jul 2024 12:52:41 +0000 (13:52 +0100)]
Merge pull request #58521 from cbodley/wip-66897-squid

squid: install-deps.sh, do_cmake.sh: almalinux is another el flavour

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Reviewed-by: Dan van der Ster <dan.vanderster@clyso.com>
12 months agotest/ librbd: clean up unused 'TEST_COOKIE' 58550/head
Rongqi Sun [Tue, 9 Jul 2024 02:55:27 +0000 (02:55 +0000)]
test/ librbd: clean up unused 'TEST_COOKIE'

Clean them up because
```
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/test/librbd/exclusive_lock/test_mock_PreAcquireRequest.cc:47:26: error: unused variable 'TEST_COOKIE' [-Werror,-Wunused-const-variable]
static const std::string TEST_COOKIE("auto 123");
                         ^
1 error generated.
```

Ref: https://jenkins.ceph.com/job/ceph-pull-requests-arm64/59242/consoleFull#-5120798632a811ea2-3e7b-466b-84b4-d13df7e35809

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit 49869222c816023f696ff2a42898e2d9f3f54215)

12 months agoqa/multisite: add object set acl test 58545/head
Shilpa Jagannath [Wed, 27 Mar 2024 06:14:44 +0000 (02:14 -0400)]
qa/multisite: add object set acl test

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit d18b722557af8fc082d578547fa7be07a8ffc49e)

12 months agorgw/multisite: allow modified object acls to be replicated
Shilpa Jagannath [Tue, 19 Mar 2024 14:59:35 +0000 (10:59 -0400)]
rgw/multisite: allow modified object acls to be replicated

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit f5f6194c07b40c50913e956e06aaa3709d4d53aa)

12 months agoMerge pull request #58479 from afreen23/wip-backport-nfs
Pedro Gonzalez Gomez [Thu, 11 Jul 2024 15:27:53 +0000 (17:27 +0200)]
Merge pull request #58479 from afreen23/wip-backport-nfs

Batch backport NFS route separation for cephfs and rgw

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
12 months agorgw/datalog: fix LazyFIFO race fix 58538/head
Casey Bodley [Tue, 9 Jul 2024 21:40:03 +0000 (17:40 -0400)]
rgw/datalog: fix LazyFIFO race fix

initialize `fifo_tmp` to prevent the race on member variable `fifo` that
was identified in 8fa844383f9c22e758f39ecdda74f70de054ad68

Fixes: https://tracker.ceph.com/issues/66880
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 5dfbaac15f0ffb3dfe84ae304643d1cf4eee892d)

12 months agoMerge pull request #58255 from rhcs-dashboard/wip-66254-squid
Pedro Gonzalez Gomez [Thu, 11 Jul 2024 09:06:51 +0000 (11:06 +0200)]
Merge pull request #58255 from rhcs-dashboard/wip-66254-squid

squid: mgr/dashboard: rgw bucket replication management

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
12 months agoMerge pull request #58244 from rhcs-dashboard/wip-66425-squid
Pedro Gonzalez Gomez [Thu, 11 Jul 2024 07:49:34 +0000 (09:49 +0200)]
Merge pull request #58244 from rhcs-dashboard/wip-66425-squid

squid: mgr/dashboard: fix edit bucket failing in other selected gateways

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: nmunet <NOT@FOUND>
12 months agoMerge pull request #58337 from rhcs-dashboard/wip-66737-squid
Nizamudeen A [Thu, 11 Jul 2024 07:08:31 +0000 (12:38 +0530)]
Merge pull request #58337 from rhcs-dashboard/wip-66737-squid

squid: mgr/dashboard: fix clone async validators with different groups

Reviewed-by: nmunet <NOT@FOUND>
12 months agoMerge pull request #58436 from cbodley/wip-66839-squid
Casey Bodley [Wed, 10 Jul 2024 23:18:35 +0000 (00:18 +0100)]
Merge pull request #58436 from cbodley/wip-66839-squid

squid: doc/rgw: update s3 authentication

Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoinstall-deps.sh, do_cmake.sh: almalinux is another el flavour 58521/head
Dan van der Ster [Thu, 5 Oct 2023 16:50:36 +0000 (09:50 -0700)]
install-deps.sh, do_cmake.sh: almalinux is another el flavour

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
(cherry picked from commit 6e85f76385c3cffd860a8a3054bf14ce85a43b59)

12 months agoMerge pull request #57971 from adk3798/squid-adjust-bootstrap-config-priorities
Adam King [Wed, 10 Jul 2024 15:23:29 +0000 (11:23 -0400)]
Merge pull request #57971 from adk3798/squid-adjust-bootstrap-config-priorities

squid: cephadm: the user config is preferred during the bootstrap

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agomgr/dashboard: fix nav urls for cephfs and nfs 58479/head
Nizamudeen A [Wed, 26 Jun 2024 10:34:31 +0000 (16:04 +0530)]
mgr/dashboard: fix nav urls for cephfs and nfs

Fixes: https://tracker.ceph.com/issues/66697
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit e8d0e76b63079f8d16c470030bda105637e1bb1e)

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

12 months agomgr/dashboard: Fix NFS routing
Afreen [Wed, 3 Apr 2024 02:15:32 +0000 (07:45 +0530)]
mgr/dashboard: Fix NFS routing

Fixes https://tracker.ceph.com/issues/65310

The NFS tab in object and File nav uses same route due to which both
gets activated when one of them is clicked.
Hence, this PR separates the routing for Object and File nav.
Object-> NFS: /rgw/nfs
File-> NFS: /cephfs/nfs

Both routes use same NFS List and Form component but under different
routes as mentioned above.

Changes summary
- updated route for File from "/fs" to "/cephfs/<any_other_sub_route>"
  to support both fs and nfs tabs. Since using `/fs` and `/fs/nfs` will
activate both paths and it will be an undesirable user experience.
- `getFsalRouteFromPath` helper function to set the storage backend from
  route.
- removed `stoarge-backend` field from nfs form as now route decides teh
  storage backend
- breadcrumbs redirect to respective navs
- updated e2e tests
- updated unit tests
- changes list page of object-> nfs page to say Bucket instead of Path

Signed-off-by: Afreen <afreen23.git@gmail.com>
(cherry picked from commit 97359d6b1ee8133afcddf1f540b147c26723e24e)

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

12 months agomgr/dashboard: fix service form count bugs 58477/head
Afreen Misbah [Sat, 22 Jun 2024 02:18:33 +0000 (07:48 +0530)]
mgr/dashboard: fix service form count bugs

Fixes https://tracker.ceph.com/issues/66608

- for services which do not have a count set default count to be null, otherwise the previous selected service's count is used which is wrong
- make count null when label is selected for placement

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
(cherry picked from commit 27a8b2f2883fcc1fc4128b3e8995a7819a5ae51e)

Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html

12 months agomgr/dashboard: fix service page e2e tests
Afreen Misbah [Fri, 14 Jun 2024 05:21:47 +0000 (10:51 +0530)]
mgr/dashboard: fix service page e2e tests

- service page now uses defaults value for the placement count due to which mds test failing
- in test we pass "1" while "2" which is the default count for mds is already populated, making it 21 and causing unable to create mds service

Fixes: https://tracker.ceph.com/issues/66540
Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
(cherry picked from commit 5a718229dc43953f140a16342f19523a1c075863)
(cherry picked from commit 1da0a4f8cb234ef84729c24cc9a82397361e9534)

Conflicts:
src/pybind/mgr/dashboard/frontend/cypress/e2e/pools/pools.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/e2e/pools/pools.po.ts

12 months agomgr/dashboard: Configure NVMe/TCP
Afreen [Fri, 31 May 2024 07:54:27 +0000 (13:24 +0530)]
mgr/dashboard: Configure NVMe/TCP

Fixes https://tracker.ceph.com/issues/63686

- creation of Nvme-oF/TCP service
- deletion of Nvme-oF/TCP service
- edit/update Nvme-oF/TCP service
- added unit tests for Nvme-oF/TCP service
- changed Id -> Service Name
- added prefix of service type in service name (similar to <client.> in
  fs access)
- service name and pool are required fields for nvmeof
- placement count now takes default value as mentioned in cephadm
- slight refactors
- prepopulate serviceId for each service type setServiceId()
- in case serviceId is same as servcie type then do not add create service name with<servicetype>.<setrviceid> format

Signed-off-by: Afreen <afreen23.git@gmail.com>
(cherry picked from commit c6cf91766c45cf766c1d5a3851c2e956a80ac9ee)

12 months agoMerge pull request #58488 from zdover23/wip-doc-2024-07-10-backport-58484-to-squid
Zac Dover [Wed, 10 Jul 2024 00:26:53 +0000 (10:26 +1000)]
Merge pull request #58488 from zdover23/wip-doc-2024-07-10-backport-58484-to-squid

squid: doc: Correct link to "Device management"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoMerge pull request #58468 from zdover23/wip-doc-2024-07-09-backport-58454-to-squid
Zac Dover [Wed, 10 Jul 2024 00:26:35 +0000 (10:26 +1000)]
Merge pull request #58468 from zdover23/wip-doc-2024-07-09-backport-58454-to-squid

squid: doc/cephfs: fix typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agodoc: Correct link to "Device management" 58488/head
Matthew Vernon [Tue, 9 Jul 2024 16:02:31 +0000 (17:02 +0100)]
doc: Correct link to "Device management"

The current link goes to `cephadm/services/rados/operations/devices` which is a 404, it instead needs to be `rados/operations/devices/`.

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

12 months agoMerge pull request #58443 from cbodley/wip-66847-squid
Casey Bodley [Tue, 9 Jul 2024 17:29:50 +0000 (18:29 +0100)]
Merge pull request #58443 from cbodley/wip-66847-squid

squid: rgw: fix multipart get part when count==1

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
12 months agoMerge pull request #58089 from ronen-fr/wip-rf-57865-squid
Yuri Weinstein [Tue, 9 Jul 2024 14:03:33 +0000 (07:03 -0700)]
Merge pull request #58089 from ronen-fr/wip-rf-57865-squid

squid: osd/scrub: allow new scrubs while reserving

Reviewed-by: Samuel Just <sjust@redhat.com>
12 months agoMerge pull request #57623 from sajibreadd/wip-65937-squid
Yuri Weinstein [Tue, 9 Jul 2024 14:02:26 +0000 (07:02 -0700)]
Merge pull request #57623 from sajibreadd/wip-65937-squid

squid: os/bluestore: set rocksdb iterator bounds for Bluestore::_collection_list()

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
12 months agoMerge pull request #57382 from pdvian/wip-65890-squid
Yuri Weinstein [Tue, 9 Jul 2024 14:00:17 +0000 (07:00 -0700)]
Merge pull request #57382 from pdvian/wip-65890-squid

squid: mgr: integrate optracker in ceph-mgr

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Michael Kidd <linuxkidd@gmail.com>
12 months agoMerge pull request #56200 from ifed01/wip-ifed-fix-64443-squi
Yuri Weinstein [Tue, 9 Jul 2024 13:58:51 +0000 (06:58 -0700)]
Merge pull request #56200 from ifed01/wip-ifed-fix-64443-squi

squid: test/store_test: fix DeferredWrite test when prefer_deferred_size=0

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
12 months agodoc/cephfs: fix typo 58468/head
spdfnet [Mon, 8 Jul 2024 08:03:28 +0000 (09:03 +0100)]
doc/cephfs: fix typo

blanacer -> balancer

Signed-off-by: spdfnet <32593931+spdfnet@users.noreply.github.com>
(cherry picked from commit d94f90b757189e269882523178a401cd4411a946)

12 months agoMerge pull request #58072 from yuvalif/wip-66499-squid
Casey Bodley [Mon, 8 Jul 2024 14:37:18 +0000 (15:37 +0100)]
Merge pull request #58072 from yuvalif/wip-66499-squid

squid: rgw: do not assert on thread name setting failures

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
12 months agoMerge pull request #57784 from yuvalif/wip-66288-squid
Casey Bodley [Mon, 8 Jul 2024 12:58:17 +0000 (13:58 +0100)]
Merge pull request #57784 from yuvalif/wip-66288-squid

squid: rgw/kafka: do not destroy the connection on errors

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agorgw/admin/notification: add command to dump notifications 58071/head
Yuval Lifshitz [Wed, 5 Jun 2024 16:08:16 +0000 (16:08 +0000)]
rgw/admin/notification: add command to dump notifications

command will dump pending notifications from a persistent queue in JSON
format:

radosgw-admin topic dump --topic <name>

Fixes: https://tracker.ceph.com/issues/66404
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit e63e663dc9095589f4fe28d541fd5178c033bffd)

Conflicts:
src/rgw/driver/rados/rgw_notify.cc
        src/test/rgw/bucket_notification/test_bn.py

12 months agoMerge pull request #57996 from kchheda3/wip-66443-squid
Casey Bodley [Fri, 5 Jul 2024 16:39:06 +0000 (17:39 +0100)]
Merge pull request #57996 from kchheda3/wip-66443-squid

squid:  rgw/notification: Store the value of `persistent_queue` for existing topics and continue commiting events for all topics subscribed to given bucket

Reviewed-by: Casey Bodley <cbodley@redhat.com>
12 months agorgw: fix multipart get part when count==1 58443/head
Casey Bodley [Wed, 26 Jun 2024 14:52:37 +0000 (10:52 -0400)]
rgw: fix multipart get part when count==1

the RGWObjManifest for multipart uploads is subtly different when
there's only a single part. in that case, get_cur_part_id() for the
final rule returns 1 where it otherwise returns (parts_count + 1)

this caused two problems:
* we returned a parts_count of 0 instead 1, and
* the do-while loop got stuck in an infinite loop expecting the last
  rule's part id to be higher than the requested part id

Fixes: https://tracker.ceph.com/issues/66705
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 562e0ce9baac53e714d91a46b4f0114b82827026)

12 months agoMerge pull request #58420 from guits/wip-66830-squid
Guillaume Abrioux [Fri, 5 Jul 2024 08:11:42 +0000 (10:11 +0200)]
Merge pull request #58420 from guits/wip-66830-squid

squid: qa: fix log errors for cephadm tests

12 months agodoc/rgw: update s3 authentication 58436/head
Casey Bodley [Thu, 4 Jul 2024 19:17:52 +0000 (15:17 -0400)]
doc/rgw: update s3 authentication

authentication.rst described the steps to generate a v2 signature,
without reference to aws docs. replace that with sections that reference
aws docs for v2 and v4 signatures. list which values of the request
header x-amz-content-sha256 are supported for v4

Fixes: https://tracker.ceph.com/issues/42888
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 05cab64b9ce3662f0d3e9673dfbbb5d42906caf7)

12 months agoMerge pull request #58431 from zdover23/wip-doc-2024-07-05-backport-58368-to-squid
Anthony D'Atri [Thu, 4 Jul 2024 20:30:55 +0000 (16:30 -0400)]
Merge pull request #58431 from zdover23/wip-doc-2024-07-05-backport-58368-to-squid

squid: doc/rados: document manually passing search domain

12 months agodoc/rados: document manually passing search domain 58431/head
Zac Dover [Mon, 1 Jul 2024 06:36:02 +0000 (16:36 +1000)]
doc/rados: document manually passing search domain

Document how to manually pass the search domain to "mon_dns_srv_name" in
doc/rados/configuration/mon-lookup-dns.rst.

This commit is made in response to a request by Lander Duncan that was made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 98938a0312dd0c8e0b293ed9aa2e0760cc9619fa)

12 months agoMerge pull request #58422 from AliMasarweh/wip-66772-squid
Ali Masarwa [Thu, 4 Jul 2024 13:18:05 +0000 (16:18 +0300)]
Merge pull request #58422 from AliMasarweh/wip-66772-squid

squid: RGW|Bucket notification: reload realm correctly

Reviewed-by: yuvalif<ylifshit@redhat.com>
12 months agoMerge pull request #58246 from rhcs-dashboard/wip-66486-squid
Nizamudeen A [Thu, 4 Jul 2024 10:11:38 +0000 (15:41 +0530)]
Merge pull request #58246 from rhcs-dashboard/wip-66486-squid

squid: mgr/dashboard: add dueTime to rgw bucket validator

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
12 months agoRGW|Bucket notification: disable notif v2 to reload realm correctly 58422/head
Ali Masarwa [Thu, 23 May 2024 11:08:56 +0000 (14:08 +0300)]
RGW|Bucket notification: disable notif v2 to reload realm correctly

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
(cherry picked from commit cce9b3c63ff0d83b3ab337c7c64b140e007290e1)

12 months agoqa: fix log errors for cephadm tests 58420/head
Guillaume Abrioux [Thu, 27 Jun 2024 08:12:10 +0000 (10:12 +0200)]
qa: fix log errors for cephadm tests

This fixes a lot of errors induced by the log scrapper check.

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

12 months agoqa/cephadm: fix ignorelist of CEPHADM_STRAY_DAEMON for rados_api_tests
Adam King [Fri, 10 May 2024 20:21:01 +0000 (16:21 -0400)]
qa/cephadm: fix ignorelist of CEPHADM_STRAY_DAEMON for rados_api_tests

Not every log with this error has the parentheses, so
these warnings were still causing the test to fail

[ERR] [WRN] CEPHADM_STRAY_DAEMON: 2 stray daemon(s)... in cluster log

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

12 months agoMerge pull request #57224 from kotreshhr/wip-65404-squid
Xiubo Li [Wed, 3 Jul 2024 09:55:36 +0000 (17:55 +0800)]
Merge pull request #57224 from kotreshhr/wip-65404-squid

squid: mds: log at a lower level when stopping

12 months agoMerge pull request #57981 from dparmar18/wip-66191-squid
Xiubo Li [Wed, 3 Jul 2024 09:55:22 +0000 (17:55 +0800)]
Merge pull request #57981 from dparmar18/wip-66191-squid

squid: client: set LIBMOUNT_FORCE_MOUNT2=always

12 months agoMerge pull request #58085 from rishabh-d-dave/wip-66500-squid
Xiubo Li [Wed, 3 Jul 2024 09:54:38 +0000 (17:54 +0800)]
Merge pull request #58085 from rishabh-d-dave/wip-66500-squid

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

12 months agoMerge pull request #58389 from zdover23/wip-doc-2024-07-02-backport-58092-to-squid
Zac Dover [Tue, 2 Jul 2024 13:12:10 +0000 (23:12 +1000)]
Merge pull request #58389 from zdover23/wip-doc-2024-07-02-backport-58092-to-squid

squid: doc/start: remove mention of Centos 8 support

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
12 months agodoc/start: remove mention of Centos 8 support 58389/head
Zac Dover [Mon, 17 Jun 2024 15:09:44 +0000 (01:09 +1000)]
doc/start: remove mention of Centos 8 support

Remove information so that it is clear that Centos 8 will no longer be
supported by Ceph.

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

12 months agoMerge pull request #58266 from amathuria/wip-66694-squid
Yuri Weinstein [Mon, 1 Jul 2024 22:35:39 +0000 (15:35 -0700)]
Merge pull request #58266 from amathuria/wip-66694-squid

squid: osd/ECBackend.cc: Fix double increment of num_shards_repaired stat

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
12 months agoMerge pull request #58341 from guits/wip-66746-squid
Adam King [Mon, 1 Jul 2024 19:29:52 +0000 (15:29 -0400)]
Merge pull request #58341 from guits/wip-66746-squid

squid: tests: make sure nvmetcli and nvme-cli are up to date

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #58219 from guits/wip-66026-squid
Adam King [Mon, 1 Jul 2024 19:25:10 +0000 (15:25 -0400)]
Merge pull request #58219 from guits/wip-66026-squid

squid: ceph-volume: create LVs when using partitions

Reviewed-by: Adam King <adking@redhat.com>
12 months agoMerge pull request #58151 from guits/wip-66464-squid
Adam King [Mon, 1 Jul 2024 19:22:23 +0000 (15:22 -0400)]
Merge pull request #58151 from guits/wip-66464-squid

squid: ceph-volume: fix set_dmcrypt_no_workqueue()

Reviewed-by: Teoman ONAY <tonay@ibm.com>
12 months agoMerge pull request #58370 from zdover23/wip-doc-2024-07-01-backport-58366-to-squid
Anthony D'Atri [Mon, 1 Jul 2024 15:35:42 +0000 (11:35 -0400)]
Merge pull request #58370 from zdover23/wip-doc-2024-07-01-backport-58366-to-squid

squid: doc/cephfs: update cephfs-shell link

12 months agoMerge pull request #58198 from ljflores/wip-66605-squid
Laura Flores [Mon, 1 Jul 2024 14:54:57 +0000 (09:54 -0500)]
Merge pull request #58198 from ljflores/wip-66605-squid

squid: Telemetry upgrade test fixes

12 months agodoc/cephfs: update cephfs-shell link 58370/head
Zac Dover [Mon, 1 Jul 2024 05:57:40 +0000 (15:57 +1000)]
doc/cephfs: update cephfs-shell link

Repair the link to cephfs-shell.rst in doc/cephfs/cephfs-shell.rst that
was broken in https://github.com/ceph/ceph/pull/41165/ when
doc/cephfs/cephfs-shell.rst was moved to doc/man/8/cephfs-shell.rst.

This commit is made in response to a request by Lander Duncan that was
made on the [ceph-users] mailing list, and can be seen here: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/F7V4CWLIYCAJ4JXI2JLNY6QPCFPR4SLA/

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

12 months agoMerge pull request #58359 from zdover23/wip-doc-2024-06-30-backport-58358-to-squid
Anthony D'Atri [Sat, 29 Jun 2024 19:22:49 +0000 (15:22 -0400)]
Merge pull request #58359 from zdover23/wip-doc-2024-06-30-backport-58358-to-squid

squid: doc/cephfs: take Anthony's suggestion

12 months agodoc/cephfs: take Anthony's suggestion 58359/head
Zac Dover [Sat, 29 Jun 2024 12:11:55 +0000 (22:11 +1000)]
doc/cephfs: take Anthony's suggestion

Incorporate Anthony's suggestion in
https://github.com/ceph/ceph/pull/57567#discussion_r1607016050 into
doc/cephfs/fs-volumes.rst.

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

12 months agoMerge pull request #58264 from amathuria/wip-66690-squid
Yuri Weinstein [Fri, 28 Jun 2024 14:29:04 +0000 (07:29 -0700)]
Merge pull request #58264 from amathuria/wip-66690-squid

squid: mon, qa: suites override ec profiles with --yes_i_really_mean_it; monitors accept that

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
12 months agoMerge pull request #58262 from amathuria/wip-66688-squid
Yuri Weinstein [Fri, 28 Jun 2024 14:28:22 +0000 (07:28 -0700)]
Merge pull request #58262 from amathuria/wip-66688-squid

squid: qa/suites/rados/thrash/workloads: remove cache tiering workload

Reviewed-by: Neha Ojha <nojha@redhat.com>
12 months agoMerge pull request #57589 from NitzanMordhai/wip-66142-squid
Yuri Weinstein [Fri, 28 Jun 2024 14:20:01 +0000 (07:20 -0700)]
Merge pull request #57589 from NitzanMordhai/wip-66142-squid

squid: common/pick_address: check if address in subnet all public address

Reviewed-by: Laura Flores <lflores@redhat.com>
12 months agotests: make sure nvmetcli and nvme-cli are up to date 58341/head
Guillaume Abrioux [Wed, 26 Jun 2024 10:35:43 +0000 (10:35 +0000)]
tests: make sure nvmetcli and nvme-cli are up to date

Otherwise jobs end up with the following failure:

```
2024-06-25T14:22:18.659 INFO:teuthology.orchestra.run.smithi098.stderr:Failed to write to /dev/nvme-fabrics: Invalid argument
```

Also, the output of nvme list has changed so we have to update
qa/tasks/nvme_loop.py accordingly.

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

12 months agomgr/dashboard: cephfs snapshot and clones e2e tests 58337/head
Nizamudeen A [Tue, 26 Mar 2024 18:56:43 +0000 (00:26 +0530)]
mgr/dashboard: cephfs snapshot and clones e2e tests

Fixes: https://tracker.ceph.com/issues/65180
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 3d1a7c56ccb8eb6d988e034e99e199cd226b1704)
(cherry picked from commit 9fbcf8658863b5a03d7d8fbf0f3e5d23baf6dc59)

12 months agomgr/dashboard: fix clone async validators with different groups
Nizamudeen A [Wed, 26 Jun 2024 13:22:40 +0000 (18:52 +0530)]
mgr/dashboard: fix clone async validators with different groups

Providing a way to dynamically update the async validator based on the
selector field so that when the selected value changes, the depended
field like the clone name gets validated again against the new value

Fixes: https://tracker.ceph.com/issues/66703
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 38bcce2346b3430e93d67a443a27ebdf9232fec9)

12 months agoMerge pull request #58307 from zdover23/wip-doc-2024-06-27-backport-58287-to-squid
Anthony D'Atri [Thu, 27 Jun 2024 16:45:17 +0000 (12:45 -0400)]
Merge pull request #58307 from zdover23/wip-doc-2024-06-27-backport-58287-to-squid

squid: doc/rados: update how to install c++ header files

12 months agoMerge pull request #58304 from zdover23/wip-doc-2024-06-27-backport-58299-to-squid
Anthony D'Atri [Thu, 27 Jun 2024 16:44:57 +0000 (12:44 -0400)]
Merge pull request #58304 from zdover23/wip-doc-2024-06-27-backport-58299-to-squid

squid: doc/dev: Fix typos in encoding.rst

12 months agoMerge pull request #58090 from vshankar/wip-66519-squid
Venky Shankar [Thu, 27 Jun 2024 16:31:09 +0000 (22:01 +0530)]
Merge pull request #58090 from vshankar/wip-66519-squid

squid: qa: use centos9 for fs:upgrade

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
12 months agodoc/rados: update how to install c++ header files 58307/head
Pere Diaz Bou [Wed, 26 Jun 2024 13:57:47 +0000 (15:57 +0200)]
doc/rados: update how to install c++ header files

In this example librados2-devel only install C header files on fedora 40,
therefore I added libradospp-devel to the command to include C++ header files.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
(cherry picked from commit 7e87441601db2379488fab62e900cd834086f26d)

12 months agodoc/dev: Fix typos in encoding.rst 58304/head
N Balachandran [Thu, 27 Jun 2024 07:22:09 +0000 (12:52 +0530)]
doc/dev: Fix typos in encoding.rst

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

12 months agoMerge pull request #58271 from zdover23/wip-doc-2024-06-26-backport-58226-to-squid
Anthony D'Atri [Wed, 26 Jun 2024 12:33:53 +0000 (08:33 -0400)]
Merge pull request #58271 from zdover23/wip-doc-2024-06-26-backport-58226-to-squid

squid: doc/rados: edit troubleshooting-osd.rst

12 months agodoc/rados: edit troubleshooting-osd.rst 58271/head
Zac Dover [Mon, 24 Jun 2024 10:32:30 +0000 (20:32 +1000)]
doc/rados: edit troubleshooting-osd.rst

Make minor changes to the "Debugging Slow Requests" section of
doc/rados/troubleshooting/troubleshooting-osd.rst in preparation
for an expansion of this section in response to a reqeust from Joel
Davidow.

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

12 months agoMerge pull request #58257 from zdover23/wip-doc-2024-06-25-backport-58243-to-squid
Zac Dover [Wed, 26 Jun 2024 05:52:22 +0000 (15:52 +1000)]
Merge pull request #58257 from zdover23/wip-doc-2024-06-25-backport-58243-to-squid

squid: doc/rados: credit Prashant for a procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agoosd/ECBackend.cc: Fix double increment of num_shards_repaired stat 58266/head
Bill Scales [Wed, 19 Jun 2024 08:36:06 +0000 (08:36 +0000)]
osd/ECBackend.cc: Fix double increment of num_shards_repaired stat

Commit https://github.com/ceph/ceph/commit/deffa8209f9c0bd300cfdb54d358402bfc6e41c6 refactored
ECBackend::handle_recovery_push for Crimson but accidentally duplicated the code that increments
the num_shards_repaired OSD statistic.

This caused one of the QA tests to fail because the stat reported twice as much repair work
had been completed than expected:

qa/standalone/scrub/osd-scrub-repair.sh: TEST_repair_stats_ec: test 26 = 13

Fixes: https://tracker.ceph.com/issues/64437
Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit e618dc01a7a1bdfaa3e1a6fa2a9a9ac13eee11b8)

12 months agomon: settle erasure-code-profile --yes-i-really-mean-it in asok's schema 58264/head
Radoslaw Zarzynski [Fri, 14 Jun 2024 16:40:37 +0000 (16:40 +0000)]
mon: settle erasure-code-profile --yes-i-really-mean-it in asok's schema

Fixes: https://tracker.ceph.com/issues/65183
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 0e70f679d0f32fafd7db39229325cf7db7f6eb05)

12 months agoqa: tests override ec profiles with --yes-i-really-mean-it
Radosław Zarzyński [Wed, 27 Mar 2024 16:39:34 +0000 (17:39 +0100)]
qa: tests override ec profiles with --yes-i-really-mean-it

This fixes a fallout from 629ba7bd349d48cdaa6d094751e7cfce651ba2bc.
The problem has been nailed down by Laura Flores.

Fixes: https://tracker.ceph.com/issues/65183
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 6f813236f8c617b3ff9517cf73ed256b5fede90e)

12 months agoqa/suites/rados/thrash/workloads: remove cache tiering workload 58262/head
Laura Flores [Wed, 19 Jun 2024 17:53:44 +0000 (12:53 -0500)]
qa/suites/rados/thrash/workloads: remove cache tiering workload

Fixes: https://tracker.ceph.com/issues/65852
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 35505a7f1fd8bcad2047426a4d641b4c016180af)

12 months agodoc/rados: credit Prashant for a procedure 58257/head
Zac Dover [Tue, 25 Jun 2024 04:49:13 +0000 (14:49 +1000)]
doc/rados: credit Prashant for a procedure

Credit Prashant D for creating the stretch-mode workaround procedure for
retrieving the correct size of datacenters.

Follows: https://github.com/ceph/ceph/pull/58109

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

12 months agomgr/dashboard: edit replication policy 58255/head
Nizamudeen A [Fri, 7 Jun 2024 13:22:19 +0000 (18:52 +0530)]
mgr/dashboard: edit replication policy

Fixes: https://tracker.ceph.com/issues/66240
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit ae5ae5be6146a8254554fa9dcdd2322ea90d0d7b)

12 months agomgr/dashboard: get bucket replication info
Nizamudeen A [Fri, 7 Jun 2024 13:13:00 +0000 (18:43 +0530)]
mgr/dashboard: get  bucket replication info

- Show bucket replication status and replication policy in the details
view

Fixes: https://tracker.ceph.com/issues/66241
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 9cdb55c2d2ed6f6ca4ab51d0cd40943107d90c0d)

12 months agomgr/dashboard: select default daemon based on the default zonegroup
Nizamudeen A [Fri, 7 Jun 2024 07:45:06 +0000 (13:15 +0530)]
mgr/dashboard: select default daemon based on the default zonegroup

if multisite is configured, the default daemon needs to be selected
based on the default zonegroup. Otherwise dashboard gives you incorrect
details when doing the period commit

The issue occurs when you do a period update --commit and you reload one
of the block page, the api assigns the zonegroup of the second gateway
because for a moment, the first gateway reflects the period changes...
This is not true because the default zonegroup is of the previous active
gateway but even though the back-end correctly says the active
zonegroup, the dashboard api says it wrongly.

Fixes: https://tracker.ceph.com/issues/66394
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 013d0826c12e4bfc9dc2b8984b1605694ac7d2ea)

12 months agomgr/dashboard: apply replication policy for a bucket
Nizamudeen A [Fri, 24 May 2024 14:20:11 +0000 (19:50 +0530)]
mgr/dashboard: apply replication policy for a bucket

On a normal multisite configured cluster, you can create a bucket with
this replication enabled which will stop the normal syncing and starts
doing the granular bucket syncing; meaning only the bucket with the
replication enabled will be syncing to the secondary site.

To enable replication, there should be a group policy created in the
primary site. If no group policy is there, the dashboard will create
one with bidirectional rule and add all the zones in the zonegroup for
syncing.

Fixes: https://tracker.ceph.com/issues/66239
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 8ae20324b61d140204b15a23ccedab178c6dcc7c)

12 months agomgr/dashboard: manage flow and pipes apis
Nizamudeen A [Tue, 14 May 2024 09:53:36 +0000 (15:23 +0530)]
mgr/dashboard: manage flow and pipes apis

Fixes: https://tracker.ceph.com/issues/66238
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 73db54b35ff880ba3f710ad893dfffca98b81a06)

12 months agomgr/dashboard: rgw policy group management api
Nizamudeen A [Tue, 14 May 2024 09:01:43 +0000 (14:31 +0530)]
mgr/dashboard: rgw policy group management api

Fixes: https://tracker.ceph.com/issues/66238
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 73a7602806ccd8d6cf4131d1e683233352631713)

12 months agomgr/dashboard: add dueTime to rgw bucket validator 58246/head
Nizamudeen A [Fri, 24 May 2024 15:16:17 +0000 (20:46 +0530)]
mgr/dashboard: add dueTime to rgw bucket validator

the unique async validator which checks if the typed bucket is existing
or not in the bucket creation form sends a request to the backend on
each keystroke. Each keystroke will raise an exception if the bucket is
not found.

Fixes: https://tracker.ceph.com/issues/66221
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit c053782cc5d7f3f4493094d37b164e0531f46caf)

12 months agomgr/dashboard: fix edit bucket failing in other selected gateways 58244/head
Nizamudeen A [Fri, 7 Jun 2024 13:49:42 +0000 (19:19 +0530)]
mgr/dashboard: fix edit bucket failing in other selected gateways

even if I select gateway 8002, the bucket policy req seems to go through 8000 and doesn't find the bucket
```
2024-06-07T13:40:33.161+0000 7f563be00700  0 [dashboard DEBUG rest_client] RGW REST API GET req: /hello?policy data: None
2024-06-07T13:40:33.164+0000 7f563be00700  0 [dashboard DEBUG urllib3.connectionpool] http://172.20.0.5:8000 "GET /hello?policy HTTP/1.1" 404 174
2024-06-07T13:40:33.164+0000 7f563be00700  0 [dashboard ERROR rest_client] RGW REST API failed GET req status: 404
2024-06-07T13:40:33.164+0000 7f563be00700  0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
  File "/ceph/src/pybind/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/ceph/src/pybind/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
    ret = func(*args, **kwargs)
  File "/ceph/src/pybind/mgr/dashboard/controllers/_rest_controller.py", line 193, in wrapper
    return func(*vpath, **params)
  File "/ceph/src/pybind/mgr/dashboard/controllers/rgw.py", line 463, in get
    result['bucket_policy'] = self._get_policy(bucket_name)
  File "/ceph/src/pybind/mgr/dashboard/controllers/rgw.py", line 381, in _get_policy
    return rgw_client.get_bucket_policy(bucket)
  File "/ceph/src/pybind/mgr/dashboard/rest_client.py", line 543, in func_wrapper
    **kwargs)
  File "/ceph/src/pybind/mgr/dashboard/services/rgw_client.py", line 957, in get_bucket_policy
    raise e
  File "/ceph/src/pybind/mgr/dashboard/services/rgw_client.py", line 949, in get_bucket_policy
    request = request()
  File "/ceph/src/pybind/mgr/dashboard/rest_client.py", line 325, in __call__
    data, raw_content, headers)
  File "/ceph/src/pybind/mgr/dashboard/rest_client.py", line 428, in do_request
    resp.content)
dashboard.rest_client.RequestException: RGW REST API failed request with status code 404
(b'{"Code":"NoSuchBucket","Message":"","BucketName":"hello","RequestId":"tx0000'
 b'0d73bbbad485175ea-0066630dd1-18785-zone1-zg1-realm1","HostId":"18785-zone1-z'
 b'g1-realm1-zg1-realm1"}')
```

But for the same bucket the encryption and other req goes through the correct gateway

```
2024-06-07T13:40:32.704+0000 7f563be00700  0 [dashboard DEBUG urllib3.connectionpool] http://172.20.0.5:8002 "GET /hello?versioning HTTP/1.1" 200 2
2024-06-07T13:40:32.745+0000 7f563be00700  0 [dashboard DEBUG rest_client] RGW REST API GET res status: 200 content: {}
2024-06-07T13:40:32.745+0000 7f563be00700  0 [dashboard INFO rgw_client] Found RGW daemon with configuration: host=172.20.0.5, port=8000, ssl=False
2024-06-07T13:40:32.746+0000 7f563be00700  0 [dashboard INFO rgw_client] Found RGW daemon with configuration: host=172.20.0.5, port=8002, ssl=False
2024-06-07T13:40:32.746+0000 7f563be00700  0 [dashboard DEBUG rest_client] RGW REST API GET req: /hello?encryption data: None
2024-06-07T13:40:32.747+0000 7f563be00700  0 [dashboard DEBUG urllib3.connectionpool] http://172.20.0.5:8002 "GET /hello?encr
```

Fixes: https://tracker.ceph.com/issues/66395
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 4ffd1d4f1a906f3162b3b0930accff66ba2fbf4d)

12 months agoMerge pull request #57970 from adk3798/squid-replace-pkg_resources-with-importlib
Adam King [Mon, 24 Jun 2024 19:38:50 +0000 (15:38 -0400)]
Merge pull request #57970 from adk3798/squid-replace-pkg_resources-with-importlib

squid: cephadm: use importlib.metadata for querying ceph_iscsi's version

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57400 from adk3798/squid-cephadm-timeout-ignore-refresh-failed
Adam King [Mon, 24 Jun 2024 19:37:35 +0000 (15:37 -0400)]
Merge pull request #57400 from adk3798/squid-cephadm-timeout-ignore-refresh-failed

squid: qa/cephadm: ignore CEPHADM_REFRESH_FAILED on timeout test

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57768 from adk3798/wip-65722-squid
Adam King [Mon, 24 Jun 2024 19:30:56 +0000 (15:30 -0400)]
Merge pull request #57768 from adk3798/wip-65722-squid

squid: cephadm: have agent check for errors before json loading mgr response

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57398 from adk3798/squid-cephadm-ignore-orch-paused
Adam King [Mon, 24 Jun 2024 19:29:28 +0000 (15:29 -0400)]
Merge pull request #57398 from adk3798/squid-cephadm-ignore-orch-paused

squid: qa/cephadm: ignore CEPHADM_PAUSED on test_orch_cli test

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57187 from adk3798/squid-stray-laundry
Adam King [Mon, 24 Jun 2024 18:55:03 +0000 (14:55 -0400)]
Merge pull request #57187 from adk3798/squid-stray-laundry

squid: qa/cephadm: ignore stray daemon warning during rados_api_tests

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57770 from adk3798/wip-65948-squid
Adam King [Mon, 24 Jun 2024 12:43:23 +0000 (08:43 -0400)]
Merge pull request #57770 from adk3798/wip-65948-squid

squid: mgr/pybind/object_format: fix json-pretty being marked invalid

Reviewed-by: John Mulligan <jmulligan@redhat.com>
12 months agoMerge pull request #57516 from adk3798/wip-65958-squid
Adam King [Mon, 24 Jun 2024 12:41:52 +0000 (08:41 -0400)]
Merge pull request #57516 from adk3798/wip-65958-squid

squid: mgr/cephadm:  update default NVMEoF container image version

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
12 months agoceph-volume: create LVs when using partitions 58219/head
Guillaume Abrioux [Mon, 15 Apr 2024 08:28:24 +0000 (08:28 +0000)]
ceph-volume: create LVs when using partitions

commit [1] introduced a behavior change.
`ceph-volume lvm prepare` used to create VGs/LVs when it was passed partitions
for db and/or wal devices. Since commit [1] has been introduced, it made ceph-volume
consume the partition directly, it doesn't create LV anymore. Although this
doesn't prevent from creating OSDs, this is a behavior change.

Fixes: https://tracker.ceph.com/issues/65477
[1] 1e7223281fa044c9653633e305c0b344e4c9b3a4

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 11f0173f1299ed6d137159dcf62c4a7a9fd20f82)