Bug 709734 - Several problems with the management of network interface. (virsh iface-define, virsh iface-start, ...)
Summary: Several problems with the management of network interface. (virsh iface-defin...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-01 14:23 UTC by Lionel Schaub
Modified: 2016-03-23 12:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-03-23 12:49:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Lionel Schaub 2011-06-01 14:23:45 UTC
Description of problem:
1. After creating an interface with "virsh iface-define", it is not in the list produced with "virsh iface-list --all".
2. The execution of the command "virsh iface-start br1" (br1 interface is obtained at the point 1) takes 10 minutes.
3. After restarting the machine, the interface does not start automatically even though I specified the parameter <start mode="onboot"/>. I have to manually run the command "virsh iface-start br1".

If I create the interface with virt-manager, I have the same problems and the process takes about 20 minutes.


Version-Release number of selected component (if applicable):
Fedora 14
Linux Kernel 2.6.35.13-91.fc14.x86_64
libvirt 0.8.3
virsh 0.8.3
virt-manager 0.8.7
bridge-utils 1.2


How reproducible:
Just follow the steps below.


Steps to Reproduce:
1. Create the file bridgeInterfaceConfig.xml (change interface, ip and mac to correspond to your configuration)
  <interface type='bridge' name='br1'>
    <start mode="onboot"/>
    <protocol family='ipv4'>
      <ip address='192.168.1.15' prefix='24'/>
    </protocol>
    <bridge>
      <interface type='ethernet' name='eth2'>
        <mac address='00:1b:21:43:36:b0'/>
      </interface>
    </bridge>
  </interface>
2. launch "virsh iface-define bridgeInterfaceConfig.xml"
3. launch "virsh iface-list --all". br1 interface is not displayed.
4. launch "iface-start br1". this step take 10 minutes.
5. restart the computer and see that the br1 interface no longer exists.
6. you can do the same with virt-manager.
  
Actual results:


Expected results:


Additional info:

Comment 1 Sebastien Pasche 2011-06-01 14:38:24 UTC
Hello,

You should try with packets from https://fedoraproject.org/wiki/Virtualization_Preview_Repository

May be this bug has been corrected since libvirt 0.8.3.

Seb

Comment 2 Lionel Schaub 2011-06-02 18:24:42 UTC
I have tested with version 0.8.8 of libvirt (from repo https://fedoraproject.org/wiki/Virtualization_Preview_Repository).
The bug "virsh iface-list - all" no longer exists.
But the other bug is still present.

Comment 3 Cole Robinson 2016-03-23 12:49:56 UTC
Sorry this didn't receive much of a response. netcf and libvirt received a lot of changes since this was filed, so I suspect the latter issue was fixed. Closing as DEFERRED. If anyone can still reproduce with modern libvirt, please file a new bug


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