Bug 752877 - RFE: use libvirt/netcf transaction APIs for atomic network changes
Summary: RFE: use libvirt/netcf transaction APIs for atomic network changes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-10 17:26 UTC by Frank Ch. Eigler
Modified: 2018-10-03 23:45 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-03 23:45:12 UTC


Attachments (Terms of Use)

Description Frank Ch. Eigler 2011-11-10 17:26:32 UTC
It appears possible to bring down a machine's network semi-permanently
by performing remote virt-manager tasks.

Specifically, the operation of creating a br0 interface based upon an
active ethN one appears to be fragile, if performed via a remote 
ssh/X session that used the ethN interface as its transport.  The gui
freezes midway during the change.  This in turn appears to stop the
interface reconfiguration in progress.  That in turn leaves the machine
with no live interfaces at all!

The underlying problem appears to be that the GUI progress display
and the low-level /etc/sysconfig/network-scripts* manipulation are
tied together too much.  virt-manager should do the changes in some
separate process, so even if the gui is hung, the changes will be
completed, as if it were an atomic operation.

Comment 1 Cole Robinson 2012-01-18 13:50:09 UTC
Still relevant upstream, reassigning.

Comment 2 Cole Robinson 2014-02-01 01:45:39 UTC
Libvirt/netcf have had 'transaction' APIs since libvirt 0.9.2, we could look into using those.

Comment 3 Cole Robinson 2018-10-03 23:45:12 UTC
All these years later we are very likely going to be removing the interface UI upstream, and option to create/start/stop interfaces. So this is moot

https://www.redhat.com/archives/virt-tools-list/2018-October/msg00032.html


Note You need to log in before you can comment on or make changes to this bug.