iSCSI target deletion via 12rc1 GUI does not remove connection

Description

Was testing various pool options creating/disconnecting many iterations then testing with iSCSI target device. Noticed could not use same name so changed the name. Later discovered on client when using iscsiadmin command to list connection devices, the whole list of iSCSI devices that no longer existed on TrueNAS still show up as live devices. They can be logged into and show up though cannot write data to them.

This persists through restart. The boot up screen lists those deviced though also indicate no luns attached.

Something is not happening when the pool is deleted or the iSCSI target is directly deleted and need cleaned up.

I marked this high as you can work around it it but not ready for production when a lot of confusion can happen as deletion is not quit clean.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk 
November 14, 2020 at 10:37 AM

Vladimir Vinogradenko 
November 14, 2020 at 10:35 AM

Vladimir Vinogradenko 
September 27, 2020 at 8:21 AM

should iSCSI target associated with extends being automatically deleted also be deleted?

Todd Kennard 
September 18, 2020 at 4:35 AM

Attaching a debug file. The purpose of this install is just to test iSCSI so very little else was set up. Many pools were created, an iSCSI target created via wizard, client tested, then pool destroyed with auto destroy iSCSI and a couple itmes iSCSI target deleted directly. The client still sees all that was created with only 5g4 the only live one attached to the only pool. One of those has a single nvme drive pool... which doesn't exist. If the iSCSI target and extent both must be manually deleted then fine but the efforts and wording when deleting a pool seem out of place.

 

tki@tki-lm20:~$ sudo iscsiadm --mode discovery --type sendtargets --portal 192.168.1.28
192.168.1.28:3260,-1 nas.tki.local:iscsi-test-5g
192.168.1.28:3260,-1 nas.tki.local:iscsi-5g
192.168.1.28:3260,-1 nas.tki.local:iscsi-5g2
192.168.1.28:3260,-1 nas.tki.local:iscsi-5g4

Bonnie Follweiler 
September 17, 2020 at 12:49 PM

Thank you for the report .  Can you please provide a debug by navigating to System -> Advanced, click save debug, and upload attachment to this ticket?

Complete

Details

Assignee

Reporter

Labels

Impact

Components

Affects versions

Priority

More fields

Katalon Platform

Created September 16, 2020 at 9:26 PM
Updated July 1, 2022 at 4:55 PM
Resolved November 14, 2020 at 10:37 AM