Hi,
I had a problem trying to migrate domains, in trying to locate it I
noticed that saving domains doesn't work either, which I believe
explains why the receiving xfrd doesn't actually receive anything.
So here it goes...
xenone:/tmp# xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 123 0 r---- 900.6
sky 9 128 1 -b--- 32.8 9609
xenone:/tmp# xm save 9 test
Error: Error: [Failure instance: Traceback:
xen.xend.XendError.XendError, save failed
xfrd_log:
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1352 on 2
16364 [INF] XFRD> Forked child pid=16373
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1354 on 2
16364 [INF] XFRD> Forked child pid=16377
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1356 on 2
16364 [INF] XFRD> Forked child pid=16385
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1358 on 2
16364 [INF] XFRD> Forked child pid=16388
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1360 on 2
16364 [INF] XFRD> Forked child pid=16390
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1362 on 2
16364 [INF] XFRD> Forked child pid=16405
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1365 on 2
16364 [INF] XFRD> Forked child pid=16408
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1524 on 2
16364 [INF] XFRD> Forked child pid=27213
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1526 on 2
16364 [INF] XFRD> Forked child pid=27215
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1538 on 2
16364 [INF] XFRD> Forked child pid=27492
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1543 on 2
16364 [INF] XFRD> Forked child pid=27497
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1545 on 2
16364 [INF] XFRD> Forked child pid=27519
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1548 on 2
16364 [INF] XFRD> Forked child pid=27522
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1551 on 2
16364 [INF] XFRD> Forked child pid=27525
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1553 on 2
16364 [INF] XFRD> Forked child pid=27527
16364 [INF] XFRD> Accepted connection from 127.0.0.1:1555 on 2
27530 [INF] XFRD> Xfr service for 127.0.0.1:1555
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_sxpr>
(xfr.hello 1 0)[DEBUG] Conn_sxpr< err=0
[DEBUG] Conn_sxpr>
(xfr.save 9 "(domain (id 9) (name sky) (memory 128) (maxmem 131072)
(state -b---) (cpu 1) (cpu_time 32.860785883) (up_time 59850.3932199)
(start_time 1107193823.05) (console (status listening) (id 13) (domain
9) (local_port 13) (remote_port 1) (console_port 9609)) (devices (vif
(idx 0) (vif 0) (mac aa:00:00:20:ef:69) (evtchn 31 4) (index 0)) (vbd
(idx 0) (vdev 769) (device 2048) (mode w) (dev hda1) (uname phy:sda)
(node sda) (index 0))) (config (vm (name sky) (memory 128) (image
(linux (kernel /boot/vmlinuz-2.6.10-xenU) (root '/dev/hda1 ro') (args
4))) (device (vbd (uname phy:sda) (dev hda1) (mode w))) (device (vif
(mac aa:00:00:20:ef:69))))))" /tmp/test)[DEBUG] Conn_sxpr< err=0
[1107253673.485081] xc_linux_save start 9
xc_linux_save start 9
xend.log
[2005-02-01 10:27:28 xend] INFO (XendMigrate:370) Save BEGIN: ['save',
['id', '16'], ['state', 'begin'], ['domain', '9'], ['file',
'/tmp/test']]
[2005-02-01 10:27:28 xend] INFO (XendRoot:91) EVENT> xend.domain.save
['sky', '9', 'begin', ['save', ['id', '16'], ['state', 'begin'],
['domain', '9'], ['file', '/tmp/test']]]
[2005-02-01 10:27:28 xend] INFO (XendMigrate:390) Save ERROR: ['save',
['id', '16'], ['state', 'error'], ['domain', '9'], ['file',
'/tmp/test']]
[2005-02-01 10:27:28 xend] INFO (XendRoot:91) EVENT> xend.domain.save
['sky', '9', 'error', ['save', ['id', '16'], ['state', 'error'],
['domain', '9'], ['file', '/tmp/test']]]
xend-debug.log
al_port 13) (remote_port 1) (console_port 9609)) (devices (vif (idx 0)
(vif 0) (mac aa:00:00:20:ef:69) (evtchn 31 4) (index 0)) (vbd (idx 0)
(vdev 769) (device 2048) (mode w) (dev hda1) (uname phy:sda) (node sda)
(index 0))) (config (vm (name sky) (memory 128) (image (linux (kernel
/boot/vmlinuz-2.6.10-xenU) (root '/dev/hda1 ro') (args 4))) (device
(vbd (uname phy:sda) (dev hda1) (mode w))) (device (vif (mac
aa:00:00:20:ef:69))))))
***request> begin
xfr_err> ['xfr.err', '0']
xfr_err> <type 'str'> 0
Xfrd>connectionLost> [Failure instance: Traceback:
twisted.internet.error.ConnectionDone, Connection was closed cleanly.
]
XfrdSaveInfo>connectionLost> [Failure instance: Traceback:
twisted.internet.error.ConnectionDone, Connection was closed cleanly.
]
XfrdInfo>connectionLost> [Failure instance: Traceback:
twisted.internet.error.ConnectionDone, Connection was closed cleanly.
]
Error> save failed
Error> calling errback
***cbremove> [Failure instance: Traceback:
xen.xend.XendError.XendError, save failed
]
***_delete_session> 18
clientConnectionLost> connector= <twisted.internet.tcp.Connector
instance at 0x4074bfcc> reason= [Failure instance: Traceback:
twisted.internet.error.ConnectionDone, Connection was closed cleanly.
]
kernel = "/boot/vmlinuz-2.6.10-xenU"
memory = 128
name = "sky"
disk = [ 'phy:sda,hda1,w' ]
root = "/dev/hda1 ro"
extra = "4"
xenone:/tmp# xm info
system : Linux
host : xenone
release : 2.6.10-xen0xen0multipath
version : #4 Sun Jan 30 14:38:14 GMT 2005
machine : i686
cores : 1
hyperthreads_per_core : 2
cpu_mhz : 2799
memory : 2559
free_memory : 2277
Xen version 2.0.3 (root@localdomain) (gcc version 3.3.5 (Debian
1:3.3.5-5)) Sun Jan 30 11:14:18 GMT 2005
Built from source under 2.6.10, everything else seems to be working.
Tried both using raw sda and using a lvm device, neither work.
Cheers
Arthur
-----
CTO @ Fotango Ltd
+447834716919
http://www.fotango.com/
PGP.sig
Description: This is a digitally signed message part
|