Can't remove iSCSI targets
Description
Problem/Justification
Impact
Activity

Alex KarpovSeptember 9, 2021 at 11:46 PM
It should be fix with this PR: https://github.com/truenas/webui/pull/5872

Alex KarpovSeptember 9, 2021 at 11:28 PMEdited
From your error log, I think you have unexpected invalid type of tasks now. Not sure why that happened.
Will update the webUI to handle it. Thank you for clarifying.

Jose BattigSeptember 9, 2021 at 9:51 PM
By the way, this is happening in two different instances of TrueNAS.

Jose BattigSeptember 9, 2021 at 9:50 PMEdited
Alex, I tried again and again. It's not working for me and this started happening since version I reported
I keep seeing this in the dev log:
main.3ae043bcbe471c0868bb.js:1 ERROR TypeError: Cannot read property 'split' of undefined
at e._next (11.1855ce287e0c3e24fb82.js:1)
at e.__tryOrUnsub (main.3ae043bcbe471c0868bb.js:1)
at e.next (main.3ae043bcbe471c0868bb.js:1)
at e._next (main.3ae043bcbe471c0868bb.js:1)
at e.next (main.3ae043bcbe471c0868bb.js:1)
at t.onmessage (main.3ae043bcbe471c0868bb.js:1)
at WebSocket.w (polyfills.dfc5ec7548fd9565e416.js:1)
at e.invokeTask (polyfills.dfc5ec7548fd9565e416.js:1)
at Object.onInvokeTask (main.3ae043bcbe471c0868bb.js:1)
at e.invokeTask (polyfills.dfc5ec7548fd9565e416.js:1)
I tried creating a target with no extent related. Not working.
Created the extent and the relationship between extent and target. Not working.
The only way to get the target eliminated us by deleting the linked volume thorough the extent. In that case TrueNAS correctly goes and removes all dependencies of the volume.
It's not possible anymore to remove an iSCSI target using the management GUI.
When clicking the Delete button, nothing happens.