Bug #41052
Bug fix for zvol/dataset traceback
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
Associated revisions
History
#1
Updated by Bonnie Follweiler over 2 years 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 2 years ago
- Private changed from No to Yes
#3
Updated by Bonnie Follweiler over 2 years 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 2 years ago
- Related to Bug #34684: Fix quota exceeded emails being sent every minute added
#5
Updated by William Grzybowski over 2 years 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 2 years ago
- Target version changed from Backlog to 11.1-U6
#7
Updated by Waqar Ahmed over 2 years ago
- Status changed from Unscreened to In Progress
#8
Updated by Waqar Ahmed over 2 years ago
- Status changed from In Progress to Ready for Testing
11.1-stable PR - https://github.com/freenas/freenas/pull/1664
#9
Updated by Dru Lavigne over 2 years ago
- File deleted (
debug-bonniemini-20180808144414.tgz)
#10
Updated by Dru Lavigne over 2 years 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 2 years 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 2 years ago
- Status changed from Passed Testing to Done