[one-users] opennebula can not resume suspending VM
Shuo Liu
sliu005 at fiu.edu
Sun Apr 10 22:04:48 PDT 2011
Hi, everyone
I am using ubuntu 10.04 LTS server system wide installed opennebula.
I have a problem when to resume a suspended VM. When I use "onevm
shutdown", the VM can be resubmitted and runs well. But if I use
"onevm suspend", the VM can not resume anymore.
Is there anybody know what's the problem here? Thanks!
Is there anything wrong with my virtual network template setup? I can
ssh the running VM. But virsh won't work.
first at node1:~$ virsh console one-54
No console available for domain
Shuo
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
eth0 Link encap:Ethernet HWaddr 00:25:64:c0:d3:8b
inet addr:131.94.112.42 Bcast:131.94.112.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fec0:d38b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21359 errors:0 dropped:0 overruns:0 frame:0
TX packets:11445 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25018476 (25.0 MB) TX bytes:1209165 (1.2 MB)
Memory:fe6e0000-fe700000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:144 errors:0 dropped:0 overruns:0 frame:0
TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27037 (27.0 KB) TX bytes:27037 (27.0 KB)
virbr0 Link encap:Ethernet HWaddr 72:9a:36:a9:43:5d
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::6401:fcff:fe32:2a2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
vnet0 Link encap:Ethernet HWaddr 72:9a:36:a9:43:5d
inet6 addr: fe80::709a:36ff:fea9:435d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:16328 (16.3 KB)
bridge name bridge id STP enabled interfaces
virbr0 8000.729a36a9435d yes vnet0
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NAME = "Small network"
TYPE = FIXED
BRIDGE = virbr0
LEASES = [ IP="192.168.122.2"]
LEASES = [ IP="192.168.122.3"]
LEASES = [ IP="192.168.122.4"]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Mon Apr 11 00:46:35 2011 [DiM][I]: New VM state is ACTIVE.
Mon Apr 11 00:46:35 2011 [LCM][I]: New VM state is PROLOG.
Mon Apr 11 00:46:35 2011 [VM][I]: Virtual Machine has no context
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh:
cloud:/var/lib/one/images/ttylinux.img
131.94.112.42:/var/lib/one//54/images/disk.0
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh: DST:
/var/lib/one//54/images/disk.0
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//54/images
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
/var/lib/one//54/images".
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
/var/lib/one//54/images".
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh: Cloning
/var/lib/one/images/ttylinux.img
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh: Executed "cp -r
/var/lib/one/images/ttylinux.img /var/lib/one//54/images/disk.0".
Mon Apr 11 00:46:35 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
/var/lib/one//54/images/disk.0".
Mon Apr 11 00:46:35 2011 [LCM][I]: New VM state is BOOT
Mon Apr 11 00:46:35 2011 [VMM][I]: Generating deployment file:
/var/lib/one/54/deployment.0
Mon Apr 11 00:46:36 2011 [LCM][I]: New VM state is RUNNING
Mon Apr 11 00:46:59 2011 [VMM][D]: Monitor Information:
CPU : 41
Memory: 65536
Net_TX: 0
Net_RX: 1040
Mon Apr 11 00:47:14 2011 [VMM][D]: Monitor Information:
CPU : 26
Memory: 65536
Net_TX: 0
Net_RX: 1456
Mon Apr 11 00:47:29 2011 [VMM][D]: Monitor Information:
CPU : 20
Memory: 65536
Net_TX: 0
Net_RX: 1820
Mon Apr 11 00:47:44 2011 [VMM][D]: Monitor Information:
CPU : 16
Memory: 65536
Net_TX: 0
Net_RX: 2236
Mon Apr 11 00:47:48 2011 [LCM][I]: New VM state is SAVE_SUSPEND
Mon Apr 11 00:47:49 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/lib/one/remotes/vmm/kvm/save" ]; then
/var/lib/one/remotes/vmm/kvm/save one-54
/var/lib/one//54/images/checkpoint; else
exit 42; fi'
Mon Apr 11 00:47:49 2011 [VMM][I]: STDERR follows.
Mon Apr 11 00:47:49 2011 [VMM][I]: error: Failed to save domain one-54
to /var/lib/one//54/images/checkpoint
Mon Apr 11 00:47:49 2011 [VMM][I]: error: unable to set ownership of
'/var/lib/one//54/images/checkpoint' to user 0:0: Operation not
permitted
Mon Apr 11 00:47:49 2011 [VMM][I]: ExitCode: 1
Mon Apr 11 00:47:49 2011 [VMM][E]: Error saving VM state, error:
Failed to save domain one-54 to /var/lib/one//54/images/checkpoint
Mon Apr 11 00:47:50 2011 [LCM][I]: Fail to save VM state. Assuming
that the VM is still RUNNING (will poll VM).
Mon Apr 11 00:47:50 2011 [VMM][I]: VM running but new state from
monitor is PAUSED.
Mon Apr 11 00:47:50 2011 [LCM][I]: VM is suspended.
Mon Apr 11 00:47:51 2011 [DiM][I]: New VM state is SUSPENDED
Mon Apr 11 00:50:34 2011 [DiM][I]: New VM state is ACTIVE.
Mon Apr 11 00:50:34 2011 [LCM][I]: Restoring VM
Mon Apr 11 00:50:35 2011 [LCM][I]: New state is BOOT
Mon Apr 11 00:50:35 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/lib/one/remotes/vmm/kvm/restore" ]; then
/var/lib/one/remotes/vmm/kvm/restore
/var/lib/one//54/images/checkpoint; else
exit 42; fi'
Mon Apr 11 00:50:35 2011 [VMM][I]: STDERR follows.
Mon Apr 11 00:50:35 2011 [VMM][I]: error: Failed to restore domain
from /var/lib/one//54/images/checkpoint
Mon Apr 11 00:50:35 2011 [VMM][I]: error: operation failed: cannot
read domain image
Mon Apr 11 00:50:35 2011 [VMM][I]: ExitCode: 1
Mon Apr 11 00:50:35 2011 [VMM][E]: Error restoring VM, error: Failed
to restore domain from /var/lib/one//54/images/checkpoint
Mon Apr 11 00:50:35 2011 [DiM][I]: New VM state is FAILED
Mon Apr 11 00:50:35 2011 [TM][W]: Ignored: LOG - 54 tm_delete.sh:
Deleting /var/lib/one//54/images
Mon Apr 11 00:50:35 2011 [TM][W]: Ignored: LOG - 54 tm_delete.sh:
Executed "rm -rf /var/lib/one//54/images".
Mon Apr 11 00:50:35 2011 [TM][W]: Ignored: TRANSFER SUCCESS 54 -
More information about the Users
mailing list