Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-101435

Fix traceback when iSCSI service fails to reload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: TrueNAS 11.2-U5
    • Fix Version/s: 11.2-U4
    • Component/s: Middleware
    • Labels:
      None

      Description

      Seen in TrueNAS-11.2-MASTER-201904150659
      I used the wizard to set up a TN x10 (I set it to create an iscsi share named "testing")
      When it was completing I got the following traceback

       

      Request Method: POST
      Request URL: http://10.20.20.32/legacy/system/wizard/
      Software Version: TrueNAS-11.2-MASTER-201904150659 (2ba75c445)
      Exception Type: ServiceFailed
      Exception Value: The iSCSI service failed to reload.
      Exception Location: ./freenasUI/services/models.py in delete, line 1045
      Server time: Mon, 15 Apr 2019 07:50:05 -0700

      Traceback

      Environment:

      Software Version: TrueNAS-11.2-MASTER-201904150659 (2ba75c445)
      Request Method: POST
      Request URL: http://10.20.20.32/legacy/system/wizard/

      Traceback:
      File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
      42. response = get_response(request)
      File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
      249. response = self._get_response(request)
      File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
      178. response = middleware_method(request, callback, callback_args, callback_kwargs)
      File "./freenasUI/freeadmin/middleware.py" in process_view
      163. return login_required(view_func)(request, *view_args, **view_kwargs)
      File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
      23. return view_func(request, *args, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view
      68. return self.dispatch(request, *args, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in dispatch
      248. response = super(WizardView, self).dispatch(request, *args, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
      88. return handler(request, *args, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in post
      309. return self.render_done(form, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in render_done
      365. done_response = self.done(final_forms.values(), form_dict=final_forms, **kwargs)
      File "./freenasUI/system/forms.py" in done
      709. obj.delete()
      File "./freenasUI/services/models.py" in delete
      1045. _("The iSCSI service failed to reload."))

      Exception Type: ServiceFailed at /legacy/system/wizard/
      Exception Value: The iSCSI service failed to reload.
       

      Request information

      GET

      No GET data

      POST

      Variable Value
      initial_wizard-current_step 'confirm'
      __form_id 'dijit_form_Form_5'

      FILES

      No FILES data

      COOKIES

      Variable Value
      fntreeSaveStateCookie 'root'
      csrftoken '********'
      sessionid '2xwrnyhshuackl1vmrhhqxgzxq4sb76r'

      META

      Variable Value

       

       

       
       

        Attachments

          Activity

            People

            Assignee:
            william William Grzybowski
            Reporter:
            bonnie Bonnie Follweiler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Summary Panel