<div dir="ltr">We also had a issue when starting our vms. This was due the fact of the NUMA option under the host section. I attached a procedure I created for work. Maybe it is also useful for your case...<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-02 5:58 GMT+01:00 Shanil S <span dir="ltr"><<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Omer,<br><br></div>We have opened this as a bug, you can view the new bug here <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1169625" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1169625</a>.<span class="HOEnZb"><font color="#888888"><br></font></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On Tue, Dec 2, 2014 at 8:42 AM, Shanil S <span dir="ltr"><<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Omer,<br><br>Thanks for your reply. We will open it as a bug.<span><font color="#888888"><br></font></span></div><div><div><span><font color="#888888"><span></span></font></span><div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div><div dir="ltr"><span>-- <br></span>Regards
<br>Shanil
</div></div></div></font></span><div><div>
<br><div class="gmail_quote">On Mon, Dec 1, 2014 at 4:38 PM, Omer Frenkel <span dir="ltr"><<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><br>
<br>
----- Original Message -----<br>
> From: "Shanil S" <<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>><br>
</span><span>> To: "Omer Frenkel" <<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>>, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>, "Juan Hernandez" <<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>><br>
> Sent: Monday, December 1, 2014 12:39:12 PM<br>
> Subject: Re: [ovirt-users] Issues with vm start up<br>
><br>
> Hi Omer,<br>
><br>
</span><span>> Thanks for your reply.<br>
><br>
> We are deploying those VM's through templates and all the templates has<br>
> first boot from hard disk and second with cdrom. We are using cdrom in<br>
> cloud-init section to insert the cloud-init data .Why we need this boot<br>
> loader (VM boot order or in the cloud-init section) as in the template the<br>
> first boot order is harddisk ?<br>
><br>
><br>
<br>
</span>if the template's boot order has hard-disk it should be ok,<br>
not sure why it seems for this vm the boot order is only cd.<br>
does this happen to any vm created from this template?<br>
can you check the boot order is corrent in the edit vm dialog?<br>
<br>
if the boot order is ok in the template,<br>
and it happens to any new vm from this template,<br>
you should open a bug so we could investigate this.<br>
<div><div><br>
><br>
> --<br>
> Regards<br>
> Shanil<br>
><br>
> On Mon, Dec 1, 2014 at 3:37 PM, Omer Frenkel <<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>> wrote:<br>
><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Shanil S" <<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>><br>
> > > To: "Shahar Havivi" <<a href="mailto:shaharh@redhat.com" target="_blank">shaharh@redhat.com</a>><br>
> > > Cc: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>, "Juan Hernandez" <<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>>, "Omer<br>
> > Frenkel" <<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>><br>
> > > Sent: Thursday, November 27, 2014 10:32:54 AM<br>
> > > Subject: Re: [ovirt-users] Issues with vm start up<br>
> > ><br>
> > > Hi Omer,<br>
> > ><br>
> > > I have attached the engine.log and vdsm.log. Please check it. The vm id<br>
> > is<br>
> > > - 7c7aa9dedb57248f5da291117164f0d7<br>
> > ><br>
> ><br>
> > sorry Shanil for the delay,<br>
> > it looks that in the vm settings, you have chosen to boot only from cd ?<br>
> > this is why the vm doest boot, the cloud-init disk is a settings disk, not<br>
> > a boot disk<br>
> > please go to update vm, change the boot order to use hard-disk, and boot<br>
> > the vm.<br>
> ><br>
> > let me know if it helps,<br>
> > Omer.<br>
> ><br>
> > > --<br>
> > > Regards<br>
> > > Shanil<br>
> > ><br>
> > > On Thu, Nov 27, 2014 at 1:46 PM, Shahar Havivi <<a href="mailto:shaharh@redhat.com" target="_blank">shaharh@redhat.com</a>><br>
> > wrote:<br>
> > ><br>
> > > > Try to remove content and run the vm,<br>
> > > > ie remove the runcmd: or some of it - try to use the xml with out CDATA<br>
> > > > maybe<br>
> > > > you can pinpoint the problem that way...<br>
> > > ><br>
> > > ><br>
> > > > On 27.11.14 10:03, Shanil S wrote:<br>
> > > > > Hi All,<br>
> > > > ><br>
> > > > ><br>
> > > > > I am using the ovirt version 3.5 and having some issues with the vm<br>
> > > > startup<br>
> > > > > with cloud-init using api in run-once mode.....<br>
> > > > ><br>
> > > > > Below is the steps i follow :-<br>
> > > > ><br>
> > > > > 1. Create the VM by API from precreated Template..<br>
> > > > > 2. Start the VM in run-once mode and push the cloud-init data from<br>
> > API..<br>
> > > > > 3. VM stuck and from console it display the following :-<br>
> > > > > Booting from DVD/CD.. ...<br>
> > > > > Boot failed : could not read from CDROM (code 004)<br>
> > > > ><br>
> > > > > I am using the following xml for this operation :-<br>
> > > > ><br>
> > > > > <action><br>
> > > > > <vm><br>
> > > > > <os><br>
> > > > > <boot dev='cdrom'/><br>
> > > > > </os><br>
> > > > > <initialization><br>
> > > > > <cloud_init><br>
> > > > > <host><br>
> > > > > <address>test</address><br>
> > > > > </host><br>
> > > > > <network_configuration><br>
> > > > > <nics><br>
> > > > > <nic><br>
> > > > > <interface>virtIO</interface><br>
> > > > > <name>eth0</name><br>
> > > > > <boot_protocol>static</boot_protocol><br>
> > > > > <mac address=''/><br>
> > > > > <network><br>
> > > > > <ip address='' netmask='' gateway=''/><br>
> > > > > </network><br>
> > > > > <on_boot>true</on_boot><vnic_profile id='' /><br>
> > > > > </nic><br>
> > > > > <nic><br>
> > > > > <interface>virtIO</interface><br>
> > > > > <name>eth1</name><br>
> > > > > <boot_protocol>static</boot_protocol><br>
> > > > > <mac address=''/><br>
> > > > > <network><br>
> > > > > <ip address='' netmask='255.255.255.0' gateway=''/><br>
> > > > > </network><br>
> > > > > <on_boot>true</on_boot><vnic_profile id='' /><br>
> > > > > </nic><br>
> > > > > </nics><br>
> > > > > </network_configuration><br>
> > > > > <files><br>
> > > > > <file><br>
> > > > > <name>/ignored</name><content><![CDATA[#cloud-config<br>
> > > > > disable-ec2-metadata: true<br>
> > > > > disable_root: false<br>
> > > > > ssh_pwauth: true<br>
> > > > > ssh_deletekeys: true<br>
> > > > > chpasswd: { expire: False }<br>
> > > > ><br>
> > > > > users:<br>
> > > > > - name: root<br>
> > > > > primary-group: root<br>
> > > > > passwd: 8W7RQ5Bh<br>
> > > > > lock-passwd: false<br>
> > > > ><br>
> > > > > runcmd:<br>
> > > > > - sed -i '/nameserver/d' /etc/resolv.conf<br>
> > > > > - echo 'nameserver 8.8.8.8' >> /etc/resolv.conf<br>
> > > > > - echo 'nameserver 8.8.4.4' >> /etc/resolv.conf<br>
> > > > > - echo 'root:8W7RQ5Bh' | chpasswd<br>
> > > > > - yum -y update<br>
> > > > > - yum -y install rdate<br>
> > > > > - rdate -s <a href="http://stdtime.gov.hk" target="_blank">stdtime.gov.hk</a>]]></content><br>
> > > > > <type>plaintext</type><br>
> > > > > </file><br>
> > > > > </files><br>
> > > > > </cloud_init><custom_script><![CDATA[#cloud-config<br>
> > > > > disable-ec2-metadata: true<br>
> > > > > disable_root: false<br>
> > > > > ssh_pwauth: true<br>
> > > > > ssh_deletekeys: true<br>
> > > > > chpasswd: { expire: False }<br>
> > > > ><br>
> > > > > users:<br>
> > > > > - name: root<br>
> > > > > primary-group: root<br>
> > > > > passwd: 8W7RQ5Bh<br>
> > > > > lock-passwd: false<br>
> > > > ><br>
> > > > > runcmd:<br>
> > > > > - sed -i '/nameserver/d' /etc/resolv.conf<br>
> > > > > - echo 'nameserver 8.8.8.8' >> /etc/resolv.conf<br>
> > > > > - echo 'nameserver 8.8.4.4' >> /etc/resolv.conf<br>
> > > > > - echo 'root:8W7RQ5Bh' | chpasswd<br>
> > > > > - yum -y update<br>
> > > > > - yum -y install rdate<br>
> > > > > - rdate -s <a href="http://stdtime.gov.hk" target="_blank">stdtime.gov.hk</a>]]></custom_script><br>
> > > > > </initialization><br>
> > > > > </vm><br>
> > > > > </action><br>
> > > > ><br>
> > > > > I am also attaching the screen shot to this.<br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > --<br>
> > > > > Regards<br>
> > > > > Shanil<br>
> > > ><br>
> > > ><br>
> > > > > _______________________________________________<br>
> > > > > Users mailing list<br>
> > > > > <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> > > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > > ><br>
> > > ><br>
> > ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div></div></div></div></div></div></div>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>