Bug 2325394

Summary: Unable to add/delete listeners under NVMeoF UI dashboard post upgrade from 7.1z2
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sunil Kumar Nagaraju <sunnagar>
Component: Ceph-DashboardAssignee: Afreen <afrahman>
Status: POST --- QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: high Docs Contact: Anjana Suparna Sriram <asriram>
Priority: unspecified    
Version: 8.0CC: afrahman, anbehl, ceph-eng-bugs, cephqe-warriors, rpollack
Target Milestone: ---   
Target Release: 8.0z4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
.Listeners cannot add and delete listeners with the Ceph Dashboard Currently, listeners cannot be added with the Ceph Dashboard if the gateway nodes are selected by label instead of hosts. As a workaround, add listeners with the command-line interface. For more information, see nvme-of-gateway/nvme-of-gw-managing-listener.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2317218    
Attachments:
Description Flags
add-delete-listsner-failure none

Description Sunil Kumar Nagaraju 2024-11-12 08:10:55 UTC
Created attachment 2057253 [details]
add-delete-listsner-failure

Created attachment 2057253 [details]
add-delete-listsner-failure

Description of problem:

Unable to add/delete listeners under NVMeoF UI dhasboard post upgrade from 7.1z2

#issue-1: 
---------
While adding listsner, unable to see any of the gateways in the list.


#issue-2:
---------
While deleting the listener of previous subsystem, Noticing a failure says  

2024-11-12T08:01:28.617+0000 7fd84cecf640  0 [dashboard INFO nvmeof_client] Initiating nvmeof gateway connection...
2024-11-12T08:01:28.627+0000 7fd84cecf640  0 [dashboard INFO exception] Dashboard Exception: Multiple NVMe-oF gateway groups are configured. Please specify the 'gw_group' parameter in the request.
2024-11-12T08:01:28.628+0000 7fd84cecf640  0 [dashboard INFO request] [::ffff:10.67.24.143:59620] [DELETE] [400] [0.012s] [admin] [137.0B] /api/nvmeof/subsystem/nqn.2016-06.io.spdk:cnode1/listener/ceph-sunilkumar-00-61s1lj-node7/10.0.67.17


Note:
- With CLI is working and this happens to only to Gateway group which was upgraded from 7.1z2.
- Able to add/delete listsners in Newly added gateway service.



Version-Release number of selected component (if applicable): 19.1.0-52
NVMeoF 1.3.3-6


How reproducible: always


Steps to Reproduce:
1. Deploy cluster with 7.1z2 released build.
2. Configure single NVMe gateway group service.
3. upgrade to 8.0 RC.


[root@ceph-sunilkumar-00-61s1lj-node1-installer ~]# ceph dashboard nvmeof-gateway-list
{"gateways": {"nvmeof.rbd": [{"service_url": "10.0.66.43:5500", "group": "group1", "daemon_name": "nvmeof.rbd.ceph-sunilkumar-00-61s1lj-node6.nxicas"}, {"service_url": "10.0.67.17:5500", "group": "group1", "daemon_name": "nvmeof.rbd.ceph-sunilkumar-00-61s1lj-node7.ezhupt"}, {"service_url": "10.0.66.28:5500", "group": "group1", "daemon_name": "nvmeof.rbd.ceph-sunilkumar-00-61s1lj-node8.hczwkv"}, {"service_url": "10.0.66.115:5500", "group": "group1", "daemon_name": "nvmeof.rbd.ceph-sunilkumar-00-61s1lj-node9.tuokvi"}], "nvmeof.rbd.group2": [{"service_url": "10.0.67.144:5500", "group": "group2", "daemon_name": "nvmeof.rbd.group2.ceph-sunilkumar-00-61s1lj-node2.uyootm"}, {"service_url": "10.0.66.219:5500", "group": "group2", "daemon_name": "nvmeof.rbd.group2.ceph-sunilkumar-00-61s1lj-node3.eaphdf"}]}}