"list index out of range" when attempting to remove iSCSI Extent

Status
Not open for further replies.

Brentnall

Dabbler
Joined
May 24, 2015
Messages
16
My Google-Fu may be failing me here so feel free to take exception to this stupidity and point me in the right direction of an existing thread or bug listing :p

Assuming that isn't the case however here goes...

When attempting to delete any iSCSI extent I receive the following error at the GUI.
This is true of both file based or device based extents.
If anyone can advise of the command to remove an extent at the CLI I'll give that a go too.
As it stands however I am currently unable to remove iSCSI extents.
Adding a new extent or editing an existing extent works fine. I found a few FreeNAS bugs reported for adding extents but none for removing them unfortunately.

Any suggestions or is it time to submit a bug report?

delete_extent_error.JPG



Full Traceback output:

Code:
Environment:

Software Version: FreeNAS-9.10.1-U2 (f045a8b)
Request Method: GET
Request URL: https://192.168.1.103/admin/services/iscsitargetextent/delete/10/


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  105.					 response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
  156.		 return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  22.				 return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in wrapper
  208.				 return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  99.					 response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  52.		 response = view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner
  142.			 return view(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in delete
  832.			 form_i = form(instance=instance)
File "/usr/local/www/freenasUI/services/forms.py" in __init__
  1915.			 targets_in_use = notifier().iscsi_connected_targets()
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in iscsi_connected_targets
  6068.			 target = target_name.split(':')[1]

Exception Type: IndexError at /admin/services/iscsitargetextent/delete/10/
Exception Value: list index out of range
 
Last edited by a moderator:
D

dlavigne

Guest
You shouldn't be getting a traceback. Please create a bug report at bugs.freenas.org that includes the full traceback and post the issue number here.
 

surk112

Cadet
Joined
Nov 2, 2016
Messages
1
I am running into the same issue with the latest 9.10.1-U2 release and getting a traceback. Should I create a bug as well or piggy back off the one the OP will create? I have never done a bug submission before.
 
D

dlavigne

Guest
Please follow the progress of the bug the OP creates.
 

Brentnall

Dabbler
Joined
May 24, 2015
Messages
16
Can confirm after upgrading to recently released FreeNAS-9.10.1-U4 (ec9a7d3) this issue has now been fixed.
 
Status
Not open for further replies.
Top