Skip to content

tentacle: mgr/dashboard: NVMeoF CLI Backports - #72909

Open
Hezko wants to merge 11 commits into
ceph:tentaclefrom
Hezko:tentacle-tomer-backports
Open

Hezko wants to merge 11 commits into
ceph:tentaclefrom
Hezko:tentacle-tomer-backports

Conversation

Tomer Haskalovitch added 8 commits October 14, 2026 18:23
if no value was provided we will use ".nvmeof" by default

Signed-off-by: Tomer Haskalovitch <[email protected]>
(cherry picked from commit 870d53f)

Conflicts:
  src/pybind/mgr/cephadm/tests/services/test_nvmeof.py - the file was deleted in tentacle
Fixes: https://tracker.ceph.com/issues/77853
Signed-off-by: Tomer Haskalovitch <[email protected]>
(cherry picked from commit 586a4e3)

Conflicts:
  src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py - TestResolveNvmeofServerAddress already existed
…empty table bug

Signed-off-by: Tomer Haskalovitch <[email protected]>
(cherry picked from commit a419992)
…required param

Signed-off-by: Tomer Haskalovitch <[email protected]>
(cherry picked from commit 3d3e7d2)
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Oct 21, 2026
@Hezko
Hezko force-pushed the tentacle-tomer-backports branch from 920339e to 14ecffe Compare October 21, 2026 10:05
@Hezko Hezko changed the title mgr/dashboard:tentacle: NVMeoF CLI Backports tentacle: mgr/dashboard: NVMeoF CLI Backports Oct 21, 2026
@yuriw

yuriw commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri14-testing-20261021.151926-tentacle.

@Hezko

Hezko commented Oct 25, 2026

Copy link
Copy Markdown
Contributor Author

/audit retest

@github-actions

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @Hezko.

View workflow run

github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Oct 25, 2026
@Hezko

Hezko commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test make check

Tomer Haskalovitch added 2 commits October 26, 2026 11:40
… decorators order so they appear in help

Signed-off-by: Tomer Haskalovitch <[email protected]>
(cherry picked from commit b5862bc)

Conflicts:
  src/pybind/mgr/dashboard/controllers/nvmeof.py - dummy conflict, no difference
Signed-off-by: Tomer Haskalovitch <[email protected]>
(cherry picked from commit 3270ec3)
@Hezko
Hezko force-pushed the tentacle-tomer-backports branch from 14ecffe to 67df4b6 Compare October 26, 2026 09:41
@Hezko

Hezko commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

/audit retest

@github-actions

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @Hezko.

View workflow run

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Oct 26, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Oct 26, 2026
@sseshasa

sseshasa commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

@yuriw yuriw added needs-merge QA-approved, awaiting merge window wip-yuri14-testing and removed wip-yuri14-testing needs-merge QA-approved, awaiting merge window labels Nov 11, 2026
@afreen23

Copy link
Copy Markdown
Contributor

jenkins test make check

@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Nov 25, 2026
@afreen23 afreen23 added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Nov 25, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @afreen23.

View workflow run

@github-actions

Copy link
Copy Markdown

⚠️ Audit Override Removed

New commits were pushed to this PR, so the previous override has been removed.

View workflow run

@Hezko

Hezko commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

commited a openapi.yaml fix as done in #72913 (comment)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ceph Release Engineering Audit Report

Automated Backport Parity Review

⚠️ Multiple Original PRs Detected: PR #68009, PR #68728, PR #68745, PR #69861, PR #70209, PR #70223, PR #70246, PR #70774, PR #71170, PR #71614

Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.


Commit Parity Visualizer

BACKPORT PR #72909 SOURCE PR SOURCE STATUS
920d9f7 mgr/cephadm: support no pool value in spec for nvmeof gateway PR #68009 870d53f mgr/cephadm: support no pool value in spec for nvmeof gateway
674a90d mgr/dashboard: raise an error in case invalid server-address was provided in nvmeof cli/api PR #68728 f3c9325 mgr/dashboard: raise an error in case invalid server-address was provided in nvmeof cli/api
cc60be1 mgr/dashboard: dont treat errno.EREMOTE as an error to avoid errors from listerner add command PR #68745 eb3cf54 mgr/dashboard: dont treat errno.EREMOTE as an error to avoid errors from listerner add command
47f93f7 mgr/dashboard: dont show empty table when no data for read commands PR #69861 586a4e3 mgr/dashboard: dont show empty table when no data for read commands
4616921 pybind: fix error message when using force parameter if it doesn't exist in a command's arguments schema PR #70246 e8be5e2 pybind: fix error message when using force parameter if it doesn't exist in a command's arguments schema
6ceeeba mgr/dashboard: fix list_hosts and list_locations nvmeof cli commands empty table bug PR #70223 a419992 mgr/dashboard: fix list_hosts and list_locations nvmeof cli commands empty table bug
cff845b mgr/dashboard: add deprecation warning on ns add nvme cli command PR #70209 c47b6f4 mgr/dashboard: add deprecation warning on ns add nvme cli command
eeba1af mgr/dashboard: NVMeoF CLI fix the error message when not providing a required param PR #70774 3d3e7d2 mgr/dashboard: NVMeoF CLI fix the error message when not providing a required param
f863922 mgr/dashboard: fix subsystem change_key and subsystem del_key command decorators order so they appear in help PR #71170 b5862bc mgr/dashboard: fix subsystem change_key and subsystem del_key command decorators order so they appear in help
67df4b6 mgr/dashboard: add default unit warning to nvmeof cli command ns add PR #71614 3270ec3 mgr/dashboard: add default unit warning to nvmeof cli command ns add
c667334 tentacle: mgr/dashbaord: Adding missed generated yaml <<<< EXTRA IN BACKPORT >>>>

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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 920d9f7 (cherry-pick of 870d53f)

Affected File(s)

Range Diff

Click to expand
--- Original (870d53f1)
+++ Backport (920d9f7a)
@@ -3,3 +3,7 @@
 if no value was provided we will use ".nvmeof" by default
 
 Signed-off-by: Tomer Haskalovitch <[email protected]>
+(cherry picked from commit 870d53f1d9e92445cd8df81c4d8b2e79d0d57957)
+
+Conflicts:
+  src/pybind/mgr/cephadm/tests/services/test_nvmeof.py - the file was deleted in tentacle

================================================================================
RANGE DIFF
================================================================================

1:  870d53f1d9e < -:  ----------- mgr/cephadm: support no pool value in spec for nvmeof gateway
-:  ----------- > 1:  920d9f7afd2 mgr/cephadm: support no pool value in spec for nvmeof gateway

Deviation in Backport 47f93f7 (cherry-pick of 586a4e3)

Affected File(s)

Range Diff

Click to expand
--- Original (586a4e3d)
+++ Backport (47f93f79)
@@ -2,3 +2,7 @@
 
 Fixes: https://tracker.ceph.com/issues/77853
 Signed-off-by: Tomer Haskalovitch <[email protected]>
+(cherry picked from commit 586a4e3d6c003bca7a454da09543684a2fb882c3)
+
+Conflicts:
+  src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py - TestResolveNvmeofServerAddress already existed

================================================================================
RANGE DIFF
================================================================================

1:  586a4e3d6c0 ! 1:  47f93f7975e mgr/dashboard: dont show empty table when no data for read commands
    @@ Commit message
     
         Fixes: https://tracker.ceph.com/issues/77853
         Signed-off-by: Tomer Haskalovitch <[email protected]>
    +    (cherry picked from commit 586a4e3d6c003bca7a454da09543684a2fb882c3)
    +
    +    Conflicts:
    +      src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py - TestResolveNvmeofServerAddress already existed
     
      ## src/pybind/mgr/dashboard/model/nvmeof.py ##
     @@ src/pybind/mgr/dashboard/model/nvmeof.py: class CliFieldTransformer:
    @@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py: from mgr_module import Handle
      from ..services.nvmeof_cli import AnnotatedDataTextOutputFormatter, \
          NvmeofCLICommand, convert_from_bytes, convert_to_bytes, \
          format_host_updates, resolve_nvmeof_server_address
    -@@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py: class TestResolveNvmeofServerAddress:
    -             traddr=None,
    -             require=False,
    -         ) is None
    +@@ src/pybind/mgr/dashboard/tests/test_nvmeof_cli.py: class TestFormatHostUpdates:
    +             template_item="H {host_nqn} {nqn}",
    +         )
    +         assert out == "H h1 nqn.test\nW nqn.test"
     +
     +
     +class TestCliEmptyMessage:

Deviation in Backport f863922 (cherry-pick of b5862bc)

Affected File(s)

Range Diff

Click to expand
--- Original (b5862bc4)
+++ Backport (f863922c)
@@ -1,3 +1,7 @@
 mgr/dashboard: fix subsystem change_key and subsystem del_key command decorators order so they appear in help
 
 Signed-off-by: Tomer Haskalovitch <[email protected]>
+(cherry picked from commit b5862bc46bd3cd141c2366cd1926813b0085c617)
+
+Conflicts:
+  src/pybind/mgr/dashboard/controllers/nvmeof.py - dummy conflict, no difference

================================================================================
RANGE DIFF
================================================================================

1:  b5862bc46bd ! 1:  f863922c5d5 mgr/dashboard: fix subsystem change_key and subsystem del_key command decorators order so they appear in help
    @@ Commit message
         mgr/dashboard: fix subsystem change_key and subsystem del_key command decorators order so they appear in help
     
         Signed-off-by: Tomer Haskalovitch <[email protected]>
    +    (cherry picked from commit b5862bc46bd3cd141c2366cd1926813b0085c617)
    +
    +    Conflicts:
    +      src/pybind/mgr/dashboard/controllers/nvmeof.py - dummy conflict, no difference
     
      ## src/pybind/mgr/dashboard/controllers/nvmeof.py ##
     @@ src/pybind/mgr/dashboard/controllers/nvmeof.py: else:
    +                 )
    +             )
      
    -         @Endpoint('PUT', '{nqn}/change_key')
    -         @UpdatePermission
    ++        @Endpoint('PUT', '{nqn}/change_key')
    ++        @UpdatePermission
     +        @empty_response
     +        @NvmeofCLICommand("nvmeof subsystem change_key", model.RequestStatus,
     +                          success_message_template="Changing key for subsystem {nqn}: Successful")

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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Nov 26, 2026
@Hezko
Hezko force-pushed the tentacle-tomer-backports branch from c667334 to f44fbf5 Compare November 30, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Reviewer approved

Development

Successfully merging this pull request may close these issues.

4 participants