Bug 2364029 - Unable to delete listener with active connection and user consent in UI
Summary: Unable to delete listener with active connection and user consent in UI
Keywords:
Status: CLOSED DUPLICATE of bug 2320312
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.1
Assignee: Afreen
QA Contact: Vinayak Papnoi
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-05 08:53 UTC by Sunil Kumar Nagaraju
Modified: 2025-05-06 09:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-05-06 09:58:08 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-11333 0 None None None 2025-05-05 08:55:10 UTC
Red Hat Issue Tracker RHCSDASH-2042 0 None None None 2025-05-05 08:55:13 UTC

Description Sunil Kumar Nagaraju 2025-05-05 08:53:28 UTC
Description of problem:

Deleting listener failed via GUI when active connection is in place and fails with 
below error message.

2025-05-05T08:46:47.970+0000 7f5a69319640  0 [dashboard INFO nvmeof_client] Initiating nvmeof gateway connection...
2025-05-05T08:46:47.985+0000 7f5a69319640  0 [dashboard INFO orchestrator] is orchestrator available: True,
2025-05-05T08:46:47.985+0000 7f5a69319640  0 [dashboard INFO orchestrator] is orchestrator available: True,
2025-05-05T08:46:47.986+0000 7f5a69319640  0 [dashboard INFO nvmeof_client] Insecurely connecting to: 10.0.64.71:5500
2025-05-05T08:46:48.017+0000 7f5a69319640  0 [dashboard INFO exception] Dashboard Exception: Failed to delete listener 10.0.64.71:4420 from nqn.2001-07.com.ceph:1746434027628.group1: There are active connections for 10.0.64.71:4420. Deleting the listener terminates active connections. You can continue to delete the listener by adding the `--force` parameter.
2025-05-05T08:46:48.019+0000 7f5a69319640  0 [dashboard INFO request] [::ffff:10.74.64.109:62932] [DELETE] [400] [0.052s] [admin] [228.0B] /api/nvmeof/subsystem/nqn.2001-07.com.ceph:1746434027628.group1/listener/ceph-sunilkumar-81-00-d6k85g-node6/10.0.64.71

However in UI, there is only one user consent check box available i.e, "Yes, I'm sure", and even with this consent unable to delete the listener.

Version-Release number of selected component (if applicable):
IBM Ceph 8.1 19.2.1-167


How reproducible: always


Steps to Reproduce:
1. Deploy cluster and configure NVMe service
2. Add Namespaces and run IO to namespaces using RHEL initiators.
3. When all listeners are used at the initiators side. try to remove a listener from UI and we could notice the failure.

Actual results:
With user consent, unable to delete the listener.

Expected results:
Atleast useer consent, the UI delete listener request should be successfull.

Additional info:
Attaching screenshot for reference.


Note You need to log in before you can comment on or make changes to this bug.