]>
git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
Adam Kupczyk [Fri, 11 Oct 2024 08:21:35 +0000 (08:21 +0000)]
os/bluestore/ceph-bluestore-tool: Modify show-label for many devs
It was possible to give multiple devices to cbt:
> ceph-bluestore-tool show-label --dev /dev/sda --dev /dev/sdb
But is any of devices cannot provide valid label, nothing was printed.
Now, always print results. Non readable labels are output as empty dictionaries.
Exit code:
- 0 if any label properly read
- 1 if all labels failed
Fixes: https://tracker.ceph.com/issues/68680
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit
8ebcb2dd46e5dc37a3e1ff6cc073351c4a2b5760 )
Anthony D'Atri [Tue, 29 Oct 2024 14:44:48 +0000 (10:44 -0400)]
Merge pull request #60537 from zdover23/wip-doc-2024-10-29-backport-60508-to-squid
squid: doc/rados: add blaum_roth coding guidance
Anthony D'Atri [Tue, 29 Oct 2024 14:18:43 +0000 (10:18 -0400)]
Merge pull request #60525 from zdover23/wip-doc-2024-10-29-backport-60470-to-squid
squid: doc: explain the consequence of enabling mirroring through monitor co…
Zac Dover [Sun, 27 Oct 2024 12:04:16 +0000 (22:04 +1000)]
doc/rados: add blaum_roth coding guidance
Direct Ceph administrators using blaum_roth coding for erasure-coded
pools to change the default value of w=7 to a different value in order
to ensure that w+1 is prime.
This information was provided to the Ceph upstream by Benjamin Mare in
September of 2024.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
6648d94aed5ff5643f50fcd4f3f07d97b846e885 )
Adam King [Tue, 29 Oct 2024 12:30:35 +0000 (08:30 -0400)]
Merge pull request #60486 from guits/wip-68599-squid
squid: orch: disk replacement enhancement
Reviewed-by: Adam King <adking@redhat.com>
Jos Collin [Thu, 24 Oct 2024 06:03:19 +0000 (11:33 +0530)]
doc: explain the consequence of enabling mirroring through monitor commands
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit
ed3ce72fbc0b097131945cbb39caa0831401b94a )
Yuval Lifshitz [Mon, 28 Oct 2024 10:20:27 +0000 (12:20 +0200)]
Merge pull request #59671 from yuvalif/wip-67952-squid
squid: rgw/notifications: free completion pointer using unique_ptr
Reviewed-By: Yuri Weinstein <yweinste@ibm.com>, Daniel Gryniewicz <dang1@ibm.com>, Shilpa Jagannath <shilpa.jagannath@ibm.com>
Ronen Friedman [Sun, 27 Oct 2024 07:15:27 +0000 (09:15 +0200)]
Merge pull request #59885 from ronen-fr/wip-rf-59793-to-squid
squid: osd/scrub: reduce osd_requested_scrub_priority default value
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Anthony D'Atri [Sat, 26 Oct 2024 13:45:32 +0000 (09:45 -0400)]
Merge pull request #60500 from zdover23/wip-doc-2024-10-26-backport-60444-to-squid
squid: doc/rados: standardize markup of "clean"
Anthony D'Atri [Sat, 26 Oct 2024 13:43:01 +0000 (09:43 -0400)]
Merge pull request #60503 from zdover23/wip-doc-2024-10-26-backport-60434-to-squid
squid: doc/glossary: add "PLP" to glossary
Zac Dover [Wed, 23 Oct 2024 00:50:25 +0000 (10:50 +1000)]
doc/glossary: add "PLP" to glossary
Add "PLP" to the glossary.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
599bdbf0a240ee718ed6da4104141b0f23330fbe )
Zac Dover [Wed, 23 Oct 2024 08:34:25 +0000 (18:34 +1000)]
doc/rados: standardize markup of "clean"
Standardize the markup around the status "clean" in the documentation so
that readers don't mistakenly get the idea that inconsistent
presentation of the word "clean" implies a never-stated difference
between one instance and the other.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
c8b4155d2d27228917d4be1f11514504100c55c7 )
Zac Dover [Sat, 26 Oct 2024 00:44:06 +0000 (10:44 +1000)]
Merge pull request #60496 from zdover23/wip-doc-2024-10-26-backport-58647-to-squid
squid: doc/cephfs: add doc for disabling mgr/volumes plugin
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Rishabh Dave [Sun, 28 Jul 2024 17:28:49 +0000 (22:58 +0530)]
doc/cephfs: add doc for disabling mgr/volumes plugin
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
373910de34fc9e1d98218aed0361cd9bf3badffa )
Guillaume Abrioux [Wed, 31 Jul 2024 14:36:48 +0000 (14:36 +0000)]
orch: disk replacement enhancement
This introduces a new `ceph orch device replace` command in order to
improve the user experience when it comes to replacing the underlying
device of an OSD.
Fixes: https://tracker.ceph.com/issues/68456
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
212c8740831a7650b5be86c27d14f8c0b6eacbef )
Guillaume Abrioux [Wed, 9 Oct 2024 15:00:53 +0000 (15:00 +0000)]
ceph-volume: address mypy errors in disk.py
typical error:
```
ceph_volume/util/disk.py:1374: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "str") [assignment]
```
This commits addresses it.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
b5e7008d28a5acd63ea9cd0c6b27f400dad409af )
Guillaume Abrioux [Wed, 9 Oct 2024 14:59:38 +0000 (14:59 +0000)]
ceph-volume: address test_activate_dmcrypt_tpm
This mocks the call to `luks_close()`, otherwise this test
fails when run on a system where `cryptsetup` isn't available.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
dd2a150f40fb11abe6bd1ee51bca03419aaa7d7f )
Anthony D'Atri [Fri, 25 Oct 2024 03:43:39 +0000 (23:43 -0400)]
Merge pull request #60482 from zdover23/wip-doc-2024-10-25-backport-60480-to-squid
squid: doc/cephfs: use 'p' flag to set layouts or quotas
TruongSinh Tran-Nguyen [Thu, 24 Oct 2024 20:57:49 +0000 (13:57 -0700)]
doc/cephfs: use 'p' flag to set layouts or quotas
Remind users that clients must use the 'p' flag when writing file
layouts.
This PR is made in response to
https://www.reddit.com/r/ceph/comments/1gbad51/comment/ltkgd5v/
Co-authored-by: Zac Dover <zac.dover@proton.me>
Signed-off-by: TruongSinh Tran-Nguyen <i@truongsinh.pro>
(cherry picked from commit
13c7c9d99881c7b4491ba1a693283c047161ea8a )
Yuri Weinstein [Thu, 24 Oct 2024 12:55:00 +0000 (05:55 -0700)]
Merge pull request #59603 from cbodley/wip-67882-squid
squid: qa/rgw/multisite: specify realm/zonegroup/zone args for 'account create'
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Shilpa Jagannath [Thu, 24 Oct 2024 05:38:49 +0000 (22:38 -0700)]
Merge pull request #60244 from cbodley/wip-67957-squid
squid: rgw/beast: optimize for accept when meeting error in listenning
Shilpa Jagannath [Thu, 24 Oct 2024 05:37:13 +0000 (22:37 -0700)]
Merge pull request #60065 from cbodley/wip-68330-squid
squid: rgw/rados: don't rely on IoCtx::get_last_version() for async ops
Shilpa Jagannath [Thu, 24 Oct 2024 05:36:36 +0000 (22:36 -0700)]
Merge pull request #59917 from yuvalif/wip-67648-squid
squid: test/rgw/notifications: don't check for full queue if topics expired
Shilpa Jagannath [Thu, 24 Oct 2024 05:30:43 +0000 (22:30 -0700)]
Merge pull request #59670 from mkogan1/wip-67922-squid
squid: rgw: decrement qlen/qactive perf counters on error
Shilpa Jagannath [Thu, 24 Oct 2024 05:29:37 +0000 (22:29 -0700)]
Merge pull request #59439 from cbodley/wip-67712-squid
squid: rgw/http: finish_request() after logging errors
Shilpa Jagannath [Thu, 24 Oct 2024 05:29:16 +0000 (22:29 -0700)]
Merge pull request #59413 from cbodley/wip-67686-squid
squid: rgw: load copy source bucket attrs in putobj
Shilpa Jagannath [Thu, 24 Oct 2024 05:28:35 +0000 (22:28 -0700)]
Merge pull request #59303 from yuvalif/wip-67609-squid
squid: test/rgw/notification: use real ip address instead of localhost
Shilpa Jagannath [Thu, 24 Oct 2024 05:27:33 +0000 (22:27 -0700)]
Merge pull request #59226 from cbodley/wip-67558-squid
squid: rgw/notify: visit() returns copy of owner string
Shilpa Jagannath [Thu, 24 Oct 2024 05:26:45 +0000 (22:26 -0700)]
Merge pull request #59223 from cbodley/wip-67557-squid
squid: rgwlc: fix typo in getlc (ObjectSizeGreaterThan)
Anthony D'Atri [Thu, 24 Oct 2024 00:47:19 +0000 (20:47 -0400)]
Merge pull request #60461 from zdover23/wip-doc-2024-10-24-backport-60460-to-squid
squid: doc/start: add vstart install guide
Zac Dover [Wed, 23 Oct 2024 23:04:08 +0000 (09:04 +1000)]
doc/start: add vstart install guide
Add "vstart Cluster Installation and Configuration Procedure" to the
Beginner's Guide.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
a42be085bd7b9159f4924853ac2b2d92c37884b0 )
Adam King [Wed, 23 Oct 2024 18:30:01 +0000 (14:30 -0400)]
Merge pull request #60354 from guits/wip-68556-squid
squid: cephadm: pull container images from quay.io
Reviewed-by: Adam King <adking@redhat.com>
Guillaume Abrioux [Wed, 23 Oct 2024 07:16:01 +0000 (09:16 +0200)]
Merge pull request #60353 from guits/wip-68566-squid
squid: ceph-volume: drop unnecessary call to `get_single_lv()`
Guillaume Abrioux [Wed, 23 Oct 2024 06:44:03 +0000 (08:44 +0200)]
Merge pull request #60091 from guits/wip-68343-squid
squid: ceph-volume: add new class UdevData
Anthony D'Atri [Wed, 23 Oct 2024 01:52:26 +0000 (21:52 -0400)]
Merge pull request #60435 from zdover23/wip-doc-2024-10-23-backport-60433-to-squid
squid: doc/cephfs: rearrange subvolume group information
Indira Sawant [Tue, 22 Oct 2024 21:45:10 +0000 (16:45 -0500)]
doc/cephfs: rearrange subvolume group information
Rearranging the documentation to align it with CephFS encapsulation design.
Signed-off-by: Indira Sawant <indira.sawant@ibm.com>
(cherry picked from commit
f6cf7ae5281f5740ac78bfa5e2a22913353b8167 )
Zac Dover [Wed, 23 Oct 2024 01:28:45 +0000 (11:28 +1000)]
Merge pull request #60432 from zdover23/wip-doc-2024-10-23-backport-60423-to-squid
squid: doc/cephadm: correct "ceph orch apply" command
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Guillaume Abrioux [Mon, 30 Sep 2024 13:30:25 +0000 (15:30 +0200)]
cephadm: pull container images from quay.io
Now that all required images are hosted and/or mirrored on quay.io
we can move away from docker.io
Fixes: https://tracker.ceph.com/issues/68323
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
fd895dde9d69ae7be7a78d8db37a2f94ded27080 )
Zac Dover [Tue, 22 Oct 2024 11:30:02 +0000 (21:30 +1000)]
doc/cephadm: correct "ceph orch apply" command
s/orch apply/ceph orch apply/ in a command where "ceph" was missing.
This was reported by Eugen Block to Zac Dover on 22 Oct 2024 through
Slack.
Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
c42066766428c72884ed6f5dd6fa88244f436a1f )
Casey Bodley [Tue, 22 Oct 2024 15:44:35 +0000 (11:44 -0400)]
Merge pull request #60127 from adamemerson/wip-40692-squid
squid: global: Call getnam_r with a 64KiB buffer on the heap
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Tue, 22 Oct 2024 10:32:42 +0000 (12:32 +0200)]
Merge pull request #59661 from idryomov/wip-67845-squid
squid: librbd/migration: prune snapshot extents in RawFormat::list_snaps()
Reviewed-by: Ramana Raja <rraja@redhat.com>
Yuri Weinstein [Mon, 21 Oct 2024 20:56:02 +0000 (13:56 -0700)]
Merge pull request #58542 from k0ste/wip-66530-squid
squid: cephadm: fix apparmor profiles with spaces in the names
Reviewed-by: Adam King adking@redhat.com
Yuri Weinstein [Mon, 21 Oct 2024 19:21:59 +0000 (12:21 -0700)]
Merge pull request #60171 from idryomov/wip-63184-squid
squid: librbd/crypto/LoadRequest: clone format for migration source image
Reviewed-by: Ramana Raja <rraja@redhat.com>
Yuri Weinstein [Mon, 21 Oct 2024 19:21:08 +0000 (12:21 -0700)]
Merge pull request #59771 from nbalacha/wip-67764-squid
squid: rbd-mirror: use correct ioctx for namespace
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Yuri Weinstein [Mon, 21 Oct 2024 19:20:14 +0000 (12:20 -0700)]
Merge pull request #59502 from idryomov/wip-67698-squid
squid: rbd: "rbd bench" always writes the same byte
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Mon, 21 Oct 2024 19:19:31 +0000 (12:19 -0700)]
Merge pull request #59145 from idryomov/wip-53674-squid
squid: librbd/crypto: fix issue when live-migrating from encrypted export
Reviewed-by: Ramana Raja <rraja@redhat.com>
Adam Kupczyk [Mon, 21 Oct 2024 13:08:32 +0000 (15:08 +0200)]
Merge pull request #60335 from aclamk/wip-68560-squid
squid: os/bluestore: Fix ceph-bluestore-tool allocmap command
Adam Kupczyk [Mon, 21 Oct 2024 07:55:27 +0000 (09:55 +0200)]
Merge pull request #59969 from aclamk/wip-68222-squid
squid: os/bluestore: Fix BlueFS allocating bdev label reserved location
Adam Kupczyk [Mon, 21 Oct 2024 07:55:17 +0000 (09:55 +0200)]
Merge pull request #60336 from aclamk/wip-68558-squid
squid: os/bluestore: Fix repair of multilabel when collides with BlueFS
Zac Dover [Mon, 21 Oct 2024 05:02:46 +0000 (15:02 +1000)]
Merge pull request #60338 from zdover23/wip-doc-2024-10-16-backport-60302-to-squid
squid: doc,mailmap: update my email / association to ibm
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Kamoltat (Junior) Sirivadhna [Fri, 18 Oct 2024 22:40:18 +0000 (18:40 -0400)]
Merge pull request #60003 from kamoltat/wip-68280-squid
squid: src/mon/ConnectionTracker.cc: Fix dump function
Reviewed-by: Neha Ojha <nojha@redhat.com>
afreen23 [Thu, 17 Oct 2024 20:23:15 +0000 (01:53 +0530)]
Merge pull request #60378 from rhcs-dashboard/wip-68597-squid
squid: mgr/dashboard: fix lifecycle issues
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Yuri Weinstein [Thu, 17 Oct 2024 18:43:15 +0000 (11:43 -0700)]
Merge pull request #60279 from mchangir/wip-log-save-thread-name-in-log-entries-squid
squid: log: save/fetch thread name infra
Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Pedro Gonzalez Gomez [Mon, 7 Oct 2024 19:22:20 +0000 (21:22 +0200)]
mgr/dashboard: fix lifecycle issues
Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html
Fixes: https://tracker.ceph.com/issues/68434
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit
87612f499f86c9864c3bf6371cdd46954176e5ab )
Pedro Gonzalez Gomez [Thu, 17 Oct 2024 06:01:19 +0000 (08:01 +0200)]
Merge pull request #60356 from rhcs-dashboard/wip-68565-squid
Squid: mgr/dashboard: The subvolumes are missing from the dropdown menu on the "Create NFS export" page
afreen23 [Wed, 16 Oct 2024 16:33:12 +0000 (22:03 +0530)]
Merge pull request #60346 from rhcs-dashboard/wip-68554-squid
Squid: mgr/dashboard: sync policy's in Object >> Multi-site >> Sync-policy, does not show the zonegroup to which policy belongs to
Reviewed-by: Afreen Misbah <afreen@ibm.com>
afreen23 [Wed, 16 Oct 2024 15:24:03 +0000 (20:54 +0530)]
Merge pull request #60348 from afreen23/wip-68559-squid
squid: mgr/dashboard: fix group name bugs in the nvmeof API
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Casey Bodley [Wed, 16 Oct 2024 15:05:18 +0000 (11:05 -0400)]
Merge pull request #60332 from cbodley/wip-doc-rgw-multisite-secondary-commit-squid
squid: doc/radosgw/multisite: fix Configuring Secondary Zones -> Updating the Period
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
SrinivasaBharathKanta [Wed, 16 Oct 2024 14:36:34 +0000 (20:06 +0530)]
Merge pull request #58991 from cbodley/wip-67307-squid
squid: msg: insert PriorityDispatchers in sorted position
Anthony D'Atri [Wed, 16 Oct 2024 13:17:13 +0000 (09:17 -0400)]
Merge pull request #60343 from zdover23/wip-doc-2024-10-16-backport-60256-to-squid
squid: doc: update Key Idea in cephfs-mirroring.rst
Dnyaneshwari [Mon, 14 Oct 2024 04:26:45 +0000 (09:56 +0530)]
Squid: mgr/dashboard: The subvolumes are missing from the dropdown menu on the "Create NFS export" page
Fixes: https://tracker.ceph.com/issues/68519
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit
e036fde7e4b03241e617cbb3ef8f19a703aae716 )
Guillaume Abrioux [Mon, 30 Sep 2024 09:17:11 +0000 (09:17 +0000)]
ceph-volume: drop unnecessary call to `get_single_lv()`
`Zap.zap_lv()` currently makes a call to `get_single_lv()`:
```
lv = api.get_single_lv(filters={'lv_name': device.lv_name,
'vg_name': device.vg_name})
```
this isn't needed and redundant as zap_lv() takes an instance of `Device()`
as argument which has already a `lv_api` attribute:
class Device in device.py:
```
else:
vgname, lvname = self.path.split('/')
filters = {'lv_name': lvname, 'vg_name': vgname}
lv = lvm.get_single_lv(filters=filters) # <---- same call
if lv:
self.lv_api = lv
```
This implies a duplicate call to `subprocess.Popen()` unnecessarily.
Fixes: https://tracker.ceph.com/issues/68312
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit
c0e05bf36067294420631f33c5e43c32077eeb82 )
Adam Kupczyk [Tue, 15 Oct 2024 12:41:22 +0000 (12:41 +0000)]
os/bluestore: Fix repair of multilabel when collides with BlueFS
The problem was that BDEV_FIRST_LABEL_POSITION was removed from
bdev_label_valid_locations set.
Now, if label at BDEV_FIRST_LABEL_POSITION is valid, it is in the set.
Fixes: https://tracker.ceph.com/issues/68558
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit
7343be720870d4a5f82b55beee4685457a003067 )
Nizamudeen A [Wed, 9 Oct 2024 14:45:55 +0000 (20:15 +0530)]
mgr/dashboard: fix group name bugs in the nvmeof API
there are 2 issues
1. in cephadm, i was always using the first daemon to populate the group
in all the services for the dashboard config.
2. in the API, if there are more than 1 gateways listed in the config,
rather than chosing a random gateway from the group, raise an
exception and warn user to specify the gw_group parameter in the api
request
Fixes: https://tracker.ceph.com/issues/68463
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
f9b50b2e88ae5d9ac4f2cab986527a0a12317da9 )
Conflicts:
src/pybind/mgr/cephadm/services/nvmeof.py
afreen23 [Wed, 16 Oct 2024 06:57:27 +0000 (12:27 +0530)]
Merge pull request #60311 from rhcs-dashboard/wip-68410-squid
squid: mgr/dashboard: ignore exceptions raised when no cert/key found
Reviewed-by: Afreen Misbah <afreen@ibm.com>
afreen23 [Wed, 16 Oct 2024 06:54:11 +0000 (12:24 +0530)]
Merge pull request #60321 from aaSharma14/wip-68546-squid
squid: mgr/cephadm: Update multi-site configs before deploying daemons on rgw service create
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Naman Munet [Tue, 8 Oct 2024 09:24:32 +0000 (14:54 +0530)]
mgr/dashboard: sync policy's in Object >> Multi-site >> Sync-policy, does not show the zonegroup to which policy belongs to
Fixes: https://tracker.ceph.com/issues/68355
Fixes Includes: Added default zonegroup name with the sync policy details
Signed-off-by: Naman Munet <namanmunet@li-ff83bccc-26af-11b2-a85c-a4b04bfb1003.ibm.com>
(cherry picked from commit
517ab013e2a9bd23b482134121bcb85c5a32f028 )
Jos Collin [Fri, 11 Oct 2024 05:03:47 +0000 (10:33 +0530)]
doc: update Key Idea in cephfs-mirroring.rst
Updates the snapdiff feature and it's url.
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit
629922bf6a0905cc87707f5e2d027f6320aafd99 )
Patrick Donnelly [Mon, 14 Oct 2024 18:50:41 +0000 (14:50 -0400)]
mailmap: add my ibm email
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit
e4177406f9734f1c8af91f8292aa972d01fb77f9 )
Patrick Donnelly [Mon, 14 Oct 2024 18:57:31 +0000 (14:57 -0400)]
doc/governance: update my CSC email
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit
2f61b2847d92b5156408dbcfa5b6e09e2de404c1 )
Adam Kupczyk [Fri, 13 Sep 2024 16:39:51 +0000 (16:39 +0000)]
os/bluestore: Fix ceph-bluestore-tool allocmap command
BlueStore::read_allocation_from_drive_for_bluestore_tool was
not informed that multiple bdev labels can exist and reserve space.
Comparison of real alloc vs recovered alloc was failing.
Fixes: https://tracker.ceph.com/issues/68560
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit
358f33a148c9a65478e33648f16e8c8af73c98f2 )
Casey Bodley [Fri, 4 Oct 2024 19:50:05 +0000 (15:50 -0400)]
doc/radosgw/multisite: fix Configuring Secondary Zones -> Updating the Period
this was copy/pasted from Configuring a Master Zone -> Update the Period
but still referred to the 'master zone'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
cfe254758b1ca9647c4dcfb13b6a3310558b88d2 )
Aashish Sharma [Wed, 9 Oct 2024 14:02:49 +0000 (19:32 +0530)]
mgr/cephadm: RGW service deployment defaults to 'default' realm/zonegroup/zone despite non-default spec in service
When we create an RGW service using the ceph orch apply command, the service is always deployed in the default realm, zonegroup, and zone, even if we specify a different realm, zonegroup, or zone in the service spec. This happens because certain configuration values, like rgw_realm, rgw_zonegroup, and rgw_zone, need to be set for the RGW instances before the daemons are deployed. Currently, these configurations are being applied after the RGW daemons are deployed, which requires a service restart to reflect the correct realm, zonegroup, and zone. Ideally, these configurations should be applied before the RGW daemons are deployed, so they are correctly placed in the desired realm, zonegroup, and zone from the start.
Fixes: https://tracker.ceph.com/issues/68461
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit
ad147f2e8d820ff251e1499c1e4c3fe57d1a2082 )
Zac Dover [Tue, 15 Oct 2024 12:22:17 +0000 (22:22 +1000)]
Merge pull request #59140 from zdover23/wip-doc-2024-08-10-backport-58951-to-squid
squid: mgr/dashboard: fix ceph-users api doc
Reviewed-by: Afreen <afreen23.git@gmail.com>
Milind Changire [Fri, 27 Sep 2024 10:40:22 +0000 (16:10 +0530)]
log: thread name save/fetch infra
* pthread name is saved in a thread_local storage
* the thread_local name is copied into Entry object's ctor
* Log::dump_recent() reads the thread name from the Entry
object's data member when dumping logs
Fixes: https://tracker.ceph.com/issues/50743
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit
0be8d01c9ddde0d7d24edd34dc75f6cfc861b5ba )
Ronen Friedman [Tue, 15 Oct 2024 11:26:07 +0000 (14:26 +0300)]
Merge pull request #60287 from ronen-fr/wip-rf-60198-squid
squid: qa/standalone/scrub: remove TEST_recovery_scrub_2
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
afreen23 [Tue, 15 Oct 2024 10:52:47 +0000 (16:22 +0530)]
Merge pull request #60293 from rhcs-dashboard/squid-sync-policy-pipe-edit-fixes
Squid: mgr/dashboard: unable to edit pipe config for bucket level policy of bucket
Reviewed-by: Afreen Misbah <afreen@ibm.com>
afreen23 [Tue, 15 Oct 2024 10:51:29 +0000 (16:21 +0530)]
Merge pull request #60292 from afreen23/wip-68521-squid
squid: mgr/dashboard: Fix listener deletion
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Afreen Misbah [Fri, 11 Oct 2024 08:57:24 +0000 (14:27 +0530)]
mgr/dashboard: Fix listener deletion
Listener deletion is broken due to passing wrong gateway address.
Including `traddr` in DELETE API of listener to choose correct gateway address for deletion.
The same fix we did for POST API here: https://github.com/afreen23/ceph/commit/
287ff3b3603291763b3cd08f9b1543fe60d5f3b9
Fixes: https://tracker.ceph.com/issues/68506
Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
(cherry picked from commit
3dc091dd12c54103b9e93b5c38b86c883d93f242 )
Conflicts:
src/pybind/mgr/dashboard/controllers/nvmeof.py
afreen23 [Tue, 15 Oct 2024 06:41:12 +0000 (12:11 +0530)]
Merge pull request #60310 from rhcs-dashboard/wip-pr-60150-squid
squid: mgr/dashboard: add gw_groups to all nvmeof endpoints
Reviewed-by: Afreen Misbah <afreen@ibm.com>
afreen23 [Tue, 15 Oct 2024 06:35:59 +0000 (12:05 +0530)]
Merge pull request #60294 from rhcs-dashboard/wip-68523-squid
squid: mgr/dashboard: introduce server side pagination for osds
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Nizamudeen A [Thu, 19 Sep 2024 04:44:07 +0000 (10:14 +0530)]
mgr/dashboard: rm unnecessary classmethods
Refer: https://github.com/ceph/ceph/pull/59482#discussion_r1756557726
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
b534f60ed5f415eb5757f734e1c0c6a292c631e9 )
Nizamudeen A [Thu, 19 Sep 2024 03:39:20 +0000 (09:09 +0530)]
mgr/dashboard: ignore exceptions raised when no cert/key found
for nvmeof client, when there are no cert found, it raises an exception
which gets logged more often because the dashboard polls the client
frequently.
```
Sep 18 13:40:54 ceph-node-00 ceph-mgr[2716]: log_channel(cephadm) log [ERR] : No secret found for entity nvmeof_root_ca_cert with service name nvmeof.rbd.default
Traceback (most recent call last):
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 140, in wrapper
return OrchResult(f(*args, **kwargs))
File "/usr/share/ceph/mgr/cephadm/module.py", line 3271, in cert_store_get_cert
raise OrchSecretNotFound(entity=entity, service_name=service_name, hostname=hostname)
cephadm.inventory.OrchSecretNotFound: No secret found for entity nvmeof_root_ca_cert with service name nvmeof.rbd.default
Sep 18 13:40:54 ceph-node-00 ceph-mgr[2716]: [dashboard INFO orchestrator] is orchestrator available: True,
Sep 18 13:40:54 ceph-node-00 ceph-mgr[2716]: [cephadm ERROR orchestrator._interface] No secret found for entity nvmeof_server_cert with service name nvmeof.rbd.default
Traceback (most recent call last):
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 140, in wrapper
return OrchResult(f(*args, **kwargs))
File "/usr/share/ceph/mgr/cephadm/module.py", line 3271, in cert_store_get_cert
raise OrchSecretNotFound(entity=entity, service_name=service_name, hostname=hostname)
cephadm.inventory.OrchSecretNotFound: No secret found for entity nvmeof_server_cert with service name nvmeof.rbd.default
Sep 18 13:40:54 ceph-node-00 ceph-
0377c7c2 -75c1-11ef-bb0e-
5254000e47d2 -mgr-ceph-node-00-cvrrld[2712]: 2024-09-18T13:40:54.529+0000
7fbbd9272640 -1 log_channel(cephadm) log [ERR] : No secret found for entity nvmeof_server_cert with service name nvmeof.rbd.default
Sep 18 13:40:54 ceph-node-00 ceph-
0377c7c2 -75c1-11ef-bb0e-
5254000e47d2 -mgr-ceph-node-00-cvrrld[2712]: Traceback (most recent call last):
Sep 18 13:40:54 ceph-node-00 ceph-
0377c7c2 -75c1-11ef-bb0e-
5254000e47d2 -mgr-ceph-node-00-cvrrld[2712]: File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 140, in wrapper
Sep 18 13:40:54 ceph-node-00 ceph-
0377c7c2 -75c1-11ef-bb0e-
5254000e47d2 -mgr-ceph-node-00-cvrrld[2712]: return OrchResult(f(*args, **kwargs))
Sep 18 13:40:54 ceph-node-00 ceph-
0377c7c2 -75c1-11ef-bb0e-
5254000e47d2 -mgr-ceph-node-00-cvrrld[2712]: File "/usr/share/ceph/mgr/cephadm/module.py", line 3271, in cert_store_get_cert
Sep 18 13:40:54 ceph-node-00 ceph-
0377c7c2 -75c1-11ef-bb0e-
5254000e47d2 -mgr-ceph-node-00-cvrrld[2712]: raise OrchSecretNotFound(entity=entity, service_name=service_name, hostname=hostname)
Sep 18 13:40:54 ceph-node-00 ceph-
0377c7c2 -75c1-11ef-bb0e-
5254000e47d2 -mgr-ceph-node-00-cvrrld[2712]: cephadm.inventory.OrchSecretNotFound: No secret found for entity nvmeof_server_cert with service name nvmeof.rbd.default
Sep 18 13:40:54 ceph-node-00 ceph-mgr[2716]: log_channel(cephadm) log [ERR] : No secret found for entity nvmeof_server_cert with service name nvmeof.rbd.default
Traceback (most recent call last):
File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 140, in wrapper
return OrchResult(f(*args, **kwargs))
File "/usr/share/ceph/mgr/cephadm/module.py", line 3271, in cert_store_get_cert
raise OrchSecretNotFound(entity=entity, service_name=service_name, hostname=hostname)
cephadm.inventory.OrchSecretNotFound: No secret found for entity nvmeof_server_cert with service name nvmeof.rbd.default
Sep 18 13:40:54 ceph-node-00 ceph-mgr[2716]: [dashboard INFO nvmeof_client] Insecurely connecting to: 192.168.100.101:5500
```
Fixes: https://tracker.ceph.com/issues/68141
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
a939c75f10780a5d3a086ab3db1f0c07e40fb8f8 )
Nizamudeen A [Mon, 7 Oct 2024 06:41:11 +0000 (12:11 +0530)]
mgr/dashboard: add gw_groups to all nvmeof endpoints
This was missed in the previous implementation
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
485cb051192a6142104756ed88a900a5ba455179 )
Laura Flores [Mon, 14 Oct 2024 22:59:37 +0000 (17:59 -0500)]
Merge pull request #60229 from dmick/wip-68469-squid
squid: Add Containerfile and build.sh to build it.
Yuri Weinstein [Mon, 14 Oct 2024 21:26:08 +0000 (14:26 -0700)]
Merge pull request #55865 from trociny/wip-64651-squid
squid: mon/OSDMonitor: fix get_min_last_epoch_clean()
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
Anthony D'Atri [Mon, 14 Oct 2024 19:13:03 +0000 (15:13 -0400)]
Merge pull request #60297 from zdover23/wip-doc-2024-10-14-backport-60242-to-squid
squid: doc: SubmittingPatches-backports - remove backports team
Dan Mick [Thu, 10 Oct 2024 23:38:58 +0000 (16:38 -0700)]
container/build.sh: fix arm architecture tagging
The wrong string was used for comparison, and for tagging,
so the arm64 branch and sha1 images overwrote and destroyed
the amd64 images.
Signed-off-by: Dan Mick <dmick@redhat.com>
(cherry picked from commit
7e03ee798f4ed3aa4a0bb1a9e9d62df52e54406d )
Zac Dover [Mon, 14 Oct 2024 13:57:46 +0000 (23:57 +1000)]
Merge pull request #60272 from zdover23/wip-doc-2024-10-12-backport-60243-to-squid
squid: doc/dev: remove "Stable Releases and Backports"
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Thu, 10 Oct 2024 12:11:22 +0000 (22:11 +1000)]
doc: SubmittingPatches-backports - remove backports team
Remove all references to the "Stable Releases and Backports Team", which
as of October 2024 does not exist.
Fixes: https://tracker.ceph.com/issues/68471
Co-authored-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
0317b5f87ac22399f6242d72f0bb9924794687de )
Venky Shankar [Mon, 14 Oct 2024 09:54:42 +0000 (15:24 +0530)]
Merge pull request #59894 from avanthakkar/wip-68125-squid
squid: mgr/volumes: add earmarking for subvol
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Nizamudeen A [Fri, 20 Sep 2024 15:05:38 +0000 (20:35 +0530)]
mgr/dashboard: introduce server side pagination for osds
Fixes: https://tracker.ceph.com/issues/56511
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
86378344ab0a381569b116c2112a981404f93671 )
Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts
- remove the carbon cds modal import
Naman Munet [Mon, 7 Oct 2024 05:11:29 +0000 (10:41 +0530)]
mgr/dashboard: unable to edit pipe config for bucket level policy of a bucket
Fixes: https://tracker.ceph.com/issues/68387
Fixes Includes:
1) Passing additional parameter for 'user' and 'mode' as the user can be either system/dashboard or other values while creating pipe.
2) Previously while removing the src/dest bucket field, we were getting same old values on editing pipe, but now it will become '*' if empty value passed from frontend.
Signed-off-by: Naman Munet <namanmunet@li-ff83bccc-26af-11b2-a85c-a4b04bfb1003.ibm.com>
(cherry picked from commit
5a1a21573b92113144060e8475778c669b1de4aa )
Ronen Friedman [Tue, 8 Oct 2024 13:25:56 +0000 (08:25 -0500)]
qa/standalone/scrub: remove TEST_recovery_scrub_2
That test does no longer match the actual requirements and
implementation of scrubbing.
It was already deactivated in
https://github.com/ceph/ceph/pull/59590. Here - it is
fully removed, mainly for the sake of backporting.
Fixes (original): https://tracker.ceph.com/issues/50245
Fixes (Squid backport): https://tracker.ceph.com/issues/68403
(cherry picked from commit
0c4028a6a356ae8c6e7d6d646e96c8e38a114789 )
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Zac Dover [Thu, 10 Oct 2024 12:17:12 +0000 (22:17 +1000)]
doc/dev: remove "Stable Releases and Backports"
Remove mention of "Stable Releases and Backports" from
doc/dev/developer_guide/essentials.rst.
Co-authored-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
95916c91906604c516e78b550010e9de511fc1e9 )
Anthony D'Atri [Fri, 11 Oct 2024 20:05:25 +0000 (16:05 -0400)]
Merge pull request #60269 from zdover23/wip-doc-2024-10-12-backport-59507-to-squid
squid: doc/rbd: add namespace information for mirror commands
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 )
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>
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>
Casey Bodley [Wed, 25 Sep 2024 22:38:08 +0000 (18:38 -0400)]
rgw/rados: rgw_rados_operate() takes version_t*
instead of calling ioctx.get_last_version() after a rados operation,
callers now pass version_t* as an output parameter. in the null_yield
case, that version is assigned to ioctx.get_last_version() as normal. in
the async case, we get the version out of librados::async_operate()'s
return value
Fixes: https://tracker.ceph.com/issues/63935
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
7769bdb9438d48afc8500c16167f82c8f549a914 )
Conflicts: maybe_warn_about_blocking() not backported
src/rgw/driver/rados/rgw_tools.cc