<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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.<br><br><hr id="stopSpelling">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>



<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>


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>                                     <br><hr>Il tuo mondo MSN a portata di clic.  <a href="http://events.it.msn.com/internet-explorer-8">Scarica IE8 per MSN</a>                                           <br /><hr />Messenger Radio.  <a href='http://www.messenger.it/messenger_radio.aspx' target='_new'>La radio che si fa cliccare!</a></body>
</html>