Bug 709734
| Summary: | Several problems with the management of network interface. (virsh iface-define, virsh iface-start, ...) | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Lionel Schaub <lionel.schaub> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED DEFERRED | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | braoru, crobinso, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-23 12:49:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 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. 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 |
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: