<html>
<head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
于 2011年10月27日 11:16, Luengffy XUE 写道:
<blockquote
cite="mid:CAOp97YBkSbr6G9OrbUtZ9AmDo3V=PVK9Wf7tJSrjz=Pf8z2MEg@mail.gmail.com"
type="cite">
<div>Oh, I think I can describe the problem more specific.</div>
<div><br>
</div>
<div>1 Creat the vm in the source host and it run well.</div>
<div>2 <span class="Apple-style-span" style="color: rgb(51, 51,
51); font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
font-size: 12px; line-height: 18px; white-space: pre; ">
Create the image in the destination and change the user and
group</span></div>
</blockquote>
<br>
2)的意思是你自己在dest上创建了同名的image么?<br>
<br>
<blockquote
cite="mid:CAOp97YBkSbr6G9OrbUtZ9AmDo3V=PVK9Wf7tJSrjz=Pf8z2MEg@mail.gmail.com"
type="cite">
<div><span class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
font-size: 12px; line-height: 18px; white-space: pre; "></span><span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
font-size: 12px; line-height: 18px; white-space: pre; ">3 Open
TCP socket in the destination host.</span></div>
</blockquote>
<br>
你是咋作的,这都是libvirt/qemu自己来完成的,dest上qemu会以-incoming<br>
启动。<br>
<br>
<blockquote
cite="mid:CAOp97YBkSbr6G9OrbUtZ9AmDo3V=PVK9Wf7tJSrjz=Pf8z2MEg@mail.gmail.com"
type="cite">
<div><span class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
font-size: 12px; line-height: 18px; white-space: pre; "><br>
</span></div>
<div><span class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
font-size: 12px; line-height: 18px; white-space: pre; ">In the
source host I use the different command as</span></div>
<div><span class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
font-size: 12px; line-height: 18px; white-space: pre; "><br>
</span></div>
<div><span class="Apple-style-span" style="background-color:
rgb(255, 255, 0);"><font class="Apple-style-span" size="4"><span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
line-height: 18px; white-space: pre; ">1 </span><span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
line-height: 18px; white-space: pre; "> </span><span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
line-height: 18px; white-space: pre; ">$ virsh migrate
--live --copy-storage-all vmubuntu
qemu+ssh://destinationHost/system --verbose</span></font></span></div>
<div><span class="Apple-style-span" style="background-color:
rgb(255, 255, 0);"><span class="Apple-style-span"
style="color: rgb(51, 51, 51); font-family: 'UbuntuBeta
Mono', 'Ubuntu Mono', monospace; font-size: 12px;
line-height: 18px; white-space: pre; "><br>
</span></span></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;">This situation, the
error is:</span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><br>
</span></font></div>
<div><font class="Apple-style-span" face="'UbuntuBeta Mono',
'Ubuntu Mono', monospace"><span class="Apple-style-span"
style="font-size: 12px; line-height: 18px; white-space: pre;
"><font class="Apple-style-span" color="#ff6666">In the
source host:</font><font class="Apple-style-span"
color="#333333"> </font></span></font></div>
<div><font class="Apple-style-span" face="'UbuntuBeta Mono',
'Ubuntu Mono', monospace"><span class="Apple-style-span"
style="font-size: 12px; line-height: 18px; white-space: pre;
"><font class="Apple-style-span" color="#333333"> </font><font
class="Apple-style-span" style="background-color: rgb(255,
255, 0);" color="#ff9966"> error:operation
failed:migration job:unexpectedly failed</font></span></font></div>
<div><font class="Apple-style-span" color="#ff6666"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre; ">In the destiantion
host: (from the vm.log)</span></font></div>
<div><font class="Apple-style-span" face="'UbuntuBeta Mono',
'Ubuntu Mono', monospace"><span class="Apple-style-span"
style="font-size: 12px; line-height: 18px; white-space: pre;
"><font class="Apple-style-span" color="#333333"> </font><span
class="Apple-style-span" style="background-color: rgb(255,
255, 0); "><font class="Apple-style-span" color="#333333">
</font><font class="Apple-style-span" color="#ff6666">qemu:Warning:
error while loading State ID section 2</font></span></span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><br>
</span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><a
moz-do-not-send="true"
href="http://blog.chinaunix.net/space.php?uid=26284395&do=blog&id=2980663"><br>
</a></span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre; "> </span></font></div>
<div><br>
</div>
<span class="Apple-style-span" style="background-color: rgb(255,
255, 0);"><font class="Apple-style-span" size="4">2 <span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace;
line-height: 18px; white-space: pre; ">$ virsh migrate
--live --copy-storage-all vmubuntu
qemu+ssh://destinationHost/system
tcp://destinationHost:49170 --verbose</span></font></span>
<div>
<font class="Apple-style-span" color="#333333" face="'UbuntuBeta
Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><br>
</span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;">This situation, the
error is:</span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><br>
</span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><br>
</span></font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace">
<div style="color: rgb(0, 0, 0); font-family: arial;
font-size: small; line-height: normal; white-space: normal;
">
<font class="Apple-style-span" face="'UbuntuBeta Mono',
'Ubuntu Mono', monospace"><span class="Apple-style-span"
style="font-size: 12px; line-height: 18px; white-space:
pre; "><font class="Apple-style-span" color="#ff6666">In
the source host:</font><font class="Apple-style-span"
color="#333333"> </font></span></font></div>
<div><span class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><span
class="Apple-style-span" style="border-collapse:
collapse; font-family: arial, sans-serif; font-size:
13px; color: rgb(0, 0, 0); line-height: normal;
white-space: normal; ">
<blockquote type="cite">
<span style="font-family: 'UbuntuBeta Regular',
Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans',
Tahoma, sans-serif; font-size: 12px; line-height:
18px; ">
<pre style="white-space: pre-wrap; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; margin-bottom: 0.8em; "><span style="background-color: rgb(255, 255, 0); "><font color="#ff0000">error: operation failed : failed to retrieve chardev info inqemu with 'info chardev'</font></span></pre>
</span></blockquote>
</span></span></div>
<div style="color: rgb(0, 0, 0); font-family: arial;
font-size: small; line-height: normal; white-space: normal;
"><font class="Apple-style-span" color="#ff6666"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre; ">In the
destiantion host: (from the vm.log)</span></font></div>
<div><span class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><span
class="Apple-style-span" style="border-collapse:
collapse; font-family: arial, sans-serif; font-size:
13px; color: rgb(0, 0, 0); line-height: normal;
white-space: normal; ">
<blockquote type="cite">
<span style="font-family: 'UbuntuBeta Regular',
Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans',
Tahoma, sans-serif; font-size: 12px; line-height:
18px; ">
<pre style="white-space: pre-wrap; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; margin-bottom: 0.8em; "><span style="background-color: rgb(255, 255, 0); "><font color="#ff0000">Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting.</font></span></pre>
</span></blockquote>
</span></span></div>
</font></div>
<div><font class="Apple-style-span" color="#333333"
face="'UbuntuBeta Mono', 'Ubuntu Mono', monospace"><span
class="Apple-style-span" style="font-size: 12px;
line-height: 18px; white-space: pre;"><br>
</span></font><br>
</div>
<div><br>
</div>
<div>Can you help me ? I google the error on the www . But I can
not find the proper solutions or the same questions.</div>
<div><br>
</div>
<div>Thanks very much.</div>
<div>Best wishes.</div>
<div><br>
</div>
<div><br>
<div class="gmail_quote">2011/10/27 Osier Yang <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:jyang@redhat.com">jyang@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#FFFFFF"> 于 2011年10月26日 22:22,
Luengffy XUE 写道:
<blockquote type="cite"><span
style="font-family:'UbuntuBeta
Regular',Ubuntu,'Bitstream Vera Sans','DejaVu
Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">Hi, all</pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">I migrate a vm from source host to the destination host. </pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">I am sure every part is ok for migration.</pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">1 Create the image in the destination and change the user and group.</pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">2 Open TCP socket in the destination host. </pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">and I migrate in the source host command line. </pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">$ virsh migrate --live --copy-storage-all vmubuntu qemu+ssh://destinationHost/system --verbose</pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">But I get the error</pre>
<pre style="font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em"><span style="background-color:rgb(255, 255, 0)"><font color="#ff0000">"error: operation failed : failed to retrieve chardev info inqemu with 'info chardev'" </font></span></pre>
</span></blockquote>
<br>
Looks like you even failed on starting the domain. Could
you confirm if you<br>
guest is actually running well?<br>
<br>
<blockquote type="cite"><span
style="font-family:'UbuntuBeta Regular', Ubuntu,
'Bitstream Vera Sans', 'DejaVu Sans', Tahoma,
sans-serif;font-size:12px;line-height:18px">
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">In the destination I find in the vmubuntu.log </pre>
<pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">The error is </pre>
<pre style="font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em"><span style="background-color:rgb(255, 255, 0)"><font color="#ff0000">"Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting."</font></span></pre>
<pre style="font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em"><font color="#ff0000">
</font></pre>
<pre style="font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em"><font color="#ff0000"><span style="font-family:'UbuntuBeta Regular', Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif;color:rgb(0, 0, 0);white-space:normal"><pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">What can I do to solve it ? </pre><pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">I do not understand how the error comes.</pre><pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">Anyone can help me ?</pre><pre style="color:rgb(51, 51, 51);font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em">Thanks in advance. </pre></span></font></pre>
<pre style="font-family:'UbuntuBeta Mono', 'Ubuntu Mono', monospace;margin-bottom:0.8em"><font color="#ff0000">
</font></pre>
</span> </blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>