Skip to content

mgr/dashboard: Dashboard incorrectly displays mTLS as "Disabled" for NVMe-oF service configured with Mutual TLS enabled - #70731

Merged
afreen23 merged 1 commit into
ceph:mainfrom
rhcs-dashboard:correct-mtls
Aug 3, 2026

Conversation

@pujaoshahu

@pujaoshahu pujaoshahu commented Jul 30, 2026 •

Copy link
Copy Markdown
image image

Fixes: https://tracker.ceph.com/issues/78896
Signed-off-by: pujaoshahu [email protected]

Summary :

This PR updates the Gateway Overview page to display the correct security status based on the gateway configuration:

  • Shows Encryption as Enabled when encryption_key is present.
  • Shows mTLS as Enabled when enable_auth is true.
  • Ensures the Overview page accurately reflects the gateway's configured security settings.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@pujaoshahu
pujaoshahu marked this pull request as ready for review July 30, 2026 21:41
@pujaoshahu
pujaoshahu requested a review from a team as a code owner July 30, 2026 21:41
@pujaoshahu
pujaoshahu requested review from devikab25 and pecastro July 30, 2026 21:41
@pujaoshahu

Copy link
Copy Markdown
Author

jenkins test api

@afreen23 afreen23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

code LGTM

Clean two-line fix — encryption_key for Encryption, enable_auth for mTLS. Both were previously using enable_auth for both fields (introduced in fb357cb).

Test coverage is adequate — verifies both fields independently.

Nit (non-blocking): the tick(100) in the test is unnecessary since fetchHostsAndGroups returns a synchronous of(), but it doesn't hurt.

@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Aug 3, 2026
@afreen23
afreen23 merged commit 1039818 into ceph:main Aug 3, 2026
20 of 29 checks passed
@afreen23
afreen23 deleted the correct-mtls branch August 3, 2026 10:42
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I found one or more Fixes: tags in the commit messages in

git log 1039818f5039d8ff14d7d95ae8d51ca60c137633^..1039818f5039d8ff14d7d95ae8d51ca60c137633

The referenced tickets are:

Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them.

Update Log: https://github.com/ceph/ceph/actions/runs/30806640535

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants