Project

General

Profile

Bug #26026

Fix traceback on certificate import

Added by Mykolas Norvaisas about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Critical
Assignee:
Nikola Gigic
Category:
GUI (new)
Target version:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

HP ProLiant ML350 G6

ChangeLog Required:
No

Description

I am running FreeNAS-11-MASTER-201710020517 (3677729)
When trying to import existing external COMODO certificate I get a traceback. New GUI also shows error "san" but without detail. Error message is attached

Environment:

Software Version: FreeNAS-11-MASTER-201710020517 (3677729)
Request Method: POST
Request URL: http://192.168.10.7/system/certificate/import/

Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  42.             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/system/views.py" in certificate_import
  1745.             form.save()
File "./freenasUI/system/forms.py" in save
  3079.         self.instance.cert_san = cert_info['san']

Exception Type: KeyError at /system/certificate/import/
Exception Value: 'san'
cert_import1.JPG (118 KB) cert_import1.JPG Error1 Mykolas Norvaisas, 10/02/2017 12:19 PM
12591

Associated revisions

Revision fd4c8e88 (diff)
Added by Nikola Gigic about 1 year ago

fix(middleware): Traceback on certificate import

Ticket: #26026

History

#1 Updated by Dru Lavigne about 1 year ago

  • Assignee changed from Release Council to William Grzybowski
  • Seen in changed from 11.1-BETA1 to Master - FreeNAS Nightlies

#2 Updated by William Grzybowski about 1 year ago

  • Assignee changed from William Grzybowski to Nikola Gigic
  • Priority changed from No priority to Critical
  • Target version set to 11.1-BETA1

Seems like a regression from the SAN change.

#3 Updated by Nikola Gigic about 1 year ago

  • Status changed from Unscreened to Screened

#4 Updated by Nikola Gigic about 1 year ago

  • Status changed from Screened to Ready For Release

#5 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Traceback on certificate import to Fix traceback on certificate import

#6 Updated by Bonnie Follweiler 12 months ago

  • Needs QA changed from Yes to No
  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

Test Passed on FreeNAS-11-MASTER-201710200502

#7 Updated by Dru Lavigne 12 months ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF