<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">&lt;<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>&gt;</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">&lt;<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>&gt;</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">&lt;<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>&gt;</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>
&gt; From: &quot;Shanil S&quot; &lt;<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>&gt;<br>
</span><span>&gt; To: &quot;Omer Frenkel&quot; &lt;<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>&gt;, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>, &quot;Juan Hernandez&quot; &lt;<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>&gt;<br>
&gt; Sent: Monday, December 1, 2014 12:39:12 PM<br>
&gt; Subject: Re: [ovirt-users] Issues with vm start up<br>
&gt;<br>
&gt; Hi Omer,<br>
&gt;<br>
</span><span>&gt; Thanks for your reply.<br>
&gt;<br>
&gt; We are deploying those VM&#39;s through templates and all the templates has<br>
&gt; first boot from hard disk and second with cdrom. We are using cdrom in<br>
&gt; cloud-init section to insert the cloud-init data .Why we need this boot<br>
&gt; loader (VM boot order or in the cloud-init section) as in the template the<br>
&gt; first boot order is harddisk ?<br>
&gt;<br>
&gt;<br>
<br>
</span>if the template&#39;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>
&gt;<br>
&gt; --<br>
&gt; Regards<br>
&gt; Shanil<br>
&gt;<br>
&gt; On Mon, Dec 1, 2014 at 3:37 PM, Omer Frenkel &lt;<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Shanil S&quot; &lt;<a href="mailto:xielesshanil@gmail.com" target="_blank">xielesshanil@gmail.com</a>&gt;<br>
&gt; &gt; &gt; To: &quot;Shahar Havivi&quot; &lt;<a href="mailto:shaharh@redhat.com" target="_blank">shaharh@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Cc: <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>, &quot;Juan Hernandez&quot; &lt;<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>&gt;, &quot;Omer<br>
&gt; &gt; Frenkel&quot; &lt;<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Sent: Thursday, November 27, 2014 10:32:54 AM<br>
&gt; &gt; &gt; Subject: Re: [ovirt-users] Issues with vm start up<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hi Omer,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I have attached the engine.log and vdsm.log. Please check it. The vm id<br>
&gt; &gt; is<br>
&gt; &gt; &gt; - 7c7aa9dedb57248f5da291117164f0d7<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; sorry Shanil for the delay,<br>
&gt; &gt; it looks that in the vm settings, you have chosen to boot only from cd ?<br>
&gt; &gt; this is why the vm doest boot, the cloud-init disk is a settings disk, not<br>
&gt; &gt; a boot disk<br>
&gt; &gt; please go to update vm, change the boot order to use hard-disk, and boot<br>
&gt; &gt; the vm.<br>
&gt; &gt;<br>
&gt; &gt; let me know if it helps,<br>
&gt; &gt; Omer.<br>
&gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Regards<br>
&gt; &gt; &gt; Shanil<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Thu, Nov 27, 2014 at 1:46 PM, Shahar Havivi &lt;<a href="mailto:shaharh@redhat.com" target="_blank">shaharh@redhat.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Try to remove content and run the vm,<br>
&gt; &gt; &gt; &gt; ie remove the runcmd: or some of it - try to use the xml with out CDATA<br>
&gt; &gt; &gt; &gt; maybe<br>
&gt; &gt; &gt; &gt; you can pinpoint the problem that way...<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On 27.11.14 10:03, Shanil S wrote:<br>
&gt; &gt; &gt; &gt; &gt; Hi All,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I am using the ovirt version 3.5 and having some issues with the vm<br>
&gt; &gt; &gt; &gt; startup<br>
&gt; &gt; &gt; &gt; &gt; with cloud-init using api in run-once mode.....<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Below is the steps i follow :-<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; 1. Create the VM by API from precreated Template..<br>
&gt; &gt; &gt; &gt; &gt; 2. Start the VM in run-once mode and push the cloud-init data from<br>
&gt; &gt; API..<br>
&gt; &gt; &gt; &gt; &gt; 3. VM stuck and from console it display the following :-<br>
&gt; &gt; &gt; &gt; &gt; Booting from DVD/CD.. ...<br>
&gt; &gt; &gt; &gt; &gt; Boot failed : could not read from CDROM (code 004)<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I am using the following xml for this operation :-<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &lt;action&gt;<br>
&gt; &gt; &gt; &gt; &gt;     &lt;vm&gt;<br>
&gt; &gt; &gt; &gt; &gt;      &lt;os&gt;<br>
&gt; &gt; &gt; &gt; &gt;       &lt;boot dev=&#39;cdrom&#39;/&gt;<br>
&gt; &gt; &gt; &gt; &gt;      &lt;/os&gt;<br>
&gt; &gt; &gt; &gt; &gt;      &lt;initialization&gt;<br>
&gt; &gt; &gt; &gt; &gt;       &lt;cloud_init&gt;<br>
&gt; &gt; &gt; &gt; &gt;        &lt;host&gt;<br>
&gt; &gt; &gt; &gt; &gt;         &lt;address&gt;test&lt;/address&gt;<br>
&gt; &gt; &gt; &gt; &gt;        &lt;/host&gt;<br>
&gt; &gt; &gt; &gt; &gt;        &lt;network_configuration&gt;<br>
&gt; &gt; &gt; &gt; &gt;         &lt;nics&gt;<br>
&gt; &gt; &gt; &gt; &gt;          &lt;nic&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;interface&gt;virtIO&lt;/interface&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;name&gt;eth0&lt;/name&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;boot_protocol&gt;static&lt;/boot_protocol&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;mac address=&#39;&#39;/&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;network&gt;<br>
&gt; &gt; &gt; &gt; &gt;            &lt;ip address=&#39;&#39; netmask=&#39;&#39; gateway=&#39;&#39;/&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;/network&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;on_boot&gt;true&lt;/on_boot&gt;&lt;vnic_profile id=&#39;&#39; /&gt;<br>
&gt; &gt; &gt; &gt; &gt;          &lt;/nic&gt;<br>
&gt; &gt; &gt; &gt; &gt;          &lt;nic&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;interface&gt;virtIO&lt;/interface&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;name&gt;eth1&lt;/name&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;boot_protocol&gt;static&lt;/boot_protocol&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;mac address=&#39;&#39;/&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;network&gt;<br>
&gt; &gt; &gt; &gt; &gt;            &lt;ip address=&#39;&#39; netmask=&#39;255.255.255.0&#39; gateway=&#39;&#39;/&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;/network&gt;<br>
&gt; &gt; &gt; &gt; &gt;           &lt;on_boot&gt;true&lt;/on_boot&gt;&lt;vnic_profile id=&#39;&#39; /&gt;<br>
&gt; &gt; &gt; &gt; &gt;          &lt;/nic&gt;<br>
&gt; &gt; &gt; &gt; &gt;         &lt;/nics&gt;<br>
&gt; &gt; &gt; &gt; &gt;        &lt;/network_configuration&gt;<br>
&gt; &gt; &gt; &gt; &gt;        &lt;files&gt;<br>
&gt; &gt; &gt; &gt; &gt;         &lt;file&gt;<br>
&gt; &gt; &gt; &gt; &gt;          &lt;name&gt;/ignored&lt;/name&gt;&lt;content&gt;&lt;![CDATA[#cloud-config<br>
&gt; &gt; &gt; &gt; &gt; disable-ec2-metadata: true<br>
&gt; &gt; &gt; &gt; &gt; disable_root: false<br>
&gt; &gt; &gt; &gt; &gt; ssh_pwauth: true<br>
&gt; &gt; &gt; &gt; &gt; ssh_deletekeys: true<br>
&gt; &gt; &gt; &gt; &gt; chpasswd: { expire: False }<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; users:<br>
&gt; &gt; &gt; &gt; &gt;  - name: root<br>
&gt; &gt; &gt; &gt; &gt;    primary-group: root<br>
&gt; &gt; &gt; &gt; &gt;    passwd: 8W7RQ5Bh<br>
&gt; &gt; &gt; &gt; &gt;    lock-passwd: false<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; runcmd:<br>
&gt; &gt; &gt; &gt; &gt;  - sed -i &#39;/nameserver/d&#39; /etc/resolv.conf<br>
&gt; &gt; &gt; &gt; &gt;  - echo &#39;nameserver 8.8.8.8&#39; &gt;&gt; /etc/resolv.conf<br>
&gt; &gt; &gt; &gt; &gt;  - echo &#39;nameserver 8.8.4.4&#39; &gt;&gt; /etc/resolv.conf<br>
&gt; &gt; &gt; &gt; &gt;  - echo &#39;root:8W7RQ5Bh&#39; | chpasswd<br>
&gt; &gt; &gt; &gt; &gt;  - yum -y update<br>
&gt; &gt; &gt; &gt; &gt;  - yum -y install rdate<br>
&gt; &gt; &gt; &gt; &gt;  - rdate -s <a href="http://stdtime.gov.hk" target="_blank">stdtime.gov.hk</a>]]&gt;&lt;/content&gt;<br>
&gt; &gt; &gt; &gt; &gt;          &lt;type&gt;plaintext&lt;/type&gt;<br>
&gt; &gt; &gt; &gt; &gt;         &lt;/file&gt;<br>
&gt; &gt; &gt; &gt; &gt;        &lt;/files&gt;<br>
&gt; &gt; &gt; &gt; &gt;       &lt;/cloud_init&gt;&lt;custom_script&gt;&lt;![CDATA[#cloud-config<br>
&gt; &gt; &gt; &gt; &gt; disable-ec2-metadata: true<br>
&gt; &gt; &gt; &gt; &gt; disable_root: false<br>
&gt; &gt; &gt; &gt; &gt; ssh_pwauth: true<br>
&gt; &gt; &gt; &gt; &gt; ssh_deletekeys: true<br>
&gt; &gt; &gt; &gt; &gt; chpasswd: { expire: False }<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; users:<br>
&gt; &gt; &gt; &gt; &gt;  - name: root<br>
&gt; &gt; &gt; &gt; &gt;    primary-group: root<br>
&gt; &gt; &gt; &gt; &gt;    passwd: 8W7RQ5Bh<br>
&gt; &gt; &gt; &gt; &gt;    lock-passwd: false<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; runcmd:<br>
&gt; &gt; &gt; &gt; &gt;  - sed -i &#39;/nameserver/d&#39; /etc/resolv.conf<br>
&gt; &gt; &gt; &gt; &gt;  - echo &#39;nameserver 8.8.8.8&#39; &gt;&gt; /etc/resolv.conf<br>
&gt; &gt; &gt; &gt; &gt;  - echo &#39;nameserver 8.8.4.4&#39; &gt;&gt; /etc/resolv.conf<br>
&gt; &gt; &gt; &gt; &gt;  - echo &#39;root:8W7RQ5Bh&#39; | chpasswd<br>
&gt; &gt; &gt; &gt; &gt;  - yum -y update<br>
&gt; &gt; &gt; &gt; &gt;  - yum -y install rdate<br>
&gt; &gt; &gt; &gt; &gt;  - rdate -s <a href="http://stdtime.gov.hk" target="_blank">stdtime.gov.hk</a>]]&gt;&lt;/custom_script&gt;<br>
&gt; &gt; &gt; &gt; &gt;      &lt;/initialization&gt;<br>
&gt; &gt; &gt; &gt; &gt;     &lt;/vm&gt;<br>
&gt; &gt; &gt; &gt; &gt;    &lt;/action&gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I am also attaching the screen shot to this.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; &gt; Regards<br>
&gt; &gt; &gt; &gt; &gt; Shanil<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; &gt; Users mailing list<br>
&gt; &gt; &gt; &gt; &gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt; &gt; &gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt;<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>