Project

General

Profile

Bug #34603

Fix traceback when setting IPMI VLAN ID

Added by Shawn Cox 11 months ago. Updated 9 months ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
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

Related projects 1 project

Description

Request Method: POST
Request URL: http://10.5.0.152/network/ipmi/
Software Version: TrueNAS-11.1-U4 (1d8ba82ec)
Exception Type: ClientException
Exception Value:

program arguments must be a bytes or text string, not int

Exception Location: /usr/local/lib/python3.6/site-packages/middlewared/client/client.py in call, line 421
Server time: Wed, 6 Jun 2018 12:21:38 -0700

Environment:

Software Version: TrueNAS-11.1-U4 (1d8ba82ec)
Request Method: POST
Request URL: http://10.5.0.152/network/ipmi/

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/network/views.py" in ipmi
60. if form.save() == 0:
File "./freenasUI/network/forms.py" in save
547. return c.call('ipmi.update', channel, data)
File "./freenasUI/network/forms.py" in save
547. return c.call('ipmi.update', channel, data)
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
421. raise ClientException(c.error, c.errno, c.trace, c.extra)

Exception Type: ClientException at /network/ipmi/
Exception Value: program arguments must be a bytes or text string, not int

Value is never set.

Associated revisions

Revision 4fde7587 (diff)
Added by William Grzybowski 11 months ago

fix(ipmi): setting VLAN

Ticket: #34603

Revision 6fd6afbb (diff)
Added by William Grzybowski 11 months ago

fix(ipmi): setting VLAN

Ticket: #34603
(cherry picked from commit 4fde75877119bee92b5fe273407e7bab1aa6b09d)

Revision bbca10e7 (diff)
Added by William Grzybowski 11 months ago

fix(ipmi): setting VLAN

Ticket: #34603

Revision 24059450 (diff)
Added by William Grzybowski 10 months ago

fix(ipmi): setting VLAN

Ticket: #34603

History

#1 Updated by Dru Lavigne 11 months ago

  • Assignee changed from Release Council to William Grzybowski

#2 Updated by Shawn Cox 11 months ago

  • Subject changed from On M series, setting ipmi vlan tag causes traceback. to Regression, setting ipmi vlan tag causes traceback.

confirmed this issue is also seen on Z series hardware as well.

#3 Updated by Sam Fourman 11 months ago

  • Target version changed from Backlog to TrueNAS-11.1-U6.1

#4 Updated by William Grzybowski 11 months ago

  • Status changed from Unscreened to Not Started
  • Severity changed from New to Medium

#5 Updated by William Grzybowski 11 months ago

  • Category changed from GUI to Middleware
  • Needs Doc changed from Yes to No

#6 Updated by William Grzybowski 11 months ago

  • Status changed from Not Started to In Progress

#7 Updated by William Grzybowski 11 months ago

  • Project changed from TrueNAS to FreeNAS
  • Category changed from Middleware to Middleware
  • Target version changed from TrueNAS-11.1-U6.1 to 11.1-U6
  • Needs Merging changed from Yes to No
  • Migration Needed deleted (No)
  • Hide from ChangeLog deleted (No)
  • Support Department Priority deleted (0)

#8 Updated by William Grzybowski 11 months ago

  • Status changed from In Progress to Ready for Testing

#9 Updated by Dru Lavigne 11 months ago

  • Subject changed from Regression, setting ipmi vlan tag causes traceback. to Fix traceback when setting IPMI VLAN ID

#10 Updated by Bonnie Follweiler 9 months ago

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

Passed test on FreeNAS-11.1-U6-INTERNAL1

#11 Updated by Dru Lavigne 9 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF