]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix daemon_name for NVMeoFClient 69551/head
authorVallari Agrawal <vallari.agrawal@ibm.com>
Mon, 8 Jun 2026 06:25:42 +0000 (11:55 +0530)
committerVallari Agrawal <vallari.agrawal@ibm.com>
Thu, 2 Jul 2026 07:14:38 +0000 (12:44 +0530)
commit277b3624395e53b1617cb1d67120b668dc1bccb1
tree56e2389bb60963fbd559e46f264cc2b0745df600
parent897471b6321fff4a3909c6e13873a06e7bcfb5d8
mgr/dashboard: Fix daemon_name for NVMeoFClient

Reset self.daemon_name for matched gateway, to ensure
correct daemon_name is set when server_address param
is passed to the NVMeoFClient object.

Right now, NVMeoFClient().daemon_name shows same daemon_name
for all gateways within the group.

Also add unit test for NVMeoFClient in
src/pybind/mgr/dashboard/tests/test_nvmeof_client.py

Fixes: https://tracker.ceph.com/issues/77469
Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
src/pybind/mgr/dashboard/services/nvmeof_client.py
src/pybind/mgr/dashboard/tests/test_nvmeof_client.py