Project

General

Profile

Bug #23532

Cannot Create Jail

Added by Mark Levesque over 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Important
Assignee:
William Grzybowski
Category:
Middleware
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

I get the following error when I click the Add Jail button. I have not created a jail since upgrading from 9.10.2.

Request Method: GET
Request URL: https://nas.levesque.it/admin/jails/jails/add/
Software Version: FreeNAS-11-MASTER-201704240408 (3b6bcb4)
Exception Type: ValueError
Exception Value:
invalid literal for int() with base 10: ''
Exception Location: ./freenasUI/jails/utils.py in get_ipv4_exclude_dict, line 120
Server time: Mon, 24 Apr 2017 14:03:41 -0400
Traceback

Environment:

Software Version: FreeNAS-11-MASTER-201704240408 (3b6bcb4)
Request Method: GET
Request URL: https://nas.levesque.it/admin/jails/jails/add/

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 "./freenasUI/freeadmin/options.py" in wrapper
208. return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view
149. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.6/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 add
391. mf = mf()
File "./freenasUI/jails/forms.py" in init
201. ipv4_addrs = guess_ipv4_addresses()
File "./freenasUI/jails/utils.py" in guess_ipv4_addresses
542. ipv4_addr = get_ipv4_address()
File "./freenasUI/jails/utils.py" in get_ipv4_address
443. get_ipv4_exclude_dict()
File "./freenasUI/jails/utils.py" in get_ipv4_exclude_dict
120. mask = int(parts1)

Exception Type: ValueError at /admin/jails/jails/add/
Exception Value: invalid literal for int() with base 10: ''

Request information

GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES

Variable Value
sessionid 'imd6fsi0r82frbtwq6klh99x6ds1epx9'
csrftoken 'xtEfDqHL9KYPlrqmjdEoLV802LQRUHUxuvnsPvfCfT6W07MlGGiTsJMUzWKHRhN5'
fntreeSaveStateCookie 'root%2Croot%2F200%2F223%2Croot%2F202%2F213%2Croot%2F202%2F213%2F215%2Croot%2F202%2F225%2Croot%2F198%2Croot%2F56%2F57%2Croot%2F56%2F57%2F58%2Croot%2F202'
META

Variable Value

Associated revisions

Revision ab55636e (diff)
Added by William Grzybowski over 4 years ago

fix(jails): bridge ipv4 may not be well parsed This will ignore if it did not provide a proper netmask. Ticket: #23532

History

#1 Updated by Mark Levesque over 4 years ago

  • File debug-bLevesque-Server-20170424140835.txz added

#2 Updated by William Grzybowski over 4 years ago

  • Status changed from Unscreened to Fix In Progress
  • Assignee changed from Brandon Schneider to William Grzybowski
  • Priority changed from No priority to Important
  • Target version set to 11.0
  • Seen in changed from Unspecified to Master - FreeNAS Nightlies

#3 Updated by William Grzybowski over 4 years ago

  • Status changed from Fix In Progress to Resolved

#5 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

#6 Updated by Dru Lavigne almost 4 years ago

  • File deleted (debug-bLevesque-Server-20170424140835.txz)

#7 Updated by Dru Lavigne almost 4 years ago

  • Private changed from Yes to No

Also available in: Atom PDF