Project

General

Profile

Bug #20215

traceback on NIS on 201701120619 (40e8230)

Added by Dru Lavigne over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Important
Assignee:
Marcelo Araujo
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

Granted, I faked the values but it should give an error message that the NIS server could not be reached rather than a traceback.

Request Method: POST
Request URL: http://192.168.1.78/admin/directoryservice/nis/edit/1/?inline=true
Software Version: FreeNAS-9.10-MASTER-201701120619 (40e8230)
Exception Type: CallTimeout
Exception Value:

Call timeout

Exception Location: /usr/local/lib/python2.7/site-packages/middlewared/client/client.py in call, line 156
Server time: Thu, 12 Jan 2017 12:21:05 -0800
Traceback
Environment:

Software Version: FreeNAS-9.10-MASTER-201701120619 (40e8230)
Request Method: POST
Request URL: http://192.168.1.78/admin/directoryservice/nis/edit/1/?inline=true

Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/usr/local/lib/python2.7/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
159. 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
23. return view_func(request, *args, **kwargs)
File "./freenasUI/freeadmin/options.py" in wrapper
208. return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
149. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
57. response = view_func(request, *args, **kwargs)
File "./freenasUI/freeadmin/site.py" in inner
145. return view(request, *args, **kwargs)
File "./freenasUI/freeadmin/options.py" in edit
566. mf.save()
File "./freenasUI/directoryservice/forms.py" in save
678. started = notifier().started("nis")
File "./freenasUI/middleware/notifier.py" in started
253. return c.call('service.started', what)
File "./freenasUI/middleware/notifier.py" in started
253. return c.call('service.started', what)
File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py" in call
156. raise CallTimeout("Call timeout")

Exception Type: CallTimeout at /admin/directoryservice/nis/edit/1/
Exception Value: Call timeout
GET
Variable Value
inline u'true'
POST
Variable Value
form_id u'dialogForm_nis'
__all
u''
nis_domain u'blah'
nis_secure_mode u'on'
nis_servers u'blah'
nis_manycast u'on'
FILES

No FILES data
COOKIES
Variable Value
csrftoken 'hsmUEFqqY1ZwDSpygwRwsKyRd9VoMyYC7lblHPdKHPch4cRLG81fdpSzlPUKmSoi'
sessionid '7cmq28hpc9636z9f21kfppjfw3utjk3y'
fntreeSaveStateCookie 'root'
META
Variable Value
FreeNAS® © 2016 iXsystems, Inc.

Associated revisions

Revision f60f5547 (diff)
Added by Marcelo Araujo over 4 years ago

fix(directoryservice): Don't raise a Client() error because the domain doesn't exist or because it is not possible to start NIS. Ticket: #20215

Revision e9942a16 (diff)
Added by Marcelo Araujo over 4 years ago

fix(directoryservice): Don't raise a Client() error because the domain doesn't exist or because it is not possible to start NIS. Ticket: #20215

Revision 39256b67 (diff)
Added by Marcelo Araujo over 4 years ago

fix(directoryservice): Don't raise a Client() error because the domain doesn't exist or because it is not possible to start NIS. Ticket: #20215

Revision 4bcd0603 (diff)
Added by Marcelo Araujo over 4 years ago

fix(directoryservice): Don't raise a Client() error because the domain doesn't exist or because it is not possible to start NIS. Ticket: #20215

History

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

  • Assignee changed from Kris Moore to Marcelo Araujo

Moar Django...

#2 Updated by Marcelo Araujo over 4 years ago

  • Status changed from Unscreened to Screened

#3 Updated by Marcelo Araujo over 4 years ago

  • Status changed from Screened to Resolved

Not the best solution, but definitely I will rework that in a near future, but not the priority now.

#4 Updated by Marcelo Araujo over 4 years ago

  • Status changed from Resolved to Ready For Release

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

  • Target version changed from 9.10.3 to 11.0

#7 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

#8 Updated by Vaibhav Chauhan about 4 years ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF