<br><br><div class="gmail_quote">-<br><br>hi keith,Thank you for your reply.<br><br>i registered vm host by executing command.<br>onehost create 198.162.2.33 im_kvm tm_kvm ....,here 198.162.2.33 is the IP of my kvm host. i can ping to the kvm host 198.162.2.33<br>

after adding kvm host 198.162.2.33 i run the command &quot;onehost show 0&quot;<br>It display all the information about my kvm host (processor type,processor speed ......)<br><br>i created bridge on my kvm host 198.162.2.33 by adding the following line to my /etc/networks/interfaces file...<br>

<br>auto br0<br>iface br0 inet static<br>             address 192.168.2.33<br>             network 192.168.2.0<br>             netmask 255.255.255.0<br>             broadcast 192.168.2.255<br>             gateway 192.168.2.1<br>

             bridge_ports eth0<br>             bridge_fd 9<br>             bridge_hello 2<br>             bridge_maxage 12 <br>             bridge_stp off<br>  i don&#39;t know is there is any problem in this bridge .and added my virtual network to this<br>

bridge<br>And also i created virtual network by <br><div class="im"><br>NAME = &quot;Red LAN&quot;<br>TYPE = RANGED<br>BRIDGE = br0<br>NETWORK_SIZE     = C<br>NETWORK_ADDRESS = 192.168.2.0<br><br><br><br><br><pre><font size="4"><br>

</font><br></pre><br><br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Tue, May 25, 2010 at 6:06 AM, Keith Hudgins <span dir="ltr">&lt;<a href="mailto:keith@cloudscaling.com" target="_blank">keith@cloudscaling.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here&#39;s the lines that identifiy your problem:<br>
<div><br>
Thu May 20 18:50:26 2010 [VMM][I]: Connecting to uri: qemu:///system<br>
Thu May 20 18:50:26 2010 [VMM][I]: error: Failed to create domain from<br>
/srv/cloud/one/var//7/images/deployment.0<br>
Thu May 20 18:50:26 2010 [VMM][I]: error: monitor socket did not show<br>
up.: Connection refused<br>
Thu May 20 18:50:26 2010 [VMM][I]: ExitCode: 1<br>
<br>
</div>Looks like there&#39;s either a networking issue on the kvm box or<br>
something isn&#39;t running. Is the hostname &#39;system&#39; in your /etc/hosts<br>
on the ONE server? If not, that&#39;s your problem - make sure that<br>
&#39;system&#39; resolves to the IP address of your kvm host.<br>
<br>
This happened because when you ran<br>
<br>
onehost create system im_kvm tm_kvm....<br>
<br>
ONE registered a vm host with a network address of &#39;system&#39;. You can also run<br>
<br>
onehost delete system<br>
<br>
(It may be onehost destroy, I&#39;m running from memory here)<br>
<br>
and then re-add your kvm host via ip address or make sure it&#39;s an<br>
addressable host name.<br>
<div><div></div><div><br>
<br>
<br>
On Sun, May 23, 2010 at 2:42 AM, ranjith k &lt;<a href="mailto:ranjithskp@gmail.com" target="_blank">ranjithskp@gmail.com</a>&gt; wrote:<br>
&gt; hi,<br>
&gt;<br>
&gt; I am new to opennebula.I am using ttylinux image for virtual machine,it is<br>
&gt; downloaded form the opennebula website.<br>
&gt; I was installed opennebula on my laptop,it is running ubuntu.And i am using<br>
&gt; oneadmin account for managing opennebuala.<br>
&gt;<br>
&gt; I am using an another laptop for the cluster node,it is also running ubuntu.<br>
&gt; created oneadmin account in it.And installed qemu,kvm and libvirt-bin on<br>
&gt; it.and i added oneadmin account to kvm libvirtd groups.<br>
&gt; I was created a birdged interface br0 on cluster node by editing<br>
&gt; /etc/network/interfaces and assign a ip address 198.162.2.33.<br>
&gt;<br>
&gt; vm directories are shared using nfs.and i enable password less ssh access.<br>
&gt;<br>
&gt; I was added the cluster node 198.168.2.33 to opennebula host using the<br>
&gt; commnad onehost.It executed sussefully.<br>
&gt; I was created read lan virtual network ..using the command onevnet .<br>
&gt; the content in the file <a href="http://redlan.net" target="_blank">redlan.net</a> is<br>
&gt; ##################<a>redlan.net############################################################</a><br>
&gt; NAME = &quot;Red LAN&quot;<br>
&gt; TYPE = RANGED<br>
&gt; BRIDGE = br0<br>
&gt; NETWORK_SIZE     = C<br>
&gt; NETWORK_ADDRESS = 192.168.2.0<br>
&gt; ####################################################################################<br>
&gt; i created a template for my virtual machine ttylinux.one content is<br>
&gt; #####################ttylinux.one#######################################################<br>
&gt; NAME   = ttylinux<br>
&gt; CPU    = 0.1<br>
&gt; MEMORY = 64<br>
&gt; DISK   = [<br>
&gt;   source    = &quot;/srv/cloud/images/ttylinux.img&quot;,<br>
&gt;   target    = &quot;hda&quot;,<br>
&gt;   readonly = &quot;no&quot; ]<br>
&gt; NIC      = [ NETWORK = &quot;Red LAN&quot; ]<br>
&gt; FEATURES = [ acpi=&quot;no&quot; ]<br>
&gt; #This may be useful to debug your VMs (can use also console)<br>
&gt; GRAPHICS = [<br>
&gt;   type = &quot;vnc&quot;,<br>
&gt;   listen = &quot;loclahost&quot;,<br>
&gt;   port = &quot;5902&quot;,<br>
&gt;   keymap=&quot;es&quot;]<br>
&gt; #####################################################################################<br>
&gt; I was created this virtual machine using the command onevm<br>
&gt; and i monitored the vm using the command &quot;onevm top&quot;<br>
&gt; first the state of the vm is pend.then prolog.then boot<br>
&gt; but after some time the boot is changed to failed.and i look at the vm.log<br>
&gt; file the content is like below.<br>
&gt;<br>
&gt; #########################vm.log########################################################<br>
&gt;<br>
&gt;<br>
&gt; Thu May 20 18:49:54 2010 [DiM][I]: New VM state is ACTIVE.<br>
&gt; Thu May 20 18:49:55 2010 [LCM][I]: New VM state is PROLOG.<br>
&gt; Thu May 20 18:49:55 2010 [VM][I]: Virtual Machine has no context<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh:<br>
&gt; wysh-laptop:/srv/cloud/images/ttylinux.img<br>
&gt; 192.168.2.33:/srv/cloud/one/var//7/images/disk.0<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: DST:<br>
&gt; /srv/cloud/one/var//7/images/disk.0<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Creating directory<br>
&gt; /srv/cloud/one/var//7/images<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed &quot;mkdir -p<br>
&gt; /srv/cloud/one/var//7/images&quot;.<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed &quot;chmod a+w<br>
&gt; /srv/cloud/one/var//7/images&quot;.<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Cloning<br>
&gt; /srv/cloud/images/ttylinux.img<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed &quot;cp<br>
&gt; /srv/cloud/images/ttylinux.img /srv/cloud/one/var//7/images/disk.0&quot;.<br>
&gt; Thu May 20 18:49:55 2010 [TM][I]: tm_clone.sh: Executed &quot;chmod a+w<br>
&gt; /srv/cloud/one/var//7/images/disk.0&quot;.<br>
&gt; Thu May 20 18:49:55 2010 [LCM][I]: New VM state is BOOT<br>
&gt; Thu May 20 18:49:55 2010 [VMM][I]: Generating deployment file:<br>
&gt; /srv/cloud/one/var/7/deployment.0<br>
&gt; Thu May 20 18:50:26 2010 [VMM][I]: Command execution fail: &#39;mkdir -p<br>
&gt; /srv/cloud/one/var//7/images &amp;&amp; cat &gt;<br>
&gt; /srv/cloud/one/var//7/images/deployment.0 &amp;&amp; virsh --connect qemu:///system<br>
&gt; create /srv/cloud/one/var//7/images/deployment.0&#39;<br>
&gt; Thu May 20 18:50:26 2010 [VMM][I]: STDERR follows.<br>
&gt; Thu May 20 18:50:26 2010 [VMM][I]: Connecting to uri: qemu:///system<br>
&gt; Thu May 20 18:50:26 2010 [VMM][I]: error: Failed to create domain from<br>
&gt; /srv/cloud/one/var//7/images/deployment.0<br>
&gt; Thu May 20 18:50:26 2010 [VMM][I]: error: monitor socket did not show up.:<br>
&gt; Connection refused<br>
&gt; Thu May 20 18:50:26 2010 [VMM][I]: ExitCode: 1<br>
&gt; Thu May 20 18:50:26 2010 [VMM][E]: Error deploying virtual machine<br>
&gt; Thu May 20 18:50:27 2010 [DiM][I]: New VM state is FAILED<br>
&gt; Thu May 20 18:50:27 2010 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Deleting<br>
&gt; /srv/cloud/one/var//7/images<br>
&gt;<br>
&gt; Thu May 20 18:50:27 2010 [TM][W]: Ignored: LOG - 7 tm_delete.sh: Executed<br>
&gt; &quot;rm -rf /srv/cloud/one/var//7/images&quot;.<br>
&gt;<br>
&gt; Thu May 20 18:50:27 2010 [TM][W]: Ignored: TRANSFER SUCCESS 7 -<br>
&gt; ####################################################################################################################<br>
&gt;<br>
&gt; please give me what is the problem and how can i recover form it....<br>
&gt;<br>
&gt; Advanced Thanks......<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
&gt; <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>
</div></div></div><br>