[virt-tools-list] Re: live migrate ok with virsh, ko with virt-manager

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Aug 5 11:19:24 UTC 2009


Ok,
waiting for answers and tips, I enabled the fedora-virt-preview repo
and updated the components.
Now I can migrate from virt-manager, but the vm appears running on the
new host (I can see the qemu process) but frozen from an OS point of
view.
How can I send sysrq to it to see what is happening at its side?
The display of the guest shows the gdm login but nothing happens, no
mouse, no keyboard and no vt switching inside,
ping interrupted...
Any hint on debugging?
thanks,
Gianluca

If I do an strace of the guest pid I get:

Process 11430 attached - interrupt to quit
select(30, [3 5 12 14 16 17 29], [], [], {0, 985930}) = 1 (in [29],
left {0, 971119})
read(29, "\0\30\213\367x\217\0\21
\330n@\10\0E\0\0%\0\0@\0>\21\37D\nG\4#\n\4\5"..., 69632) = 51
read(29, 0x1474d7c, 69632)              = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [16], left {0, 999213})
read(16, "\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0"...,
128) = 128
rt_sigaction(SIGALRM, NULL, {0x40a8d0, ~[KILL STOP RTMIN RT_1],
SA_RESTORER, 0x342820ee90}, 8) = 0
write(4, "\0"..., 1)                    = 1
write(15, "\1\0\0\0\0\0\0\0"..., 8)     = 8
read(16, 0x7fffed5c1b40, 128)           = -1 EAGAIN (Resource
temporarily unavailable)
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 229326}}) = 0
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 2 (in [3 14], left
{0, 999997})
read(14, "\1\0\0\0\0\0\0\0"..., 4096)   = 8
read(14, 0x7fffed5c0bd0, 4096)          = -1 EAGAIN (Resource
temporarily unavailable)
read(3, "\0"..., 512)                   = 1
read(3, 0x7fffed5c19d0, 512)            = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [16], left {0, 999881})
read(16, "\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0"...,
128) = 128
rt_sigaction(SIGALRM, NULL, {0x40a8d0, ~[KILL STOP RTMIN RT_1],
SA_RESTORER, 0x342820ee90}, 8) = 0
write(4, "\0"..., 1)                    = 1
write(15, "\1\0\0\0\0\0\0\0"..., 8)     = 8
read(16, 0x7fffed5c1b40, 128)           = -1 EAGAIN (Resource
temporarily unavailable)
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 29000000}}, NULL) = 0
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 2 (in [3 14], left
{0, 999997})
read(14, "\1\0\0\0\0\0\0\0"..., 4096)   = 8
read(14, 0x7fffed5c0bd0, 4096)          = -1 EAGAIN (Resource
temporarily unavailable)
read(3, "\0"..., 512)                   = 1
read(3, 0x7fffed5c19d0, 512)            = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [29], left {0, 975219})
read(29, "\0\30\213\367x\217\0\21
\330n@\10\0E\0\0%\0\0@\0>\21\37B\nG\4%\n\4\5"..., 69632) = 51
read(29, 0x1474d7c, 69632)              = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [16], left {0, 996030})
read(16, "\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0"...,
128) = 128
rt_sigaction(SIGALRM, NULL, {0x40a8d0, ~[KILL STOP RTMIN RT_1],
SA_RESTORER, 0x342820ee90}, 8) = 0
write(4, "\0"..., 1)                    = 1
write(15, "\1\0\0\0\0\0\0\0"..., 8)     = 8
read(16, 0x7fffed5c1b40, 128)           = -1 EAGAIN (Resource
temporarily unavailable)
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 229466}}) = 0
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 2 (in [3 14], left
{0, 999997})
read(14, "\1\0\0\0\0\0\0\0"..., 4096)   = 8
read(14, 0x7fffed5c0bd0, 4096)          = -1 EAGAIN (Resource
temporarily unavailable)
read(3, "\0"..., 512)                   = 1
read(3, 0x7fffed5c19d0, 512)            = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [16], left {0, 999886})
read(16, "\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0"...,
128) = 128
rt_sigaction(SIGALRM, NULL, {0x40a8d0, ~[KILL STOP RTMIN RT_1],
SA_RESTORER, 0x342820ee90}, 8) = 0
write(4, "\0"..., 1)                    = 1
write(15, "\1\0\0\0\0\0\0\0"..., 8)     = 8
read(16, 0x7fffed5c1b40, 128)           = -1 EAGAIN (Resource
temporarily unavailable)
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 30000000}}, NULL) = 0
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 2 (in [3 14], left
{0, 999997})
read(14, "\1\0\0\0\0\0\0\0"..., 4096)   = 8
read(14, 0x7fffed5c0bd0, 4096)          = -1 EAGAIN (Resource
temporarily unavailable)
read(3, "\0"..., 512)                   = 1
read(3, 0x7fffed5c19d0, 512)            = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [29], left {0, 985115})
read(29, "\0\30\213\367x\217\0\21
\330n@\10\0E\0\0%\0\0@\0>\21\37C\nG\4$\n\4\5"..., 69632) = 51
read(29, 0x1474d7c, 69632)              = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [29], left {0, 987392})
read(29, "\0\30\213\367x\217\0\21
\330n@\10\0E\0\0%\0\0@\0>\21\37E\nG\4\"\n\4\5"..., 69632) = 51
read(29, 0x1474d7c, 69632)              = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [16], left {0, 997848})
read(16, "\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0"...,
128) = 128
rt_sigaction(SIGALRM, NULL, {0x40a8d0, ~[KILL STOP RTMIN RT_1],
SA_RESTORER, 0x342820ee90}, 8) = 0
write(4, "\0"..., 1)                    = 1
write(15, "\1\0\0\0\0\0\0\0"..., 8)     = 8
read(16, 0x7fffed5c1b40, 128)           = -1 EAGAIN (Resource
temporarily unavailable)
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 2 (in [3 14], left
{0, 999997})
read(14, "\1\0\0\0\0\0\0\0"..., 4096)   = 8
read(14, 0x7fffed5c0bd0, 4096)          = -1 EAGAIN (Resource
temporarily unavailable)
read(3, "\0"..., 512)                   = 1
read(3, 0x7fffed5c19d0, 512)            = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [16], left {0, 999858})
read(16, "\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0"...,
128) = 128
rt_sigaction(SIGALRM, NULL, {0x40a8d0, ~[KILL STOP RTMIN RT_1],
SA_RESTORER, 0x342820ee90}, 8) = 0
write(4, "\0"..., 1)                    = 1
write(15, "\1\0\0\0\0\0\0\0"..., 8)     = 8
read(16, 0x7fffed5c1b40, 128)           = -1 EAGAIN (Resource
temporarily unavailable)
timer_gettime(0x2, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0x2, 0, {it_interval={0, 0}, it_value={0, 21000000}}, NULL) = 0
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 2 (in [3 14], left
{0, 999997})
read(14, "\1\0\0\0\0\0\0\0"..., 4096)   = 8
read(14, 0x7fffed5c0bd0, 4096)          = -1 EAGAIN (Resource
temporarily unavailable)
read(3, "\0"..., 512)                   = 1
read(3, 0x7fffed5c19d0, 512)            = -1 EAGAIN (Resource
temporarily unavailable)
select(30, [3 5 12 14 16 17 29], [], [], {1, 0}) = 1 (in [16], left {0, 979106})
read(16, "\16\0\0\0\0\0\0\0\376\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0"...,
128) = 128
rt_sigaction(SIGALRM, NULL, {0x40a8d0, ~[KILL STOP RTMIN RT_1],
SA_RESTORER, 0x342820ee90}, 8) = 0



> - the same live migration as above if using virt-manager. I get this
> error inside a window
> libvirtError: invalid argument in only tcp URIs are supported for KVM
> migrations




More information about the virt-tools-list mailing list