]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 months agoMerge pull request #59640 from kshtsk/wip-jsonnetfmt-command-not-found
Kefu Chai [Mon, 23 Sep 2024 23:20:46 +0000 (07:20 +0800)]
Merge pull request #59640 from kshtsk/wip-jsonnetfmt-command-not-found

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

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
9 months agoMerge pull request #59915 from guits/activate-lvm-tpm2
Guillaume Abrioux [Mon, 23 Sep 2024 17:19:30 +0000 (19:19 +0200)]
Merge pull request #59915 from guits/activate-lvm-tpm2

ceph-volume: fix OSD lvm/tpm2 activation

9 months agoMerge pull request #59912 from guits/drive-group-spec-bool-args-followup-qa-nvme_loop-fix
Guillaume Abrioux [Mon, 23 Sep 2024 17:14:11 +0000 (19:14 +0200)]
Merge pull request #59912 from guits/drive-group-spec-bool-args-followup-qa-nvme_loop-fix

qa: remove all bluestore signatures on devices

9 months agoMerge pull request #59843 from adk3798/cephadm-oauth2-image-variable-name
Adam King [Mon, 23 Sep 2024 15:57:21 +0000 (11:57 -0400)]
Merge pull request #59843 from adk3798/cephadm-oauth2-image-variable-name

mgr/cephadm: update oauth2 proxy image variable name

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: Ken Dreyer <kdreyer@ibm.com>
9 months agoMerge pull request #59860 from adk3798/cephadm-no-exception-cert-store-get
Adam King [Mon, 23 Sep 2024 15:51:18 +0000 (11:51 -0400)]
Merge pull request #59860 from adk3798/cephadm-no-exception-cert-store-get

mgr/cephadm: add --no-exception-when-missing flag to cert-store cert/key get

Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #54334 from adk3798/cephadm-iscsi-teuth-extension
Adam King [Mon, 23 Sep 2024 15:08:25 +0000 (11:08 -0400)]
Merge pull request #54334 from adk3798/cephadm-iscsi-teuth-extension

qa/cephadm: extend iscsi teuth test

Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agoMerge pull request #59335 from mkogan1/wip-qat-logs
Mark Kogan [Mon, 23 Sep 2024 13:54:48 +0000 (16:54 +0300)]
Merge pull request #59335 from mkogan1/wip-qat-logs

warn when QAT switches to software [de]compression

9 months agoMerge pull request #59883 from idryomov/wip-group-snap-namespace-type-enum
Ilya Dryomov [Mon, 23 Sep 2024 12:54:34 +0000 (14:54 +0200)]
Merge pull request #59883 from idryomov/wip-group-snap-namespace-type-enum

librbd: introduce rbd_group_snap_namespace_type_t enum

Reviewed-by: N Balachandran <nibalach@redhat.com>
9 months agoMerge pull request #59737 from Suyashd999/fix-tkm1
Yuval Lifshitz [Sun, 22 Sep 2024 17:56:55 +0000 (20:56 +0300)]
Merge pull request #59737 from Suyashd999/fix-tkm1

rgw_log_backing: error code not returned

Reviewed-By: Adam Emerson <aemerson@ibm.com>, Yuval Lifshitz <ylifshit@ibm.com>
9 months agoMerge pull request #59731 from Suyashd999/fix-ndf1
Yuval Lifshitz [Sun, 22 Sep 2024 17:56:29 +0000 (20:56 +0300)]
Merge pull request #59731 from Suyashd999/fix-ndf1

rgw/rgw_iam_policy: Checking for dereference of a null pointer (loaded from variable 't')

Reviewed-By: Adam Emerson <aemerson@ibm.com>, Yuval Lifshitz <ylifshit@ibm.com>
9 months agoMerge pull request #57272 from ronen-fr/wip-rf-cv
Ronen Friedman [Sun, 22 Sep 2024 13:10:52 +0000 (16:10 +0300)]
Merge pull request #57272 from ronen-fr/wip-rf-cv

osd/scrub: modify deep scrub interval randomization

Reviewed-by: Samuel Just <sjust@redhat.com>
9 months agoMerge pull request #59641 from ronen-fr/wip-rf-reduce-qprio
Ronen Friedman [Sun, 22 Sep 2024 05:39:53 +0000 (08:39 +0300)]
Merge pull request #59641 from ronen-fr/wip-rf-reduce-qprio

osd/scrub: disable high work-queue priority for high-prio scrubs

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
9 months agoMerge pull request #59437 from ronen-fr/wip-rf-early-command
Ronen Friedman [Sun, 22 Sep 2024 05:27:00 +0000 (08:27 +0300)]
Merge pull request #59437 from ronen-fr/wip-rf-early-command

test/scrub: only instruct clean PGs to scrub

Reviewed-by: Laura Flores <lflores@redhat.com>
9 months agoMerge pull request #59832 from NitzanMordhai/wip-nitzan-crimson-enable-gate-assertions
NitzanMordhai [Sun, 22 Sep 2024 04:50:11 +0000 (07:50 +0300)]
Merge pull request #59832 from NitzanMordhai/wip-nitzan-crimson-enable-gate-assertions

common/gated: enable ceph_assert on shard id

9 months agoosd/scrub: disable high work-queue priority for h.p. scrub 59641/head
Ronen Friedman [Fri, 6 Sep 2024 13:23:15 +0000 (16:23 +0300)]
osd/scrub: disable high work-queue priority for h.p. scrub

Prior to this fix, scrub-related messages were queued with
one of four priorities:

- if part of a regular, periodic scrub, the messages were queued
  with a very low priority (osd_scrub_priority. Default: 5), unless:
- if the pool configuration specified a higher priority for the
  scrub, the messages were queued with that priority
  (the SCRUB_PRIORITY pool configuration option);
- if a client operation was waiting for the scrub to complete,
  the messages were queued with the higher priority of the
  client ops (osd_client_op_priority. Default: 63);
  and if the scrub was a high-priority one, e.g. initiated by the
  operator, the messages were queued with the highest priority
  (osd_requested_scrub_priority. Default: 120).

That last priority is too high, as scrubs should not have
precedence over client ops. It is even more disruptive if the
cluster is set to have only manually initiated scrubs, and
all scrubs are high-priority ones.

This patch removes the osd_requested_scrub_priority. Instead,
all scrub messages are queued according to the first three
rules above.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
9 months agoceph-volume: fix OSD lvm/tpm2 activation 59915/head
Guillaume Abrioux [Thu, 19 Sep 2024 13:13:48 +0000 (15:13 +0200)]
ceph-volume: fix OSD lvm/tpm2 activation

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

Fixes: https://tracker.ceph.com/issues/68150
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
9 months agoqa: remove all bluestore signatures on devices 59912/head
Guillaume Abrioux [Wed, 18 Sep 2024 14:30:23 +0000 (16:30 +0200)]
qa: remove all bluestore signatures on devices

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

Fixes: https://tracker.ceph.com/issues/68171
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
9 months agoMerge pull request #59904 from mcv21/patch-2
Zac Dover [Fri, 20 Sep 2024 16:55:49 +0000 (02:55 +1000)]
Merge pull request #59904 from mcv21/patch-2

Doc: Update "Getting Started" to link to start not install

Reviewed-by: Zac Dover <zac.dover@proton.me>
9 months agodoc: Update "Getting Started" to link to start not install 59904/head
Matthew Vernon [Fri, 20 Sep 2024 14:07:37 +0000 (15:07 +0100)]
doc: Update "Getting Started" to link to start not install

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

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

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
9 months agoMerge PR #59566 into main
Venky Shankar [Fri, 20 Sep 2024 09:50:18 +0000 (15:20 +0530)]
Merge PR #59566 into main

* refs/pull/59566/head:
cephfs-top: fix exception on small sized windows
cephfs-top: fix exception on large sized windows

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
9 months agolibrbd: introduce rbd_group_snap_namespace_type_t enum 59883/head
Ilya Dryomov [Thu, 19 Sep 2024 12:07:47 +0000 (14:07 +0200)]
librbd: introduce rbd_group_snap_namespace_type_t enum

Commit e5ccce14c4b0 ("rbd: add group snap info command") added
a commented out field in rbd_group_snap_info2_t struct but didn't
define the corresponding enum, expecting it to be brought in with the
patchset that introduces mirror group snapshots.  That work is still
in progress, but there is already interest in the new command and APIs
that use rbd_group_snap_info2_t struct and even a backport request.

Finalize the struct definition to avoid a breaking change for those
users in the future.  RBD_GROUP_SNAP_NAMESPACE_TYPE_USER can be treated
as dummy in terms of meaning until RBD_GROUP_SNAP_NAMESPACE_TYPE_MIRROR
is added.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
9 months agoMerge pull request #59074 from rhcs-dashboard/NFS-export-form-fixes
Nizamudeen A [Fri, 20 Sep 2024 06:52:51 +0000 (12:22 +0530)]
Merge pull request #59074 from rhcs-dashboard/NFS-export-form-fixes

mgr/dashboard: NFS Export form fixes

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59763 from rhcs-dashboard/zonegroup-level-policy-sync
Nizamudeen A [Fri, 20 Sep 2024 06:28:09 +0000 (11:58 +0530)]
Merge pull request #59763 from rhcs-dashboard/zonegroup-level-policy-sync

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

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59849 from rhcs-dashboard/role-clone-modal-fix
Nizamudeen A [Fri, 20 Sep 2024 05:28:02 +0000 (10:58 +0530)]
Merge pull request #59849 from rhcs-dashboard/role-clone-modal-fix

mgr/dashboard: fix checkbox selection and role clone modal

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
9 months agoMerge pull request #59730 from mnasiadka/docker_live_restore
Adam King [Thu, 19 Sep 2024 20:58:37 +0000 (16:58 -0400)]
Merge pull request #59730 from mnasiadka/docker_live_restore

cephadm: Support Docker Live Restore

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agoMerge pull request #59861 from afreen23/nvme-gateway-fix
afreen23 [Thu, 19 Sep 2024 19:49:11 +0000 (01:19 +0530)]
Merge pull request #59861 from afreen23/nvme-gateway-fix

mgr/dashboard: List gateways in a group

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59840 from cbodley/wip-rm-nvmeof-header
Casey Bodley [Thu, 19 Sep 2024 18:18:57 +0000 (14:18 -0400)]
Merge pull request #59840 from cbodley/wip-rm-nvmeof-header

mon: remove duplicated NVMeofGwMap.h

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agoMerge pull request #59821 from rhcs-dashboard/bz-2311899
afreen23 [Thu, 19 Sep 2024 18:18:31 +0000 (23:48 +0530)]
Merge pull request #59821 from rhcs-dashboard/bz-2311899

mgr/dashboard: Fix space between the text in few sections

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59026 from aclamk/fix-aclamk-blk-kernel-uninitialized
Igor Fedotov [Thu, 19 Sep 2024 17:09:11 +0000 (20:09 +0300)]
Merge pull request #59026 from aclamk/fix-aclamk-blk-kernel-uninitialized

blk/kernel: Fix uninitialized discard_stop

Revewied-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Revewied-by: Ronen Friedman <rfriedma@redhat.com>
9 months agoMerge pull request #59611 from cbodley/wip-cls-rgw-busy-resharding
Casey Bodley [Thu, 19 Sep 2024 16:07:57 +0000 (12:07 -0400)]
Merge pull request #59611 from cbodley/wip-cls-rgw-busy-resharding

cls/rgw: duplicate reshard checks in all cls_rgw write operations

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
9 months agomgr/dashboard: NFS Export form fixes 59074/head
Dnyaneshwari [Wed, 7 Aug 2024 07:26:10 +0000 (12:56 +0530)]
mgr/dashboard: NFS Export form fixes
Fixes: https://tracker.ceph.com/issues/67400
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
9 months agoMerge pull request #59793 from ronen-fr/wip-rf-15sreduce-qprio
Ronen Friedman [Thu, 19 Sep 2024 15:56:56 +0000 (18:56 +0300)]
Merge pull request #59793 from ronen-fr/wip-rf-15sreduce-qprio

osd/scrub: reduce osd_requested_scrub_priority default value

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
9 months agomgr/dashboard: fix checkbox selection and role clone modal 59849/head
Nizamudeen A [Wed, 18 Sep 2024 05:40:09 +0000 (11:10 +0530)]
mgr/dashboard: fix checkbox selection and role clone modal

- fixes selectAll checkbox behavior in table
- fixes form modals in osd edit and role clone
- fixes single select highlight issue
- fix row getting automatically collapsed when search has any value
- fix nfs exports table list where bucket is not shown
- fix ceph user and rgw role page show/hide col issue
- fix listner addr and intiator col in nvme

Fixes: https://tracker.ceph.com/issues/68126
Signed-off-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59807 from afreen23/wip-group-switcher
afreen23 [Thu, 19 Sep 2024 13:12:47 +0000 (18:42 +0530)]
Merge pull request #59807 from afreen23/wip-group-switcher

mgr/dashboard: Add group selector in subsystems views

Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59824 from rhcs-dashboard/wizard-carbon
Nizamudeen A [Thu, 19 Sep 2024 12:12:06 +0000 (17:42 +0530)]
Merge pull request #59824 from rhcs-dashboard/wizard-carbon

mgr/dashboard: carbonize the wizard component

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
9 months agoMerge pull request #59488 from adk3798/revert-cephadm-require-nvmeof-group
Adam King [Thu, 19 Sep 2024 12:05:06 +0000 (08:05 -0400)]
Merge pull request #59488 from adk3798/revert-cephadm-require-nvmeof-group

mgr/cephadm: default to empty string nvmeof group name rather than requiring it

Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agoMerge pull request #59709 from ronen-fr/wip-rf-rm-flag
Ronen Friedman [Thu, 19 Sep 2024 11:56:01 +0000 (14:56 +0300)]
Merge pull request #59709 from ronen-fr/wip-rf-rm-flag

osd/scrub: remove the requested_scrub flags set

Reviewed-by: Samuel Just <sjust@redhat.com>
9 months agoMerge pull request #59845 from phlogistonjohn/jjm-py312-mypy-import
Adam King [Thu, 19 Sep 2024 11:32:32 +0000 (07:32 -0400)]
Merge pull request #59845 from phlogistonjohn/jjm-py312-mypy-import

pybind/mgr: attempt to fix mypy importing from python-common

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sachin Prabhu <sp@spui.uk>
9 months agomgr/dashboard: List gateways in a group 59861/head
Afreen Misbah [Wed, 18 Sep 2024 13:54:37 +0000 (19:24 +0530)]
mgr/dashboard: List gateways in a group

- adds a group selection component for gateways
- fetch gateway using daemons info
- added tests

fixes https://tracker.ceph.com/issues/68135

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59653 from NitzanMordhai/wip-nitzan-crimson-add-crontab-weekly...
Matan Breizman [Thu, 19 Sep 2024 09:39:45 +0000 (12:39 +0300)]
Merge pull request #59653 from NitzanMordhai/wip-nitzan-crimson-add-crontab-weekly-tests

qa/crontab: Add weekly crimson-rados suites

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
9 months agomgr/dashboard: Add group selector in subsystems views 59807/head
Afreen Misbah [Wed, 18 Sep 2024 10:26:25 +0000 (15:56 +0530)]
mgr/dashboard: Add group selector in subsystems views

Allows listing the subsystems per gateway group.
Using carbon combobox component for the selector.
Adds unit tests for switcher and updates existing.

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

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59859 from afreen23/wip-nvme-service-fixes
Nizamudeen A [Thu, 19 Sep 2024 05:46:20 +0000 (11:16 +0530)]
Merge pull request #59859 from afreen23/wip-nvme-service-fixes

mgr/dashboard: Service form fixes for mTLS

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
9 months agoMerge pull request #59856 from zdover23/wip-doc-2024-09-18-rados-ops-health-checks
Zac Dover [Thu, 19 Sep 2024 04:11:24 +0000 (14:11 +1000)]
Merge pull request #59856 from zdover23/wip-doc-2024-09-18-rados-ops-health-checks

doc/rados: add confval directives to health-checks

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
9 months agoMerge PR #59809 into main
Patrick Donnelly [Thu, 19 Sep 2024 01:08:24 +0000 (21:08 -0400)]
Merge PR #59809 into main

* refs/pull/59809/head:
COPYING,common/*s390x*: distribute under Apache 2 license for s390x
arch/s390x: add license notices, use LGPL

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
9 months agoMerge pull request #59839 from Naveenaidu/add-email-details
Casey Bodley [Wed, 18 Sep 2024 21:09:23 +0000 (17:09 -0400)]
Merge pull request #59839 from Naveenaidu/add-email-details

mailmap, githubmap, organizationmap: add Naveen Naidu

Reviewed-by: Shraddha Agrawal <shraddhaag@ibm.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agoMerge pull request #59826 from adk3798/main-latest-release-squid
Adam King [Wed, 18 Sep 2024 18:59:19 +0000 (14:59 -0400)]
Merge pull request #59826 from adk3798/main-latest-release-squid

cephadm: update LATEST_STABLE_RELEASE to squid

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
9 months agoMerge pull request #59694 from rkachach/fix_issue_67975
Adam King [Wed, 18 Sep 2024 18:58:16 +0000 (14:58 -0400)]
Merge pull request #59694 from rkachach/fix_issue_67975

mgr/cephadm: open ceph-exporter when firewalld is enabled

Reviewed-by: Adam King <adking@redhat.com>
9 months agoMerge pull request #59591 from rhcs-dashboard/grafana-bump-10.4.8
Adam King [Wed, 18 Sep 2024 18:57:20 +0000 (14:57 -0400)]
Merge pull request #59591 from rhcs-dashboard/grafana-bump-10.4.8

mgr/cephadm: bump grafana to 10.4.8

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: cloudbehl <cloudbehl@gmail.com>
9 months agoMerge pull request #59174 from adk3798/cephadm-rgw-generate-cert
Adam King [Wed, 18 Sep 2024 18:54:29 +0000 (14:54 -0400)]
Merge pull request #59174 from adk3798/cephadm-rgw-generate-cert

mgr/cephadm: add ability for cephadm to generate frontend cert for rgw

Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agoMerge pull request #55426 from adk3798/cephadm-systemd-ls
Adam King [Wed, 18 Sep 2024 18:53:28 +0000 (14:53 -0400)]
Merge pull request #55426 from adk3798/cephadm-systemd-ls

mgr/cephadm: add command to expose systemd units of all daemons

Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 months agomgr/dashboard: zonegroup level policy created at master zone did not sync to non... 59763/head
Naman Munet [Thu, 12 Sep 2024 11:59:22 +0000 (17:29 +0530)]
mgr/dashboard: zonegroup level policy created at master zone did not sync to non-master zone

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

Fixes: https://tracker.ceph.com/issues/68049
Signed-off-by: Naman Munet <nmunet@redhat.com>
9 months agoMerge pull request #59831 from guits/drive-group-spec-bool-args-followup
Adam King [Wed, 18 Sep 2024 16:44:28 +0000 (12:44 -0400)]
Merge pull request #59831 from guits/drive-group-spec-bool-args-followup

orch: Fix `daemon add osd` boolean param handling

Reviewed-by: Adam King <adking@redhat.com>
9 months agoMerge pull request #59558 from jskumari/pic-change-ppc
Ken Dreyer [Wed, 18 Sep 2024 15:58:39 +0000 (11:58 -0400)]
Merge pull request #59558 from jskumari/pic-change-ppc

Change code from non-PIC to PIC for ppc64

9 months agodoc/cephadm: don't hardcode default oauth2-proxy image into docs 59843/head
Adam King [Wed, 18 Sep 2024 15:54:48 +0000 (11:54 -0400)]
doc/cephadm: don't hardcode default oauth2-proxy image into docs

This makes it another place we need to update when changing
the default image which is easy to forget. Instead, we can
document how users can find the the image which will still
hold even if we change what the default image is.

Signed-off-by: Adam King <adking@redhat.com>
9 months agomgr/cephadm: update oauth2 proxy image variable name
Adam King [Wed, 18 Sep 2024 15:48:30 +0000 (11:48 -0400)]
mgr/cephadm: update oauth2 proxy image variable name

adding IMAGE to the end of the variable name to put
it in line with all the other variables of this type

Fixes: https://tracker.ceph.com/issues/68119
Signed-off-by: Adam King <adking@redhat.com>
9 months agomgr/cephadm: add --no-exception-when-missing flag to cert-store cert/key get 59860/head
Adam King [Wed, 18 Sep 2024 15:25:20 +0000 (11:25 -0400)]
mgr/cephadm: add --no-exception-when-missing flag to cert-store cert/key get

This is mostly intended for automation that wants to check
for these certificates and handle the results themselves.
Without this flag an exception will be logged which isn't
great for automation tools that may check for this repeatedly

Signed-off-by: Adam King <adking@redhat.com>
9 months agomgr/dashboard: Service form fixes for mTLS 59859/head
Afreen Misbah [Wed, 18 Sep 2024 13:26:36 +0000 (18:56 +0530)]
mgr/dashboard: Service form fixes for mTLS

Due to conflicts with SSO PR, mTLS fields are not updated properly in code.
This is not happening only in main as noted: https://github.com/ceph/ceph/pull/59819#issuecomment-2356523491

The effect of this issue is mtls based fields not showing in service form

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

Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
9 months agoMerge pull request #59667 from leonidc/gw-no-subsystems
leonidc [Wed, 18 Sep 2024 13:30:51 +0000 (16:30 +0300)]
Merge pull request #59667 from leonidc/gw-no-subsystems

Gw no subsystems

9 months agorgw_log_backing: error code not returned 59737/head
Suyash Dongre [Wed, 11 Sep 2024 14:05:44 +0000 (19:35 +0530)]
rgw_log_backing: error code not returned

Fixes: https://tracker.ceph.com/issues/68031
Signed-off-by: Suyash Dongre <suyashd999@gmail.com>
9 months agoMerge pull request #59417 from nbalacha/wip-nbalacha-ns-mirroring
Ilya Dryomov [Wed, 18 Sep 2024 13:13:31 +0000 (15:13 +0200)]
Merge pull request #59417 from nbalacha/wip-nbalacha-ns-mirroring

rbd-mirror: allow mirroring to a different namespace

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
9 months agoCOPYING,common/*s390x*: distribute under Apache 2 license for s390x 59809/head
Patrick Donnelly [Mon, 16 Sep 2024 18:30:31 +0000 (14:30 -0400)]
COPYING,common/*s390x*: distribute under Apache 2 license for s390x

The Ceph project cannot distributed GPL code as it is incompatible with the
LGPL that all Ceph code is licensed under. Since s390x is dual-licensed, we
choose to use the Apache 2 license.

Fixes: https://tracker.ceph.com/issues/68084
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agoarch/s390x: add license notices, use LGPL
Patrick Donnelly [Mon, 16 Sep 2024 18:33:15 +0000 (14:33 -0400)]
arch/s390x: add license notices, use LGPL

These are original code files introduced by Aliaksei Makarau for s390x
enablement. With his permission, we've licensed these under LGPL.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 months agodoc/rados: add confval directives to health-checks 59856/head
Zac Dover [Wed, 18 Sep 2024 11:36:24 +0000 (21:36 +1000)]
doc/rados: add confval directives to health-checks

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

Signed-off-by: Zac Dover <zac.dover@proton.me>
9 months agoMerge pull request #59543 from xxhdx1985126/wip-63844
Matan Breizman [Wed, 18 Sep 2024 11:22:45 +0000 (14:22 +0300)]
Merge pull request #59543 from xxhdx1985126/wip-63844

crimson/osd/pg: do_osd_ops_execute fixes

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
9 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>
9 months agoMerge pull request #59823 from rhcs-dashboard/remove-orch-required-decorator
Nizamudeen A [Wed, 18 Sep 2024 06:54:30 +0000 (12:24 +0530)]
Merge pull request #59823 from rhcs-dashboard/remove-orch-required-decorator

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

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: dnyanee1997 <NOT@FOUND>
9 months agomgr/dashboard: carbonize the wizard component 59824/head
Nizamudeen A [Tue, 17 Sep 2024 09:50:27 +0000 (15:20 +0530)]
mgr/dashboard: carbonize the wizard component

Fixes: https://tracker.ceph.com/issues/68103
Signed-off-by: Nizamudeen A <nia@redhat.com>
9 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>
9 months agopybind/mgr: attempt to fix mypy importing from python-common 59845/head
John Mulligan [Wed, 18 Sep 2024 03:21:31 +0000 (20:21 -0700)]
pybind/mgr: attempt to fix mypy importing from python-common

For some reason mypy on python 3.12 can no longer automatically find
imports from python-common. Help it out by expanding the MYPYPATH
value for the tox.ini.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
9 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 agomon: remove duplicated NVMeofGwMap.h 59840/head
Casey Bodley [Tue, 17 Sep 2024 14:24:12 +0000 (10:24 -0400)]
mon: remove duplicated NVMeofGwMap.h

commit 8d402e31f5eaadfefe0afe909f5ad3bc5a907e18 added a duplicate copy
of ceph/src/mon/NVMeofGwMap.h at ceph/NVMeofGwMap.h

Signed-off-by: Casey Bodley <cbodley@redhat.com>
10 months agomailmap, githubmap, organizationmap: add Naveen Naidu 59839/head
Naveen Naidu [Tue, 17 Sep 2024 14:06:16 +0000 (19:36 +0530)]
mailmap, githubmap, organizationmap: add Naveen Naidu

Signed-off-by: Naveen Naidu <naveen.naidu@ibm.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 agocrimson/mon/MonClient: use gates to handle multi-shards 59832/head
Nitzan Mordechai [Tue, 17 Sep 2024 12:23:44 +0000 (12:23 +0000)]
crimson/mon/MonClient: use gates to handle multi-shards

Fixes: https://tracker.ceph.com/issues/67773
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
10 months agocrimson/mgr/client: use gates to handle multi-shards
Nitzan Mordechai [Tue, 17 Sep 2024 12:23:10 +0000 (12:23 +0000)]
crimson/mgr/client: use gates to handle multi-shards

Fixes: https://tracker.ceph.com/issues/67773
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
10 months agocommon/gated: enable ceph_assert on shard id
Nitzan Mordechai [Tue, 17 Sep 2024 12:20:29 +0000 (12:20 +0000)]
common/gated: enable ceph_assert on shard id

Checking that each call to gate on the same shard the gate
assigned to.

Fixes: https://tracker.ceph.com/issues/67773
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
10 months agoorch: Fix `daemon add osd` boolean param handling 59831/head
Guillaume Abrioux [Tue, 17 Sep 2024 12:00:23 +0000 (14:00 +0200)]
orch: Fix `daemon add osd` boolean param handling

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

Fixes: https://tracker.ceph.com/issues/68045
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
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 agocephadm: update LATEST_STABLE_RELEASE to squid 59826/head
Adam King [Tue, 17 Sep 2024 11:26:53 +0000 (07:26 -0400)]
cephadm: update LATEST_STABLE_RELEASE to squid

Signed-off-by: Adam King <adking@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 agorbd: display mirror uuid for mirror pool info output 59417/head
N Balachandran [Tue, 17 Sep 2024 09:18:03 +0000 (14:48 +0530)]
rbd: display mirror uuid for mirror pool info output

Includes the mirror_uuid in the mirror pool info command
output.

Signed-off-by: N Balachandran <nibalach@redhat.com>
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 agorbd-mirror: allow mirroring to a different namespace
N Balachandran [Fri, 23 Aug 2024 12:09:16 +0000 (17:39 +0530)]
rbd-mirror: allow mirroring to a different namespace

Allows a namespace in a pool to be mirrored to a differently named
namespace in the secondary cluster.

Signed-off-by: N Balachandran <nibalach@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 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>