[Bug 731437] New: KVM virt-manager NAT virtual network "default" disappeared on upgrade
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c0 Summary: KVM virt-manager NAT virtual network "default" disappeared on upgrade Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: ddiss@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- following upgrade from openSUSE 11.4, my "default" NAT based virtual network is no longer visible from virt-manager or virsh: virsh # net-list --all Name State Autostart ----------------------------------------- isolated active no The XML is still present: plati:/var/lib/libvirt/network # ls default.xml isolated.xml plati:/var/lib/libvirt/network # cat default.xml <network> <name>default</name> <uuid>39d552a3-d2e1-46cb-8783-deb0067e81b6</uuid> <forward mode='nat'/> <bridge name='virbr0' stp='on' delay='0' /> <ip address='192.168.122.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.122.2' end='192.168.122.254' /> </dhcp> </ip> </network> plati:/var/lib/libvirt/network # cat isolated.xml <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh net-edit isolated or other application using the libvirt API. --> <network> <name>isolated</name> <uuid>f5ad17a8-2e27-852e-3ec4-4c06e274051d</uuid> <bridge name='virbr1' stp='on' delay='0' /> <ip address='192.168.155.1' netmask='255.255.255.0'> <dhcp> <range start='192.168.155.128' end='192.168.155.254' /> </dhcp> </ip> </network> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |carnold@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|jfehlig@suse.com |carnold@suse.com AssignedTo|carnold@suse.com |jfehlig@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c1 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ddiss@suse.com --- Comment #1 from James Fehlig <jfehlig@suse.com> 2011-11-23 04:15:38 UTC --- Does /etc/libvirt/qemu/networks/default.xml exit? /etc/libvirt/qemu/networks/ contains persistent state for libvirt networks. /var/lib/libvirt/network/ contains current running state. Looks like your libvirtd is confused. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c2 --- Comment #2 from David Disseldorp <ddiss@suse.com> 2011-11-23 11:31:16 UTC --- (In reply to comment #1)
Does /etc/libvirt/qemu/networks/default.xml exit? /etc/libvirt/qemu/networks/ contains persistent state for libvirt networks. /var/lib/libvirt/network/ contains current running state. Looks like your libvirtd is confused.
/etc/libvirt/qemu/networks/default.xml does not exist, only /var/lib/libvirt/network/default.xml. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c David Disseldorp <ddiss@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ddiss@suse.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c3 --- Comment #3 from James Fehlig <jfehlig@suse.com> 2011-12-02 04:13:23 UTC --- Very strange. The postinstall script for libvirt in 12.1 has # rpm -q libvirt --scripts .. # Install the default network if one doesn't exist if test ! -f /etc/libvirt/qemu/networks/default.xml then UUID=`/usr/bin/uuidgen` sed -e "s,</name>,</name>\n <uuid>$UUID</uuid>," \ < /usr/share/libvirt/networks/default.xml \ > /etc/libvirt/qemu/networks/default.xml fi .. A package update should leave the file untouched if it exists. As a workaround, you can copy the one from /usr/share/libvirt/networks and restart libvirtd. Or, just "import" your own the default network, e.g. # virsh net-define /path/to/my/default.xml The definition will be placed in /etc/libvirt/qemu/networks/<netowrk-name>.xml, with a link in /etc/libvirt/qemu/networks/autostart after # virsh net-autostart <network-name> I suppose you haven't tried to reproduce? I'll see if I can find time to test an 11.4 -> 12.1 upgrade. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c Ihno Krumreich <ihno@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |Linux -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c Ihno Krumreich <ihno@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Linux |openSUSE 12.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731437 https://bugzilla.novell.com/show_bug.cgi?id=731437#c4 David Disseldorp <ddiss@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WORKSFORME --- Comment #4 from David Disseldorp <ddiss@suse.com> 2013-01-10 14:46:16 UTC --- Seems like I was the only one to hit this, and I've not had any problems since then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com