<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE-AT link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif";
color:black'>we use „ssh –t –t“ to allocate a pty (that way we can abort a
remote process)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif";
color:black'>That causese the : Inappropriate ioctl for device error – you can
ignore it.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif";
color:black'>- Dietmar<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> pve-user-bounces@pve.proxmox.com
[mailto:pve-user-bounces@pve.proxmox.com] <b>On Behalf Of </b>Andrew
Niemantsverdriet<br>
<b>Sent:</b> Mittwoch, 05. November 2008 18:23<br>
<b>To:</b> proxmoxve<br>
<b>Subject:</b> Re: [PVE-User] Migration Bug<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>This seems to have fixed it
self after a reboot and changing the other bridge interface that I added to not
have an IP. Maybe the command was going out the wrong interface causing the key
exchange to fail?<o:p></o:p></p>
<div>
<p class=MsoNormal>On Wed, Nov 5, 2008 at 9:42 AM, Andrew Niemantsverdriet <<a
href="mailto:andrew@rocky.edu">andrew@rocky.edu</a>> wrote:<o:p></o:p></p>
<p class=MsoNormal>When trying to migrate a KVM or OpenVZ machine between two
slaves it fails both online and offline migrations.<br>
<br>
The error given is this:<br>
<br clear=all>
/usr/bin/ssh -t -t -n -o BatchMode=yes $HOST1 /usr/sbin/qmigrate $HOST2 106<br>
tcgetattr: Inappropriate ioctl for device<br>
starting migration of VM 106 to host '$HOST2' <br>
Can't connect to destination address using public key <br>
Connection to $HOST1 closed. <br>
VM 106 migration failed - <br>
<br>
HOST1 is the machine that VM currently resides on<br>
HOST2 is the machine that I am trying to migrate to<br>
<br>
They both are slave nodes in a cluster.<br>
<br>
Also the tcgetattr: Inappropriate ioctl for device message has been appearing a
lot I don't know why but it does appear to cause any issues.<br>
<span style='color:#888888'><br>
-- <br>
_<br>
/-\ ndrew Niemantsverdriet<br>
Academic Computing<br>
Alden 007<br>
(406) 238-7360<br>
<a href="mailto:andrew@rocky.edu" target="_blank">andrew@rocky.edu</a></span><o:p></o:p></p>
</div>
<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
_<br>
/-\ ndrew Niemantsverdriet<br>
Academic Computing<br>
Alden 007<br>
(406) 238-7360<br>
<a href="mailto:andrew@rocky.edu">andrew@rocky.edu</a><o:p></o:p></p>
</div>
</div>
</body>
</html>