<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.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
        {mso-style-name:ecxmsonormal;
        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.ecxmsolistparagraph, li.ecxmsolistparagraph, div.ecxmsolistparagraph
        {mso-style-name:ecxmsolistparagraph;
        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.ecxmsochpdefault, li.ecxmsochpdefault, div.ecxmsochpdefault
        {mso-style-name:ecxmsochpdefault;
        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";}
span.ecxmsohyperlink
        {mso-style-name:ecxmsohyperlink;}
span.ecxmsohyperlinkfollowed
        {mso-style-name:ecxmsohyperlinkfollowed;}
span.ecxemailstyle18
        {mso-style-name:ecxemailstyle18;}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
        {mso-style-name:ecxmsonormal1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink1
        {mso-style-name:ecxmsohyperlink1;
        color:blue;
        text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
        {mso-style-name:ecxmsohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
p.ecxmsolistparagraph1, li.ecxmsolistparagraph1, div.ecxmsolistparagraph1
        {mso-style-name:ecxmsolistparagraph1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxemailstyle181
        {mso-style-name:ecxemailstyle181;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
p.ecxmsochpdefault1, li.ecxmsochpdefault1, div.ecxmsochpdefault1
        {mso-style-name:ecxmsochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle30
        {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'>OpenNebula might not like the period (.) in the NAME in your
template. Try something like Ubuntu10_04 instead.<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'>Did you install openssh-server in your virtual machine? If not,
you won’t be able to ssh to it.<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'>Please reply through the list, so that others can benefit from
this thread.<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 9:29 AM<br>
<b>To:</b> tedbs<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"'>First, thanks for your time.<br>
<br>
I have changed localhost in Graphics as you said and I managed to see ttylinux
with vnc, but still I cannot connect via ssh, and if I submit any other image,
then I got the same error. <br>
Funny, isn't it?<br>
<br>
Maybe I can't run any other VM because of Ubuntu 10.04 has a bug about kvm-pxe
package.<br>
<br>
https://bugs.launchpad.net/ubuntu/+source/etherboot/+bug/574524<br>
<br>
Anyway, I'm trying to submit this template<br>
<br>
NAME   = Ubuntu10.04<br>
CPU    = 0.5<br>
MEMORY = 512<br>
<br>
DISK  = [<br>
  source   =
"/srv/cloud/images/ubuntu-10.04-netbook-armel+imx51.img",<br>
  target   = "hda",<br>
  save     = "yes",<br>
  readonly = "no"<br>
  ]<br>
<br>
NIC = [network  = "labtlc_LAN"]<br>
<br>
GRAPHICS = [<br>
  type="vnc", <br>
  listen="localhost", <br>
  port="5858"<br>
  ]<br>
<br>
on the same network where ttylinux runs.<br>
Something's worng in the template?<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"'>Subject: RE: [one-users] problems
connecting to VM using ssh<br>
Date: Fri, 4 Jun 2010 09:04:50 -0400<br>
From: tedbs@gtsum.com<br>
To: daniele.fetoni@hotmail.it; users@lists.opennebula.org<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I see two issues:</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><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.</span><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><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.</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ted Bodfish</span><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<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</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></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>

</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<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">La radio che si
fa cliccare!</a><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><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"'>Un
mondo di personalizzazioni per Messenger, PC e cellulare, <a
href="http://www.pimpit.it/" target="_new">scaricale gratis!</a><o:p></o:p></span></p>

</div>

</body>

</html>