Project

General

Profile

Bug #47404

Fix traceback if vlan parent interface vanishes

Added by William Grzybowski almost 2 years ago. Updated almost 2 years ago.

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

Description

[2018/09/20 07:49:36] (WARNING) application.call_method():182 - Exception while calling interfaces.sync(*[])
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 155, in call_method
    result = await self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1033, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 973, in _call
    return await methodobj(*args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/network.py", line 472, in sync
    iface.configure(vlan['vlan_pint'], vlan['vlan_tag'], vlan['vlan_pcp'])
  File "netif.pyx", line 1213, in netif.VlanInterface.configure
FileNotFoundError: [Errno 2] No such file or directory

https://sentry.ixsystems.com/ixsystems/freenas-middleware/issues/15653/

Associated revisions

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

fix(middlewared/network): catch vlan parent interface ENOENT exception Ticket: #47404

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

fix(middlewared/network): catch vlan parent interface ENOENT exception Ticket: #47404

History

#1 Updated by Bug Clerk almost 2 years ago

  • Status changed from Unscreened to In Progress

#2 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#3 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Traceback if vlan parent interface vanishes to Fix traceback if vlan parent interface vanishes
  • Needs QA changed from No to Yes
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#4 Updated by William Grzybowski almost 2 years ago

  • Status changed from Ready for Testing to Done

Also available in: Atom PDF