Repository navigation
tentacle: mgr/dashboard: introduce NvmeofCLICommand's success_message_template ... - #67964
Conversation
There was a problem hiding this comment.
Pull request overview
Backport that completes the move away from the global CLICommand registry by introducing per-module CLICommandBase subtypes across many mgr modules, and (per the parent backport) enhances the dashboard NVMeoF CLI to emit tailored success messages via templates/mappings/functions.
Changes:
- Introduce per-module
CLICommandBase.make_registry_subtype(...)registries and wire them into multiple mgr modules viaModule.CLICommand. - Replace
CLICommand/CLIReadCommand/CLIWriteCommandusage with module-specific decorators (including.Read/.Write) to avoid global registry collisions. - Add NVMeoF CLI “success message” infrastructure (template/map/fn), helper formatters, and expanded unit tests in the dashboard.
Reviewed changes
Copilot reviewed 89 out of 89 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pybind/mgr/volumes/module.py | Switch volumes module to per-module CLI command registry. |
| src/pybind/mgr/volumes/cli.py | Add VolumesCLICommand registry subtype. |
| src/pybind/mgr/tests/test_object_format.py | Update CLICommand integration tests to use an independent registry subtype. |
| src/pybind/mgr/test_orchestrator/module.py | Migrate test_orchestrator to module-scoped CLI registry/decorators. |
| src/pybind/mgr/test_orchestrator/cli.py | Add TestOrchestratorCLICommand subtype. |
| src/pybind/mgr/telemetry/module.py | Migrate telemetry decorators to module-scoped TelemetryCLICommand. |
| src/pybind/mgr/telemetry/cli.py | Add TelemetryCLICommand subtype. |
| src/pybind/mgr/telegraf/module.py | Migrate telegraf decorators to module-scoped TelegrafCLICommand. |
| src/pybind/mgr/telegraf/cli.py | Add TelegrafCLICommand subtype. |
| src/pybind/mgr/status/module.py | Migrate status commands to module-scoped StatusCLICommand. |
| src/pybind/mgr/status/cli.py | Add StatusCLICommand subtype. |
| src/pybind/mgr/stats/module.py | Switch stats module to module-scoped StatsCLICommand. |
| src/pybind/mgr/stats/cli.py | Add StatsCLICommand subtype. |
| src/pybind/mgr/snap_schedule/module.py | Migrate snap_schedule to SnapScheduleCLICommand (.Read/.Write). |
| src/pybind/mgr/snap_schedule/cli.py | Add SnapScheduleCLICommand subtype. |
| src/pybind/mgr/smb/module.py | Wire SMB module to SMBCLICommand registry. |
| src/pybind/mgr/smb/cli.py | Refactor SMB CLI decorator to build on CLICommandBase + add input error wrapper. |
| src/pybind/mgr/selftest/module.py | Migrate selftest commands to SelftestCLICommand. |
| src/pybind/mgr/selftest/cli.py | Add SelftestCLICommand subtype. |
| src/pybind/mgr/rook/module.py | Wire rook orchestrator module to RookCLICommand. |
| src/pybind/mgr/rook/cli.py | Add RookCLICommand subtype. |
| src/pybind/mgr/rgw/module.py | Migrate RGW mgr module commands to RGWCLICommand. |
| src/pybind/mgr/rgw/cli.py | Add RGWCLICommand subtype. |
| src/pybind/mgr/rbd_support/module.py | Migrate rbd_support commands to RBDSupportCLICommand (.Read/.Write). |
| src/pybind/mgr/rbd_support/cli.py | Add RBDSupportCLICommand subtype. |
| src/pybind/mgr/prometheus/module.py | Migrate prometheus commands to PrometheusCLICommand (.Read/.Write). |
| src/pybind/mgr/prometheus/cli.py | Add PrometheusCLICommand subtype. |
| src/pybind/mgr/progress/module.py | Wire progress module to ProgressCLICommand. |
| src/pybind/mgr/progress/cli.py | Add ProgressCLICommand subtype. |
| src/pybind/mgr/pg_autoscaler/module.py | Migrate pg_autoscaler CLI to PGAutoscalerCLICommand (.Read/.Write). |
| src/pybind/mgr/pg_autoscaler/cli.py | Add PGAutoscalerCLICommand subtype. |
| src/pybind/mgr/osd_support/module.py | Wire legacy osd_support module to OSDSupportCLICommand. |
| src/pybind/mgr/osd_support/cli.py | Add OSDSupportCLICommand subtype. |
| src/pybind/mgr/osd_perf_query/module.py | Wire osd_perf_query module to OSDPerfQueryCLICommand. |
| src/pybind/mgr/osd_perf_query/cli.py | Add OSDPerfQueryCLICommand subtype. |
| src/pybind/mgr/orchestrator/module.py | Replace metaclass-based CLI plumbing with OrchestratorCLICommand decorators. |
| src/pybind/mgr/orchestrator/cli.py | Add OrchestratorCLICommandBase with standardized exception handling. |
| src/pybind/mgr/orchestrator/_interface.py | Remove old CLICommandMeta/cli* plumbing now handled by CLICommandBase registries. |
| src/pybind/mgr/orchestrator/init.py | Re-export orchestrator CLI command base from new location; drop old CLI exports. |
| src/pybind/mgr/nfs/module.py | Migrate NFS module to NFSCLICommand. |
| src/pybind/mgr/nfs/cli.py | Add NFSCLICommand subtype. |
| src/pybind/mgr/mirroring/module.py | Migrate mirroring commands to MirroringCLICommand (.Read/.Write). |
| src/pybind/mgr/mirroring/cli.py | Add MirroringCLICommand subtype. |
| src/pybind/mgr/mgr_module.py | Introduce CLICommandBase, per-module registries, and update mgr command dispatch/registration. |
| src/pybind/mgr/mds_autoscaler/module.py | Wire mds_autoscaler module to MDSAutoscalerCLICommand. |
| src/pybind/mgr/mds_autoscaler/cli.py | Add MDSAutoscalerCLICommand subtype. |
| src/pybind/mgr/localpool/module.py | Wire localpool module to LocalpoolCLICommand. |
| src/pybind/mgr/localpool/cli.py | Add LocalpoolCLICommand subtype. |
| src/pybind/mgr/k8sevents/module.py | Wire k8sevents module to K8SeventsCLICommand. |
| src/pybind/mgr/k8sevents/cli.py | Add K8SeventsCLICommand subtype. |
| src/pybind/mgr/iostat/module.py | Migrate iostat polling command to IostatCLICommand.Read. |
| src/pybind/mgr/iostat/cli.py | Add IostatCLICommand subtype. |
| src/pybind/mgr/insights/module.py | Migrate insights commands to InsightsCLICommand (.Read / default). |
| src/pybind/mgr/insights/cli.py | Add InsightsCLICommand subtype. |
| src/pybind/mgr/influx/module.py | Migrate influx commands to InfluxCLICommand (.Read/.Write). |
| src/pybind/mgr/influx/cli.py | Add InfluxCLICommand subtype. |
| src/pybind/mgr/hello/module.py | Migrate hello example commands to HelloCLICommand.Read. |
| src/pybind/mgr/hello/cli.py | Add HelloCLICommand subtype. |
| src/pybind/mgr/feedback/module.py | Migrate feedback commands to FeedbackCLICommand.Read. |
| src/pybind/mgr/feedback/cli.py | Add FeedbackCLICommand subtype. |
| src/pybind/mgr/diskprediction_local/module.py | Wire diskprediction_local module to DiskpredictionLocalCLICommand. |
| src/pybind/mgr/diskprediction_local/cli.py | Add DiskpredictionLocalCLICommand subtype. |
| src/pybind/mgr/devicehealth/module.py | Migrate devicehealth commands to DevicehealthCLICommand (.Read/default). |
| src/pybind/mgr/devicehealth/cli.py | Add DevicehealthCLICommand subtype. |
| src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py | Add/adjust tests for NVMeoF CLI success message rendering and DBCLICommand usage. |
| src/pybind/mgr/dashboard/tests/test_access_control.py | Adjust assertion to check module-scoped dashboard CLI registry. |
| src/pybind/mgr/dashboard/tests/init.py | Ensure dashboard test module uses DBCLICommand registry. |
| src/pybind/mgr/dashboard/services/sso.py | Switch SSO CLI decorator to DBCLICommand.Write. |
| src/pybind/mgr/dashboard/services/nvmeof_cli.py | Add success-message infrastructure (template/map/fn), helpers, and move to DBCLICommand. |
| src/pybind/mgr/dashboard/services/iscsi_cli.py | Migrate iSCSI dashboard CLI to DBCLICommand. |
| src/pybind/mgr/dashboard/services/access_control.py | Migrate access-control dashboard CLI to DBCLICommand. |
| src/pybind/mgr/dashboard/plugins/plugin.py | Migrate plugin command helper to dashboard DBCommand. |
| src/pybind/mgr/dashboard/plugins/motd.py | Use DBCLICommand for MOTD plugin CLI commands. |
| src/pybind/mgr/dashboard/plugins/feature_toggles.py | Use DBCLICommand for feature toggles plugin CLI command. |
| src/pybind/mgr/dashboard/module.py | Wire dashboard module to DBCLICommand and migrate dashboard CLI decorators. |
| src/pybind/mgr/dashboard/controllers/nvmeof.py | Apply new NVMeoF CLI success message templates/mappings/functions across commands. |
| src/pybind/mgr/dashboard/cli.py | Introduce dashboard-scoped DBCLICommand and DBCommand helper for COMMANDS-style registration. |
| src/pybind/mgr/crash/module.py | Migrate crash module commands to CrashCLICommand (.Read/.Write). |
| src/pybind/mgr/crash/cli.py | Add CrashCLICommand subtype. |
| src/pybind/mgr/cli_api/module.py | Migrate cli_api module reflection to use CLIAPICLICommand registry. |
| src/pybind/mgr/cli_api/cli.py | Add CLIAPICLICommand subtype. |
| src/pybind/mgr/cephadm/module.py | Replace orchestrator metaclass CLI wiring with CephadmCLICommand decorators. |
| src/pybind/mgr/cephadm/cli.py | Add CephadmCLICommand subtype based on OrchestratorCLICommandBase. |
| src/pybind/mgr/balancer/module.py | Migrate balancer CLI decorators to BalancerCLICommand. |
| src/pybind/mgr/balancer/cli.py | Add BalancerCLICommand subtype. |
| src/pybind/mgr/alerts/module.py | Migrate alerts CLI decorator to AlertsCLICommand.Read. |
| src/pybind/mgr/alerts/cli.py | Add AlertsCLICommand subtype. |
|
i am adding a DNM here so that we don't accidentally merge it. It'd be best to merge the rocky10 patches on its own first after the necessary tests run and then follow this PR afterwards. |
1c749a7 to
995d0e3
Compare
|
(trivial rebase) |
Because you have two
both link to #66879 |
|
@batrick I removed the link to this PR from one of the trackers :) |
|
jenkins test make check |
|
jenkins test windows |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
This PR has been added to wip-yuri5-testing-2026-05-14-1654-tentacle. |
|
New commits were pushed to this PR, so the previous |
|
Since new commits were pushed since this PR was picked up for testing (#67964 (comment)), we need to redo the tests @yuriw |
|
This PR has been added to wip-yuri5-testing-20260630.203412-tentacle. |
|
jenkins test make check |
|
/audit retest |
|
@neha-ojha FYI the commits after the tests run were due to a trivial rebase. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
New commits were pushed to this PR, so the previous override has been removed. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #67964 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| d1b78eb mgr/dashboard: introduce NvmeofCLICommand's success_message_template and success_message_map parameters to allow meaningful success messages | PR #66879 | afcc1fc mgr/dashboard: introduce NvmeofCLICommand's success_message_template and success_message_map parameters to allow meaningful success messages |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport d1b78eb (cherry-pick of afcc1fc)
Affected File(s)
src/pybind/mgr/dashboard/controllers/nvmeof.pysrc/pybind/mgr/dashboard/tests/test_nvmeof_cli.py
Range Diff
Click to expand
--- Original (afcc1fc3)
+++ Backport (d1b78eb8)
@@ -1,3 +1,8 @@
mgr/dashboard: introduce NvmeofCLICommand's success_message_template and success_message_map parameters to allow meaningful success messages
Signed-off-by: Tomer Haskalovitch <[email protected]>
+(cherry picked from commit afcc1fc3d319da0dba1619ca203831a14b79cff1)
+
+Conflicts:
+ - src/pybind/mgr/dashboard/controllers/nvmeof.py - due to command that exist in main but not in tentacle
+ - src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py - a later fix of a test introduced in this PR had to be manually inserted
================================================================================
RANGE DIFF
================================================================================
1: afcc1fc3d31 ! 1: d1b78eb8c75 mgr/dashboard: introduce NvmeofCLICommand's success_message_template and success_message_map parameters to allow meaningful success messages
@@ Commit message
mgr/dashboard: introduce NvmeofCLICommand's success_message_template and success_message_map parameters to allow meaningful success messages
Signed-off-by: Tomer Haskalovitch <[email protected]>
+ (cherry picked from commit afcc1fc3d319da0dba1619ca203831a14b79cff1)
+
+ Conflicts:
+ - src/pybind/mgr/dashboard/controllers/nvmeof.py - due to command that exist in main but not in tentacle
+ - src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py - a later fix of a test introduced in this PR had to be manually inserted
## src/pybind/mgr/dashboard/controllers/nvmeof.py ##
@@
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: from .. import mgr
from ..exceptions import DashboardException
from ..model import nvmeof as model
from ..security import Scope
--from ..services.nvmeof_cli import NvmeofCLICommand, convert_to_bytes
+-from ..services.nvmeof_cli import NvmeofCLICommand, convert_to_bytes, resolve_nvmeof_server_address
+from ..services.nvmeof_cli import NvmeofCLICommand, convert_to_bytes, \
-+ escape_address_if_ipv6, format_host_updates
++ escape_address_if_ipv6, format_host_updates, resolve_nvmeof_server_address
from ..services.orchestrator import OrchClient
from ..tools import str_to_bool
from . import APIDoc, APIRouter, BaseController, CreatePermission, \
-@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: from . import APIDoc, APIRouter, BaseController, CreatePermission, \
-
- logger = logging.getLogger(__name__)
-
--
- NVME_SCHEMA = {
- "available": (bool, "Is NVMe/TCP available?"),
- "message": (str, "Descriptions")
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
- @ReadPermission
@Endpoint('PUT', '/log_level')
@NvmeofCLICommand(
-- "nvmeof gateway set_log_level", model.RequestStatus, alias="nvmeof gw set_log_level")
-+ "nvmeof gateway set_log_level", model.RequestStatus, alias="nvmeof gw set_log_level",
-+ success_message_template="Set gateway log level to {log_level}: Successful")
- @EndpointDoc("Set NVMeoF gateway log levels")
- @convert_to_model(model.RequestStatus)
- @handle_nvmeof_error
+ "nvmeof gateway set_log_level", model.RequestStatus, alias="nvmeof gw set_log_level",
++ success_message_template="Set gateway log level to {log_level}: Successful"
+ )
+ @EndpointDoc(
+ "Set NVMeoF gateway log levels",
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
-
- @ReadPermission
- @Endpoint('PUT', '/log_level')
-- @NvmeofCLICommand("nvmeof spdk_log_level set", model.RequestStatus)
-+ @NvmeofCLICommand(
-+ "nvmeof spdk_log_level set",
-+ model.RequestStatus,
+ @NvmeofCLICommand(
+ "nvmeof spdk_log_level set",
+ model.RequestStatus,
+ success_message_template="Set SPDK log levels and nvmf log flags: Successful"
-+ )
- @EndpointDoc("Set NVMeoF gateway spdk log levels")
- @convert_to_model(model.RequestStatus)
- @handle_nvmeof_error
+ )
+ @EndpointDoc(
+ "Set NVMeoF gateway spdk log levels",
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
@ReadPermission
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
- @NvmeofCLICommand("nvmeof spdk_log_level disable", model.RequestStatus)
+ @NvmeofCLICommand("nvmeof spdk_log_level disable", model.RequestStatus,
+ success_message_template="Disable SPDK log flags: Successful")
- @EndpointDoc("Disable NVMeoF gateway spdk log")
- @convert_to_model(model.RequestStatus)
- @handle_nvmeof_error
+ @EndpointDoc(
+ "Disable NVMeoF gateway spdk log",
+ parameters={
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
)
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
@convert_to_model(model.RequestStatus)
@handle_nvmeof_error
def del_key(self, nqn: str, gw_group: Optional[str] = None,
+@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
+ @empty_response
+ @NvmeofCLICommand(
+ "nvmeof subsystem add_network", model.RequestStatus,
++ success_message_template=("Adding network mask {network_mask} for subsystem "
++ "{nqn}: Successful")
+ )
+ @EndpointDoc(
+ "Add subsystem network mask",
+@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
+ @empty_response
+ @NvmeofCLICommand(
+ "nvmeof subsystem del_network", model.RequestStatus,
++ success_message_template=("Deleting network mask {network_mask} for subsystem "
++ "{nqn}: Successful")
+ )
+ @EndpointDoc(
+ "Delete subsystem network mask",
+@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
+
+ @empty_response
+ @NvmeofCLICommand(
+- "nvmeof subsystem add_kmip_server_endpoint", model.RequestStatus
++ "nvmeof subsystem add_kmip_server_endpoint", model.RequestStatus,
++ success_message_template=("Adding an endpoint, with address {address}:{port}, "
++ "to KMIP server {server_name} on subsystem {nqn}: "
++ "Successful")
+ )
+ @EndpointDoc(
+ "Add a KMIP server endpoint to the subsystem",
+@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
+
+ @empty_response
+ @NvmeofCLICommand(
+- "nvmeof subsystem del_kmip_server_endpoint", model.RequestStatus
++ "nvmeof subsystem del_kmip_server_endpoint", model.RequestStatus,
++ success_message_template=("Deleting endpoint, with address {address}:{port}, from "
++ "KMIP server {server_name} on subsystem {nqn}: Successful")
+ )
+ @EndpointDoc(
+ "Delete a KMIP server endpoint from the subsystem",
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
)
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
"Disallow hosts from accessing an NVMeoF subsystem",
parameters={
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
+ @empty_response
@Endpoint('PUT', '{host_nqn}/change_key')
@UpdatePermission
- @empty_response
- @NvmeofCLICommand("nvmeof host change_key", model.RequestStatus)
+ @NvmeofCLICommand(
+ "nvmeof host change_key",
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
"Change host DH-HMAC-CHAP key",
parameters={
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
- )
-
@empty_response
+ @Endpoint('PUT', '{host_nqn}/change_controller_key')
+ @UpdatePermission
+- @NvmeofCLICommand("nvmeof host change_controller_key", model.RequestStatus)
++ @NvmeofCLICommand(
++ "nvmeof host change_controller_key",
++ model.RequestStatus,
++ success_message_template=("Changing controller key for host {host_nqn} "
++ "on subsystem {nqn}: Successful")
++ )
+ @EndpointDoc(
+ "Change host DH-HMAC-CHAP controller key",
+ parameters={
+@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
+ @empty_response
+ @Endpoint('PUT', '{host_nqn}/del_key')
+ @UpdatePermission
- @NvmeofCLICommand("nvmeof host del_key", model.RequestStatus)
+ @NvmeofCLICommand(
+ "nvmeof host del_key",
@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
@EndpointDoc(
"Delete host DH-HMAC-CHAP key",
parameters={
+@@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
+ @empty_response
+ @Endpoint('PUT', '{host_nqn}/del_controller_key')
+ @UpdatePermission
+- @NvmeofCLICommand("nvmeof host del_controller_key", model.RequestStatus)
++ @NvmeofCLICommand(
++ "nvmeof host del_controller_key",
++ model.RequestStatus,
++ success_message_template=("Deleting controller key for host {host_nqn} "
++ "on subsystem {nqn}: Successful")
++ )
+ @EndpointDoc(
+ "Delete host DH-HMAC-CHAP controller key",
+ parameters={
## src/pybind/mgr/dashboard/services/nvmeof_cli.py ##
@@
@@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py
+from ..cli import DBCLICommand
from ..controllers import EndpointDoc
+ from ..exceptions import DashboardException
from ..model.nvmeof import CliFieldTransformer, CliFlags, CliHeader
from ..services.nvmeof_cli import AnnotatedDataTextOutputFormatter, \
-- NvmeofCLICommand, convert_from_bytes, convert_to_bytes
-+ NvmeofCLICommand, convert_from_bytes, convert_to_bytes, \
-+ format_host_updates
+ NvmeofCLICommand, convert_from_bytes, convert_to_bytes, \
+- resolve_nvmeof_server_address
++ format_host_updates, resolve_nvmeof_server_address
from ..tests import CLICommandTestMixin
@@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py: class TestNvmeofCLICommand:
+ )
+ assert res.retval == 0
+ assert res.stderr == ""
-+ assert res.stdout == (
-+ "++\n"
-+ "||\n"
-+ "++\n"
-+ "\n"
-+ "++"
-+ )
++ assert res.stdout == ''
+
+ del NvmeofCLICommand.COMMANDS[test_cmd]
+ assert test_cmd not in NvmeofCLICommand.COMMANDS
@@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py: class TestNVMeoFConfCLI(unitt
def test_no_annotation(self):
class Sample(NamedTuple):
name: str
-@@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py: class TestConvertToBytes:
- with pytest.raises(ValueError):
- assert convert_to_bytes('5') == 5368709120
- assert convert_to_bytes('5', default_unit='GB') == 5368709120
+@@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py: class TestResolveNvmeofServerAddress:
+ traddr=None,
+ require=False,
+ ) is None
+
+
+class TestFormatHostUpdates:How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
nvmeof passed on latest commit ( failure is known issue: |
|
jenkins test make check |
|
jenkins test dashboard cephadm |
…and success_message_map parameters to allow meaningful success messages Signed-off-by: Tomer Haskalovitch <[email protected]> (cherry picked from commit afcc1fc) Conflicts: - src/pybind/mgr/dashboard/controllers/nvmeof.py - due to command that exist in main but not in tentacle - src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py - a later fix of a test introduced in this PR had to be manually inserted
|
FYI my last commit is a trivial rebase to include this change #70184 so make check will pass |
|
✅ Audit Override Applied by @batrick. |
backport tracker: https://tracker.ceph.com/issues/75678
backport of #66879
parent tracker: https://tracker.ceph.com/issues/74321