Project

General

Profile

Bug #23335

unable to add disk

Added by it@ktc.ru it@ktc.ru over 3 years ago. Updated about 3 years ago.

Status:
Closed: Insufficient Info
Priority:
No priority
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

Request Method: GET
Request URL: http://172.17.1.6/storage/import/
Software Version: FreeNAS-9.10-STABLE-201605021851 (35c85f7)
Exception Type: KeyError
Exception Value:
u'/dev/da1p1'
Exception Location: /usr/local/www/freenasUI/../freenasUI/storage/forms.py in _populate_disk_choices, line 764
Server time: Thu, 13 Apr 2017 11:33:48 +0400
Traceback

Environment:

Software Version: FreeNAS-9.10-STABLE-201605021851 (35c85f7)
Request Method: GET
Request URL: http://172.17.1.6/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
340. form = forms.VolumeImportForm()
File "/usr/local/www/freenasUI/../freenasUI/storage/forms.py" in init
744. self.fields['volume_disks'].choices = self._populate_disk_choices()
File "/usr/local/www/freenasUI/../freenasUI/storage/forms.py" in _populate_disk_choices
764. del _parts[name]

Exception Type: KeyError at /storage/import/
Exception Value: u'/dev/da1p1'

Request information

GET

No GET data
POST

No POST data
FILES

No FILES data
Variable Value
fntreeSaveStateCookie 'root%2Croot%2F54%2Croot%2F54%2F55%2Croot%2F54%2F55%2F56%2Croot%2F54%2F55%2F56%2F57%2Croot%2F60%2Croot%2F60%2F61%2Croot%2F10'
sessionid 'ikifobht7pvri1nv6uue1jcauy5j72b7'
csrftoken 'WpzUlKBdHL0hDiBdfthMQhPsZJ39qNiP'
META

Variable Value
HTTP_ACCEPT_ENCODING 'gzip, deflate, sdch'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
QUERY_STRING ''
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x8161f8610>
SERVER_SOFTWARE 'nginx/1.8.1'
SERVER_PROTOCOL 'HTTP/1.1'
SERVER_ADDR '172.17.1.6'
wsgi.multithread True
REQUEST_METHOD 'GET'
CSRF_COOKIE u'WpzUlKBdHL0hDiBdfthMQhPsZJ39qNiP'
wsgi.multiprocess False
DOCUMENT_URI '/storage/import/'
PATH_INFO u'/storage/import/'
CONTENT_LENGTH ''
HTTP_COOKIE 'sessionid=ikifobht7pvri1nv6uue1jcauy5j72b7; csrftoken=WpzUlKBdHL0hDiBdfthMQhPsZJ39qNiP; fntreeSaveStateCookie=root%2Croot%2F54%2Croot%2F54%2F55%2Croot%2F54%2F55%2F56%2Croot%2F54%2F55%2F56%2F57%2Croot%2F60%2Croot%2F60%2F61%2Croot%2F10'
HTTP_DNT '1'
HTTP_ACCEPT_LANGUAGE 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4'
CONTENT_TYPE 'application/x-www-form-urlencoded'
HTTPS ''
HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded'
HTTP_CONNECTION 'keep-alive'
SCRIPT_NAME u''
wsgi.version (1, 0)
GATEWAY_INTERFACE 'CGI/1.1'
wsgi.url_scheme 'http'
SERVER_PORT '80'
HTTP_ACCEPT '*/*'
REMOTE_ADDR '172.17.1.101'
SERVER_NAME 'localhost'
wsgi.run_once False
REMOTE_PORT '47814'
HTTP_X_REQUESTED_WITH 'XMLHttpRequest'
HTTP_HOST '172.17.1.6'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36'
REQUEST_URI '/storage/import/'
REDIRECT_STATUS '200'
wsgi.input <flup.server.fcgi_base.InputStream object at 0x8161e0f90>
HTTP_REFERER 'http://172.17.1.6/'

History

#1 Updated by it@ktc.ru it@ktc.ru over 3 years ago

  • File debug-stor1-20170413114000.txz added

#2 Updated by William Grzybowski over 3 years ago

  • Status changed from Unscreened to 15
  • Target version set to 9.10.4
  • Seen in changed from Unspecified to 9.10-STABLE-201605021851

This is a fairly old freenas version. That piece of code does not even exist anymore.

Would you please try the latest stable version and report back?

#3 Updated by William Grzybowski over 3 years ago

  • Category changed from 569 to 2

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

  • Target version changed from 9.10.4 to 11.1

#5 Updated by William Grzybowski about 3 years ago

  • Status changed from 15 to Closed: Insufficient Info
  • Target version changed from 11.1 to N/A

#6 Updated by Dru Lavigne about 3 years ago

  • File deleted (debug-stor1-20170413114000.txz)

#7 Updated by Dru Lavigne about 3 years ago

  • Private changed from Yes to No

Also available in: Atom PDF