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

2010-06-15 Thread Stefan Ferstl
Hi

to save a guest system, I use virsh -c qemu:///system save guest01 
~/guest01.state (pwd is /root)
to restore the guest, I use virsh -c qemu:///system restore ~/guest01.state

After restoring the guest, I'm able to connect to it through the host
system's VNC port (virsh -c qemu:///system vncdisplay guest01).

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-06-15 Thread Stefan Ferstl
Hi

to save a guest system, I use virsh -c qemu:///system save guest01 
~/guest01.state (pwd is /root)
to restore the guest, I use virsh -c qemu:///system restore ~/guest01.state

After restoring the guest, I'm able to connect to it through the host
system's VNC port (virsh -c qemu:///system vncdisplay guest01).

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2010-06-12 Thread Stefan Ferstl
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'
  nameguest01/name
  uuidbf5199ec-63f6-81da-c38a-31e6aa0d8cba/uuid
  memory262144/memory
  currentMemory262144/currentMemory
  vcpu1/vcpu
  os
type arch='x86_64' machine='pc-0.12'hvm/type
boot dev='hd'/
  /os
  features
acpi/
  /features
  clock offset='utc'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashdestroy/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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-06-12 Thread Stefan Ferstl
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'
  nameguest01/name
  uuidbf5199ec-63f6-81da-c38a-31e6aa0d8cba/uuid
  memory262144/memory
  currentMemory262144/currentMemory
  vcpu1/vcpu
  os
type arch='x86_64' machine='pc-0.12'hvm/type
boot dev='hd'/
  /os
  features
acpi/
  /features
  clock offset='utc'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashdestroy/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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs