Project

General

Profile

Bug #48096

Allow null value for VNC port

Added by Bonnie Follweiler almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

This is in the Legacy UI on FreeNAS-11.2-MASTER-201809250704
I set up a VM, attached and iso to the Device CD and tried to start the VM
I get the following Traceback:

Request Method: POST
Request URL: http://fn07.lab.ixsystems.com/legacy/vm/start/14/
Software Version: FreeNAS-11.2-MASTER-201809250704 (2de45e0)
Exception Type: ClientException
Exception Value:

int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Exception Location: /usr/local/lib/python3.6/site-packages/middlewared/client/client.py in call, line 454
Server time: Tue, 25 Sep 2018 10:08:18 -0400

Traceback
Environment:

Software Version: FreeNAS-11.2-MASTER-201809250704 (2de45e0)
Request Method: POST
Request URL: http://fn07.lab.ixsystems.com/legacy/vm/start/14/

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
163. 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/vm/views.py" in start
128. c.call('vm.start', id)
File "./freenasUI/vm/views.py" in start
128. c.call('vm.start', id)
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
454. raise ClientException(c.error, c.errno, c.trace, c.extra)

Exception Type: ClientException at /legacy/vm/start/14/
Exception Value: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Request information
GET

No GET data
POST
Variable Value
__form_id 'form_str'
FILES

No FILES data
COOKIES
Variable Value
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F6'
_ga 'GA1.2.127183230.1534445915'
_mkto_trk 'id:855-MUM-343&token:_mch-ixsystems.com-1534445916079-89863'
csrftoken '********'
sessionid 'ooudree8tjne4o7vgdgnxazhb4p0pjh1'
META
Variable Value

Associated revisions

Revision 2cf51d6b (diff)
Added by William Grzybowski almost 2 years ago

fix(vm): vnc_port may be null Ticket: #48096

Revision ab3e6076 (diff)
Added by William Grzybowski almost 2 years ago

fix(vm): vnc_port may be null Ticket: #48096

Revision 9dd9963c (diff)
Added by William Grzybowski almost 2 years ago

fix(vm): vnc_port may be null Ticket: #48096

History

#1 Updated by Bonnie Follweiler almost 2 years ago

  • Private changed from No to Yes

#2 Updated by Bug Clerk almost 2 years ago

  • Status changed from Unscreened to In Progress

#3 Updated by William Grzybowski almost 2 years ago

  • Target version changed from Backlog to 11.2-RC1
  • Severity changed from New to Low Medium
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#4 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from When I try to start a newly created VM I get a Traceback error to Allow null value for VNC port
  • Private changed from Yes to No

#6 Updated by Dru Lavigne almost 2 years ago

  • File deleted (debug-bonniemini-20180925102104.tgz)

#7 Updated by Bonnie Follweiler almost 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test Passed in FreeNAS-11.2-MASTER-201809260704

#8 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF