Project

General

Profile

Bug #19956

Import Disk status not shown

Added by Gaurav Sethi over 3 years ago. Updated about 3 years ago.

Status:
Closed: Duplicate
Priority:
Important
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

Hi,

After starting an Import Disk task (and sending it to run in background), when I come back to check the status and press Import disk, I get following error and traceback:

Request Method: GET
Request URL: http://192.168.178.50/storage/import/
Software Version: FreeNAS-9.10.2 (a476f16)
Exception Type: UnboundLocalError
Exception Value:
local variable 'traceback' referenced before assignment
Exception Location: /usr/local/www/freenasUI/../freenasUI/storage/views.py in volimport, line 348
Server time: Mon, 2 Jan 2017 21:29:12 +0100
Traceback

Environment:

Software Version: FreeNAS-9.10.2 (a476f16)
Request Method: GET
Request URL: http://192.168.178.50/storage/import/

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
156. 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/storage/views.py" in volimport
348. traceback = traceback.format_exc() if sys.exc_info()[0] else False

Exception Type: UnboundLocalError at /storage/import/
Exception Value: local variable 'traceback' referenced before assignment

Request information

GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES

Variable Value
csrftoken 'Z1OTWwLGqQamgX4fWpwu6jCcn7MUb96A'
sessionid 'ij7tzy4doplqy635vnp91oyhtstmsn99'
fntreeSaveStateCookie 'root%2Croot%2F179%2Croot%2F1%2Croot%2F196'
META

Variable Value
wsgi.multithread True
HTTP_ACCEPT '*/*'
REMOTE_PORT '56945'
HTTPS ''
wsgi.input <flup.server.fcgi_base.InputStream object at 0x8162e81d0>
DOCUMENT_URI '/storage/import/'
REQUEST_URI '/storage/import/'
SERVER_PROTOCOL 'HTTP/1.1'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.8,en-GB;q=0.6,de;q=0.4'
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x816cd2a10>
REDIRECT_STATUS '200'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
HTTP_X_REQUESTED_WITH 'XMLHttpRequest'
CONTENT_TYPE 'application/x-www-form-urlencoded'
CSRF_COOKIE u'Z1OTWwLGqQamgX4fWpwu6jCcn7MUb96A'
REQUEST_METHOD 'GET'
HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded'
wsgi.url_scheme 'http'
HTTP_HOST '192.168.178.50'
PATH_INFO u'/storage/import/'
wsgi.run_once False
HTTP_REFERER 'http://192.168.178.50/'
wsgi.multiprocess False
wsgi.version (1, 0)
SERVER_ADDR '192.168.178.50'
SERVER_SOFTWARE 'nginx/1.10.1'
SERVER_NAME 'localhost'
HTTP_ACCEPT_ENCODING 'gzip, deflate, sdch'
HTTP_DNT '1'
HTTP_COOKIE 'sessionid=ij7tzy4doplqy635vnp91oyhtstmsn99; csrftoken=Z1OTWwLGqQamgX4fWpwu6jCcn7MUb96A; fntreeSaveStateCookie=root%2Croot%2F179%2Croot%2F1%2Croot%2F196'
QUERY_STRING ''
SERVER_PORT '80'
GATEWAY_INTERFACE 'CGI/1.1'
REMOTE_ADDR '192.168.178.29'
SCRIPT_NAME u''
HTTP_CONNECTION 'keep-alive'
CONTENT_LENGTH ''
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36'


Related issues

Related to FreeNAS - Bug #24816: Specify "-o large" when mounting MSDOS filesystemsResolved2017-06-25

History

#1 Updated by Gaurav Sethi over 3 years ago

  • File debug-freenas-20170102213835.txz added

#2 Updated by Bonnie Follweiler over 3 years ago

  • Assignee set to Kris Moore

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

  • Assignee changed from Kris Moore to Marcelo Araujo
  • Priority changed from No priority to Important
  • Target version set to 9.10.2-U2

#4 Updated by Marcelo Araujo over 3 years ago

  • Status changed from Unscreened to Screened

#5 Updated by Marcelo Araujo over 3 years ago

  • Assignee changed from Marcelo Araujo to Suraj Ravichandran

Spoke with Suraj, he wants the ticket, because it is related with sockscopy.

#6 Updated by Suraj Ravichandran over 3 years ago

I will not be able to get to this the current week.

Will try to do this the upcoming week.

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

Ping! Do you have time to take a look at this for -U2 or should it be moved to 9.10.3?

#8 Updated by Suraj Ravichandran over 3 years ago

  • Target version changed from 9.10.2-U2 to 9.10.3

Kris, sorry but I cannot make this for U2, hence forwarding to 9.10.3

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

  • Target version changed from 9.10.3 to 9.10.4

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

  • Target version changed from 9.10.4 to 11.1

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

  • Seen in changed from Unspecified to N/A

#12 Updated by Dru Lavigne about 3 years ago

  • Assignee changed from Suraj Ravichandran to William Grzybowski

William: please load balance between Vladimir and Nikola.

#13 Updated by William Grzybowski about 3 years ago

  • Status changed from Screened to Closed: Duplicate
  • Target version changed from 11.1 to N/A

This will be handled in another ticket

#14 Updated by Dru Lavigne about 3 years ago

  • File deleted (debug-freenas-20170102213835.txz)

#15 Updated by Dru Lavigne about 3 years ago

  • Private changed from Yes to No

#16 Updated by William Grzybowski about 3 years ago

  • Related to Bug #24816: Specify "-o large" when mounting MSDOS filesystems added

Also available in: Atom PDF