Project

General

Profile

Bug #23311

Manual Setup of Volume gives traceback

Added by Dru Lavigne over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Important
Assignee:
William Grzybowski
Category:
GUI (new)
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

To recreate, try to create a pool using Manual Setup (I tried using one disk on a Mini). Also, the disk listing is out of order, as seen in the attached screenshot.

Request Method: POST
Request URL: http://10.20.1.102/storage/volumemanager-zfs/
Software Version: FreeNAS-9.10-MASTER-201704100409 (6c3a39d)
Exception Type: AttributeError
Exception Value:

module 'django.db.transaction' has no attribute 'commit_on_success'

Exception Location: ./freenasUI/storage/forms.py in done, line 678
Server time: Wed, 12 Apr 2017 10:16:15 -0700
Traceback
Environment:

Software Version: FreeNAS-9.10-MASTER-201704100409 (6c3a39d)
Request Method: POST
Request URL: http://10.20.1.102/storage/volumemanager-zfs/

Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
39. 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
161. 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 volumemanager_zfs
277. form.done(request, events)
File "./freenasUI/storage/forms.py" in done
678. with transaction.commit_on_success():

Exception Type: AttributeError at /storage/volumemanager-zfs/
Exception Value: module 'django.db.transaction' has no attribute 'commit_on_success'
Request information
GET

No GET data
POST
Variable Value
volume_name 'volume1'
volume_disks 'ada1'
dedup 'off'
zpool_ada2 'none'
zpool_ada5 'none'
zpool_ada6 'none'
zpool_ada0 'none'
zpool_ada3 'none'
__form_id 'dijit_form_Form_6'
FILES

No FILES data
COOKIES
Variable Value
csrftoken 'sNKDTgvvxgt3BeZjoO0lb5ah0eT4ZTE3RKYTupEo9SuwOJPzddYKXLOIyqSMu3KT'
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F5%2Croot%2F38'
sessionid '3tsa6jbxbyeep0sc9po2uxbjv06ztaqb'
META
Variable Value

example.png (21.5 KB) example.png Dru Lavigne, 04/12/2017 10:21 AM
10665

Associated revisions

Revision 242cc3f5 (diff)
Added by William Grzybowski over 4 years ago

fix(gui): creating volume using manual manager Ticket: #23311

Revision 099569b0 (diff)
Added by Warren Block about 4 years ago

Revise volume Manual Setup section, note disk sort order. Ticket: #23311

History

#1 Updated by William Grzybowski over 4 years ago

  • Status changed from Unscreened to Screened

#2 Updated by William Grzybowski over 4 years ago

  • Status changed from Screened to Resolved

Disks are not out of order. They are grouped by size first.

#3 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version changed from 9.10.3 to 11.0

#5 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

Also available in: Atom PDF