Project

General

Profile

Bug #41052

Bug fix for zvol/dataset traceback

Added by Bonnie Follweiler over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Seen in:
Severity:
High
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

on FreeNAS-11.1-U6-INTERNAL1 I get the following traceback when I attempt to create a volume or a zvol (and it doesn't get created)

Request Method: GET
Request URL: http://10.231.3.50/storage/dataset/create/QContinuum/
Software Version: FreeNAS-11.1-U6-INTERNAL1 (63af3f037)
Exception Type: ValueError
Exception Value:

too many values to unpack (expected 2)

Exception Location: ./freenasUI/storage/forms.py in _inherit_choices, line 169
Server time: Wed, 8 Aug 2018 14:32:36 -0400

Traceback

Environment:

Software Version: FreeNAS-11.1-U6-INTERNAL1 (63af3f037)
Request Method: GET
Request URL: http://10.231.3.50/storage/dataset/create/QContinuum/

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 "./freenasUI/storage/views.py" in dataset_create
401. form = forms.ZFSDatasetCreateForm(initial=defaults, fs=fs)
File "./freenasUI/storage/forms.py" in init
1438. super(ZFSDatasetCreateForm, self).
_init__(*args, fs=fs, **kwargs)
File "./freenasUI/storage/forms.py" in init
1352. self.parentdata['dedup'][0]
File "./freenasUI/storage/forms.py" in _inherit_choices
169. for value, name in choices:

Exception Type: ValueError at /storage/dataset/create/QContinuum/
Exception Value: too many values to unpack (expected 2)

Request information
GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES
Variable Value
csrftoken '********'
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F5%2Croot%2F62%2Croot%2F1%2F6%2Croot%2F120'
sessionid '39qchw8e4vhjdecbznka1vz7t2unyctp'
META
Variable Value


Related issues

Related to FreeNAS - Bug #34684: Fix quota exceeded emails being sent every minuteDone

Associated revisions

Revision 782c40d4 (diff)
Added by Waqar Ahmed over 1 year ago

Bug fix for zvol/dataset creation This commit fixes a bug which prevented the end user to create a zvol/dataset in FreeNAS 11.1-U6. Ticket: #41052

Revision 758eb1b8 (diff)
Added by Waqar Ahmed over 1 year ago

Bug fix for zvol/dataset creation This commit fixes a bug which prevented the end user to create a zvol/dataset in FreeNAS 11.1-U6. Ticket: #41052

History

#1 Updated by Bonnie Follweiler over 1 year ago

Please Note that the first line should say: on FreeNAS-11.1-U6-INTERNAL1 I get the following traceback when I attempt to create a dataset or a zvol (and it doesn't get created)

#2 Updated by Bonnie Follweiler over 1 year ago

  • Private changed from No to Yes

#3 Updated by Bonnie Follweiler over 1 year ago

  • Subject changed from Trying to create a zvol or a dataset on a new or existing Volume results in a traceback to Trying to edit or create a zvol or a dataset on a new or existing Volume results in a traceback

Editing results in the following traceback as well:

Request Method: GET
Request URL: http://10.231.3.50/storage/dataset/edit/Romulons/
Software Version: FreeNAS-11.1-U6-INTERNAL1 (63af3f037)
Exception Type: ValueError
Exception Value:

too many values to unpack (expected 2)

Exception Location: ./freenasUI/storage/forms.py in _inherit_choices, line 169
Server time: Wed, 8 Aug 2018 15:14:34 -0400

Traceback

Environment:

Software Version: FreeNAS-11.1-U6-INTERNAL1 (63af3f037)
Request Method: GET
Request URL: http://10.231.3.50/storage/dataset/edit/Romulons/

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 "./freenasUI/storage/views.py" in dataset_edit
416. form = forms.ZFSDatasetEditForm(fs=dataset_name)
File "./freenasUI/storage/forms.py" in init
1479. super(ZFSDatasetEditForm, self).
_init__(*args, fs=fs, **kwargs)
File "./freenasUI/storage/forms.py" in init
1352. self.parentdata['dedup'][0]
File "./freenasUI/storage/forms.py" in _inherit_choices
169. for value, name in choices:

Exception Type: ValueError at /storage/dataset/edit/Romulons/
Exception Value: too many values to unpack (expected 2)

Request information
GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES
Variable Value
csrftoken '********'
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F5%2Croot%2F62%2Croot%2F1%2F6%2Croot%2F120'
sessionid '39qchw8e4vhjdecbznka1vz7t2unyctp'
META
Variable Value

#4 Updated by Bonnie Follweiler over 1 year ago

  • Related to Bug #34684: Fix quota exceeded emails being sent every minute added

#5 Updated by William Grzybowski over 1 year ago

  • Assignee changed from William Grzybowski to Waqar Ahmed
  • Severity changed from New to High

Waqar, can you investigate this one too, please?

#6 Updated by Dru Lavigne over 1 year ago

  • Target version changed from Backlog to 11.1-U6

#7 Updated by Waqar Ahmed over 1 year ago

  • Status changed from Unscreened to In Progress

#8 Updated by Waqar Ahmed over 1 year ago

  • Status changed from In Progress to Ready for Testing

#9 Updated by Dru Lavigne over 1 year ago

  • File deleted (debug-bonniemini-20180808144414.tgz)

#10 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Trying to edit or create a zvol or a dataset on a new or existing Volume results in a traceback to Bug fix for zvol/dataset traceback
  • Private changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#11 Updated by Bonnie Follweiler over 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test passed in FreeNAS-11.1-U6-INTERNAL2

#12 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF