Project

General

Profile

Bug #8110

Wizard Blew Up

Added by Chris Searls over 5 years ago. Updated about 3 years ago.

Status:
Closed: User Config Issue
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

Request Method: POST
Request URL: http://192.168.1.6/system/wizard/
Software Version: FreeNAS-9.3-STABLE-201502162250
Exception Type: OSError
Exception Value:

[Errno 1] Operation not permitted: '/var/db/system/cores'

Exception Location: /usr/local/www/freenasUI/../freenasUI/middleware/notifier.py in system_dataset_create, line 5272
Server time: Thu, 19 Feb 2015 18:36:24 -0500

Environment:

Software Version: FreeNAS-9.3-STABLE-201502162250
Request Method: POST
Request URL: http://192.168.1.6/system/wizard/

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/lib/python2.7/site-packages/django/views/generic/base.py" in view
69. return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in dispatch
236. response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
87. return handler(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in post
297. return self.render_done(form, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in render_done
350. done_response = self.done(final_form_list, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/system/forms.py" in done
828. _n.restart("system_datasets") # FIXME: may reload collectd again
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in restart
374. self._simplecmd("restart", what)
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in _simplecmd
248. f()
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in _restart_system_datasets
5078. systemdataset = self.system_dataset_create()
File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in system_dataset_create
5272. os.chmod(corepath, 0775)

Exception Type: OSError at /system/wizard/
Exception Value: [Errno 1] Operation not permitted: '/var/db/system/cores'

expand all collapse all
Account
Groups
Goose
Guest
jo
Knowitalls
Add Group
View Groups
Users
Angry
Goose
Guest
jo
Add User
View Users
System
Information
General
Boot
Advanced
Email
System Dataset
Tunables
Update
CAs
Certificates
Tasks
Network
Storage
Directory Service
Sharing
Services
Plugins
Jails
Reporting
Wizard
Display System Processes
Shell
Log Out
Reboot
Shutdown
AFP [AFP Settings]
CIFS [CIFS Settings]
Domain Controller [Domain Controller Settings]
Dynamic DNS [Dynamic DNS Settings]
FTP [FTP Settings]
iSCSI [ISCSI Settings]
LLDP [LLDP Settings]
NFS [NFS Settings]
Rsync [Rsync Settings]
S.M.A.R.T. [S.M.A.R.T. Settings]
SNMP [SNMP Settings]
SSH [SSH Settings]
TFTP [TFTP Settings]
UPS [UPS Settings]
WebDAV [WebDAV Settings]
FreeNAS® © 2015 iXsystems, Inc.

Feb 19 18:36:09 freenas notifier: os.chmod(corepath, 0775)
Feb 19 18:36:09 freenas notifier: OSError: [Errno 1] Operation not permitted: '/var/db/system/cores'
Feb 19 18:36:24 freenas notifier: kern.corefile: /var/db/system/cores/%N.core -> /var/db/system/cores/%N.core

iXsystems, Inc.
Wizard
Request Method: POST
Request URL: http://192.168.1.6/system/wizard/
Software Version: FreeNAS-9.3-STABLE-201502162250
Exception Type: OSError
Exception Value:

[Errno 1] Operation not permitted: '/var/db/system/cores'

Exception Location: /usr/local/www/freenasUI/../freenasUI/middleware/notifier.py in system_dataset_create, line 5272
Server time: Thu, 19 Feb 2015 18:36:24 -0500
Traceback
Environment: Software Version: FreeNAS-9.3-STABLE-201502162250 Request Method: POST Request URL: http://192.168.1.6/system/wizard/ 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/lib/python2.7/site-packages/django/views/generic/base.py" in view 69. return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in dispatch 236. response = super(WizardView, self).dispatch(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch 87. return handler(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in post 297. return self.render_done(form, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools/wizard/views.py" in render_done 350. done_response = self.done(final_form_list, **kwargs) File "/usr/local/www/freenasUI/../freenasUI/system/forms.py" in done 828. _n.restart("system_datasets") # FIXME: may reload collectd again File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in restart 374. self._simplecmd("restart", what) File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in _simplecmd 248. f() File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in _restart_system_datasets 5078. systemdataset = self.system_dataset_create() File "/usr/local/www/freenasUI/../freenasUI/middleware/notifier.py" in system_dataset_create 5272. os.chmod(corepath, 0775) Exception Type: OSError at /system/wizard/ Exception Value: [Errno 1] Operation not permitted: '/var/db/system/cores'

Request information
GET

No GET data
POST
Variable Value
__form_id u'dijit_form_Form_4'
initial_wizard-current_step u'confirm'
FILES

No FILES data
COOKIES
Variable Value
csrftoken 'IjSsX0w3UNSVd5xW0Gm8QUBjNdUkjjWD'
sessionid 'jqdxfldsaw5hke0y3tpebzngh0o90zy0'
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F2%2Croot%2F1%2F9%2Croot%2F111%2Croot%2F16'
META
Variable Value
HTTP_PRAGMA 'no-cache'
REQUEST_URI '/system/wizard/'
CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
wsgi.input <flup.server.fcgi_base.InputStream object at 0x812ae84d0>
SERVER_PORT '80'
SERVER_NAME 'localhost'
HTTP_HOST '192.168.1.6'
HTTPS ''
PATH_INFO u'/system/wizard/'
wsgi.multiprocess False
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:35.0) Gecko/20100101 Firefox/35.0 Waterfox/35.0'
SERVER_ADDR '192.168.1.6'
HTTP_CACHE_CONTROL 'no-cache'
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x809451cd0>
HTTP_ACCEPT_ENCODING 'gzip, deflate'
HTTP_REFERER 'http://192.168.1.6/'
SERVER_PROTOCOL 'HTTP/1.1'
HTTP_X_REQUESTED_WITH 'XMLHttpRequest'
HTTP_CONTENT_LENGTH '63'
HTTP_CONNECTION 'keep-alive'
SCRIPT_NAME u''
HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8'
HTTP_COOKIE 'csrftoken=IjSsX0w3UNSVd5xW0Gm8QUBjNdUkjjWD; sessionid=jqdxfldsaw5hke0y3tpebzngh0o90zy0; fntreeSaveStateCookie=root%2Croot%2F1%2Croot%2F1%2F2%2Croot%2F1%2F9%2Croot%2F111%2Croot%2F16'
CONTENT_LENGTH '63'
SERVER_SOFTWARE 'nginx/1.6.2'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
QUERY_STRING ''
REQUEST_METHOD 'POST'
wsgi.multithread True
REDIRECT_STATUS '200'
HTTP_X_CSRFTOKEN 'IjSsX0w3UNSVd5xW0Gm8QUBjNdUkjjWD'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.5'
DOCUMENT_URI '/system/wizard/'
CSRF_COOKIE u'IjSsX0w3UNSVd5xW0Gm8QUBjNdUkjjWD'
wsgi.run_once False
wsgi.url_scheme 'http'
REMOTE_ADDR '192.168.1.4'
GATEWAY_INTERFACE 'CGI/1.1'
REMOTE_PORT '58293'
wsgi.version (1, 0)

Long story short: I blew up this box about a year ago, when Tom's Guide said "check for infection with `$ ssh -G 2>&1 | grep -e illegal -e unknown > /dev/null && echo "System clean" || echo "System infected" middleware.exceptions:38' and I've not seen my data since. I check the forums every couple of months to see what's new and if it applies to how CIFS fails a sanity check, or the missing files other fallow up checks report.

This time around, I saw a wizard option, and played though it, hopping it'd turn on CIFS, but I got the stuff, above, in a pop-up instead.

I can only add this upgrade to 9.3 seemed to take extra long compared to previous upgrades.

Hiigara fail three.gif (19.3 KB) Hiigara fail three.gif screen shot Chris Searls, 02/19/2015 04:11 PM
Hiigara fail two.gif (21.2 KB) Hiigara fail two.gif screen shot Chris Searls, 02/19/2015 04:11 PM
Hiigara fail one.gif (19.3 KB) Hiigara fail one.gif screen shot Chris Searls, 02/19/2015 04:11 PM
2219
2220
2221

History

#1 Updated by Jordan Hubbard over 5 years ago

  • Category set to 116
  • Assignee set to William Grzybowski
  • Target version set to Unspecified

#2 Updated by Chris Searls over 5 years ago

and I started doing upgrades in a panic, and I've not seen my data since

#3 Updated by William Grzybowski over 5 years ago

  • Status changed from Unscreened to Screened

Who messed up with system datasets for last? Not me!

#4 Updated by William Grzybowski over 5 years ago

Please paste:

mount
ls -la /var/db/system
zfs list

#5 Updated by Chris Searls over 5 years ago

2219
2220
2221

Part One Seems there's no copying out'a the interface.

#6 Updated by William Grzybowski over 5 years ago

Did you import your previous pool?

How did you got all this crazy permissions in your pool? Did you set ACL recursively or something in it?

#7 Updated by Chris Searls over 5 years ago

Er: One "imports" pools after an upgrade?

"ACL recursively" sound like a switch I would'a thrown at some point, in all my flailing around to get drives to map from Win7 again, but I couldn't tell you when, and what version of the OS, I'd done so in …

#8 Updated by Jordan Hubbard over 5 years ago

  • Status changed from Screened to Closed: User Config Issue

If you did that particular flail, then there's definiteily no bug for us to fix here. You've hosed the permissions of some rather critical system data, and while we have taken steps in 9.3 to make that much harder to do, they can't save a pool that's already been stomped. I recommend copying the data you want to save off this pool and then deleting / recreating from scratch. Thanks.

#9 Updated by Chris Searls over 5 years ago

But that's the underling issue: I Haven't been able to map the poor girl as a drive letter ever since the first upgrade from 8.2.0-RELEASE-p1; I was trying to get the Wizard to let me see my data again, so I could clean out the drive and restart.

Forum reports of false positives for and active CIFS, failed sanity checks, ET-al, come and go, months at a time, but I've only seen a few things that seem relevant, and they didn't pan out …

#10 Updated by Jordan Hubbard over 5 years ago

It's too late for the wizard in your case. The wizard only helps healthy pools; resurrecting the dead is beyond its capability or design.

#11 Updated by Chris Searls over 5 years ago

So I should open another ticket for info on how to open up the permissions so I can see my stuff and clear it out?

#12 Updated by Jordan Hubbard over 5 years ago

Tickets aren't for tech support; they're just for reporting bugs. I suggest the forums and/or reading the docs thoroughly. If all else fails, there's always #freenas on irc.freenode.net (see the resources section of the documentation).

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

  • Target version changed from Unspecified to N/A

Also available in: Atom PDF