]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 months agomgr/dashboard: Fix space between the text in few sections 59821/head
Prachi Goel [Tue, 17 Sep 2024 07:27:20 +0000 (12:57 +0530)]
mgr/dashboard: Fix space between the text in few sections

Fixes: https://tracker.ceph.com/issues/68098
Signed-off-by: Prachi prgoel@redhat.com
Fixes:
Fix space between the text in below sections

Observability/Alerts —> Active Alerts

Observability/ Alerts —> Alerts

Observability/Alerts —> Silences
Cluster/Pools —> overall performance
Cluster/Hosts/ —> overall performance


Cluster/ OSDs —> overall performance
Block/iSCSI/ —> Targets
Object/Overview —> Multi-Site Sync Status
cluster --> pools -->Pools list --> under each entry: Performance details section
Cluster --> Hosts --> Hosts List --> under each entry: Performance details section
Cluster --> OSDs --> OSD's List --> under each entry: Performance details section

Signed-off-by: Prachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
10 months agoMerge PR #59111 into main
Venky Shankar [Wed, 18 Sep 2024 05:33:58 +0000 (11:03 +0530)]
Merge PR #59111 into main

* refs/pull/59111/head:
doc: document earmark option for subvolume and new commands
qa/cephfs: update tests for test_volumes & unit-test for earmarking
mgr/volumes: add earmarking for subvol

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
10 months agoMerge pull request #59765 from rhcs-dashboard/carbon-ui-cleanups
Nizamudeen A [Wed, 18 Sep 2024 02:14:23 +0000 (07:44 +0530)]
Merge pull request #59765 from rhcs-dashboard/carbon-ui-cleanups

mgr/dashboard: fix minor issues in carbon tables

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
10 months agoMerge pull request #59373 from rhcs-dashboard/test-ms-alertmanager-v2
Nizamudeen A [Tue, 17 Sep 2024 14:58:37 +0000 (20:28 +0530)]
Merge pull request #59373 from rhcs-dashboard/test-ms-alertmanager-v2

qa/task: update alertmanager endpoints version

Reviewed-by: Adam King <adking@redhat.com>
10 months agoMerge pull request #59788 from zdover23/wip-doc-2024-09-14-README-md-command-formatting
Zac Dover [Tue, 17 Sep 2024 13:13:29 +0000 (23:13 +1000)]
Merge pull request #59788 from zdover23/wip-doc-2024-09-14-README-md-command-formatting

doc/README.md: create selectable commands

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 months agoMerge pull request #54277 from rhcs-dashboard/nfs-export-apply-fix
Adam King [Tue, 17 Sep 2024 13:08:01 +0000 (09:08 -0400)]
Merge pull request #54277 from rhcs-dashboard/nfs-export-apply-fix

mgr/nfs: generate user_id & access_key for apply_export(CephFS)

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
10 months agoMerge pull request #58728 from ifed01/wip-ifed-ret-error-kv-stats
Igor Fedotov [Tue, 17 Sep 2024 12:35:27 +0000 (15:35 +0300)]
Merge pull request #58728 from ifed01/wip-ifed-ret-error-kv-stats

kv/rocksdb: return error for dump_objectstore_kv_stats asok command

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
10 months agomgr/dashboard: fix minor issues in carbon tables 59765/head
Nizamudeen A [Thu, 12 Sep 2024 13:21:13 +0000 (18:51 +0530)]
mgr/dashboard: fix minor issues in carbon tables

- fixes table in table structure's unusual padding
- fixes the ceph fs details page where table was getting hidden
- improving the subvolume list page by changing the spacings there
- hide the refresh button where it shouldn't be shown.

Fixes: https://tracker.ceph.com/issues/68050
Signed-off-by: Nizamudeen A <nia@redhat.com>
10 months agoMerge PR #55421 into main
Venky Shankar [Tue, 17 Sep 2024 11:18:03 +0000 (16:48 +0530)]
Merge PR #55421 into main

* refs/pull/55421/head:
qa/cephfs: add test to verify backtrace update failure on deleted data pool
mds: batch backtrace updates by pool-id when expiring a log segment
mds: dump log segment in segment expiry callback
mds: dump log segment end along with offset

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
10 months agoMerge pull request #59093 from joscollin/wip-fix-get-set-dirty-snap-id
Venky Shankar [Tue, 17 Sep 2024 11:16:06 +0000 (16:46 +0530)]
Merge pull request #59093 from joscollin/wip-fix-get-set-dirty-snap-id

qa: do the set/get attribute on the remote filesystem

Reviewed-by: Venky Shankar <vshankar@redhat.com>
10 months agoMerge pull request #59777 from ivoalmeida/table-column-pipe-transform-fix
afreen23 [Tue, 17 Sep 2024 10:41:43 +0000 (16:11 +0530)]
Merge pull request #59777 from ivoalmeida/table-column-pipe-transform-fix

mgr/dashboard: fix table column pipe transform

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agoMerge pull request #59727 from ivoalmeida/snap-schedule-start-time-fix
afreen23 [Tue, 17 Sep 2024 07:57:50 +0000 (13:27 +0530)]
Merge pull request #59727 from ivoalmeida/snap-schedule-start-time-fix

mgr/dashboard: fix start time format

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agodoc: document earmark option for subvolume and new commands 59111/head
Avan Thakkar [Tue, 17 Sep 2024 07:42:26 +0000 (13:12 +0530)]
doc: document earmark option for subvolume and new commands

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
10 months agoqa/cephfs: update tests for test_volumes & unit-test for earmarking
Avan Thakkar [Tue, 17 Sep 2024 07:39:15 +0000 (13:09 +0530)]
qa/cephfs: update tests for test_volumes & unit-test for earmarking

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
10 months agomgr/volumes: add earmarking for subvol
Avan Thakkar [Tue, 17 Sep 2024 07:27:11 +0000 (12:57 +0530)]
mgr/volumes: add earmarking for subvol

- Implemented earmarking functionality for subvolumes and subvolume groups,
ensuring that they do not share the same subvolume or subvolume group to avoid
data corruption due to unsupported mixed protocol use.
- Added a command to set set/rm earmark from a given subvolume / subvolume group
- Adding __init__.py for python-common/ceph/fs dir to have it as a package.
- Fixed subvolume info command when no earmark is set.

Fixes: https://tracker.ceph.com/issues/67460
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
10 months agoMerge pull request #59805 from afreen23/wip-nvme-mtls
afreen23 [Tue, 17 Sep 2024 06:11:40 +0000 (11:41 +0530)]
Merge pull request #59805 from afreen23/wip-nvme-mtls

mgr/dashboard: Nvme mTLS support and  service name changes

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agoMerge pull request #59781 from ivoalmeida/table-filter-fix
afreen23 [Mon, 16 Sep 2024 19:18:14 +0000 (00:48 +0530)]
Merge pull request #59781 from ivoalmeida/table-filter-fix

mgr/dashboard: fix table filter

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agodoc: nit fixes for nfs doc 54277/head
Avan Thakkar [Tue, 3 Sep 2024 13:15:47 +0000 (18:45 +0530)]
doc: nit fixes for nfs doc

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Fixes some doc lint and also fixed qa tests for having both 3 & 4 protocols
by default in expot config.

10 months agoMerge pull request #59668 from rhcs-dashboard/fix-modal-hidden-in-nav
afreen23 [Mon, 16 Sep 2024 19:12:50 +0000 (00:42 +0530)]
Merge pull request #59668 from rhcs-dashboard/fix-modal-hidden-in-nav

mgr/dashboard: fix UI modal issues

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agomgr/dashboard: Add mTLS support 59805/head
Afreen Misbah [Sat, 14 Sep 2024 16:58:44 +0000 (22:28 +0530)]
mgr/dashboard: Add mTLS support

- enables mTLS support from dashboard
- adds unit tests related to mTLS support
- can enable mTLS
- can disable mTLS
- inlcuded refactoring from prev commit

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

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agomgr/dashboard: Adding group and pool name to service name
Afreen Misbah [Wed, 11 Sep 2024 16:03:31 +0000 (21:33 +0530)]
mgr/dashboard: Adding group and pool name to service name

- Pre-populating the service name field with the format `nvmeof.<pool_name>.<group_name>`.
- This can be changed by user but by default this value will be there.
- This will help user to quickly fill form and proceed hence improving usability.
- cephadm also uses this format as of now this convention so it will make UI aligned with CLI experience

- updates unit tests to improve coverage

- hides`count` values as that is not needed for 'nvmeof' only hosts and labels required.

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

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agoMerge pull request #58618 from rhcs-dashboard/mgmt-gateway-ui
Pedro Gonzalez Gomez [Mon, 16 Sep 2024 16:34:22 +0000 (18:34 +0200)]
Merge pull request #58618 from rhcs-dashboard/mgmt-gateway-ui

mgr/dashboard: add service management for mgmt-gateway

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
10 months agoMerge pull request #58456 from rhcs-dashboard/auth2-sso
Pedro Gonzalez Gomez [Mon, 16 Sep 2024 15:20:12 +0000 (17:20 +0200)]
Merge pull request #58456 from rhcs-dashboard/auth2-sso

mgr/dashboard: Add SSO through oauth2 protocol

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
10 months agoMerge pull request #59752 from guits/drive-group-spec-bool-args
Adam King [Mon, 16 Sep 2024 15:11:50 +0000 (11:11 -0400)]
Merge pull request #59752 from guits/drive-group-spec-bool-args

orch: refactor boolean handling in drive group spec

Reviewed-by: Adam King <adking@redhat.com>
10 months agomgr/dashboard: fix UI modal issues 59668/head
Nizamudeen A [Mon, 9 Sep 2024 11:15:15 +0000 (16:45 +0530)]
mgr/dashboard: fix UI modal issues

- Fix bs-modal getting hidden behind navbar
- Reuse the project name for tab title
- Readonly user shows an empty space in the administration dropdown
- Physical Disks Identify modal not opening up
   - add e2e in cephadm to make sure the modal always comes up
- Primary action doesn't need to be displayed for the read-only user

Fixes: https://tracker.ceph.com/issues/67547
Signed-off-by: Nizamudeen A <nia@redhat.com>
10 months agoMerge pull request #59766 from rkachach/fix_issue_68052
Adam King [Mon, 16 Sep 2024 14:19:44 +0000 (10:19 -0400)]
Merge pull request #59766 from rkachach/fix_issue_68052

mgr/cephadm: renaming whitelist_domains field to allowlist_domains

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
10 months agoMerge pull request #59557 from afreen23/wip-ec-profile
afreen23 [Mon, 16 Sep 2024 13:30:52 +0000 (19:00 +0530)]
Merge pull request #59557 from afreen23/wip-ec-profile

mgr/dashboard: mgr/dashboard: Select no device by default in EC profile

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agoMerge pull request #45807 from mchangir/doc-document-random-selection-teuthology...
Anthony D'Atri [Mon, 16 Sep 2024 13:12:36 +0000 (09:12 -0400)]
Merge pull request #45807 from mchangir/doc-document-random-selection-teuthology-operator

doc/dev/developer_guide/testing_integration_tests: Document the random selection operator

10 months agomgr/dashboard: add SSO through oauth2 protocol 58456/head
Pedro Gonzalez Gomez [Mon, 8 Jul 2024 09:19:34 +0000 (11:19 +0200)]
mgr/dashboard: add SSO through oauth2 protocol

Fixes: https://tracker.ceph.com/issues/66900
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
10 months agomgr/dashboard: add service management for mgmt-gateway 58618/head
Pedro Gonzalez Gomez [Tue, 16 Jul 2024 07:53:19 +0000 (09:53 +0200)]
mgr/dashboard: add service management for mgmt-gateway

Fixes: https://tracker.ceph.com/issues/66963
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
10 months agoMerge pull request #57459 from mchangir/mds-snap_schedule-relocate-test-and-overrides...
Rishabh Dave [Mon, 16 Sep 2024 10:23:56 +0000 (15:53 +0530)]
Merge pull request #57459 from mchangir/mds-snap_schedule-relocate-test-and-overrides-to-correct-location

qa: relocate subvol creation overrides and test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
10 months agoMerge pull request #59379 from rhcs-dashboard/oauth2-proxy-ui
Pedro Gonzalez Gomez [Mon, 16 Sep 2024 10:01:43 +0000 (12:01 +0200)]
Merge pull request #59379 from rhcs-dashboard/oauth2-proxy-ui

mgr/dashboard: add service management for oauth2-proxy

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
10 months agoMerge pull request #59061 from rhcs-dashboard/rgw-multisite-sync-policy-edit-zones-fix
afreen23 [Mon, 16 Sep 2024 08:43:18 +0000 (14:13 +0530)]
Merge pull request #59061 from rhcs-dashboard/rgw-multisite-sync-policy-edit-zones-fix

mgr/dashboard: RGW multisite sync remove zones fix

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agomgr/dashboard: add service management for oauth2-proxy 59379/head
Pedro Gonzalez Gomez [Wed, 21 Aug 2024 11:20:53 +0000 (13:20 +0200)]
mgr/dashboard: add service management for oauth2-proxy

Fixes: https://tracker.ceph.com/issues/67651
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
10 months agoMerge pull request #59797 from zdover23/wip-doc-2024-09-15-install-install-storage...
Anthony D'Atri [Sun, 15 Sep 2024 19:11:44 +0000 (15:11 -0400)]
Merge pull request #59797 from zdover23/wip-doc-2024-09-15-install-install-storage-cluster

doc/install: add prompts to install-storage-cluster

10 months agoMerge pull request #59801 from zdover23/wip-doc-2024-09-15-rados-ops-health-checks
Anthony D'Atri [Sun, 15 Sep 2024 19:08:22 +0000 (15:08 -0400)]
Merge pull request #59801 from zdover23/wip-doc-2024-09-15-rados-ops-health-checks

doc/rados: add osd_deep_scrub_interval setting operation

10 months agoMerge pull request #59755 from baum/nvmeofspec_addr_zero
baum [Sun, 15 Sep 2024 15:04:58 +0000 (18:04 +0300)]
Merge pull request #59755 from baum/nvmeofspec_addr_zero

pybind/mgr/cephadm/services/nvmeof.py: allow setting '0.0.0.0' as add…

10 months agodoc/rados: add osd_deep_scrub_interval setting operation 59801/head
Zac Dover [Sun, 15 Sep 2024 11:33:55 +0000 (21:33 +1000)]
doc/rados: add osd_deep_scrub_interval setting operation

Add a second method of changing the value of osd_deep_scrub_interval to
remedy the condition indicated by the "PGs not deep-scrubbed in time"
warning.

This procedure was developed by Eugen Block, and is at the time of this
commit available on his blog at
https://heiterbiswolkig.blogs.nde.ag/2024/09/06/pgs-not-deep-scrubbed-in-time/

Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
10 months agodoc/install: add prompts to install-storage-cluster 59797/head
Zac Dover [Sun, 15 Sep 2024 10:56:31 +0000 (20:56 +1000)]
doc/install: add prompts to install-storage-cluster

Add prompts to doc/install/install-storage-cluster.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
10 months agoMerge pull request #59636 from ronen-fr/wip-rf-smaller-deep-chunk
Ronen Friedman [Sun, 15 Sep 2024 07:25:21 +0000 (10:25 +0300)]
Merge pull request #59636 from ronen-fr/wip-rf-smaller-deep-chunk

osd/scrub: decrease default deep scrub chunk size

Reviewed-by: Samuel Just <sjust@redhat.com>
10 months agodoc/README.md: create selectable commands 59788/head
Zac Dover [Sat, 14 Sep 2024 08:46:56 +0000 (18:46 +1000)]
doc/README.md: create selectable commands

An indentation of five spaces relative to the previous line creates a
command that is copyable with a single mouse click. This commit adds
those copyabale commands to the procedure in the section "Building
Ceph".

Signed-off-by: Zac Dover <zac.dover@proton.me>
10 months agoMerge pull request #59732 from zdover23/wip-doc-2024-09-11-README-md-formatting
Zac Dover [Sat, 14 Sep 2024 08:06:14 +0000 (18:06 +1000)]
Merge pull request #59732 from zdover23/wip-doc-2024-09-11-README-md-formatting

doc/README.md: improve formatting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 months agoMerge pull request #54777 from cbodley/wip-rgw-meta-handlers
Casey Bodley [Fri, 13 Sep 2024 16:56:48 +0000 (12:56 -0400)]
Merge pull request #54777 from cbodley/wip-rgw-meta-handlers

rgw: remove unused backend abstraction for metadata handlers

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 months agomgr/dashboard: fix table filter 59781/head
Ivo Almeida [Fri, 13 Sep 2024 11:24:09 +0000 (12:24 +0100)]
mgr/dashboard: fix table filter

Fixes: https://tracker.ceph.com/issues/68063
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
10 months agoorch: refactor boolean handling in drive group spec 59752/head
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>
10 months agomgr/dashboard: RGW multisite sync remove zones fix 59061/head
Naman Munet [Tue, 6 Aug 2024 19:45:44 +0000 (01:15 +0530)]
mgr/dashboard: RGW multisite sync remove zones fix

Fixes: https://tracker.ceph.com/issues/66945
Signed-off-by: Naman Munet <nmunet@redhat.com>
10 months agomgr/dashboard: fix start time format 59727/head
Ivo Almeida [Wed, 11 Sep 2024 09:52:37 +0000 (10:52 +0100)]
mgr/dashboard: fix start time format

Fixes: https://tracker.ceph.com/issues/68024
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
10 months agomgr/dashboard: fix table column pipe transform 59777/head
Ivo Almeida [Fri, 13 Sep 2024 10:34:40 +0000 (11:34 +0100)]
mgr/dashboard: fix table column pipe transform

Fixes: https://tracker.ceph.com/issues/68062
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
10 months agorgw/service: remove unused metadata and metadata backend services 54777/head
Casey Bodley [Mon, 4 Dec 2023 22:38:45 +0000 (17:38 -0500)]
rgw/service: remove unused metadata and metadata backend services

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/services: remove unused RGWSI_Role_RADOS
Casey Bodley [Mon, 4 Dec 2023 22:07:37 +0000 (17:07 -0500)]
rgw/services: remove unused RGWSI_Role_RADOS

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/role: add rgwrados::role interface for role metadata
Casey Bodley [Mon, 4 Dec 2023 21:47:12 +0000 (16:47 -0500)]
rgw/role: add rgwrados::role interface for role metadata

move everything from class RadosRole into driver/rados/role.cc and use
RGWSI_SysObj instead of the metadata backend. narrows the RGWRole
interface by handling the name/path objects internally

rgwrados::role::write() adds/remove name and path linkages in case they
change. admin ops don't allow this, but 'metadata put' could upload
arbitrary json that does change them

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/metadata: use raw RGWMetadataHandler for role metadata
Casey Bodley [Mon, 4 Dec 2023 02:26:35 +0000 (21:26 -0500)]
rgw/metadata: use raw RGWMetadataHandler for role metadata

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/metadata: encapsulate role metadata handler in rgw_role.cc
Casey Bodley [Mon, 4 Dec 2023 01:27:05 +0000 (20:27 -0500)]
rgw/metadata: encapsulate role metadata handler in rgw_role.cc

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/metadata: use raw RGWMetadataHandler for user metadata
Casey Bodley [Mon, 4 Dec 2023 00:12:13 +0000 (19:12 -0500)]
rgw/metadata: use raw RGWMetadataHandler for user metadata

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/user: remove unused 'meta backend ctx' arguments
Casey Bodley [Sun, 3 Dec 2023 23:28:34 +0000 (18:28 -0500)]
rgw/user: remove unused 'meta backend ctx' arguments

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/user: call sysobj directly instead of 'sysobj meta backend'
Casey Bodley [Sun, 3 Dec 2023 23:18:15 +0000 (18:18 -0500)]
rgw/user: call sysobj directly instead of 'sysobj meta backend'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/metadata: use raw RGWMetadataHandler for bucket instances
Casey Bodley [Sun, 3 Dec 2023 22:40:23 +0000 (17:40 -0500)]
rgw/metadata: use raw RGWMetadataHandler for bucket instances

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/metadata: use raw RGWMetadataHandler for bucket entrypoints
Casey Bodley [Sun, 3 Dec 2023 19:44:06 +0000 (14:44 -0500)]
rgw/metadata: use raw RGWMetadataHandler for bucket entrypoints

RGWBucketMetadataHandler inherits from RGWMetadataHandler directly
instead of RGWMetadataHandler_GenericMetaBE

replace RGWSI_Bucket_SObj_Module with the RGWMetadataLister abstraction

RGWSI_Bucket_SObj now depends on RGWSI_MDLog and writes mdlog entries
itself

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/bucket: remove unused 'meta backend ctx' arguments
Casey Bodley [Sun, 3 Dec 2023 17:06:01 +0000 (12:06 -0500)]
rgw/bucket: remove unused 'meta backend ctx' arguments

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/bucket: call sysobj directly instead of 'sysobj meta backend'
Casey Bodley [Sun, 3 Dec 2023 16:37:42 +0000 (11:37 -0500)]
rgw/bucket: call sysobj directly instead of 'sysobj meta backend'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/bucket: free functions for bucket instance metadata keys
Casey Bodley [Sun, 3 Dec 2023 16:35:10 +0000 (11:35 -0500)]
rgw/bucket: free functions for bucket instance metadata keys

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/services: remove otp service and metadata backend
Casey Bodley [Fri, 1 Dec 2023 23:38:44 +0000 (18:38 -0500)]
rgw/services: remove otp service and metadata backend

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/metadata: remove backend stuff from otp metadata handler
Casey Bodley [Fri, 1 Dec 2023 23:24:08 +0000 (18:24 -0500)]
rgw/metadata: remove backend stuff from otp metadata handler

inherit from RGWMetadataHandler instead of
RGWMetadataHandler_GenericMetaBE to avoid all of the metadata backend
abstractions, and just call into the cls and sysobj services directly

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw/services: remove unused RGWOTPCtl
Casey Bodley [Fri, 1 Dec 2023 21:51:11 +0000 (16:51 -0500)]
rgw/services: remove unused RGWOTPCtl

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agorgw: clear output keys in RGWMetadataLister::get_next()
Casey Bodley [Mon, 9 Sep 2024 14:51:03 +0000 (10:51 -0400)]
rgw: clear output keys in RGWMetadataLister::get_next()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agotest/rgw/posix: add missing include for cpp_strerror()
Casey Bodley [Sun, 4 Aug 2024 21:16:58 +0000 (17:16 -0400)]
test/rgw/posix: add missing include for cpp_strerror()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agoosd/scrub: decrease default deep scrub chunk size 59636/head
Ronen Friedman [Fri, 6 Sep 2024 12:49:12 +0000 (15:49 +0300)]
osd/scrub: decrease default deep scrub chunk size

The previous default of 25 objects per chunk proved to take too long
(many hundreds of milliseconds) on a busy cluster. As the scrubber
locks all objects in the chunk for the duration, a large chunk size
can cause a significant impact on the client ops' latencies.

Fixes: https://tracker.ceph.com/issues/68057
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
10 months agoMerge pull request #59696 from wanglinke521/wlk-perfect-comment
Igor Fedotov [Thu, 12 Sep 2024 14:38:28 +0000 (17:38 +0300)]
Merge pull request #59696 from wanglinke521/wlk-perfect-comment

os/bluestore: perfect comments in hybrid_allocator

Reviewed-by: Adam Kupczyk <kupczyk@ibm.com>
Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
10 months agoMerge pull request #59438 from mkogan1/wip-d3n-ex-co-ar
Daniel Gryniewicz [Thu, 12 Sep 2024 14:21:51 +0000 (10:21 -0400)]
Merge pull request #59438 from mkogan1/wip-d3n-ex-co-ar

doc/rgw/d3n: pass cache dir volume to extra_container_args

10 months agomgr/cephadm: renaming whitelist_domains field to allowlist_domains 59766/head
Redouane Kachach [Thu, 12 Sep 2024 13:57:07 +0000 (15:57 +0200)]
mgr/cephadm: renaming whitelist_domains field to allowlist_domains

Fixes: https://tracker.ceph.com/issues/68052
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
10 months agoMerge pull request #59634 from rkachach/fix_issue_67934
Adam King [Thu, 12 Sep 2024 12:50:21 +0000 (08:50 -0400)]
Merge pull request #59634 from rkachach/fix_issue_67934

mgr/cephadm: adding spec fields for oauth2-proxy whitelist_domains

Reviewed-by: Adam King <adking@redhat.com>
10 months agopython-common/ceph/deployment/service_spec.py: Allow the cephadm deployment to determ... 59755/head
Alexander Indenbaum [Thu, 12 Sep 2024 12:00:55 +0000 (12:00 +0000)]
python-common/ceph/deployment/service_spec.py: Allow the cephadm deployment to determine the default addresses

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
10 months agoMerge pull request #59456 from xxhdx1985126/wip-67731
Matan Breizman [Thu, 12 Sep 2024 10:45:55 +0000 (13:45 +0300)]
Merge pull request #59456 from xxhdx1985126/wip-67731

crimson/osd/pg: clear backfill_state when the PG goes clean

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
10 months agoMerge pull request #59652 from xxhdx1985126/wip-67945
Matan Breizman [Thu, 12 Sep 2024 10:44:15 +0000 (13:44 +0300)]
Merge pull request #59652 from xxhdx1985126/wip-67945

crimson/osd/osd_operations/snaptrim_event: only increase osd_osd_param_t::at_version after clone adjustments

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
10 months agoMerge pull request #59564 from Matan-B/wip-matanb-crimson-osd-release
Matan Breizman [Thu, 12 Sep 2024 10:42:11 +0000 (13:42 +0300)]
Merge pull request #59564 from Matan-B/wip-matanb-crimson-osd-release

crimson/osd: write require_osd_release only when needed

Reviewed-by: Samuel Just <sjust@redhat.com>
10 months agoMerge pull request #59506 from Matan-B/wip-matanb-crimson-seastore-logs
Matan Breizman [Thu, 12 Sep 2024 10:40:53 +0000 (13:40 +0300)]
Merge pull request #59506 from Matan-B/wip-matanb-crimson-seastore-logs

qa/config/seastore: enable all subsystem debug

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
10 months agoMerge pull request #59753 from wodeshijie33941/main 59759/head
Zac Dover [Thu, 12 Sep 2024 09:40:14 +0000 (19:40 +1000)]
Merge pull request #59753 from wodeshijie33941/main

doc/install: Keep the name field of the created user consistent with …

Reviewed-by: Zac Dover <zac.dover@proton.me>
10 months agopybind/mgr/cephadm/services/nvmeof.py: allow setting '0.0.0.0' as address in the...
Alexander Indenbaum [Thu, 12 Sep 2024 09:26:34 +0000 (09:26 +0000)]
pybind/mgr/cephadm/services/nvmeof.py: allow setting '0.0.0.0' as address in the spec file

- Partial revert of https://github.com/ceph/ceph/pull/59738/commits/9eb3b99b99b0b8c6c4e5f75e59c2e4835a9d6796
- Part of https://github.com/ceph/ceph/pull/59738

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
10 months agoMerge pull request #59741 from yuvalif/wip-yuval-68033
Yuval Lifshitz [Thu, 12 Sep 2024 08:36:14 +0000 (11:36 +0300)]
Merge pull request #59741 from yuvalif/wip-yuval-68033

rgw/kafka: refactor topic creation to avoid rd_kafka_topic_name()

Reviewed-By: Casey Bodley <cbodley@ibm.com>
10 months agodoc/install: Keep the name field of the created user consistent with the node name... 59753/head
hejindong [Thu, 12 Sep 2024 07:14:21 +0000 (15:14 +0800)]
doc/install: Keep the name field of the created user consistent with the node name in the Start RADOSGW service command

If the user name does not match the name of the node that started the RADOSGW service, this will cause confusion for those who are new to ceph. Because they can't start the radosgw service normally as shown in the tutorial.

Signed-off-by: hejindong <wodeshijie3394@126.com>
10 months agoMerge pull request #59482 from rhcs-dashboard/nvmeof-api-group-support
Nizamudeen A [Thu, 12 Sep 2024 05:52:23 +0000 (11:22 +0530)]
Merge pull request #59482 from rhcs-dashboard/nvmeof-api-group-support

mgr/dashboard: add gw_groups support to nvmeof api

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: caroav <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
10 months agoMerge pull request #59576 from rhcs-dashboard/hosts-selection-show-only-10-entries-fix
Nizamudeen A [Thu, 12 Sep 2024 05:47:01 +0000 (11:17 +0530)]
Merge pull request #59576 from rhcs-dashboard/hosts-selection-show-only-10-entries-fix

mgr/dashboard: service form hosts selection only show up to 10 entries

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
10 months agoMerge pull request #59738 from gbregman/main
Gil Bregman [Wed, 11 Sep 2024 21:17:05 +0000 (00:17 +0300)]
Merge pull request #59738 from gbregman/main

Make the discovery and gateway IPs configurable in NVMEof configuration

10 months agoMerge pull request #59681 from adk3798/cephadm-enable-module-bootstrap-retry
Adam King [Wed, 11 Sep 2024 15:21:31 +0000 (11:21 -0400)]
Merge pull request #59681 from adk3798/cephadm-enable-module-bootstrap-retry

cephadm: bootstrap: verify orch module is running before setting cephadm backend

Reviewed-by: John Mulligan <jmulligan@redhat.com>
10 months agorgw/kafka: refactor topic creation to avoid rd_kafka_topic_name() 59741/head
Yuval Lifshitz [Wed, 11 Sep 2024 15:12:22 +0000 (15:12 +0000)]
rgw/kafka: refactor topic creation to avoid rd_kafka_topic_name()

also, use unique_ptr for safer memory management.

Fixes: https://tracker.ceph.com/issues/68033
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
10 months agomgr/cephadm: Make the discovery and gateway IPs configurable in NVMEof configuration 59738/head
Gil Bregman [Wed, 11 Sep 2024 14:06:19 +0000 (17:06 +0300)]
mgr/cephadm: Make the discovery and gateway IPs configurable in NVMEof configuration
Fixes https://tracker.ceph.com/issues/68030

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
10 months agopython-common/ceph/deployment: Make the discovery and gateway IPs configurable in...
Gil Bregman [Wed, 11 Sep 2024 14:05:43 +0000 (17:05 +0300)]
python-common/ceph/deployment: Make the discovery and gateway IPs configurable in NVMEof configuration
Fixes https://tracker.ceph.com/issues/68030

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
10 months agoMerge pull request #59635 from zdover23/wip-doc-2024-09-06-rados-ops-health-checks
Zac Dover [Wed, 11 Sep 2024 12:52:48 +0000 (22:52 +1000)]
Merge pull request #59635 from zdover23/wip-doc-2024-09-06-rados-ops-health-checks

doc/rados: add "pgs not deep scrubbed in time" info

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 months agodoc/README.md: improve formatting 59732/head
Zac Dover [Wed, 11 Sep 2024 12:50:35 +0000 (22:50 +1000)]
doc/README.md: improve formatting

Improve the formatting in the section "Building Ceph" in the file
README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
10 months agomgr/dashboard: mgr/dashboard: Select no device by default in EC profile 59557/head
Afreen Misbah [Mon, 2 Sep 2024 09:22:34 +0000 (14:52 +0530)]
mgr/dashboard: mgr/dashboard: Select no device by default in EC profile

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

When EC pools are created with device class specified, the pools are created with just 1 PG and autoscaler does not work.
PG autoscaler not working on a cluster where pools have multiple overlapping roots is a known issue, and bug is raised for same :>

Issue documented already : https://docs.ceph.com/en/reef/rados/operations/placement-groups/#viewing-pg-scaling-recommendations

Also renames "let ceph decide" option to "All devices" in crush rule and ec profile component.
Updates unit tests for ec profile modal
Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agomgr/dashboard: expose gw_groups list api 59482/head
Nizamudeen A [Tue, 3 Sep 2024 12:29:47 +0000 (17:59 +0530)]
mgr/dashboard: expose gw_groups list api

also if the cephadm is available, make the api smart enough to
understand the running daemons and get its gateway_addr instead of
taking the first one in the list so that the HA will be there for the UI
and API as well

Fixes: https://tracker.ceph.com/issues/67774
Signed-off-by: Nizamudeen A <nia@redhat.com>
10 months agomgr/dashboard: add gw_groups support to nvmeof api
Nizamudeen A [Wed, 28 Aug 2024 13:03:19 +0000 (18:33 +0530)]
mgr/dashboard: add gw_groups support to nvmeof api

Introduces a gw_group query-param to gateway and subsystem requests.

Modified the dashboard config to support adding more than one gateway to
the list.

Fixes: https://tracker.ceph.com/issues/67774
Signed-off-by: Nizamudeen A <nia@redhat.com>
10 months agoMerge pull request #59066 from xxhdx1985126/wip-67380
Matan Breizman [Wed, 11 Sep 2024 06:13:59 +0000 (09:13 +0300)]
Merge pull request #59066 from xxhdx1985126/wip-67380

crimson/osd: cancel ongoing pglog-based recoveries on recovery defering

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
10 months agoMerge pull request #59485 from mcv21/cephadm_image_warn
Adam King [Tue, 10 Sep 2024 19:51:47 +0000 (15:51 -0400)]
Merge pull request #59485 from mcv21/cephadm_image_warn

cephadm: emit warning if daemon's image is not to be used

Reviewed-by: Adam King <adking@redhat.com>
10 months agoMerge pull request #59599 from rhcs-dashboard/fix-67893-main
afreen23 [Tue, 10 Sep 2024 14:40:52 +0000 (20:10 +0530)]
Merge pull request #59599 from rhcs-dashboard/fix-67893-main

mgr/dashboard: Rephrase dedicated pool helper in rbd create form

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agoMerge pull request #59447 from afreen23/wip-nvmeof-microcopy
afreen23 [Tue, 10 Sep 2024 14:14:58 +0000 (19:44 +0530)]
Merge pull request #59447 from afreen23/wip-nvmeof-microcopy

mgr/dashboard: Update nvmeof microcopies

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agoMerge pull request #59569 from afreen23/wip-nvme-ns
afreen23 [Tue, 10 Sep 2024 14:14:09 +0000 (19:44 +0530)]
Merge pull request #59569 from afreen23/wip-nvme-ns

mgr/dashboard: Increase maximum namespace count to 1024

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
10 months agoMerge pull request #56858 from rhcs-dashboard/fix-grafana-server-depreciation
Adam King [Tue, 10 Sep 2024 13:59:39 +0000 (09:59 -0400)]
Merge pull request #56858 from rhcs-dashboard/fix-grafana-server-depreciation

mgr/dashboard: use grafana server instead of grafana-server in grafana 10.4.0

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@ibm.com>
10 months agoMerge pull request #59610 from adk3798/cephadm-ssh-configurable-keepalive
Adam King [Tue, 10 Sep 2024 13:42:16 +0000 (09:42 -0400)]
Merge pull request #59610 from adk3798/cephadm-ssh-configurable-keepalive

mgr/cephadm: make ssh keepalive settings configurable

Reviewed-by: John Mulligan <jmulligan@redhat.com>
10 months agoMerge pull request #59643 from rkachach/fix_issue_67939
Adam King [Tue, 10 Sep 2024 13:37:59 +0000 (09:37 -0400)]
Merge pull request #59643 from rkachach/fix_issue_67939

mgr/cephadm: changing the nginx upstream image used by mgmt-gateway

Reviewed-by: Adam King <adking@redhat.com>