Project

General

Profile

Bug #25836

middleware error

Added by Ty Brobeck about 3 years ago. Updated about 3 years ago.

Status:
Closed: Insufficient Info
Priority:
No priority
Assignee:
Release Council
Category:
Middleware
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

Request Method: POST
Request URL: http://192.168.108.13/system/wizard/
Software Version: FreeNAS-11.0-U3 (c5dcf4416)
Exception Type: MiddlewareError
Exception Value: [MiddlewareError: b'Unable to GPT format the disk "ada0": gpart: geom \'ada0\': File exists\n']
Exception Location: ./freenasUI/middleware/notifier.py in __gpt_labeldisk, line 410
Server time: Sat, 9 Sep 2017 22:08:09 -0700

Environment:

Software Version: FreeNAS-11.0-U3 (c5dcf4416)
Request Method: POST
Request URL: http://192.168.108.13/system/wizard/

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
162. 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 "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view
68. return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in dispatch
237. response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
88. return handler(request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in post
300. return self.render_done(form, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in render_done
357. **kwargs)
File "./freenasUI/system/forms.py" in done
468. init_rand=False,
File "./freenasUI/middleware/notifier.py" in init
239. f(objectid, *args, **kwargs)
File "./freenasUI/middleware/notifier.py" in _init_volume
1058. self.
_create_zfs_volume(volume, swapsize, kwargs.pop('groups', False), kwargs.pop('path', None), init_rand=kwargs.pop('init_rand', False))
File "./freenasUI/middleware/notifier.py" in _create_zfs_volume
803. vdevs = self.
_prepare_zfs_vdev(vgrp['disks'], vdev_swapsize, encrypt, volume)
File "./freenasUI/middleware/notifier.py" in __prepare_zfs_vdev
739. swapsize=swapsize)
File "./freenasUI/middleware/notifier.py" in __gpt_labeldisk
410. raise MiddlewareError(f'Unable to GPT format the disk "{devname}": {error}')

Exception Type: MiddlewareError at /system/wizard/
Exception Value: [MiddlewareError: b'Unable to GPT format the disk "ada0": gpart: geom \'ada0\': File exists\n']

Request information
GET
No GET data
POST
Variable Value
initial_wizard-current_step 'confirm'
__form_id 'dijit_form_Form_17'
FILES
No FILES data
COOKIES
Variable Value
csrftoken '47Zvmap7vEgQ5lNA2IkUGYfKmkqyTf2hfC4qpT0Kcmepu1B7myNhOnZggVJ0VwBx'
sessionid 'b3rjizbbdpy4w4ip1y5j6dcogo1ja7lp'
fntreeSaveStateCookie 'root%2Croot%2F80%2Croot%2F80%2F81'
META
Variable Value

History

#1 Updated by Ty Brobeck about 3 years ago

  • File debug-freenas-20170911093411.txz added

#2 Updated by Dru Lavigne about 3 years ago

  • Status changed from Unscreened to 15

Ty: are you trying to create a new volume with the wizard? If so, what was on the disk before (filesystem, operating system)?

#3 Updated by Dru Lavigne about 3 years ago

  • Status changed from 15 to Closed: Insufficient Info
  • Target version set to N/A
  • Private changed from Yes to No

#4 Updated by Dru Lavigne about 3 years ago

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

Also available in: Atom PDF