]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 months agomgr/dashboard: remove orch required decorator from host UI router (list) 59823/head
Naman Munet [Tue, 17 Sep 2024 09:28:42 +0000 (14:58 +0530)]
mgr/dashboard: remove orch required decorator from host UI router (list)

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

Signed-off-by: Naman Munet <nmunet@redhat.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 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 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 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 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>
10 months agoMerge pull request #59658 from phlogistonjohn/jjm-remove-object-deleting-func
Adam King [Tue, 10 Sep 2024 13:36:51 +0000 (09:36 -0400)]
Merge pull request #59658 from phlogistonjohn/jjm-remove-object-deleting-func

mgr/smb: stop trying to clean external store during cluster sync

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
10 months agoMerge pull request #58994 from phlogistonjohn/jjm-smb-vfs-ceph-new
Adam King [Tue, 10 Sep 2024 13:35:31 +0000 (09:35 -0400)]
Merge pull request #58994 from phlogistonjohn/jjm-smb-vfs-ceph-new

mgr/smb: add support for new ceph vfs module

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
10 months agoMerge pull request #58880 from aclamk/wip-aclamk-bs-faster-objectstore-test
Adam Kupczyk [Tue, 10 Sep 2024 13:14:23 +0000 (15:14 +0200)]
Merge pull request #58880 from aclamk/wip-aclamk-bs-faster-objectstore-test

test/store_test: Make ceph_test_objectstore run faster

10 months agoMerge pull request #59107 from nbalacha/wip-nbalacha-async-sorted-snaps
Ilya Dryomov [Tue, 10 Sep 2024 11:54:57 +0000 (13:54 +0200)]
Merge pull request #59107 from nbalacha/wip-nbalacha-async-sorted-snaps

librbd: make "group snap list" async and optionally sorted by snap creation time

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
10 months agocrimson/osd/ops_executer: cleanup snap_map_* 59652/head
Matan Breizman [Tue, 10 Sep 2024 11:51:32 +0000 (11:51 +0000)]
crimson/osd/ops_executer: cleanup snap_map_*

Since https://github.com/ceph/ceph/pull/58868, snap map updates
are now maintained via PG::update_snap_map.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
10 months agocrimson/osd/osd_operations/snaptrim_event: only increase
Xuehan Xu [Sun, 8 Sep 2024 04:55:23 +0000 (12:55 +0800)]
crimson/osd/osd_operations/snaptrim_event: only increase
osd_osd_param_t::at_version after clone adjustments

Fixes: https://tracker.ceph.com/issues/67945
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
10 months agocrimson/osd/osd_operations/snaptrim_event: we do SnapMapper updates in
Xuehan Xu [Sun, 8 Sep 2024 04:31:28 +0000 (12:31 +0800)]
crimson/osd/osd_operations/snaptrim_event: we do SnapMapper updates in
ReplicatedBackend::submit_transaction(), drop all SnapMapper updates
before that

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
10 months agoMerge pull request #59675 from zdover23/wip-doc-2024-09-10-README-md-vstart
Zac Dover [Tue, 10 Sep 2024 09:10:42 +0000 (19:10 +1000)]
Merge pull request #59675 from zdover23/wip-doc-2024-09-10-README-md-vstart

doc/README.md: improve formatting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 months agoos/bluestore: perfect comments in hybrid_allocator 59696/head
wanglinke [Tue, 10 Sep 2024 08:21:32 +0000 (16:21 +0800)]
os/bluestore: perfect comments in hybrid_allocator

co-author: Jrchyang Yu <yuzhiqiang_yewu@cmss.chinamobile.com>
Signed-off-by: Wang Linke <wanglinke_yewu@cmss.chinamobile.com>
10 months agoMerge pull request #58986 from NitzanMordhai/wip-nitzan-crimson-op_gate-alianstore...
Matan Breizman [Tue, 10 Sep 2024 06:45:08 +0000 (09:45 +0300)]
Merge pull request #58986 from NitzanMordhai/wip-nitzan-crimson-op_gate-alianstore-multi-core

crimson: use gate per shard for AlienStore and OSD

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
10 months agoMerge pull request #58868 from xxhdx1985126/wip-crimson-clean_region-based-clone...
Matan Breizman [Tue, 10 Sep 2024 06:30:55 +0000 (09:30 +0300)]
Merge pull request #58868 from xxhdx1985126/wip-crimson-clean_region-based-clone-recovery

crimson/osd/pg: properly propagate snap mapper updates and do clean-region-based clone objects recovery

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
10 months agomgr/dashboard: service form hosts selection only show up to 10 entries 59576/head
Super User [Tue, 3 Sep 2024 08:46:45 +0000 (14:16 +0530)]
mgr/dashboard: service form hosts selection only show up to 10 entries

exposed new UIRouter API to get all hosts

Fixes: https://tracker.ceph.com/issues/67413
Signed-off-by: Naman Munet <nmunet@redhat.com>
10 months agoMerge pull request #59677 from zdover23/wip-doc-2024-09-10-man-ceph-bluestore-tool
Anthony D'Atri [Tue, 10 Sep 2024 03:47:00 +0000 (23:47 -0400)]
Merge pull request #59677 from zdover23/wip-doc-2024-09-10-man-ceph-bluestore-tool

doc/man: edit ceph-bluestore-tool.rst

10 months agocephadm: bootstrap: verify orch module is running before setting cephadm backend 59681/head
Adam King [Mon, 9 Sep 2024 22:51:17 +0000 (18:51 -0400)]
cephadm: bootstrap: verify orch module is running before setting cephadm backend

There have been occasional failures when bootstrapping with error
messages like

```
Module 'orchestrator' is not enabled/loaded (required by command 'orch set backend'): use `ceph mgr module enable orchestrator` to enable it
```

despite the orchestrator being meant to be an always on module.

Since trying to enable an already enabled module causes no issues,
trying to enable it ourselves seems like a sensible workaround.

Fixes: https://tracker.ceph.com/issues/67969
Signed-off-by: Adam King <adking@redhat.com>
10 months agodoc/man: edit ceph-bluestore-tool.rst 59677/head
Zac Dover [Mon, 9 Sep 2024 19:39:34 +0000 (05:39 +1000)]
doc/man: edit ceph-bluestore-tool.rst

Edit the section "bluefs-bdev-migrate" in
doc/man/8/ceph-bluestore-tool.rst to add the information that this
operation expands the target storage by updating its size label, making
"bluefs-bdev-expand" unnecessary.

Improve the subject-verb agreement in this section, and supply some
absent definite articles.

Co-authored-by: Peter Gervai <grin@drop.grin.hu>
Signed-off-by: Zac Dover <zac.dover@proton.me>
10 months agoMerge pull request #58603 from cbodley/wip-rgw-sal-concrete-lc
Casey Bodley [Mon, 9 Sep 2024 18:02:38 +0000 (14:02 -0400)]
Merge pull request #58603 from cbodley/wip-rgw-sal-concrete-lc

rgw/sal: LCHead and LCEntry don't need abstraction

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>