Project

General

Profile

Bug #8424

"Performance Test" crashes when encrypted pool is not mounted

Added by Marcus grassi over 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
No priority
Assignee:
William Grzybowski
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

When my encrypted disk pool is not mounted, the performance test kinda crashes:

Environment:

Software Version: FreeNAS-9.3-STABLE-201502271818
Request Method: POST
Request URL: https://192.168.115.12/system/perftest/

Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
157. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
22. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/system/views.py" in perftest
912. dump = os.path.join(notifier().system_dataset_path(), 'perftest.txz')
File "/usr/local/lib/python2.7/posixpath.py" in join
77. elif path == '' or path.endswith('/'):

Exception Type: AttributeError at /system/perftest/
Exception Value: 'NoneType' object has no attribute 'endswith'

When I mount it, it works though.

Associated revisions

Revision 364df37c (diff)
Added by William Grzybowski over 5 years ago

Volume must be decrypted to run perf test In case thats where the system dataset resides, of course. Ticket: #8424

Revision 75f26cff (diff)
Added by William Grzybowski over 5 years ago

Volume must be decrypted to run perf test In case thats where the system dataset resides, of course. Ticket: #8424 (cherry picked from commit 364df37c7674f8dc6932780c251f48c8cf99e772)

Revision 732d590d (diff)
Added by William Grzybowski over 5 years ago

Volume must be decrypted to run perf test In case thats where the system dataset resides, of course. Ticket: #8424 (cherry picked from commit 364df37c7674f8dc6932780c251f48c8cf99e772)

History

#1 Updated by William Grzybowski over 5 years ago

  • Status changed from Unscreened to Screened
  • Assignee set to William Grzybowski
  • Target version set to Unspecified

#2 Updated by William Grzybowski over 5 years ago

  • Status changed from Screened to Ready For Release

#3 Updated by Jordan Hubbard over 5 years ago

  • Status changed from Ready For Release to Resolved

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

  • Target version changed from Unspecified to N/A

Also available in: Atom PDF