Bug 694627

Summary: virt-manager: trying to stop 'eth0' hangs
Product: [Fedora] Fedora Reporter: johnny.westerlund
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: berrange, crobinso, hbrock, jforbes, virt-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: 2012-02-08 00:54:21 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 johnny.westerlund 2011-04-07 19:28:15 UTC
Description of problem:
Editing network interfaces when using NetworkManager doesn't work


Version-Release number of selected component (if applicable):
NetworkManager 0.8.998
virt-manager 0.8.7

How reproducible:
100%

Steps to Reproduce:
1. start virt-manager and authenticate
2. go Edit-> Connection Details
3. go to the last tab (Network Interfaces)
4. try to Stop the eth0 interface.
  
Actual results:
virt-manager hangs

Expected results:
Allow me to edit the interface.

Additional info:

Comment 1 johnny.westerlund 2011-04-07 19:39:49 UTC
Did some more testing.
Stopping NetworkManager allows you to start/stop the interfaces from inside virt-manager.

A small comment on bringing my interface up and down. While doing this i did not have a network cable attached to the interface plus am running dhcp on eth0. Now ifup eth0 returns exitcode 1 because it could not get a dhcp adress. While this is correct behaviour inside virt-manager you get an error thrown. This is more a beauty error but shrug...

To reproduce:

1. set up eth0 to use dhcp
2. Stop NetworkManager if running (systemctl stop NetworkManager.service)
3. make sure eth0 is unplugged.
4. go Edit-> Connection Details
5. go to the last tab (Network Interfaces)
6. try to Stop/Start the eth0 interface.

Comment 2 Cole Robinson 2012-02-08 00:54:21 UTC
virt-manager shouldn't hang here anymore, since we run this command asynchronously. Try virt-manager in updates-testing.

That doesn't mean that eth0 shutdown is going to work if NetworkManager is running though, since they tend to collide.