Skip to content

umbrella: mgr/dashboard: NVMeoF CLI Backports- #72909 - #72913

Merged
batrick merged 8 commits into
ceph:umbrellafrom
Hezko:umbrella-tomer-backports
Nov 25, 2026
Merged

batrick merged 8 commits into
ceph:umbrellafrom
Hezko:umbrella-tomer-backports

Conversation

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 requested review from afreen23 and pujaoshahu October 21, 2026 10:44
@Hezko Hezko changed the title Umbrella tomer backports mgr/dashboard:umbrella: NVMeoF CLI Backports- #72909 Oct 21, 2026
@Hezko Hezko changed the title mgr/dashboard:umbrella: NVMeoF CLI Backports- #72909 umbrella: mgr/dashboard: NVMeoF CLI Backports- #72909 Oct 21, 2026
@yuriw

yuriw commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri15-testing-20261021.152238-umbrella.

@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 github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Oct 25, 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 25, 2026
@Hezko

Hezko commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@Hezko
Hezko force-pushed the umbrella-tomer-backports branch from 4ab5463 to 961a451 Compare October 26, 2026 09:27
@batrick

batrick commented Nov 21, 2026

Copy link
Copy Markdown
Member

@Hezko this needs updated to fix failing CI (see below!)

Please also put your real name on github.

@afreen23

Copy link
Copy Markdown
Contributor

jenkins test make check

@afreen23

Copy link
Copy Markdown
Contributor
openapi-check: commands[1] /ceph/src/pybind/mgr/dashboard> diff -au openapi.yaml /ceph/src/pybind/mgr/dashboard/.tox/openapi-check/tmp/openapi.yaml
20:08:32  --- openapi.yaml	2026-10-30 13:29:32.000000000 +0000
20:08:32  +++ /ceph/src/pybind/mgr/dashboard/.tox/openapi-check/tmp/openapi.yaml	2026-11-04 01:08:30.603608136 +0000
20:08:32  @@ -13542,6 +13542,68 @@
20:08:32         summary: Get information from a specific NVMeoF subsystem
20:08:32         tags:
20:08:32         - NVMe-oF Subsystem
20:08:32  +  /api/nvmeof/subsystem/{nqn}/change_key:
20:08:32  +    put:
20:08:32  +      parameters:
20:08:32  +      - description: NVMeoF subsystem NQN
20:08:32  +        in: path
20:08:32  +        name: nqn
20:08:32  +        required: true
20:08:32  +        schema:
20:08:32  +          type: string
20:08:32  +      requestBody:
20:08:32  +        content:
20:08:32  +          application/json:
20:08:32  +            schema:
20:08:32  +              properties:
20:08:32  +                dhchap_key:
20:08:32  +                  description: Subsystem DH-HMAC-CHAP key
20:08:32  +                  type: string
20:08:32  +                gw_group:
20:08:32  +                  description: NVMeoF gateway group
20:08:32  +                  type: string
20:08:32  +                server_address:
20:08:32  +                  description: NVMeoF gateway address
20:08:32  +                  type: string
20:08:32  +                traddr:
20:08:32  +                  description: NVMeoF gateway address (deprecated)
20:08:32  +                  type: string
20:08:32  +              required:
20:08:32  +              - dhchap_key
20:08:32  +              type: object
20:08:32  +      responses:
20:08:32  +        '200':
20:08:32  +          content:
20:08:32  +            application/json:
20:08:32  +              schema:
20:08:32  +                type: object
20:08:32  +            application/vnd.ceph.api.v1.0+json:
20:08:32  +              schema:
20:08:32  +                type: object
20:08:32  +          description: Resource updated.
20:08:32  +        '202':
20:08:32  +          content:
20:08:32  +            application/json:
20:08:32  +              schema:
20:08:32  +                type: object
20:08:32  +            application/vnd.ceph.api.v1.0+json:
20:08:32  +              schema:
20:08:32  +                type: object
20:08:32  +          description: Operation is still executing. Please check the task queue.
20:08:32  +        '400':
20:08:32  +          description: Operation exception. Please check the response body for details.
20:08:32  +        '401':
20:08:32  +          description: Unauthenticated access. Please login first.
20:08:32  +        '403':
20:08:32  +          description: Unauthorized access. Please check your permissions.
20:08:32  +        '500':
20:08:32  +          description: Unexpected error. Please check the response body for the stack
20:08:32  +            trace.
20:08:32  +      security:
20:08:32  +      - jwt: []
20:08:32  +      summary: Change subsystem inband authentication key
20:08:32  +      tags:
20:08:32  +      - NVMe-oF Subsystem
20:08:32     /api/nvmeof/subsystem/{nqn}/connection:
20:08:32       get:
20:08:32         parameters:
20:08:32  openapi-check: exit 1 (0.02 seconds) /ceph/src/pybind/mgr/dashboard> diff -au openapi.yaml /ceph/src/pybind/mgr/dashboard/.tox/openapi-check/tmp/openapi.yaml pid=145446
20:08:32    openapi-check: FAIL code 1 (54.21=setup[47.23]+cmd[6.96,0.02] seconds)
20:08:32    evaluation failed :( (54.33 seconds)

https://jenkins.ceph.com/job/ceph-pr-pipeline/7936/consoleFull#-1297043413e2f9bd1b-f570-4eac-a6c0-0080730e3135

Legit make check failure caused by this PR.

there is no openapi yaml changes incoming from backports hence diff did not show that.
There is a missing commit that has yaml changes #69850

we can add in a new commit the generated yaml .

Hezko pushed a commit to Hezko/ceph that referenced this pull request Nov 24, 2026
@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

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 Nov 24, 2026
@afreen23

Copy link
Copy Markdown
Contributor

Commit title for backports should be like - "umbrella:mgr/dashboard: <>"

Please keep in mind for future approving now,

@afreen23 afreen23 added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Nov 24, 2026
@afreen23

Copy link
Copy Markdown
Contributor

jenkins test dashboard

@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

@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 #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 #72913 SOURCE PR SOURCE STATUS
2bf5839 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
11c6fc6 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
083c7e2 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
8c43d01 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
933cd4f 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
024a43b 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
8cef908 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
6f53d30 umbrella: 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 024a43b (cherry-pick of b5862bc)

Affected File(s)

Range Diff

Click to expand
--- Original (b5862bc4)
+++ Backport (024a43b3)
@@ -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:  024a43b301f 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 24, 2026
@amathuria

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit e4f0721 into ceph:umbrella Nov 25, 2026
16 of 19 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Nov 25, 2026
yuriw added a commit that referenced this pull request Nov 30, 2026
Pick up 10 PRs merged since the last changelog generation
(#73625 #73464 #72913 #72967 #72345 #74280 #73453 #73259 #73261 #72691).

Signed-off-by: Yuri Weinstein <[email protected]>
yuriw added a commit that referenced this pull request Nov 30, 2026
Pick up 10 PRs merged since the last changelog generation
(#73625 #73464 #72913 #72967 #72345 #74280 #73453 #73259 #73261 #72691).

Assisted-by: Claude-v2.1.332:claude-sonnet-5
Signed-off-by: Yuri Weinstein <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants