Bug 694627 - virt-manager: trying to stop 'eth0' hangs
Summary: virt-manager: trying to stop 'eth0' hangs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-07 19:28 UTC by johnny.westerlund
Modified: 2012-02-08 00:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-08 00:54:21 UTC
Type: ---


Attachments (Terms of Use)

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.


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