Bug 947385
Summary: | libvirtd loses network configuration, bridges remain | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | hongming <honzhang> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | acathrow, cwei, dallan, danken, dyuan, gsun, ikke, laine, mzhan, pcfe, ydu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.0.5-2.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 819416 | Environment: | |
Last Closed: | 2014-06-13 11:42:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 494837, 782183 |
Comment 2
Laine Stump
2013-05-07 16:14:58 UTC
pkgs: libvirt-1.0.5-2.el7.x86_64 qemu-kvm-1.4.0-4.el7.x86_64 kernel-3.9.0-0.55.el7.x86_64 steps: 1. create a network with xml # cat net.xml <network> <name>definebr1</name> <uuid>fb09e249-7cce-252e-2417-c47d6d60b3d6</uuid> <forward/> <bridge name='definebr1' stp='on' forwardDelay='0' /> <ip address='192.168.111.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.111.2' end='192.168.111.254' /> </dhcp> </ip> </network> # virsh net-create net.xml Network definebr1 created from net.xml # virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- default active yes yes definebr1 active no no # brctl show bridge name bridge id STP enabled interfaces definebr1 8000.52540088edf3 yes definebr1-nic virbr0 8000.029a318189a6 yes veth1 veth10 veth11 veth2 veth3 veth4 veth5 veth6 veth9 vnet0 2. restart libvirtd # service libvirtd restart Redirecting to /bin/systemctl restart libvirtd.service 3. recheck # virsh net-list --all Name State Autostart Persistent ---------------------------------------------------------- default active yes yes definebr1 active no no # brctl show bridge name bridge id STP enabled interfaces definebr1 8000.52540088edf3 yes definebr1-nic virbr0 8000.ce2f60dc3110 yes veth1 vnet0 so the created network will not disappear after restart, this is as expected as verified in bug: https://bugzilla.redhat.com/show_bug.cgi?id=949926 This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |