[Bug 593085] [NEW] No network connection in guest system after restore

Stefan Ferstl st.ferstl at gmail.com
Sat Jun 12 16:53:21 BST 2010


Public bug reported:

I am using virsh to manage my virtual machines (KVM, bridged networking). After upgrading from Ubuntu 8.10 to 10.04 I am not able to save/restore my guest systems properly anymore. After restoring, the guest systems are up and running well but they don't have any network connection. Running "ifconfig" on the guest system shows the same settings as before saving/restoring it. Running "/etc/init.d/networking restart" on the guest results in a timeout.
After shutting down and rebooting the guest system, everything works fine.
The network configuration as well as the guest configuration on the host system is exactly the same as before my Ubuntu upgrade.

-------------------------------------------

This is my network configuration in /etc/network/interfaces:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

iface eth0 inet manual
iface eth1 inet manual


# Network bridges needed for the virtual machines
auto br0 br1
iface br0 inet dhcp
        bridge_ports eth0
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off
iface br1 inet static
        address 192.168.11.2
        network 192.168.11.0
        netmask 255.255.255.0
        broadcast 192.168.11.255
        #gateway 192.168.11.1
        bridge_ports eth1
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off

-------------------------------------------

This is the configuration of one of my guest systems:
<domain type='kvm'>
  <name>guest01</name>
  <uuid>bf5199ec-63f6-81da-c38a-31e6aa0d8cba</uuid>
  <memory>262144</memory>
  <currentMemory>262144</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.12'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='block' device='disk'>
      <source dev='/dev/vg_host/lv_kvm-guest01'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/vg_data/lv_guest01_data'/>
      <target dev='hdb' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:36:29:a5:75'/>
      <source bridge='br0'/>
      <model type='virtio'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target port='0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
    </video>
  </devices>
</domain>

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
No network connection in guest system after restore
https://bugs.launchpad.net/bugs/593085
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list