Project

General

Profile

Bug #25429

Fix wizard traceback when creating Windows share

Added by Bonnie Follweiler about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Expected
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I upgraded to the latest Nightly, on a system that has already been set up with Users, volume, share, etc. I then tried to add a Windows share via the Wizard. I got the following Traceback error

Request Method: POST
Request URL: http://10.20.20.157/system/wizard/
Software Version: FreeNAS-11-MASTER-201708030630 (0daeba1)
Exception Type: TypeError
Exception Value:

create_zfs_dataset() got an unexpected keyword argument '_restart_collectd'

Exception Location: ./freenasUI/system/forms.py in done, line 512
Server time: Thu, 3 Aug 2017 07:26:53 -0700

Traceback

Environment:

Software Version: FreeNAS-11-MASTER-201708030630 (0daeba1)
Request Method: POST
Request URL: http://10.20.20.157/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
162. 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
237. 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
300. return self.render_done(form, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in render_done
357. **kwargs)
File "./freenasUI/system/forms.py" in done
512. _restart_collectd=False,

Exception Type: TypeError at /system/wizard/
Exception Value: create_zfs_dataset() got an unexpected keyword argument '_restart_collectd'

Request information
GET

No GET data
POST
Variable Value
initial_wizard-current_step 'confirm'
__form_id 'dijit_form_Form_6'
FILES

No FILES data
COOKIES
Variable Value
csrftoken 'gsf1TN6ih4iHKRhHE8iL44KFMGDkxrpcOAguc5oX6nxAq0SeiM5jPrMxDKFw332z'
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F5%2Croot%2F1%2F6'
sessionid 'zkixf2svpe5qn4ucvak2cxvbd18nasj6'
META
Variable Value

Associated revisions

Revision 1ff699ca (diff)
Added by William Grzybowski about 1 year ago

fix(gui): _restart_collectd has been removed

Ticket: #25429

Revision 41560b51 (diff)
Added by William Grzybowski about 1 year ago

fix(gui): _restart_collectd has been removed

Ticket: #25429

History

#1 Updated by Bonnie Follweiler about 1 year ago

It didn't create the share and I will provide a debug

#2 Updated by Bonnie Follweiler about 1 year ago

  • File freenas-FreeNAS-11-MASTER-201708030630 (0daeba1)-20170803073852.db added

#3 Updated by Bonnie Follweiler about 1 year ago

  • Subject changed from Creating a Windows Share Using the Wizard results in a Traceback error to Creating a Windows Share Using the Wizard results in a Traceback error and the share isn't created

#4 Updated by Bonnie Follweiler about 1 year ago

  • Assignee changed from Marcelo Araujo to William Grzybowski

#5 Updated by William Grzybowski about 1 year ago

  • Status changed from Unscreened to Ready For Release
  • Priority changed from No priority to Expected
  • Target version set to 11.1

#6 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Creating a Windows Share Using the Wizard results in a Traceback error and the share isn't created to Fix wizard traceback when creating Windows share

#7 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#8 Updated by Bonnie Follweiler about 1 year ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

Test Passed in FreeNAS-11-MASTER-201710120511

#9 Updated by Dru Lavigne 12 months ago

  • Status changed from Ready For Release to Resolved

#10 Updated by Dru Lavigne 8 months ago

  • File deleted (freenas-FreeNAS-11-MASTER-201708030630 (0daeba1)-20170803073852.db)

Also available in: Atom PDF