Project

General

Profile

Bug #28

ZFS Wizard throws error when trying to issue clean command

Added by Mahdi - about 9 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Important
Assignee:
Xin Li
Category:
GUI (new)
Target version:
-
Seen in:
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

But the volume is still created despite the error below:

[[AttributeError]] at /storage/wizard/
'VolumeWizard_VolumeNameTypeForm' object has no attribute 'cleaned_data'
Request Method: POST
Request URL: http://10.0.0.127/storage/wizard/
Django Version: 1.2.1
Exception Type: AttributeError
Exception Value:
'VolumeWizard_VolumeNameTypeForm' object has no attribute 'cleaned_data'
Exception Location: /usr/local/www/freenasUI/storage/forms.py in process_step, line 149
Python Executable: /usr/local/bin/python
Python Version: 2.6.5
Python Path: ['/usr/local/www/freenasUI', '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/usr/local/lib/python2.6/site-packages/flup-1.0.2-py2.6.egg', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/python2.6/plat-freebsd8', '/usr/local/lib/python2.6/lib-tk', '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages', '/usr/local/www']
Server time: Thu, 18 Nov 2010 21:51:41 -0800
Traceback Switch to copy-and-paste view

/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/usr/local/www/freenasUI/storage/forms.py in [[VolumeWizard]]_wrapper
return [[VolumeWizard]]([VolumeWizard_VolumeNameTypeForm, [[VolumeWizard]]_DiskGroupTypeForm, [[VolumeFinalizeForm]]])(request, *args, **kwargs) ...
▶ Local vars
/usr/local/www/freenasUI/contrib/ext_formwizard.py in call
self.process_step(request, form, i) ...
▶ Local vars
/usr/local/www/freenasUI/storage/forms.py in process_step
disks = form.cleaned_data['volume_disks'] ...
▶ Local vars
Request information

GET
No GET data
POST
Variable Value
0-volume_fstype
u'ZFS'
wizard_step
u'2'
hash_1
u'15bc19ab88bc14f1d9e072611c15cc30'
hash_0
u'7d98c8a49ec17a36d36aaa9ae61b3692'
1-group_type
u'raidz'
0-volume_disks
u'ada5'
0-volume_name
u'newtank'
wizard_max_step
u'2'
FILES
No FILES data
COOKIES
Variable Value
csrftoken
'acea8310b59f9a8098b43bfc5464601f'
sessionid
'6f068f4c4a0f37f8e307d7653849f566'
META
Variable Value
CONTENT_LENGTH
'292'
CONTENT_TYPE
'application/x-www-form-urlencoded'
DOCUMENT_ROOT
'/usr/local/www/data/'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch'
HTTP_ACCEPT_LANGUAGE
'en-US,en;q=0.8'
HTTP_CACHE_CONTROL
'max-age=0'
HTTP_CONNECTION
'keep-alive'
HTTP_CONTENT_LENGTH
'292'
HTTP_COOKIE
'csrftoken=acea8310b59f9a8098b43bfc5464601f; sessionid=6f068f4c4a0f37f8e307d7653849f566'
HTTP_HOST
'10.0.0.127'
HTTP_ORIGIN
'http://10.0.0.127'
HTTP_REFERER
'http://10.0.0.127/storage/wizard/'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) [[AppleWebKit]]/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7'
PATH_INFO
u'/storage/wizard/'
QUERY_STRING

REDIRECT_STATUS
'200'
REDIRECT_URI
'/mysite.fcgi/storage/wizard/'
REMOTE_ADDR
'10.0.0.178'
REMOTE_PORT
'34270'
REQUEST_METHOD
'POST'
REQUEST_URI
'/storage/wizard/'
SCRIPT_FILENAME
'/usr/local/www/data/mysite.fcgi/storage/wizard/'
SCRIPT_NAME
u

SERVER_ADDR
'10.0.0.127'
SERVER_NAME
'10.0.0.127'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'lighttpd/1.4.26'
wsgi.errors
<flup.server.fcgi_base.TeeOutputStream object at 0x805bb7b10>
wsgi.input
<flup.server.fcgi_base.InputStream object at 0x80493e1d0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module freenasUI.settings
Setting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS
(('iXsystems, Inc.', ''),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'https://raidzilla.ixsystems.com/admin_media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
_
CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_NAME
'csrftoken'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
DATABASES {'default': {'ENGINE': 'django.db.backends.sqlite3', 'HOST': , 'NAME': '/data/freenas-v1.db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': _, 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Los_Angeles', 'USER': _}}
DATABASE_ENGINE
'sqlite3'
DATABASE_HOST

DATABASE_NAME
'/data/freenas-v1.db'
DATABASE_OPTIONS {}
DATABASE_PASSWORD
'********************'
DATABASE_PORT

DATABASE_ROUTERS
[]
DATABASE_USER

DATETIME_FORMAT
'N j, Y, P'
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE

DEFAULT_TABLESPACE

DISALLOWED_USER_AGENTS
()
DOJANGO_DATAGRID_ACCESS
('freenas.servicesCIFS', 'freenas.shareCIFS', 'freenas.Disk')
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER

EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME

FORMAT_MODULE_PATH
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'dojango', 'account', 'system', 'network', 'storage', 'sharing', 'services']
INTERNAL_IPS
()
LANGUAGES
(('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinean Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/'
LOGIN_URL
'/account/login/'
LOGOUT_URL
'/account/logout/'
MANAGERS
(('iXsystems, Inc.', ''),)
MEDIA_ROOT
'/usr/local/www/freenasUI/media'
MEDIA_URL
'https://raidzilla.ixsystems.com/media/'
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'dojango.middleware.DojoCollector')
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
ROOT_URLCONF
'freenasUI.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'freenasUI.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SITE_ID
1
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.request', 'django.contrib.auth.context_processors.auth', 'dojango.context_processors.config')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/usr/local/www/freenasUI/templates', '/usr/local/lib/python2.6/site-packages/dojango/templates')
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID
_
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
TIME_ZONE
'America/Los_Angeles'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.2.1 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
YEAR_MONTH_FORMAT
'F Y'
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.

Associated revisions

Revision b4aa646d (diff)
Added by jgh almost 8 years ago

- Update to 0.7.1 From CHANGES.txt: 0.7.1 * Removed non-ASCII characters from README and CHANGES docs (required by distutils if we're to include them in the long_description). Fixes #55. 0.7 * Python 3 is now supported. All tests now pass under Python 3.2 on Windows and Linux (although Linux backend support is limited). Fixes #28. * Extension modules on Mac and Windows replaced by pure-Python ctypes implementations. Thanks to Jerome Laheurte. * WinVaultKeyring now supports multiple passwords for the same service. Fixes #47. * Most of the tests don't require user interaction anymore. * Entries stored in Gnome Keyring appears now with a meaningful name if you try to browser your keyring (for ex. with Seahorse) * Tests from Gnome Keyring no longer pollute the user own keyring. * `keyring.util.escape` now accepts only unicode strings. Don't try to encode strings passed to it. PR: ports/165345 Submitted by: maintainer, douglas@douglasthrift.net

Revision b248550c (diff)
Added by jgh almost 8 years ago

- Update to 0.7.1 From CHANGES.txt: 0.7.1 * Removed non-ASCII characters from README and CHANGES docs (required by distutils if we're to include them in the long_description). Fixes #55. 0.7 * Python 3 is now supported. All tests now pass under Python 3.2 on Windows and Linux (although Linux backend support is limited). Fixes #28. * Extension modules on Mac and Windows replaced by pure-Python ctypes implementations. Thanks to Jerome Laheurte. * WinVaultKeyring now supports multiple passwords for the same service. Fixes #47. * Most of the tests don't require user interaction anymore. * Entries stored in Gnome Keyring appears now with a meaningful name if you try to browser your keyring (for ex. with Seahorse) * Tests from Gnome Keyring no longer pollute the user own keyring. * `keyring.util.escape` now accepts only unicode strings. Don't try to encode strings passed to it. PR: ports/165345 Submitted by: maintainer, douglas@douglasthrift.net git-svn-id: svn+ssh://svn.freebsd.org/ports/head@292020 aed309b6-a8cd-e111-996c-001c23d10e55

History

#1 Updated by Anonymous about 9 years ago

Correct version this applies to

#2 Updated by Xin Li about 9 years ago

Fixed in r1151 at internal repo.

#3 Updated by Jordan Hubbard over 4 years ago

  • Target version deleted (2)

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

Commit: 8cae1f8ea0620ba817379f10e54fbbc604676fb5
https://github.com/pcbsd/freebsd-ports/commit/8cae1f8ea0620ba817379f10e54fbbc604676fb5
Author: Bernard Spil <>
Date: 2015-10-23 (Fri, 23 Oct 2015)

Log Message:
-----------
Merge pull request #28 from pcbsd/master

Align with latest from PC-BSD

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

Commit: eac0d507dbc63514e8124244009d68a5a0786687
https://github.com/pcbsd/freebsd-ports/commit/eac0d507dbc63514e8124244009d68a5a0786687
Author: pawel <>
Date: 2015-11-24 (Tue, 24 Nov 2015)

Log Message:
-----------
Update to version 0.2.0

Changelog:
- quiet batch mode (not available on OSX) - #13
- bugfixes in Napisy24 engine - #23
- icons placed at directories according to their sizes - #24
- HiDPI display awareness (OSX) - #27
- support for paths containing special characters (Windows) - #28
- bugfixed SRT conversion adding empty lines to resulting file (Windows) - #29
- application self-closing in batch mode (OSX) - #31
- added version information to .exe file (Windows) - #32
- bugfixes in file encoding detection (UTF-8 with BOM amongst others) - #34
- preserving original file encoding during subtitle format conversion
- bugfixed backup language support - #36

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

Commit: 3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
https://github.com/pcbsd/freebsd-ports/commit/3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
Author: truckman <>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Log Message:
-----------
Upgrade net/nmsg to 0.11.0:

nmsg (0.11.0)

[ Henry Stern ]
  • Add an interval randomization option that randomizes the initial offset
    within the selected time interval. This functionality is exposed via the
    libnmsg nmsg_io_set_interval_randomized() function and the nmsgtool -R /
    --randomize command-line option (#27, #33).
  • Add documention for nmsgtool -j / --readjson and -J / --write-json
    command-line options (#26, #28).
  • Add PKG_CHECK_MODULES dependency on yajl >= 2.1.0 (#29, #31).
  • Make nmsgtool -k / --kicker work when combined with -c or -t, when
    producing output in JSON format (#25, #38).
  • Fix compiler warning [-Wtautological-compare] in
    _nmsg_msgmod_json_to_payload_load() (#36, #39).
  • Add nmsg_message_get_num_field_values(),
    nmsg_message_get_num_field_values_by_idx() functions (#5, #40).
[ Robert Edmonds ]
  • Remove the unused enum nmsg_modtype from the internal libnmsg API (#30).
  • Header file cleanups (#14, #34).
  • Rewrite nmsg_res_lookup() to use a switch, which eliminates a Clang
    warning (#14, #35).
  • Add a message filtering capability to the libnmsg I/O loop, including
    external filter module plugin and nmsgtool support (#41, #43, #44).
[ Mike Schiffman ]
  • Add yajl/ prefix to #include's of yajl headers (#37)

Pet portlint

Sponsored by: Farsight Security, Inc.

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

Commit: 3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
https://github.com/pcbsd/freebsd-ports/commit/3bd19b1310a12a6bae51db5d7ca2d6a6ed1aed17
Author: truckman <>
Date: 2016-02-03 (Wed, 03 Feb 2016)

Log Message:
-----------
Upgrade net/nmsg to 0.11.0:

nmsg (0.11.0)

[ Henry Stern ]
  • Add an interval randomization option that randomizes the initial offset
    within the selected time interval. This functionality is exposed via the
    libnmsg nmsg_io_set_interval_randomized() function and the nmsgtool -R /
    --randomize command-line option (#27, #33).
  • Add documention for nmsgtool -j / --readjson and -J / --write-json
    command-line options (#26, #28).
  • Add PKG_CHECK_MODULES dependency on yajl >= 2.1.0 (#29, #31).
  • Make nmsgtool -k / --kicker work when combined with -c or -t, when
    producing output in JSON format (#25, #38).
  • Fix compiler warning [-Wtautological-compare] in
    _nmsg_msgmod_json_to_payload_load() (#36, #39).
  • Add nmsg_message_get_num_field_values(),
    nmsg_message_get_num_field_values_by_idx() functions (#5, #40).
[ Robert Edmonds ]
  • Remove the unused enum nmsg_modtype from the internal libnmsg API (#30).
  • Header file cleanups (#14, #34).
  • Rewrite nmsg_res_lookup() to use a switch, which eliminates a Clang
    warning (#14, #35).
  • Add a message filtering capability to the libnmsg I/O loop, including
    external filter module plugin and nmsgtool support (#41, #43, #44).
[ Mike Schiffman ]
  • Add yajl/ prefix to #include's of yajl headers (#37)

Pet portlint

Sponsored by: Farsight Security, Inc.

#8 Updated by iXsystems Bot almost 2 years ago

Commit: 531b8eca0af6aa676005d58d501a2525927b96d3
https://github.com/freenas/samba/commit/531b8eca0af6aa676005d58d501a2525927b96d3
Author: John Hixson <>
Date: 2018-01-15 (Mon, 15 Jan 2018)

Log Message:
-----------
Merge pull request #28 from anodos325/anodos325-patch-expose-snapdirs

Expose snapdirs via SMB. Bug 25949

Also available in: Atom PDF