Project

General

Profile

Bug #16346

Error deliting Jail Template

Added by John Hixson about 5 years ago. Updated almost 4 years ago.

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

Crete Jail Template to for Debian using this URL: http://download.freenas.org/jails/9.2/x64/linux-debian-7.1.0.tgz
Install Debian ... then decide to delete. Jail deleted successfully, binaries delete successfully, but when I try to delete jail template, I am getting an error.

Request Method: GET
Request URL: http://192.168.10.100/admin/jails/jailtemplate/delete/18/
Software Version: FreeNAS-9.10-STABLE-201606072003 (696eba7)
Exception Type: ValueError
Exception Value:
The JailTemplate could not be changed because the data didn't validate.
Exception Location: /usr/local/lib/python2.7/site-packages/django/forms/models.py in save_instance, line 80
Server time: Wed, 15 Jun 2016 20:34:06 +0300

Environment:

Software Version: FreeNAS-9.10-STABLE-201606072003 (696eba7)
Request Method: GET
Request URL: http://192.168.10.100/admin/jails/jailtemplate/delete/18/

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/freeadmin/options.py" in wrapper
209. return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
99. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
52. response = view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner
142. return view(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in delete
791. mf = mf(data=request.POST, instance=instance)
File "/usr/local/www/freenasUI/../freenasUI/jails/forms.py" in init
973. obj = self.save(commit=False)
File "/usr/local/lib/python2.7/site-packages/django/forms/models.py" in save
446. construct=False)
File "/usr/local/lib/python2.7/site-packages/django/forms/models.py" in save_instance
80. " validate." % (opts.object_name, fail_message))

Exception Type: ValueError at /admin/jails/jailtemplate/delete/18/
Exception Value: The JailTemplate could not be changed because the data didn't validate.


Related issues

Copied from FreeNAS - Bug #15972: Error deleting Jail TemplateResolved2016-06-15

History

#1 Updated by John Hixson about 5 years ago

  • Copied from Bug #15972: Error deleting Jail Template added

#2 Updated by John Hixson about 5 years ago

  • Assignee changed from John Hixson to Vaibhav Chauhan

#3 Updated by Vaibhav Chauhan about 5 years ago

  • Status changed from Needs Developer Review to Ready For Release
  • Priority changed from No priority to Important

Merged and RFR

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

  • Target version changed from Maintainance SU to 9.10.1-U1

#5 Updated by Vaibhav Chauhan about 5 years ago

  • Seen in changed from 9.10-STABLE-201606072003 to Maintainance SU

Kris, this bug had correct target version for Maintainance SU as this bug item is suppose to be going in future 9.3 release.

#6 Updated by Vaibhav Chauhan about 5 years ago

  • Target version changed from 9.10.1-U1 to Maintainance SU

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

  • Seen in changed from Maintainance SU to N/A

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

  • Target version changed from Maintainance SU to N/A

#9 Updated by Dru Lavigne almost 4 years ago

  • Status changed from Ready For Release to Resolved
  • Target version changed from N/A to Master - FreeNAS Nightlies

#10 Updated by Dru Lavigne almost 4 years ago

  • File deleted (debug-nas0-20160617132500.tgz)

Also available in: Atom PDF