<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thanks Ruben,<br><br>I eventually debugged problem of ACPU being 0; but the VM is still not running<br><br>What was the problem with "onehost list"?<br>I
found out that my sudo on destination machines (obelix41 and obelix43)
required tty. So I disabled it (visudo and comment out requiretty) and
now the result is as shown below<br>onehost list<br>&nbsp;HID NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RVM&nbsp;&nbsp; TCPU&nbsp;&nbsp; FCPU&nbsp;&nbsp; ACPU&nbsp;&nbsp;&nbsp; TMEM&nbsp;&nbsp;&nbsp; FMEM STAT<br>&nbsp;&nbsp; 0 obelix43&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 800&nbsp;&nbsp;&nbsp; 799&nbsp;&nbsp;&nbsp; 800 4192256&nbsp; 130048&nbsp;&nbsp; on<br>&nbsp;&nbsp; 1 obelix41&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 800&nbsp;&nbsp;&nbsp; 799&nbsp;&nbsp;&nbsp; 800 4192256&nbsp; 130048&nbsp;&nbsp; on<br>The Surprising thing is that although sudo was not working remotely there was no error reported in oned.log.<br>Anyways, that seems to be clean now .... but the problem still remains.<br><br>My VM is always on the STATUS of pending.<br><br>&nbsp;onevm list<br>&nbsp; ID&nbsp;&nbsp;&nbsp;&nbsp; NAME STAT CPU&nbsp;&nbsp;&nbsp;&nbsp; MEM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HOSTNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TIME<br>&nbsp;&nbsp; 3&nbsp;&nbsp; TestVM pend&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00 00:10:13<br><br>I
do not know what is happening now. None of the logs report any error.
Is there is quick fix which you know&nbsp; (the fact is that I do not know
ruby).<br>do you think that since this is a beta version so I have
unearthed some untested portion of code and I should switch to the
stable version, i.e. 1.0?<br><br>thanks,<br>-upendra<br><br>&gt; Date: Sun, 1 Feb 2009 00:43:51 +0100<br>&gt; From: rubensm@dacya.ucm.es<br>&gt; Subject: Re: [one-users] unable to start a VM<br>&gt; To: users@lists.opennebula.org<br>&gt; CC: upendras@hotmail.com<br>&gt; <br>&gt; Hi <br>&gt;         It seems that the VMs are not deployed because the obelix nodes are not<br>&gt; reporting their status. From the onehost output, you can see that they do not <br>&gt; have any Available CPU (ACPU)<br>&gt; <br>&gt;         This is usually a problem with ssh. You should have access two the nodes <br>&gt; without being prompt for a password. So at the front-end:<br>&gt; $ssh obelix41<br>&gt; should give you a shell at obelix41 (without asking nothing).<br>&gt; <br>&gt;         You can get more details in oned.log. There should be something related to <br>&gt; ERROR Monitoring obelix...<br>&gt; <br>&gt; Cheers<br>&gt; <br>&gt; Ruben<br>&gt; <br>&gt; On Sunday 01 February 2009 00:05:11 Upendra Sharma wrote:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I have downloaded OpenNebul -1.1.85<br>&gt; &gt; I have installed it on CentOS 5.2<br>&gt; &gt;<br>&gt; &gt; I am trying to create a VM (using "onevm create myvm.tmp") but it returns<br>&gt; &gt; the result is that the VM creation is always pending<br>&gt; &gt;<br>&gt; &gt; onevm list:<br>&gt; &gt;   ID     NAME STAT CPU     MEM        HOSTNAME        TIME<br>&gt; &gt;    2   TestVM pend   0       0                 00 00:00:20<br>&gt; &gt;<br>&gt; &gt;  onevm show TestVM<br>&gt; &gt; VID            : 2<br>&gt; &gt; UID            : 0<br>&gt; &gt; STATE          : PENDING<br>&gt; &gt; LCM STATE      : LCM_INIT<br>&gt; &gt; DEPLOY ID      :<br>&gt; &gt; MEMORY         : 0<br>&gt; &gt; CPU            : 0<br>&gt; &gt; LAST POLL      : 0<br>&gt; &gt; START TIME     : 01/31 17:59:48<br>&gt; &gt; STOP TIME      : 12/31 19:00:00<br>&gt; &gt; NET TX         : 0<br>&gt; &gt; NET RX         : 0<br>&gt; &gt;<br>&gt; &gt; ....: Template :....<br>&gt; &gt;     CPU             : 1<br>&gt; &gt;     DISK            :<br>&gt; &gt; READONLY=no,SOURCE=/home/upendra/nebula/images/CentOS5.img,TARGET=sda<br>&gt; &gt; MEMORY          : 256<br>&gt; &gt;     NAME            : TestVM<br>&gt; &gt;     NIC             :<br>&gt; &gt; BRIDGE=eth0,IP=192.168.245.80,MAC=00:03:c0:a8:f5:50,NETWORK=Public<br>&gt; &gt; VLAN,VNID=0 OS              : BOOTLOADER=/usr/bin/pygrub<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; I do not know what is the problem. I frankly do not know where to start the<br>&gt; &gt; debugging from? Any help is appreciated.<br>&gt; &gt;<br>&gt; &gt; My cluster configuration is as follows: my cluster front-end is again a<br>&gt; &gt; CentOS 5.2 machine with xen on it. I have added two more nodes on it<br>&gt; &gt; (obelix41, obelix43) onehost list<br>&gt; &gt;  HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM<br>&gt; &gt; STAT 0 obelix41                    0             0    100                  <br>&gt; &gt; on 1 obelix43                    0             0    100                  <br>&gt; &gt; on<br>&gt; &gt;<br>&gt; &gt; Each of these machines are a quadcore dual-processor machine.<br>&gt; &gt;<br>&gt; &gt; thanks,<br>&gt; &gt; -upendra<br>&gt; &gt;<br>&gt; &gt; tha<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _________________________________________________________________<br>&gt; &gt; Chose your Life Partner! Join MSN Matrimony FREE<br>&gt; &gt; http://www.in.msn.com/matrimony<br>&gt; <br>&gt; -- <br>&gt; +---------------------------------------------------------------+<br>&gt;  Dr. Ruben Santiago Montero<br>&gt;  Associate Professor<br>&gt;  Distributed System Architecture Group (http://dsa-research.org)<br>&gt; <br>&gt;  URL:    http://dsa-research.org/doku.php?id=people:ruben<br>&gt;  Weblog: http://blog.dsa-research.org/?author=7<br>&gt;              <br>&gt;  GridWay, http://www.gridway.org<br>&gt;  OpenNEbula, http://www.opennebula.org<br>&gt; +---------------------------------------------------------------+<br>&gt; <br><br /><hr />Discover your phone style & WIN a Windows Mobile phone. Your style! <a href='http://www.whatsmyphonestyle.com' target='_new'>Try it now!</a></body>
</html>