Project

General

Profile

Bug #45871

Raise error when starting VM with same tap interface

Added by William Grzybowski about 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:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

FileExistsError: [Errno 17] File exists
  File "middlewared/main.py", line 155, in call_method
    result = await self.middleware.call_method(self, message)
  File "middlewared/main.py", line 1033, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "middlewared/main.py", line 973, in _call
    return await methodobj(*args)
  File "middlewared/schema.py", line 664, in nf
    return await f(*args, **kwargs)
  File "plugins/vm.py", line 1138, in start
    await self._manager.start(vm)
  File "plugins/vm.py", line 56, in start
    list(done)[0].result()
  File "plugins/vm.py", line 180, in run
    await self.bridge_setup(tapname, tap, attach_iface)
  File "plugins/vm.py", line 382, in bridge_setup
    bridge.add_member(attach_iface)
  File "netif.pyx", line 1131, in netif.BridgeInterface.add_member
  File "netif.pyx", line 1149, in netif.BridgeInterface.bridge_cmd
attach_iface    'tap0'
tapname    'tap0'

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

Associated revisions

Revision 928fcf16 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): raise error if trying to bridge with its own iface Ticket: #45871

Revision d5202017 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): raise error if trying to bridge with its own iface Ticket: #45871

History

#1 Updated by William Grzybowski about 2 years ago

  • Status changed from Unscreened to Not Started

#2 Updated by Bug Clerk about 2 years ago

  • Status changed from Not Started to In Progress

#3 Updated by Bug Clerk about 2 years ago

  • Status changed from In Progress to Ready for Testing

#4 Updated by Dru Lavigne about 2 years ago

  • Subject changed from Traceback starting VM with same tap interface to Raise error when starting VM with same tap interface
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#5 Updated by Bonnie Follweiler almost 2 years ago

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

#7 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF