Bug 752877

Summary: RFE: use libvirt/netcf transaction APIs for atomic network changes
Product: [Community] Virtualization Tools Reporter: Frank Ch. Eigler <fche>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, dbhole, dougsland, hbrock, jforbes, mmcgrath, tross, virt-maint, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-03 23:45:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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