Hi,<div><br></div><div>When a VM gets stuck in PENDING, that means that the scheduler is not deploying it for some reason.</div><div>The most common cause is that your Hosts are correctly monitored, and the scheduler does not know the available capacity.</div>
<div><br></div><div>You should check the following:</div><div>- The scheduler process, mm_sched, is running, and /var/log/sched.log does not show any errors</div><div>- You have hosts in the 'monitored' state, with enough free MEMORY and CPU.</div>
<div><br></div><div>Please note that you can always force a deployment with the 'onevm deploy' command</div><div><br></div><div>Regards</div><div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div>
<span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Sat, May 26, 2012 at 1:50 PM, Roberto Giordani <span dir="ltr"><<a href="mailto:r.giordani@libero.it" target="_blank">r.giordani@libero.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello,<br>
I'm looking for some documents about Xen template.<br>
I've installed Opennebula 3.4.1 on OpneSuse 12.1 using rpm from
Opensuse repo<br>
<br>
Using different info found on Internet and OpenNebula documentation,
I've create this XEN template<br>
<small><i>ID : 2 <br>
NAME : ubuntu12xen <br>
USER : clouduser <br>
GROUP : users <br>
REGISTER TIME : 05/26 10:09:24 <br>
<br>
PERMISSIONS
<br>
OWNER : um- <br>
GROUP : --- <br>
OTHER : --- <br>
<br>
TEMPLATE
CONTENTS
<br>
CPU="1"<br>
DISK=[<br>
BUS="ide",<br>
IMAGE="ubuntu_12.04",<br>
IMAGE_UNAME="clouduser" ]<br>
DISK=[<br>
BUS="ide",<br>
IMAGE="ubuntu_intalled",<br>
IMAGE_UNAME="clouduser" ]<br>
GRAPHICS=[<br>
KEYMAP="it",<br>
TYPE="vnc" ]<br>
MEMORY="1024"<br>
NAME="ubuntu12xen"<br>
NIC=[<br>
NETWORK="localnet",<br>
NETWORK_UNAME="oneadmin" ]<br>
OS=[<br>
INITRD="/boot/initrd-3.1.10-1.9-xen",<br>
KERNEL="/boot/vmlinuz-3.1.10-1.9-xen",<br>
KERNEL_CMD="ro xencons=tty console=tty1",<br>
ROOT="xvda3" ]<br>
RAW=[<br>
TYPE="xen" ]<br>
TEMPLATE_ID="2"<br>
VCPU="1"</i></small><br>
<br>
If I try to instantiate it the VM remains on <br>
<table>
<tbody>
<tr>
<td>State</td>
<td>PENDING</td>
</tr>
<tr>
<td>LCM State</td>
<td>LCM_INIT</td>
</tr>
</tbody>
</table>
<br>
Any doc to help me to use XEN template?<br>
<br>
Regards,<br>
Roberto.<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>