<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=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<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;}
@font-face
{font-family:Verdana;
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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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=EN-CA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I see two issues:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>1) Try listen=”localhost” in GRAPHICS. The IP
address you used is not a valid address.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>2) The virtual machines are managed by OpenNebula on the front
end. The virtual machines run on different computers, the hosts. virsh list on
the front end shows nothing. Try it on the host where the virtual machine is
running.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ted Bodfish<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<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"'> Daniele Fetoni
[mailto:daniele.fetoni@hotmail.it] <br>
<b>Sent:</b> June-04-10 8:01 AM<br>
<b>To:</b> users@lists.opennebula.org<br>
<b>Subject:</b> Re: [one-users] problems connecting to VM using ssh<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>I just found that there are no domains in
virsh list.<br>
Due to this, even if VMs are running, I cannot suspend and restart them, or
everything else, because virsh has not a domain to call.<br>
Maybe if I manage to connect to VMs, this problem will be solved too.<o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center id=stopSpelling>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'>From: daniele.fetoni@hotmail.it<br>
To: users@lists.opennebula.org<br>
Subject: problems connecting to VM using ssh<br>
Date: Fri, 4 Jun 2010 10:30:41 +0200<br>
<br>
Hi there<br>
I'm a researcher from università di Perugia, triying to create a cloud to make
some tests.<br>
<br>
I'm having some troubles connecting to VM<br>
<br>
I manage to create a virtual machine, its state is runn and through virtual
machine manager that the resources from node are taken.<br>
But, I cannot connect via ssh to VMs, neither run one of these (VMM says
"graphical console not configured for guest").<br>
so, I tried to put in VM templates this<br>
<br>
GRAPHICS = [<br>
type="vnc", <br>
listen="192.168.0.0", <br>
port="5858"<br>
]<br>
<br>
in order to see if I can connect via vnc, but if I add this, VM deployment
fails.<br>
<br>
If I do not use Graphics, VM submission is OK, logs doesn't show everything
bad, but I cannot reach VMs, even ping fails.<br>
If I use Graphics, submission will fail. This is oned.log<br>
<br>
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 Command
execution fail: 'mkdir -p /srv/cloud/one/var/90/images && cat >
/srv/cloud/one/var/90/images/deployment.0 && virsh --connect
qemu:///system create /srv/cloud/one/var/90/images/deployment.0'<br>
<br>
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 STDERR
follows.<br>
<br>
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90
/usr/lib/ruby/1.8/open3.rb:73: warning: Insecure world writable dir
/srv/cloud/one/var in PATH, mode 040777<br>
<br>
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 error:
Failed to create domain from /srv/cloud/one/var/90/images/deployment.0<br>
<br>
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 error:
monitor socket did not show up.: Connection refused<br>
<br>
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 ExitCode: 1<br>
<br>
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: DEPLOY FAILURE 90 -<br>
<br>
And here is VM log<br>
<br>
Fri Jun 4 10:09:05 2010 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/90/deployment.0<br>
Fri Jun 4 10:09:35 2010 [VMM][I]: Command execution fail: 'mkdir -p
/srv/cloud/one/var/90/images && cat >
/srv/cloud/one/var/90/images/deployment.0 && virsh --connect
qemu:///system create /srv/cloud/one/var/90/images/deployment.0'<br>
Fri Jun 4 10:09:35 2010 [VMM][I]: STDERR follows.<br>
Fri Jun 4 10:09:35 2010 [VMM][I]: /usr/lib/ruby/1.8/open3.rb:73: warning:
Insecure world writable dir /srv/cloud/one/var in PATH, mode 040777<br>
Fri Jun 4 10:09:35 2010 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var/90/images/deployment.0<br>
Fri Jun 4 10:09:35 2010 [VMM][I]: error: monitor socket did not show up.:
Connection refused<br>
Fri Jun 4 10:09:35 2010 [VMM][I]: ExitCode: 1<br>
Fri Jun 4 10:09:35 2010 [VMM][E]: Error deploying virtual machine<br>
Fri Jun 4 10:09:35 2010 [DiM][I]: New VM state is FAILED<br>
<br>
<br>
Probably, submission fails because the front end cannot ssh the virtual
machine, so the problem is: why I can't connect to VMs using ssh, or even ping?<br>
I tried using both ttylinux.img and ubuntu 10.04.img as image files, but
nothing changed.<br>
<br>
Please, give me a tip!!<br>
<br>
Cheers <br>
<br>
Daniele Fetoni<br>
<br>
<o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Il
tuo mondo MSN a portata di clic. <a
href="http://events.it.msn.com/internet-explorer-8">Scarica IE8 per MSN</a> <o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Messenger
Radio. <a href="http://www.messenger.it/messenger_radio.aspx" target="_new">La
radio che si fa cliccare!</a><o:p></o:p></span></p>
</div>
</body>
</html>